From: Ronald Claveau <[email protected]> The HDMI TX PHY found on Amlogic Meson SoCs is a child of the HHI system controller.
Add an optional "hdmi-phy" child node referencing the amlogic,meson-hdmi-tx-phy binding, and add it to the example. The node is forbidden for the other system controller variants. Signed-off-by: Ronald Claveau <[email protected]> --- .../bindings/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml b/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml index 285edac4c082..97e47592aff2 100644 --- a/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml +++ b/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml @@ -36,6 +36,9 @@ properties: phy: type: object + hdmi-phy: + $ref: /schemas/phy/amlogic,meson-hdmi-tx-phy.yaml + allOf: - if: properties: @@ -50,6 +53,7 @@ allOf: pinctrl: false phy: false + hdmi-phy: false - if: properties: @@ -80,6 +84,7 @@ allOf: power-controller: false phy: false + hdmi-phy: false - if: properties: @@ -104,6 +109,7 @@ allOf: oneOf: - $ref: /schemas/phy/amlogic,g12a-mipi-dphy-analog.yaml - $ref: /schemas/phy/amlogic,meson-axg-mipi-pcie-analog.yaml + hdmi-phy: false required: - compatible @@ -155,6 +161,11 @@ examples: clocks = <&clk_vpu>, <&clk_vapb>; clock-names = "vpu", "vapb"; }; + + hdmi-phy { + compatible = "amlogic,meson-g12a-hdmi-tx-phy"; + #phy-cells = <0>; + }; }; }; -- 2.43.0
