Skip to content

Commit

Permalink
dt-bindings: phy: hisilicon,hi3660-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: 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>
  • Loading branch information
Krzysztof Kozlowski authored and Rob Herring committed Sep 12, 2022
1 parent 68df591 commit 70d012e
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions Documentation/devicetree/bindings/phy/hisilicon,hi3660-usb3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,10 @@ 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,hi3660-usb-phy";
#phy-cells = <0>;
hisilicon,pericrg-syscon = <&crg_ctrl>;
hisilicon,pctrl-syscon = <&pctrl>;
hisilicon,eye-diagram-param = <0x22466e4>;
};
};
usb-phy {
compatible = "hisilicon,hi3660-usb-phy";
#phy-cells = <0>;
hisilicon,pericrg-syscon = <&crg_ctrl>;
hisilicon,pctrl-syscon = <&pctrl>;
hisilicon,eye-diagram-param = <0x22466e4>;
};

0 comments on commit 70d012e

Please sign in to comment.