Message ID | f1a558c1511f310475002ed7a18d4e0406318b63.1667463263.git.Sandor.yu@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Initial support for Cadence MHDP(HDMI/DP) for i.MX8MQ | expand |
On 04/11/2022 02:44, Sandor Yu wrote: > Add bindings for Cadence HDP-TX HDMI PHY. > > Signed-off-by: Sandor Yu <Sandor.yu@nxp.com> > --- > .../bindings/phy/phy-cadence-hdptx-hdmi.yaml | 54 +++++++++++++++++++ > 1 file changed, 54 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/phy-cadence-hdptx-hdmi.yaml > > diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-hdptx-hdmi.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-hdptx-hdmi.yaml > new file mode 100644 > index 000000000000..edd7bf1c8920 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/phy-cadence-hdptx-hdmi.yaml Same comments apply as for other bindings (also phy) Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-hdptx-hdmi.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-hdptx-hdmi.yaml new file mode 100644 index 000000000000..edd7bf1c8920 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/phy-cadence-hdptx-hdmi.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/phy/phy-cadence-hdptx-hdmi.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Cadence HDP(HDMI/DisplayPort) TX PHY for HDMI protocol binding + +description: + This binding describes the Cadence HDP-TX PHY for HDMI protocol. + +maintainers: + - Sandor Yu <sandor.yu@nxp.com> + +properties: + compatible: + enum: + - cdns,hdptx-hdmi-phy + + reg: + description: + Offset of Cadence HDPTX APB configuration registers. + + clocks: + items: + description: + PHY reference clock. Must contain an entry in clock-names. + + clock-names: + items: + - const: refclk + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - clocks + - clock-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + #include <dt-bindings/phy/phy.h> + hdmi_phy: hdmi_phy@32c00000 { + compatible = "cdns,hdptx-hdmi-phy"; + reg = <0x32c00000 0x100000>; + #phy-cells = <0>; + clocks = <&hdmi_phy_27m>; + clock-names = "refclk"; + };
Add bindings for Cadence HDP-TX HDMI PHY. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com> --- .../bindings/phy/phy-cadence-hdptx-hdmi.yaml | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-cadence-hdptx-hdmi.yaml