dt-bindings: phy: Introduce Qualcomm eDP PHY binding

Introduce a binding for the eDP PHY hardware block found in several
different Qualcomm platforms.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211103234410.1352424-1-bjorn.andersson@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
Bjorn Andersson 2021-11-03 16:44:09 -07:00 committed by Vinod Koul
parent d3bc6269e2
commit 26379667d2

View File

@ -0,0 +1,67 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: "http://devicetree.org/schemas/phy/qcom,edp-phy.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
title: Qualcomm eDP PHY
maintainers:
- Bjorn Andersson <bjorn.andersson@linaro.org>
description:
The Qualcomm eDP PHY is found in a number of Qualcomm platform and provides
the physical interface for Embedded Display Port.
properties:
compatible:
const: qcom,sc8180x-edp-phy
reg:
items:
- description: PHY base register block
- description: tx0 register block
- description: tx1 register block
- description: PLL register block
clocks:
maxItems: 2
clock-names:
items:
- const: aux
- const: cfg_ahb
"#clock-cells":
const: 1
"#phy-cells":
const: 0
required:
- compatible
- reg
- clocks
- clock-names
- "#clock-cells"
- "#phy-cells"
additionalProperties: false
examples:
- |
phy@aec2a00 {
compatible = "qcom,sc8180x-edp-phy";
reg = <0x0aec2a00 0x1c0>,
<0x0aec2200 0xa0>,
<0x0aec2600 0xa0>,
<0x0aec2000 0x19c>;
clocks = <&dispcc 0>, <&dispcc 1>;
clock-names = "aux", "cfg_ahb";
#clock-cells = <1>;
#phy-cells = <0>;
};
...