[PATCH] dt-bindings: tpm: Drop type from "resets"

Rob Herring posted 1 patch 1 year, 11 months ago
Documentation/devicetree/bindings/tpm/tpm-common.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] dt-bindings: tpm: Drop type from "resets"
Posted by Rob Herring 1 year, 11 months ago
"resets" is a standard property which already has a type. Users only need
to define how many clocks and what each clock is if more than 1 clock.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/tpm/tpm-common.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/tpm/tpm-common.yaml b/Documentation/devicetree/bindings/tpm/tpm-common.yaml
index 90390624a8be..3c1241b2a43f 100644
--- a/Documentation/devicetree/bindings/tpm/tpm-common.yaml
+++ b/Documentation/devicetree/bindings/tpm/tpm-common.yaml
@@ -42,7 +42,7 @@ properties:
 
   resets:
     description: Reset controller to reset the TPM
-    $ref: /schemas/types.yaml#/definitions/phandle
+    maxItems: 1
 
   reset-gpios:
     description: Output GPIO pin to reset the TPM
-- 
2.43.0
Re: [PATCH] dt-bindings: tpm: Drop type from "resets"
Posted by Rob Herring 1 year, 10 months ago
On Wed, 24 Jan 2024 13:07:14 -0600, Rob Herring wrote:
> "resets" is a standard property which already has a type. Users only need
> to define how many clocks and what each clock is if more than 1 clock.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/tpm/tpm-common.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!
Re: [PATCH] dt-bindings: tpm: Drop type from "resets"
Posted by Lukas Wunner 1 year, 11 months ago
On Wed, Jan 24, 2024 at 01:07:14PM -0600, Rob Herring wrote:
> "resets" is a standard property which already has a type. Users only need
> to define how many clocks and what each clock is if more than 1 clock.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

Reviewed-by: Lukas Wunner <lukas@wunner.de>