From 3b0f0e28ba939dca2958634c9586c3c9ec23a3f3 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Tue, 10 Mar 2020 09:39:54 +0100 Subject: 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 --- arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'arch/arm/boot/dts') 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 >; -- cgit v1.2.3