From: Laurent Pinchart Date: Sun, 11 Apr 2021 19:10:22 +0000 (+0100) Subject: media: dt-bindings: media: nxp,imx-mipi-csi2: i.MX8MP support X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=edbb6e251ebd0015b1c4600ced00e9d83a0f8dc4;p=linux.git 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 --- 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