From edbb6e251ebd0015b1c4600ced00e9d83a0f8dc4 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 11 Apr 2021 20:10:22 +0100 Subject: [PATCH] media: dt-bindings: media: nxp,imx-mipi-csi2: i.MX8MP support The CSIS CSI-2 receiver in the i.MX8MP seems to be identical to the version present in the i.MX8MM. Add a device-specific compatible string, with a fallback to the i.MX8MM compatible. Signed-off-by: Laurent Pinchart Acked-by: Krzysztof Kozlowski Signed-off-by: Mauro Carvalho Chehab --- .../devicetree/bindings/media/nxp,imx-mipi-csi2.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/media/nxp,imx-mipi-csi2.yaml b/Documentation/devicetree/bindings/media/nxp,imx-mipi-csi2.yaml index 36b135bf9f2a3..03a23a26c4f38 100644 --- a/Documentation/devicetree/bindings/media/nxp,imx-mipi-csi2.yaml +++ b/Documentation/devicetree/bindings/media/nxp,imx-mipi-csi2.yaml @@ -22,9 +22,14 @@ description: |- properties: compatible: - enum: - - fsl,imx7-mipi-csi2 - - fsl,imx8mm-mipi-csi2 + oneOf: + - enum: + - fsl,imx7-mipi-csi2 + - fsl,imx8mm-mipi-csi2 + - items: + - enum: + - fsl,imx8mp-mipi-csi2 + - const: fsl,imx8mm-mipi-csi2 reg: maxItems: 1 -- 2.30.2