Bjorn Andersson | 2637966 | 2021-11-03 16:44:09 -0700 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | |
| 3 | %YAML 1.2 |
| 4 | --- |
| 5 | $id: "http://devicetree.org/schemas/phy/qcom,edp-phy.yaml#" |
| 6 | $schema: "http://devicetree.org/meta-schemas/core.yaml#" |
| 7 | |
| 8 | title: Qualcomm eDP PHY |
| 9 | |
| 10 | maintainers: |
| 11 | - Bjorn Andersson <bjorn.andersson@linaro.org> |
| 12 | |
| 13 | description: |
| 14 | The Qualcomm eDP PHY is found in a number of Qualcomm platform and provides |
| 15 | the physical interface for Embedded Display Port. |
| 16 | |
| 17 | properties: |
| 18 | compatible: |
| 19 | const: qcom,sc8180x-edp-phy |
| 20 | |
| 21 | reg: |
| 22 | items: |
| 23 | - description: PHY base register block |
| 24 | - description: tx0 register block |
| 25 | - description: tx1 register block |
| 26 | - description: PLL register block |
| 27 | |
| 28 | clocks: |
| 29 | maxItems: 2 |
| 30 | |
| 31 | clock-names: |
| 32 | items: |
| 33 | - const: aux |
| 34 | - const: cfg_ahb |
| 35 | |
| 36 | "#clock-cells": |
| 37 | const: 1 |
| 38 | |
| 39 | "#phy-cells": |
| 40 | const: 0 |
| 41 | |
| 42 | required: |
| 43 | - compatible |
| 44 | - reg |
| 45 | - clocks |
| 46 | - clock-names |
| 47 | - "#clock-cells" |
| 48 | - "#phy-cells" |
| 49 | |
| 50 | additionalProperties: false |
| 51 | |
| 52 | examples: |
| 53 | - | |
| 54 | phy@aec2a00 { |
| 55 | compatible = "qcom,sc8180x-edp-phy"; |
| 56 | reg = <0x0aec2a00 0x1c0>, |
| 57 | <0x0aec2200 0xa0>, |
| 58 | <0x0aec2600 0xa0>, |
| 59 | <0x0aec2000 0x19c>; |
| 60 | |
| 61 | clocks = <&dispcc 0>, <&dispcc 1>; |
| 62 | clock-names = "aux", "cfg_ahb"; |
| 63 | |
| 64 | #clock-cells = <1>; |
| 65 | #phy-cells = <0>; |
| 66 | }; |
| 67 | ... |