Skip to content

Commit

Permalink
dt-bindings: usb: rts5411: Rename property 'companion-hub' to 'peer-hub'
Browse files Browse the repository at this point in the history
In the context of USB the term 'companion-hub' is misleading, change the
name of the property to 'peer-hub'.

There are no upstream users of the 'companion-hub' property, neither in
the device tree, nor on the driver side, so renaming it shouldn't cause
any compatibility issues with existing device trees.

Changes in v24:
- patch added to the series

Reviewed-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Link: https://lore.kernel.org/r/20220630123445.v24.2.Ie2bbbd3f690826404b8f1059d24edcab33ed898f@changeid
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Matthias Kaehlcke authored and Greg Kroah-Hartman committed Jul 8, 2022
1 parent 620e8e8 commit dee6719
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Documentation/devicetree/bindings/usb/realtek,rts5411.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ properties:
description:
phandle to the regulator that provides power to the hub.

companion-hub:
peer-hub:
$ref: '/schemas/types.yaml#/definitions/phandle'
description:
phandle to the companion hub on the controller.
phandle to the peer hub on the controller.

required:
- companion-hub
- peer-hub
- compatible
- reg

Expand All @@ -49,14 +49,14 @@ examples:
compatible = "usbbda,5411";
reg = <1>;
vdd-supply = <&pp3300_hub>;
companion-hub = <&hub_3_0>;
peer-hub = <&hub_3_0>;
};
/* 3.0 hub on port 2 */
hub_3_0: hub@2 {
compatible = "usbbda,411";
reg = <2>;
vdd-supply = <&pp3300_hub>;
companion-hub = <&hub_2_0>;
peer-hub = <&hub_2_0>;
};
};

0 comments on commit dee6719

Please sign in to comment.