]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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 11:22:33 +0000 (13:22 +0200)
[ Upstream commit 14eb84f0d782dfb8cbb8793ee79859d7018eb922 ]

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: e976ecbccd63 ("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 fedb21377c66cee8c35f55907269e5194d92a2ae..3538739c79013abb07603cc77781afd840d4244a 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 {