dt-bindings: msm: dsi: document phy-type property for 7nm dsi phy
authorJonathan Marek <jonathan@marek.ca>
Thu, 17 Jun 2021 14:43:34 +0000 (10:43 -0400)
committerRob Clark <robdclark@chromium.org>
Sat, 7 Aug 2021 18:48:37 +0000 (11:48 -0700)
Document a new phy-type property which will be used to determine whether
the phy should operate in D-PHY or C-PHY mode.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20210617144349.28448-3-jonathan@marek.ca
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Documentation/devicetree/bindings/display/msm/dsi-phy-7nm.yaml
include/dt-bindings/phy/phy.h

index c0077ca..70809d1 100644 (file)
@@ -34,6 +34,11 @@ properties:
     description: |
       Connected to VDD_A_DSI_PLL_0P9 pin (or VDDA_DSI{0,1}_PLL_0P9 for sm8150)
 
+  phy-type:
+    description: D-PHY (default) or C-PHY mode
+    enum: [ 10, 11 ]
+    default: 10
+
 required:
   - compatible
   - reg
index 887a31b..f48c9ac 100644 (file)
@@ -20,5 +20,7 @@
 #define PHY_TYPE_XPCS          7
 #define PHY_TYPE_SGMII         8
 #define PHY_TYPE_QSGMII                9
+#define PHY_TYPE_DPHY          10
+#define PHY_TYPE_CPHY          11
 
 #endif /* _DT_BINDINGS_PHY */