]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: apq8016-sbc: Rename ov5640 enable-gpios to powerdown-gpios
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Fri, 11 Aug 2023 23:47:36 +0000 (00:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:48:18 +0000 (09:48 +0200)
[ Upstream commit 4facccb44a82129195878750eed8f9890091c1b8 ]

There are two control lines controlled by GPIO going into ov5640

- Reset
- Powerdown

The driver and yaml expect "reset-gpios" and "powerdown-gpios" there has
never been an "enable-gpios".

Fixes: 39e0ce6cd1bf ("arm64: dts: qcom: apq8016-sbc: Add CCI/Sensor nodes")
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230811234738.2859417-6-bryan.odonoghue@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/apq8016-sbc.dts

index 80a6526779849d0a0fb570c1e2e574270b019ef8..fa92a870cfc4023c84936dfcfeb938f7fff287f1 100644 (file)
                compatible = "ovti,ov5640";
                reg = <0x3b>;
 
-               enable-gpios = <&tlmm 34 GPIO_ACTIVE_HIGH>;
+               powerdown-gpios = <&tlmm 34 GPIO_ACTIVE_HIGH>;
                reset-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
                pinctrl-names = "default";
                pinctrl-0 = <&camera_rear_default>;