Skip to contentSkip to conversation

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

PATCH Applied Rob Herring 2 participants 3 messages Jan 24, 2024 – Jan 30, 2024

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: tpm: Drop type from "resets"

"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.

---
 Documentation/devicetree/bindings/tpm/tpm-common.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/tpm/tpm-common.yaml +1 -1
index 90390624a8be..3c1241b2a43f 100644
@@ -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
Signature · 1 line
2.43.0
author maintainer Applied
#2 lore raw
In reply to Rob Herring
Quoted 8 lines · Rob Herring

"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.

---
 Documentation/devicetree/bindings/tpm/tpm-common.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!