Skip to content

Commit afe3af8

Browse files
ADESTMatorgue
authored andcommitted
ARM: dts: stm32: remove OV5640 pinctrl definition on stm32mp157c-ev1
"push-pull" configuration is now fully handled by the gpiolib and the STMFX pinctrl driver. There is no longer need to declare a pinctrl group to only configure "push-pull" setting for the line. It is done directly by the gpiolib. Fixes: a502b34 ("pinctrl: stmfx: update pinconf settings") Signed-off-by: Alexandre Torgue <[email protected]> Signed-off-by: Amelie Delaunay <[email protected]> Signed-off-by: Alexandre Torgue <[email protected]>
1 parent 9df50c2 commit afe3af8

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

arch/arm/boot/dts/stm32mp157c-ev1.dts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,12 @@
183183

184184
ov5640: camera@3c {
185185
compatible = "ovti,ov5640";
186-
pinctrl-names = "default";
187-
pinctrl-0 = <&ov5640_pins>;
188186
reg = <0x3c>;
189187
clocks = <&clk_ext_camera>;
190188
clock-names = "xclk";
191189
DOVDD-supply = <&v2v8>;
192-
powerdown-gpios = <&stmfx_pinctrl 18 GPIO_ACTIVE_HIGH>;
193-
reset-gpios = <&stmfx_pinctrl 19 GPIO_ACTIVE_LOW>;
190+
powerdown-gpios = <&stmfx_pinctrl 18 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL)>;
191+
reset-gpios = <&stmfx_pinctrl 19 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>;
194192
rotation = <180>;
195193
status = "okay";
196194

@@ -226,12 +224,6 @@
226224
drive-push-pull;
227225
bias-pull-down;
228226
};
229-
230-
ov5640_pins: camera {
231-
pins = "agpio2", "agpio3"; /* stmfx pins 18 & 19 */
232-
drive-push-pull;
233-
output-low;
234-
};
235227
};
236228
};
237229
};

0 commit comments

Comments
 (0)