Skip to contentSkip to conversation

arm64: dts: qcom: sdm845-db845c: Fix reset-pin of ov8856 node

PATCH Superseded Robert Foss 2 participants 2 messages Dec 17, 2020 – Dec 21, 2020

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: sdm845-db845c: Fix reset-pin of ov8856 node

Switch reset pin of ov8856 node from GPIO_ACTIVE_HIGH to GPIO_ACTIVE_LOW, this issue prevented the ov8856 from probing properly as it does not respond to I2C messages.

Fixes d4919a44564b ("arm64: dts: qcom: sdm845-db845c: Add ov8856 & ov7251

camera nodes")

---
 arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/sdm845-db845c.dts +2 -2
index 7cc236575ee2..a943b3f353ce 100644
@@ -1112,11 +1112,11 @@ camera@10 {
 		reg = <0x10>;
 
 		// CAM0_RST_N
-		reset-gpios = <&tlmm 9 0>;
+		reset-gpios = <&tlmm 9 1>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&cam0_default>;
 		gpios = <&tlmm 13 0>,
-			<&tlmm 9 0>;
+			<&tlmm 9 1>;
 
 		clocks = <&clock_camcc CAM_CC_MCLK0_CLK>;
 		clock-names = "xvclk";
Signature · 1 line
2.27.0
#1 lore raw
Quoted 17 lines · Robert Foss

Switch reset pin of ov8856 node from GPIO_ACTIVE_HIGH to GPIO_ACTIVE_LOW, this issue prevented the ov8856 from probing properly as it does not respond to I2C messages.

Fixes d4919a44564b ("arm64: dts: qcom: sdm845-db845c: Add ov8856 & ov7251

camera nodes")

---
 arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/sdm845-db845c.dts +0 -0
index 7cc236575ee2..a943b3f353ce 100644

arch/arm64/boot/dts/qcom/sdm845-db845c.dts camera@10 { · line 1115

Quoted 5 lines
arch/arm64/boot/dts/qcom/sdm845-db845c.dts +1 -1
@@ -1112,11 +1112,11 @@ camera@10 {
 		reg = <0x10>;
 
 		// CAM0_RST_N
-		reset-gpios = <&tlmm 9 0>;
+		reset-gpios = <&tlmm 9 1>;

Please do use GPIO_ACTIVE_LOW as the argument...

Regards,
Bjorn

Quoted 11 lines
arch/arm64/boot/dts/qcom/sdm845-db845c.dts +1 -1
 		pinctrl-names = "default";
 		pinctrl-0 = <&cam0_default>;
 		gpios = <&tlmm 13 0>,
-			<&tlmm 9 0>;
+			<&tlmm 9 1>;
 
 		clocks = <&clock_camcc CAM_CC_MCLK0_CLK>;
 		clock-names = "xvclk";
Signature · 1 line
2.27.0