summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorVaishnav Achath <vaishnav.a@ti.com>2023-01-31 13:41:06 +0530
committerVignesh Raghavendra <vigneshr@ti.com>2023-02-01 11:56:43 +0530
commitb0b503af9e9564e87deeb7a59891fcd8dbea6c73 (patch)
treeafe5a87bc2bcb18cc00b5f54132cf43d04dc9eb3 /arch
parentf09f1633697a93b222333d56ecb2c5dc86f92509 (diff)
arm64: dts: ti: k3-j721s2-cpb-ov5640: Use powerdown instead of reset
The LI OV5640 module exposes single GPIO pin named RESETB, but the behavior of the RESET signal is similar to powerdown signal expected by driver and seems to be wired through appropriate inverters and delays internally to PWDN and then to RESETB of the sensor. For correct power-up sequence in the driver, we should pass this pin as an active-low powerdown in the DT instead of calling it reset, otherwise probe fails. Also add a comment to specify that this overlay is for LI OV5640 module. Signed-off-by: Vaishnav Achath <vaishnav.a@ti.com> Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com> Reviewed-by: Jai Luthra <j-luthra@ti.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/ti/k3-j721s2-cpb-csi2-ov5640.dts4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-cpb-csi2-ov5640.dts b/arch/arm64/boot/dts/ti/k3-j721s2-cpb-csi2-ov5640.dts
index a3fbd6c0cbad..cc18b24b7616 100644
--- a/arch/arm64/boot/dts/ti/k3-j721s2-cpb-csi2-ov5640.dts
+++ b/arch/arm64/boot/dts/ti/k3-j721s2-cpb-csi2-ov5640.dts
@@ -1,5 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
/*
+ * LI OV5640 MIPI Camera module.
+ *
* Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/
*/
@@ -32,7 +34,7 @@
clocks = <&clk_ov5640_fixed>;
clock-names = "xclk";
- reset-gpios = <&exp5 0 GPIO_ACTIVE_LOW>;
+ powerdown-gpios = <&exp5 0 GPIO_ACTIVE_LOW>;
port {
csi2_cam0: endpoint {