summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/phy
diff options
context:
space:
mode:
authorLiu Ying <victor.liu@nxp.com>2020-01-20 13:42:06 +0800
committerLiu Ying <victor.liu@nxp.com>2020-02-13 12:11:45 +0800
commitc0de781217733306f88a162fa71ca905e27febd9 (patch)
tree917f884b0794f47ec0af1e5a1639498d235f7499 /Documentation/devicetree/bindings/phy
parent4f6601a15243ba7dd9f255e13f9cdbc413444ec0 (diff)
MLK-23252-5 dt-bindings: phy: Add binding for Freescale i.MX8mp LVDS PHY
Add devicetree bindings for Freescale i.MX8mp LVDS PHY. The IP block contains two PHYs, each of which supports a four data lane LVDS channel. Reviewed-by: Sandor Yu <Sandor.yu@nxp.com> Signed-off-by: Liu Ying <victor.liu@nxp.com>
Diffstat (limited to 'Documentation/devicetree/bindings/phy')
-rw-r--r--Documentation/devicetree/bindings/phy/fsl,imx8mp-lvds-phy.yaml89
1 files changed, 89 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/phy/fsl,imx8mp-lvds-phy.yaml b/Documentation/devicetree/bindings/phy/fsl,imx8mp-lvds-phy.yaml
new file mode 100644
index 000000000000..17d84c5533f4
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/fsl,imx8mp-lvds-phy.yaml
@@ -0,0 +1,89 @@
+# SPDX-License-Identifier: GPL-2.0
+# Copyright 2020 NXP
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/fsl,imx8mp-lvds-phy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Freescale i.MX8MP LVDS PHY Device Tree Bindings
+
+maintainers:
+ - Liu Ying <victor.liu@nxp.com>
+
+description: |
+ LVDS PHY found on i.MX8MP SoC. The IP block contains two PHYs, each of
+ which supports a four data lane LVDS channel.
+
+properties:
+ compatible:
+ enum:
+ - fsl,imx8mp-lvds-phy
+
+ "#address-cells":
+ const: 1
+
+ "#size-cells":
+ const: 0
+
+ gpr:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description: phandle to block control syscon
+
+ port@0:
+ type: object
+ description: A port node pointing to the PHY instance0's port node
+ properties:
+ reg:
+ maxItems: 1
+ description: PHY instance number.
+ "#phy-cells":
+ const: 0
+
+ required:
+ - reg
+ - "#phy-cells"
+
+ port@1:
+ type: object
+ description: A port node pointing to the PHY instance1's port node
+ properties:
+ reg:
+ maxItems: 1
+ description: PHY instance number
+ "#phy-cells":
+ const: 0
+
+ required:
+ - reg
+ - "#phy-cells"
+
+required:
+ - compatible
+ - "#address-cells"
+ - "#size-cells"
+ - gpr
+ - port@0
+ - port@1
+
+additionalProperties: false
+
+examples:
+ - |
+ ldb_phy: phy@32ec0128 {
+ compatible = "fsl,imx8mp-lvds-phy";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ gpr = <&mediamix_blk_ctl>;
+
+ ldb_phy1: port@0 {
+ reg = <0>;
+ #phy-cells = <0>;
+ };
+
+ ldb_phy2: port@1 {
+ reg = <1>;
+ #phy-cells = <0>;
+ };
+ };
+
+...