Thread (1 message) 1 message, 1 author, 2021-01-05
STALE1992d

Revision v1 of 2 in this series.

Revisions (2)
  1. v1 current
  2. v2 [diff vs current]

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

From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: 2021-01-05 15:39:03
Also in: linux-media
Subsystem: media input infrastructure (v4l/dvb), open firmware and flattened device tree bindings, the rest · Maintainers: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds

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 --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 {
-- 
Regards,

Laurent Pinchart
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help