* [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)
2023-06-14 12:32 ` [PATCH v2 5/8] dt-bindings: net: dsa: microchip: add interrupts property for ksz switches Leonard Göhrs
1 sibling, 3 replies; 6+ 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] 6+ messages in thread
* [PATCH v2 5/8] dt-bindings: net: dsa: microchip: add interrupts property for ksz switches
[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 12:32 ` Leonard Göhrs
2023-06-14 17:17 ` Conor Dooley
1 sibling, 1 reply; 6+ messages in thread
From: Leonard Göhrs @ 2023-06-14 12:32 UTC (permalink / raw)
To: Conor Dooley, Rob Herring, Alexandre TORGUE, Krzysztof Kozlowski,
Woojung Huh, UNGLinuxDriver, Andrew Lunn, Florian Fainelli,
Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Marek Vasut
Cc: kernel, Leonard Göhrs, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, netdev, devicetree, linux-kernel
The ksz switch driver allows specifying an interrupt line to prevent
having to periodically poll the switch for link ups/downs and other
asynchronous events.
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
---
Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
index e51be1ac03623..03b5567be3897 100644
--- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
@@ -49,6 +49,9 @@ properties:
Set if the output SYNCLKO clock should be disabled. Do not mix with
microchip,synclko-125.
+ interrupts:
+ maxItems: 1
+
required:
- compatible
- reg
--
2.39.2
^ permalink raw reply related [flat|nested] 6+ 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; 6+ 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] 6+ messages in thread
* Re: [PATCH v2 5/8] dt-bindings: net: dsa: microchip: add interrupts property for ksz switches
2023-06-14 12:32 ` [PATCH v2 5/8] dt-bindings: net: dsa: microchip: add interrupts property for ksz switches Leonard Göhrs
@ 2023-06-14 17:17 ` Conor Dooley
0 siblings, 0 replies; 6+ messages in thread
From: Conor Dooley @ 2023-06-14 17:17 UTC (permalink / raw)
To: Leonard Göhrs
Cc: Rob Herring, Alexandre TORGUE, Krzysztof Kozlowski, Woojung Huh,
UNGLinuxDriver, Andrew Lunn, Florian Fainelli, Vladimir Oltean,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Marek Vasut, kernel, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, netdev, devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 348 bytes --]
On Wed, Jun 14, 2023 at 02:32:19PM +0200, Leonard Göhrs wrote:
> The ksz switch driver allows specifying an interrupt line to prevent
> having to periodically poll the switch for link ups/downs and other
> asynchronous events.
>
> Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 6+ 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; 6+ 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] 6+ 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; 6+ 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] 6+ messages in thread
end of thread, other threads:[~2023-06-15 7:08 UTC | newest]
Thread overview: 6+ 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
2023-06-14 12:32 ` [PATCH v2 5/8] dt-bindings: net: dsa: microchip: add interrupts property for ksz switches Leonard Göhrs
2023-06-14 17:17 ` Conor Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox