ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 26 Sep 2022 10:43:53 +0000 (12:43 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 28 Sep 2022 20:30:59 +0000 (22:30 +0200)
According to s5k6a3 driver code, the reset line for the chip appears to
be active low. This also matches the typical polarity of reset lines in
general. Let's fix it up as having correct polarity in DTS is important
when the driver will be switched over to gpiod API.

Fixes: b4fec64758ab ("ARM: dts: Add camera device nodes for Exynos4412 TRATS2 board")
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220913164104.203957-1-dmitry.torokhov@gmail.com
Link: https://lore.kernel.org/r/20220926104354.118578-2-krzysztof.kozlowski@linaro.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/exynos4412-midas.dtsi

index b967397..8e1c19a 100644 (file)
                clocks = <&camera 1>;
                clock-names = "extclk";
                samsung,camclk-out = <1>;
-               gpios = <&gpm1 6 GPIO_ACTIVE_HIGH>;
+               gpios = <&gpm1 6 GPIO_ACTIVE_LOW>;
 
                port {
                        is_s5k6a3_ep: endpoint {