linux-samsung-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family
@ 2022-09-13 16:41 Dmitry Torokhov
  2022-09-13 16:41 ` [PATCH 2/2] media: i2c: s5k6a3: switch to using gpiod API Dmitry Torokhov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Dmitry Torokhov @ 2022-09-13 16:41 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Alim Akhtar, Krzysztof Kozlowski, Linus Walleij
  Cc: linux-media, devicetree, linux-arm-kernel, linux-samsung-soc,
	linux-kernel

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>
---
 arch/arm/boot/dts/exynos4412-midas.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/exynos4412-midas.dtsi b/arch/arm/boot/dts/exynos4412-midas.dtsi
index b967397a46c5..8e1c19a8ad06 100644
--- a/arch/arm/boot/dts/exynos4412-midas.dtsi
+++ b/arch/arm/boot/dts/exynos4412-midas.dtsi
@@ -586,7 +586,7 @@ image-sensor@10 {
 		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 {
-- 
2.37.2.789.g6183377224-goog


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-09-19 14:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-13 16:41 [PATCH 1/2] ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family Dmitry Torokhov
2022-09-13 16:41 ` [PATCH 2/2] media: i2c: s5k6a3: switch to using gpiod API Dmitry Torokhov
2022-09-14 12:58   ` Linus Walleij
2022-09-19 14:31   ` Marek Szyprowski
2022-09-14 12:57 ` [PATCH 1/2] ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family Linus Walleij
2022-09-19  8:26 ` (subset) " Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).