Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afe3af89 authored by Amelie Delaunay's avatar Amelie Delaunay Committed by Alexandre Torgue
Browse files

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: a502b343 ("pinctrl: stmfx: update pinconf settings")
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: default avatarAmelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@st.com>
parent 9df50c2e
Loading
Loading
Loading
Loading
+2 −10
Original line number Original line Diff line number Diff line
@@ -183,14 +183,12 @@


	ov5640: camera@3c {
	ov5640: camera@3c {
		compatible = "ovti,ov5640";
		compatible = "ovti,ov5640";
		pinctrl-names = "default";
		pinctrl-0 = <&ov5640_pins>;
		reg = <0x3c>;
		reg = <0x3c>;
		clocks = <&clk_ext_camera>;
		clocks = <&clk_ext_camera>;
		clock-names = "xclk";
		clock-names = "xclk";
		DOVDD-supply = <&v2v8>;
		DOVDD-supply = <&v2v8>;
		powerdown-gpios = <&stmfx_pinctrl 18 GPIO_ACTIVE_HIGH>;
		powerdown-gpios = <&stmfx_pinctrl 18 (GPIO_ACTIVE_HIGH | GPIO_PUSH_PULL)>;
		reset-gpios = <&stmfx_pinctrl 19 GPIO_ACTIVE_LOW>;
		reset-gpios = <&stmfx_pinctrl 19 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>;
		rotation = <180>;
		rotation = <180>;
		status = "okay";
		status = "okay";


@@ -226,12 +224,6 @@
				drive-push-pull;
				drive-push-pull;
				bias-pull-down;
				bias-pull-down;
			};
			};

			ov5640_pins: camera {
				pins = "agpio2", "agpio3"; /* stmfx pins 18 & 19 */
				drive-push-pull;
				output-low;
			};
		};
		};
	};
	};
};
};