From: Ronald Claveau <[email protected]>

The HDMI TX PHY now has its own binding and driver. Describe the link
between the HDMI TX controller and its PHY with a "phys" property
holding a single phandle, named "hdmi" through "phy-names", and update
the example accordingly.

The properties are optional so that existing DT, which do not describe
the PHY, keep validating; the driver falls back to creating the PHY
itself in that case.

Signed-off-by: Ronald Claveau <[email protected]>
---
 .../devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml        | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git 
a/Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml 
b/Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml
index 416fe263ac92..5a033fec21b0 100644
--- a/Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml
+++ b/Documentation/devicetree/bindings/display/amlogic,meson-dw-hdmi.yaml
@@ -108,6 +108,12 @@ properties:
 
   sound-name-prefix: true
 
+  phys:
+    maxItems: 1
+
+  phy-names:
+    const: hdmi
+
 required:
   - compatible
   - reg
@@ -136,6 +142,8 @@ examples:
         power-domains = <&pd_vpu>;
         #address-cells = <1>;
         #size-cells = <0>;
+        phys = <&hdmi_tx_phy>;
+        phy-names = "hdmi";
 
         /* VPU VENC Input */
         hdmi_tx_venc_port: port@0 {

-- 
2.43.0


Reply via email to