Skip to content

Commit

Permalink
dt-bindings: phy: hisilicon,hi3670-usb3: simplify example
Browse files Browse the repository at this point in the history
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: Mauro Carvalho Chehab <mchehab@kernel.org>
Acked-By: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20220817142246.828762-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
  • Loading branch information
Krzysztof Kozlowski authored and Rob Herring committed Sep 12, 2022
1 parent 70d012e commit 65c4764
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,12 @@ additionalProperties: false

examples:
- |
bus {
#address-cells = <2>;
#size-cells = <2>;
usb3_otg_bc: usb3_otg_bc@ff200000 {
compatible = "syscon", "simple-mfd";
reg = <0x0 0xff200000 0x0 0x1000>;
usb_phy {
compatible = "hisilicon,hi3670-usb-phy";
#phy-cells = <0>;
hisilicon,pericrg-syscon = <&crg_ctrl>;
hisilicon,pctrl-syscon = <&pctrl>;
hisilicon,sctrl-syscon = <&sctrl>;
hisilicon,eye-diagram-param = <0xfdfee4>;
hisilicon,tx-vboost-lvl = <0x5>;
};
};
usb-phy {
compatible = "hisilicon,hi3670-usb-phy";
#phy-cells = <0>;
hisilicon,pericrg-syscon = <&crg_ctrl>;
hisilicon,pctrl-syscon = <&pctrl>;
hisilicon,sctrl-syscon = <&sctrl>;
hisilicon,eye-diagram-param = <0xfdfee4>;
hisilicon,tx-vboost-lvl = <0x5>;
};

0 comments on commit 65c4764

Please sign in to comment.