Linux CAN drivers development
 help / color / mirror / Atom feed
* [PATCH v2 4/8] dt-bindings: can: m_can: change from additional- to unevaluatedProperties
       [not found] <20230614123222.4167460-1-l.goehrs@pengutronix.de>
@ 2023-06-14 12:32 ` Leonard Göhrs
  2023-06-14 17:16   ` Conor Dooley
                     ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Leonard Göhrs @ 2023-06-14 12:32 UTC (permalink / raw)
  To: Conor Dooley, Rob Herring, Alexandre TORGUE, Krzysztof Kozlowski,
	Chandrasekar Ramakrishnan, Wolfgang Grandegger, Marc Kleine-Budde,
	David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: kernel, Leonard Göhrs, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-can, netdev, devicetree, linux-kernel

This allows the usage of properties like termination-gpios and
termination-ohms, which are specified in can-controller.yaml
but were previously not usable due to additionalProperties: false.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Suggested-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
index 67879aab623b5..76c5024b6423e 100644
--- a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
+++ b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
@@ -128,7 +128,7 @@ required:
   - clock-names
   - bosch,mram-cfg
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
-- 
2.39.2


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

* Re: [PATCH v2 4/8] dt-bindings: can: m_can: change from additional- to unevaluatedProperties
  2023-06-14 12:32 ` [PATCH v2 4/8] dt-bindings: can: m_can: change from additional- to unevaluatedProperties Leonard Göhrs
@ 2023-06-14 17:16   ` Conor Dooley
  2023-06-14 18:40   ` Rob Herring
  2023-06-15  6:54   ` Chandrasekar R
  2 siblings, 0 replies; 4+ messages in thread
From: Conor Dooley @ 2023-06-14 17:16 UTC (permalink / raw)
  To: Leonard Göhrs
  Cc: Rob Herring, Alexandre TORGUE, Krzysztof Kozlowski,
	Chandrasekar Ramakrishnan, Wolfgang Grandegger, Marc Kleine-Budde,
	David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	kernel, Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-can,
	netdev, devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 450 bytes --]

On Wed, Jun 14, 2023 at 02:32:18PM +0200, Leonard Göhrs wrote:
> This allows the usage of properties like termination-gpios and
> termination-ohms, which are specified in can-controller.yaml
> but were previously not usable due to additionalProperties: false.
> 
> Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
> Suggested-by: Rob Herring <robh@kernel.org>

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>

Cheers,
Conor.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH v2 4/8] dt-bindings: can: m_can: change from additional- to unevaluatedProperties
  2023-06-14 12:32 ` [PATCH v2 4/8] dt-bindings: can: m_can: change from additional- to unevaluatedProperties Leonard Göhrs
  2023-06-14 17:16   ` Conor Dooley
@ 2023-06-14 18:40   ` Rob Herring
  2023-06-15  6:54   ` Chandrasekar R
  2 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2023-06-14 18:40 UTC (permalink / raw)
  To: Leonard Göhrs
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Chandrasekar Ramakrishnan, Marc Kleine-Budde, Jakub Kicinski,
	Krzysztof Kozlowski, Conor Dooley, netdev, Alexandre TORGUE,
	devicetree, Wolfgang Grandegger, Paolo Abeni, Eric Dumazet,
	David S. Miller, linux-can, kernel, linux-kernel


On Wed, 14 Jun 2023 14:32:18 +0200, Leonard Göhrs wrote:
> This allows the usage of properties like termination-gpios and
> termination-ohms, which are specified in can-controller.yaml
> but were previously not usable due to additionalProperties: false.
> 
> Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
> Suggested-by: Rob Herring <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>


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

* RE: [PATCH v2 4/8] dt-bindings: can: m_can: change from additional- to unevaluatedProperties
  2023-06-14 12:32 ` [PATCH v2 4/8] dt-bindings: can: m_can: change from additional- to unevaluatedProperties Leonard Göhrs
  2023-06-14 17:16   ` Conor Dooley
  2023-06-14 18:40   ` Rob Herring
@ 2023-06-15  6:54   ` Chandrasekar R
  2 siblings, 0 replies; 4+ messages in thread
From: Chandrasekar R @ 2023-06-15  6:54 UTC (permalink / raw)
  To: 'Leonard Göhrs', 'Conor Dooley',
	'Rob Herring', 'Alexandre TORGUE',
	'Krzysztof Kozlowski', 'Wolfgang Grandegger',
	'Marc Kleine-Budde', 'David S. Miller',
	'Eric Dumazet', 'Jakub Kicinski',
	'Paolo Abeni'
  Cc: kernel, 'Rob Herring', 'Krzysztof Kozlowski',
	'Conor Dooley', linux-can, netdev, devicetree,
	linux-kernel

 > This allows the usage of properties like termination-gpios and termination-
> ohms, which are specified in can-controller.yaml but were previously not
> usable due to additionalProperties: false.
> 
> Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
> Suggested-by: Rob Herring <robh@kernel.org>
Looks good to me,
Reviewed-by: Chandrasekar Ramakrishnan <rcsekar@samsung.com>
> ---
>  Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
> b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
> index 67879aab623b5..76c5024b6423e 100644
> --- a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
> +++ b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
> @@ -128,7 +128,7 @@ required:
>    - clock-names
>    - bosch,mram-cfg
> 
> -additionalProperties: false
> +unevaluatedProperties: false
> 
>  examples:
>    - |
> --
> 2.39.2




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

end of thread, other threads:[~2023-06-15  7:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20230614123222.4167460-1-l.goehrs@pengutronix.de>
2023-06-14 12:32 ` [PATCH v2 4/8] dt-bindings: can: m_can: change from additional- to unevaluatedProperties Leonard Göhrs
2023-06-14 17:16   ` Conor Dooley
2023-06-14 18:40   ` Rob Herring
2023-06-15  6:54   ` Chandrasekar R

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox