Skip to content

Commit

Permalink
dt-bindings: phy: cdns,torrent-phy: add reset-names
Browse files Browse the repository at this point in the history
Add reset-names as a required property.

There are no dts files using torrent phy yet, so it is safe to add a new
required property.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://lore.kernel.org/r/20200918083743.213874-1-tomi.valkeinen@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
  • Loading branch information
Tomi Valkeinen authored and Vinod Koul committed Sep 23, 2020
1 parent 488e3f5 commit 4feac94
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ properties:
- description: Torrent PHY reset.
- description: Torrent APB reset. This is optional.

reset-names:
minItems: 1
maxItems: 2
items:
- const: torrent_reset
- const: torrent_apb

patternProperties:
'^phy@[0-3]$':
type: object
Expand Down Expand Up @@ -127,6 +134,7 @@ required:
- reg
- reg-names
- resets
- reset-names

additionalProperties: false

Expand All @@ -144,6 +152,7 @@ examples:
<0xf0 0xfb030a00 0x0 0x00000040>;
reg-names = "torrent_phy", "dptx_phy";
resets = <&phyrst 0>;
reset-names = "torrent_reset";
clocks = <&ref_clk>;
clock-names = "refclk";
#address-cells = <1>;
Expand Down Expand Up @@ -172,6 +181,7 @@ examples:
reg = <0xf0 0xfb500000 0x0 0x00100000>;
reg-names = "torrent_phy";
resets = <&phyrst 0>, <&phyrst 1>;
reset-names = "torrent_reset", "torrent_apb";
clocks = <&ref_clk>;
clock-names = "refclk";
#address-cells = <1>;
Expand Down

0 comments on commit 4feac94

Please sign in to comment.