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-23 17:18:06 +0100
commit3b0f0e28ba939dca2958634c9586c3c9ec23a3f3 (patch)
tree48f48d026857356e1706cf202510fdb86867001a
parent9793a6cd94f543e5e3d5a70e7ed3ed8d42f64278 (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
>;