* [PATCH 1/2] dt-bindings: vexpress-sysreg: Add deprecated GPIO provider properties
@ 2022-06-13 17:18 ` Rob Herring
0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2022-06-13 17:18 UTC (permalink / raw)
To: Krzysztof Kozlowski, Andre Przywara
Cc: linux-arm-kernel, devicetree, linux-kernel
While the current binding expects a child GPIO node, the old style binding
with GPIO provider properties in the parent vexpress-sysreg node is
still in use. Add the GPIO provider properties as deprecated.
Cc: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
---
Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml b/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml
index b5e26e41f88c..2d2afada5ad1 100644
--- a/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml
+++ b/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml
@@ -29,6 +29,13 @@ properties:
ranges: true
+ gpio-controller:
+ deprecated: true
+
+ "#gpio-cells":
+ deprecated: true
+ const: 2
+
additionalProperties: false
patternProperties:
--
2.34.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 1/2] dt-bindings: vexpress-sysreg: Add deprecated GPIO provider properties
@ 2022-06-13 17:18 ` Rob Herring
0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2022-06-13 17:18 UTC (permalink / raw)
To: Krzysztof Kozlowski, Andre Przywara
Cc: linux-arm-kernel, devicetree, linux-kernel
While the current binding expects a child GPIO node, the old style binding
with GPIO provider properties in the parent vexpress-sysreg node is
still in use. Add the GPIO provider properties as deprecated.
Cc: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
---
Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml b/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml
index b5e26e41f88c..2d2afada5ad1 100644
--- a/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml
+++ b/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml
@@ -29,6 +29,13 @@ properties:
ranges: true
+ gpio-controller:
+ deprecated: true
+
+ "#gpio-cells":
+ deprecated: true
+ const: 2
+
additionalProperties: false
patternProperties:
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/2] dt-bindings: vexpress-sysreg: Allow for no child nodes
2022-06-13 17:18 ` Rob Herring
@ 2022-06-13 17:18 ` Rob Herring
-1 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2022-06-13 17:18 UTC (permalink / raw)
To: Krzysztof Kozlowski, Andre Przywara
Cc: linux-arm-kernel, devicetree, linux-kernel
It is valid for arm,vexpress-sysreg to have no child nodes when either
the deprecated binding without child nodes is used or a platform
has no GPIOs. If there are no child nodes, then "#address-cells" and
"#size-cells" should not be required. However, "reg" should be present
in all cases, so let's add it now.
Cc: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
---
Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml b/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml
index 2d2afada5ad1..f04db802a732 100644
--- a/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml
+++ b/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml
@@ -74,8 +74,7 @@ patternProperties:
required:
- compatible
- - "#address-cells"
- - "#size-cells"
+ - reg
examples:
- |
--
2.34.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/2] dt-bindings: vexpress-sysreg: Allow for no child nodes
@ 2022-06-13 17:18 ` Rob Herring
0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2022-06-13 17:18 UTC (permalink / raw)
To: Krzysztof Kozlowski, Andre Przywara
Cc: linux-arm-kernel, devicetree, linux-kernel
It is valid for arm,vexpress-sysreg to have no child nodes when either
the deprecated binding without child nodes is used or a platform
has no GPIOs. If there are no child nodes, then "#address-cells" and
"#size-cells" should not be required. However, "reg" should be present
in all cases, so let's add it now.
Cc: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
---
Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml b/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml
index 2d2afada5ad1..f04db802a732 100644
--- a/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml
+++ b/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml
@@ -74,8 +74,7 @@ patternProperties:
required:
- compatible
- - "#address-cells"
- - "#size-cells"
+ - reg
examples:
- |
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] dt-bindings: vexpress-sysreg: Add deprecated GPIO provider properties
2022-06-13 17:18 ` Rob Herring
@ 2022-06-17 19:14 ` Rob Herring
-1 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2022-06-17 19:14 UTC (permalink / raw)
To: Rob Herring
Cc: devicetree, Andre Przywara, linux-kernel, Krzysztof Kozlowski,
linux-arm-kernel
On Mon, 13 Jun 2022 11:18:07 -0600, Rob Herring wrote:
> While the current binding expects a child GPIO node, the old style binding
> with GPIO provider properties in the parent vexpress-sysreg node is
> still in use. Add the GPIO provider properties as deprecated.
>
> Cc: Andre Przywara <andre.przywara@arm.com>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
>
Applied, thanks!
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] dt-bindings: vexpress-sysreg: Add deprecated GPIO provider properties
@ 2022-06-17 19:14 ` Rob Herring
0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2022-06-17 19:14 UTC (permalink / raw)
To: Rob Herring
Cc: devicetree, Andre Przywara, linux-kernel, Krzysztof Kozlowski,
linux-arm-kernel
On Mon, 13 Jun 2022 11:18:07 -0600, Rob Herring wrote:
> While the current binding expects a child GPIO node, the old style binding
> with GPIO provider properties in the parent vexpress-sysreg node is
> still in use. Add the GPIO provider properties as deprecated.
>
> Cc: Andre Przywara <andre.przywara@arm.com>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
>
Applied, thanks!
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/2] dt-bindings: vexpress-sysreg: Allow for no child nodes
2022-06-13 17:18 ` Rob Herring
@ 2022-06-17 19:14 ` Rob Herring
-1 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2022-06-17 19:14 UTC (permalink / raw)
To: Rob Herring
Cc: linux-kernel, linux-arm-kernel, devicetree, Krzysztof Kozlowski,
Andre Przywara
On Mon, 13 Jun 2022 11:18:08 -0600, Rob Herring wrote:
> It is valid for arm,vexpress-sysreg to have no child nodes when either
> the deprecated binding without child nodes is used or a platform
> has no GPIOs. If there are no child nodes, then "#address-cells" and
> "#size-cells" should not be required. However, "reg" should be present
> in all cases, so let's add it now.
>
> Cc: Andre Przywara <andre.przywara@arm.com>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
Applied, thanks!
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/2] dt-bindings: vexpress-sysreg: Allow for no child nodes
@ 2022-06-17 19:14 ` Rob Herring
0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2022-06-17 19:14 UTC (permalink / raw)
To: Rob Herring
Cc: linux-kernel, linux-arm-kernel, devicetree, Krzysztof Kozlowski,
Andre Przywara
On Mon, 13 Jun 2022 11:18:08 -0600, Rob Herring wrote:
> It is valid for arm,vexpress-sysreg to have no child nodes when either
> the deprecated binding without child nodes is used or a platform
> has no GPIOs. If there are no child nodes, then "#address-cells" and
> "#size-cells" should not be required. However, "reg" should be present
> in all cases, so let's add it now.
>
> Cc: Andre Przywara <andre.przywara@arm.com>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
Applied, thanks!
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-06-17 19:16 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-13 17:18 [PATCH 1/2] dt-bindings: vexpress-sysreg: Add deprecated GPIO provider properties Rob Herring
2022-06-13 17:18 ` Rob Herring
2022-06-13 17:18 ` [PATCH 2/2] dt-bindings: vexpress-sysreg: Allow for no child nodes Rob Herring
2022-06-13 17:18 ` Rob Herring
2022-06-17 19:14 ` Rob Herring
2022-06-17 19:14 ` Rob Herring
2022-06-17 19:14 ` [PATCH 1/2] dt-bindings: vexpress-sysreg: Add deprecated GPIO provider properties Rob Herring
2022-06-17 19:14 ` 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.