diff options
author | Robby Cai <r63905@freescale.com> | 2014-04-15 04:11:37 -0400 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:58:21 -0400 |
commit | 86b70d1ee6ecd60d7e7b4a93deebd7de5e92739f (patch) | |
tree | 11a083351e956c47a0548b076acf0dfaf35e22d7 /arch/arm/boot | |
parent | 1fc33c819ab3bea79f0faf75e6daf9583ca9beec (diff) |
ENGR00308478 ARM: dts: imx6sx-sdb: Add camera support via the camera adapter
Previously we support camera features via mx51 expansion board due to footprint
mirror issue on imx6sx sdb board. Now we switch to the adapter board
(sch700-28342) to support same features. And the support via mx51 expansion
board is deprecated.
The changes include
- Change the PINs setting for power and reset signal.
- Add status flag to avoid the conflict use of LCD1_RESET pin by LCDIF1/CSI.
For LCDIF1, it's used as LCD_PWR_EN, for CSI/camera, as RESET pin.
Signed-off-by: Robby Cai <r63905@freescale.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb-lcdif1.dts | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb.dts | 5 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sx.dtsi | 4 |
3 files changed, 11 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb-lcdif1.dts b/arch/arm/boot/dts/imx6sx-sdb-lcdif1.dts index dccbcb416769..b0661436ad23 100644 --- a/arch/arm/boot/dts/imx6sx-sdb-lcdif1.dts +++ b/arch/arm/boot/dts/imx6sx-sdb-lcdif1.dts | |||
@@ -12,6 +12,12 @@ | |||
12 | csi1_v4l2_cap { | 12 | csi1_v4l2_cap { |
13 | status = "disabled"; | 13 | status = "disabled"; |
14 | }; | 14 | }; |
15 | |||
16 | regulators { | ||
17 | reg_lcd_3v3: lcd-3v3 { | ||
18 | status = "okay"; | ||
19 | }; | ||
20 | }; | ||
15 | }; | 21 | }; |
16 | 22 | ||
17 | &csi1 { | 23 | &csi1 { |
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts index b8a51857b323..04f555a8ca0e 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dts +++ b/arch/arm/boot/dts/imx6sx-sdb.dts | |||
@@ -56,6 +56,7 @@ | |||
56 | regulator-name = "lcd-3v3"; | 56 | regulator-name = "lcd-3v3"; |
57 | gpio = <&gpio3 27 0>; | 57 | gpio = <&gpio3 27 0>; |
58 | enable-active-high; | 58 | enable-active-high; |
59 | status = "disabled"; | ||
59 | }; | 60 | }; |
60 | 61 | ||
61 | reg_sd3_vmmc: sd3_vmmc{ | 62 | reg_sd3_vmmc: sd3_vmmc{ |
@@ -305,8 +306,8 @@ | |||
305 | clock-names = "csi_mclk"; | 306 | clock-names = "csi_mclk"; |
306 | AVDD-supply = <&vgen3_reg>; /* 2.8v */ | 307 | AVDD-supply = <&vgen3_reg>; /* 2.8v */ |
307 | DVDD-supply = <&vgen2_reg>; /* 1.5v*/ | 308 | DVDD-supply = <&vgen2_reg>; /* 1.5v*/ |
308 | pwn-gpios = <&gpio3 26 1>; | 309 | pwn-gpios = <&gpio3 28 1>; |
309 | rst-gpios = <&gpio3 25 0>; | 310 | rst-gpios = <&gpio3 27 0>; |
310 | csi_id = <0>; | 311 | csi_id = <0>; |
311 | mclk = <24000000>; | 312 | mclk = <24000000>; |
312 | mclk_source = <0>; | 313 | mclk_source = <0>; |
diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index fc9397df3661..bd84c6d6c20f 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi | |||
@@ -1161,8 +1161,8 @@ | |||
1161 | MX6SX_PAD_LCD1_DATA10__CSI1_DATA_7 0x110b0 | 1161 | MX6SX_PAD_LCD1_DATA10__CSI1_DATA_7 0x110b0 |
1162 | MX6SX_PAD_LCD1_DATA09__CSI1_DATA_8 0x110b0 | 1162 | MX6SX_PAD_LCD1_DATA09__CSI1_DATA_8 0x110b0 |
1163 | MX6SX_PAD_LCD1_DATA08__CSI1_DATA_9 0x110b0 | 1163 | MX6SX_PAD_LCD1_DATA08__CSI1_DATA_9 0x110b0 |
1164 | MX6SX_PAD_LCD1_ENABLE__GPIO3_IO_25 0x80000000 | 1164 | MX6SX_PAD_LCD1_RESET__GPIO3_IO_27 0x80000000 |
1165 | MX6SX_PAD_LCD1_HSYNC__GPIO3_IO_26 0x80000000 | 1165 | MX6SX_PAD_LCD1_VSYNC__GPIO3_IO_28 0x80000000 |
1166 | >; | 1166 | >; |
1167 | }; | 1167 | }; |
1168 | 1168 | ||