Commit 4feac940 authored by Tomi Valkeinen's avatar Tomi Valkeinen Committed by Vinod Koul

dt-bindings: phy: cdns,torrent-phy: add reset-names

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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://lore.kernel.org/r/20200918083743.213874-1-tomi.valkeinen@ti.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 488e3f52
...@@ -57,6 +57,13 @@ properties: ...@@ -57,6 +57,13 @@ properties:
- description: Torrent PHY reset. - description: Torrent PHY reset.
- description: Torrent APB reset. This is optional. - description: Torrent APB reset. This is optional.
reset-names:
minItems: 1
maxItems: 2
items:
- const: torrent_reset
- const: torrent_apb
patternProperties: patternProperties:
'^phy@[0-3]$': '^phy@[0-3]$':
type: object type: object
...@@ -127,6 +134,7 @@ required: ...@@ -127,6 +134,7 @@ required:
- reg - reg
- reg-names - reg-names
- resets - resets
- reset-names
additionalProperties: false additionalProperties: false
...@@ -144,6 +152,7 @@ examples: ...@@ -144,6 +152,7 @@ examples:
<0xf0 0xfb030a00 0x0 0x00000040>; <0xf0 0xfb030a00 0x0 0x00000040>;
reg-names = "torrent_phy", "dptx_phy"; reg-names = "torrent_phy", "dptx_phy";
resets = <&phyrst 0>; resets = <&phyrst 0>;
reset-names = "torrent_reset";
clocks = <&ref_clk>; clocks = <&ref_clk>;
clock-names = "refclk"; clock-names = "refclk";
#address-cells = <1>; #address-cells = <1>;
...@@ -172,6 +181,7 @@ examples: ...@@ -172,6 +181,7 @@ examples:
reg = <0xf0 0xfb500000 0x0 0x00100000>; reg = <0xf0 0xfb500000 0x0 0x00100000>;
reg-names = "torrent_phy"; reg-names = "torrent_phy";
resets = <&phyrst 0>, <&phyrst 1>; resets = <&phyrst 0>, <&phyrst 1>;
reset-names = "torrent_reset", "torrent_apb";
clocks = <&ref_clk>; clocks = <&ref_clk>;
clock-names = "refclk"; clock-names = "refclk";
#address-cells = <1>; #address-cells = <1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment