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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 10:35:00 +0000 (12:35 +0200)
[ Upstream commit 3ba2d4bb9592bf7a6a3fe3dbe711ecfc3d004bab ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/exynos4412-midas.dtsi

index 968c7943653e24e7f7d857cc45ec7591813e803a..49843e016828e0fc0725f3dcd9de6ed0f9c510e2 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 {