diff mbox series

dt-bindings: tpm: Drop type from "resets"

Message ID 20240124190714.1553772-1-robh@kernel.org
State Accepted
Headers show
Series dt-bindings: tpm: Drop type from "resets" | expand

Checks

Context Check Description
robh/checkpatch success
robh/patch-applied success
robh/dtbs-check warning build log
robh/dt-meta-schema success

Commit Message

Rob Herring (Arm) Jan. 24, 2024, 7:07 p.m. UTC
"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(-)

Comments

Lukas Wunner Jan. 24, 2024, 7:55 p.m. UTC | #1
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>
Rob Herring (Arm) Jan. 30, 2024, 10:16 p.m. UTC | #2
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!
diff mbox series

Patch

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