Documentation/devicetree/bindings/tpm/tpm-common.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
"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
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!
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>
© 2016 - 2025 Red Hat, Inc.