diff mbox series

[2/2] dt-bindings: phy: cdns,torrent-phy: add reset-names

Message ID 20200916124711.166643-2-tomi.valkeinen@ti.com
State Superseded, archived
Headers show
Series [1/2] dt-bindings: phy: ti,phy-j721e-wiz: fix bindings for torrent phy | expand

Checks

Context Check Description
robh/checkpatch success
robh/dt-meta-schema fail build log

Commit Message

Tomi Valkeinen Sept. 16, 2020, 12:47 p.m. UTC
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>
---
 .../devicetree/bindings/phy/phy-cadence-torrent.yaml         | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Vinod Koul Sept. 18, 2020, 5:22 a.m. UTC | #1
On 16-09-20, 15:47, Tomi Valkeinen wrote:
> 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>
> ---
>  .../devicetree/bindings/phy/phy-cadence-torrent.yaml         | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
> index 4071438be2ba..12ce022e4764 100644
> --- a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
> +++ b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
> @@ -54,6 +54,10 @@ properties:
>        Torrent PHY reset.
>        See Documentation/devicetree/bindings/reset/reset.txt
>  
> +  reset-names:
> +    items:
> +      - const: torrent_reset
> +
>  patternProperties:
>    '^phy@[0-7]+$':
>      type: object
> @@ -111,6 +115,7 @@ required:
>    - reg
>    - reg-names
>    - resets
> +  - reset-names

Update the example as well please.
>  
>  additionalProperties: false
>  
> -- 
> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
> Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
index 4071438be2ba..12ce022e4764 100644
--- a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
+++ b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml
@@ -54,6 +54,10 @@  properties:
       Torrent PHY reset.
       See Documentation/devicetree/bindings/reset/reset.txt
 
+  reset-names:
+    items:
+      - const: torrent_reset
+
 patternProperties:
   '^phy@[0-7]+$':
     type: object
@@ -111,6 +115,7 @@  required:
   - reg
   - reg-names
   - resets
+  - reset-names
 
 additionalProperties: false