diff mbox series

ARM: dts: imx51: add capture-subsystem device

Message ID 20200313105739.25724-1-l.stach@pengutronix.de (mailing list archive)
State Mainlined
Commit 288b9e6f75ee5e2ca239274504c04828b47dfd58
Headers show
Series ARM: dts: imx51: add capture-subsystem device | expand

Commit Message

Lucas Stach March 13, 2020, 10:57 a.m. UTC
From: Philipp Zabel <p.zabel@pengutronix.de>

Add IPU CSI ports and capture-subsystem device so the capture subsystem
part of the IPUv3EX can be used with the staging imx-media driver.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/boot/dts/imx51.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comments

Shawn Guo March 16, 2020, 1:41 a.m. UTC | #1
On Fri, Mar 13, 2020 at 11:57:39AM +0100, Lucas Stach wrote:
> From: Philipp Zabel <p.zabel@pengutronix.de>
> 
> Add IPU CSI ports and capture-subsystem device so the capture subsystem
> part of the IPUv3EX can be used with the staging imx-media driver.
> 
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>

Applied, thanks.
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx51.dtsi b/arch/arm/boot/dts/imx51.dtsi
index dea86b98e9c3..09b371533726 100644
--- a/arch/arm/boot/dts/imx51.dtsi
+++ b/arch/arm/boot/dts/imx51.dtsi
@@ -104,6 +104,11 @@ 
 		#phy-cells = <0>;
 	};
 
+	capture-subsystem {
+		compatible = "fsl,imx-capture-subsystem";
+		ports = <&ipu_csi0>, <&ipu_csi1>;
+	};
+
 	display-subsystem {
 		compatible = "fsl,imx-display-subsystem";
 		ports = <&ipu_di0>, <&ipu_di1>;
@@ -143,6 +148,14 @@ 
 			clock-names = "bus", "di0", "di1";
 			resets = <&src 2>;
 
+			ipu_csi0: port@0 {
+				reg = <0>;
+			};
+
+			ipu_csi1: port@1 {
+				reg = <1>;
+			};
+
 			ipu_di0: port@2 {
 				reg = <2>;