summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-03-10 09:39:54 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-03-10 09:44:52 +0100
commit01ed7db382cf2fc8dbce6858bfa50ae110c4f4ff (patch)
tree0b76e852bbac90a077e1fc94790af3f6fa2c5210
parent1abfcd360fdbf6e23ef0eba82582947471ea8e7d (diff)
ARM: dts: colibri_imx6: fix analogue camera adapter detection
Out-of-the-box the analogue camera adapter fails detecting with the following error: [ 6.503046] adv7280 2-0021: adv7280_probe:Analog Device adv7280 not detected -6! Unfortunately, the camera seems to be held in reset due to the BL_ON pin not being serviced. Fix this by hogging the camera_nreset aka BL_ON pin to output high. Related-to: ELB-2580 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r--arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts16
1 files changed, 9 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts b/arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts
index 433d33e87538..b83f7f06cc20 100644
--- a/arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts
+++ b/arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts
@@ -77,13 +77,6 @@
status = "okay";
};
-&backlight {
- brightness-levels = <0 45 63 88 119 158 203 255>;
- default-brightness-level = <4>;
- pwms = <&pwm3 0 6666667 PWM_POLARITY_INVERTED>;
- status = "okay";
-};
-
/ {
clocks {
/* fixed crystal dedicated to mcp251x */
@@ -118,6 +111,14 @@
};
};
+&gpio3 {
+ camera_nreset {
+ gpio-hog;
+ gpios = <26 0>; /* SODIMM 71 */
+ output-high;
+ };
+};
+
/*
* I2C: I2C3_SDA/SCL on SODIMM 194/196 (e.g. RTC on carrier
* board)
@@ -222,6 +223,7 @@
&pinctrl_weim_gpio_5 &pinctrl_weim_gpio_6
&pinctrl_gpio_1
&pinctrl_gpio_2
+ &pinctrl_gpio_bl_on
&pinctrl_usbh_oc_1 &pinctrl_usbc_id_1
>;