linux/Documentation/devicetree/bindings/phy/hisilicon,hi3660-usb3.yaml
Krzysztof Kozlowski 70d012e9e9 dt-bindings: phy: hisilicon,hi3660-usb3: simplify example
syscon and simple-mfd cannot be used without device specific compatible,
so simplify the example to fix this.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-By: Vinod Koul <vkoul@kernel.org>
Acked-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Link: https://lore.kernel.org/r/20220817142246.828762-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
2022-09-12 13:31:10 -05:00

51 lines
1.2 KiB
YAML

# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/hisilicon,hi3660-usb3.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Hisilicon Kirin 960 USB PHY
maintainers:
- Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
description: |+
Bindings for USB3 PHY on HiSilicon Kirin 960.
properties:
compatible:
const: hisilicon,hi3660-usb-phy
"#phy-cells":
const: 0
hisilicon,pericrg-syscon:
$ref: '/schemas/types.yaml#/definitions/phandle'
description: phandle of syscon used to control iso refclk.
hisilicon,pctrl-syscon:
$ref: '/schemas/types.yaml#/definitions/phandle'
description: phandle of syscon used to control usb tcxo.
hisilicon,eye-diagram-param:
$ref: /schemas/types.yaml#/definitions/uint32
description: Eye diagram for phy.
required:
- compatible
- hisilicon,pericrg-syscon
- hisilicon,pctrl-syscon
- hisilicon,eye-diagram-param
- "#phy-cells"
additionalProperties: false
examples:
- |
usb-phy {
compatible = "hisilicon,hi3660-usb-phy";
#phy-cells = <0>;
hisilicon,pericrg-syscon = <&crg_ctrl>;
hisilicon,pctrl-syscon = <&pctrl>;
hisilicon,eye-diagram-param = <0x22466e4>;
};