All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: tpm: Drop type from "resets"
@ 2024-01-24 19:07 Rob Herring
  2024-01-24 19:55 ` Lukas Wunner
  2024-01-30 22:16 ` Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring @ 2024-01-24 19:07 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Conor Dooley, Lukas Wunner; +Cc: devicetree, linux-kernel

"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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: tpm: Drop type from "resets"
  2024-01-24 19:07 [PATCH] dt-bindings: tpm: Drop type from "resets" Rob Herring
@ 2024-01-24 19:55 ` Lukas Wunner
  2024-01-30 22:16 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Lukas Wunner @ 2024-01-24 19:55 UTC (permalink / raw)
  To: Rob Herring; +Cc: Krzysztof Kozlowski, Conor Dooley, devicetree, linux-kernel

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: tpm: Drop type from "resets"
  2024-01-24 19:07 [PATCH] dt-bindings: tpm: Drop type from "resets" Rob Herring
  2024-01-24 19:55 ` Lukas Wunner
@ 2024-01-30 22:16 ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2024-01-30 22:16 UTC (permalink / raw)
  To: Rob Herring
  Cc: linux-kernel, Conor Dooley, Lukas Wunner, devicetree,
	Krzysztof Kozlowski


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!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-30 22:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-24 19:07 [PATCH] dt-bindings: tpm: Drop type from "resets" Rob Herring
2024-01-24 19:55 ` Lukas Wunner
2024-01-30 22:16 ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.