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

From: Vinod Koul
Date: Fri Sep 18 2020 - 01:22:12 EST


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@xxxxxx>
> ---
> .../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

--
~Vinod