ARM: dts: stihxxx-b2120: fix polarity of reset line of tsin0 port
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 30 Sep 2022 16:00:41 +0000 (09:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Mar 2023 10:52:22 +0000 (11:52 +0100)
[ Upstream commit 4722dd4029c63f10414ffd8d3ffdd6c748391cd7 ]

According to c8sectpfe driver code we first drive reset line low and
then high to reset the port, therefore the reset line is supposed to
be annotated as "active low". This will be important when we convert
the driver to gpiod API.

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/stihxxx-b2120.dtsi

index 2aa94605d3d47e4b0d811f75ed9e6cd90fb6460a..d52a7aaa10743b3be86676c6529ec8184cead093 100644 (file)
                                tsin-num = <0>;
                                serial-not-parallel;
                                i2c-bus = <&ssc2>;
-                               reset-gpios = <&pio15 4 GPIO_ACTIVE_HIGH>;
+                               reset-gpios = <&pio15 4 GPIO_ACTIVE_LOW>;
                                dvb-card = <STV0367_TDA18212_NIMA_1>;
                        };
                };