Skip to content

Commit

Permalink
media: arm: dts: omap3: N9/N950: Add flash references to the camera
Browse files Browse the repository at this point in the history
Add flash and indicator LED phandles to the sensor node.

Signed-off-by: Sakari Ailus <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
Sakari Ailus authored and mchehab committed Oct 31, 2017
1 parent 2e8a9fb commit ceb3c45
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/omap3-n9.dts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
clocks = <&isp 0>;
clock-frequency = <9600000>;
nokia,nvm-size = <(16 * 64)>;
flash-leds = <&as3645a_flash &as3645a_indicator>;
port {
smia_1_1: endpoint {
link-frequencies = /bits/ 64 <199200000 210000000 499200000>;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/omap3-n950-n9.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -271,14 +271,14 @@
#size-cells = <0>;
reg = <0x30>;
compatible = "ams,as3645a";
flash@0 {
as3645a_flash: flash@0 {
reg = <0x0>;
flash-timeout-us = <150000>;
flash-max-microamp = <320000>;
led-max-microamp = <60000>;
ams,input-max-microamp = <1750000>;
};
indicator@1 {
as3645a_indicator: indicator@1 {
reg = <0x1>;
led-max-microamp = <10000>;
};
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/omap3-n950.dts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
clocks = <&isp 0>;
clock-frequency = <9600000>;
nokia,nvm-size = <(16 * 64)>;
flash-leds = <&as3645a_flash &as3645a_indicator>;
port {
smia_1_1: endpoint {
link-frequencies = /bits/ 64 <210000000 333600000 398400000>;
Expand Down

0 comments on commit ceb3c45

Please sign in to comment.