From: luyulin <luyulin@xxxxxxxxxxxxxxxxxx> Add document for the SATA phy on the EIC7700 SoC platform, describing its usage. Signed-off-by: luyulin <luyulin@xxxxxxxxxxxxxxxxxx> --- .../bindings/phy/eswin,eic7700-sata-phy.yaml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/eswin,eic7700-sata-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/eswin,eic7700-sata-phy.yaml b/Documentation/devicetree/bindings/phy/eswin,eic7700-sata-phy.yaml new file mode 100644 index 000000000000..d914cb4402d8 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/eswin,eic7700-sata-phy.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/eswin,eic7700-sata-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Eswin EIC7700 SoC SATA PHY + +maintainers: + - Yulin Lu <luyulin@xxxxxxxxxxxxxxxxxx> + - Huan He <hehuan1@xxxxxxxxxxxxxxxxxx> + +properties: + compatible: + const: eswin,eic7700-sata-phy + + "#phy-cells": + const: 0 + + reg: + maxItems: 1 + +required: + - compatible + - "#phy-cells" + - reg + +additionalProperties: false + +examples: + - | + sata-phy@50440300 { + compatible = "eswin,eic7700-sata-phy"; + reg = <0x50440300 0x40>; + #phy-cells = <0>; + }; -- 2.25.1