diff mbox series

[58/75] dt-bindings: media: fsl,imx7-mipi-csi2: Drop the reset-names property

Message ID 20210105152852.5733-59-laurent.pinchart@ideasonboard.com
State New
Headers show
Series None | expand

Commit Message

Laurent Pinchart Jan. 5, 2021, 3:28 p.m. UTC
The reset-names property is incorrect, as it references the reset of the
MIPI D-PHY master, which is used by the DSI controller. Fixing the
property name would create backward-compatibility issues. As the device
has a single reset, we can instead drop reset-names completely, which
also simplifies the binding.

Fix the example accordingly to use the correct reset.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 .../devicetree/bindings/media/fsl,imx7-mipi-csi2.yaml     | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/media/fsl,imx7-mipi-csi2.yaml b/Documentation/devicetree/bindings/media/fsl,imx7-mipi-csi2.yaml
index 2df997293780..d8918ba3b06c 100644
--- a/Documentation/devicetree/bindings/media/fsl,imx7-mipi-csi2.yaml
+++ b/Documentation/devicetree/bindings/media/fsl,imx7-mipi-csi2.yaml
@@ -45,10 +45,6 @@  properties:
     items:
       - description: MIPI D-PHY slave reset
 
-  reset-names:
-    items:
-      - const: mrst
-
   power-domains: true
 
   phy-supply:
@@ -150,7 +146,6 @@  required:
   - clocks
   - clock-names
   - resets
-  - reset-names
   - power-domains
   - phy-supply
   - ports
@@ -174,8 +169,7 @@  examples:
         clock-frequency = <166000000>;
         power-domains = <&pgc_mipi_phy>;
         phy-supply = <&reg_1p0d>;
-        resets = <&src IMX7_RESET_MIPI_PHY_MRST>;
-        reset-names = "mrst";
+        resets = <&src IMX7_RESET_MIPI_PHY_SRST>;
         fsl,csis-hs-settle = <3>;
 
         ports {