linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] dt-bindings: sti: updates for STi platform
@ 2023-02-13 18:56 Alain Volmat
  2023-02-13 18:56 ` [PATCH v3 1/2] dt-bindings: soc: sti: add STi platform syscon Alain Volmat
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Alain Volmat @ 2023-02-13 18:56 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Patrice Chotard
  Cc: Alain Volmat, devicetree, linux-kernel

Update the sti.yaml file with addition of board information and
removal of no more supported STiH415/STiH416
Add the st,sti-syscon.yaml binding file for STi platform syscon

Alain Volmat (2):
  dt-bindings: soc: sti: add STi platform syscon
  dt-bindings: arm: sti: add STi boards and remove stih415/stih416

 .../devicetree/bindings/arm/sti.yaml          | 25 ++++++----
 .../bindings/soc/sti/st,sti-syscon.yaml       | 46 +++++++++++++++++++
 2 files changed, 62 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml

-- 
2.34.1


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

* [PATCH v3 1/2] dt-bindings: soc: sti: add STi platform syscon
  2023-02-13 18:56 [PATCH v3 0/2] dt-bindings: sti: updates for STi platform Alain Volmat
@ 2023-02-13 18:56 ` Alain Volmat
  2023-08-16  7:45   ` Patrice CHOTARD
  2023-02-13 18:56 ` [PATCH v3 2/2] dt-bindings: arm: sti: add STi boards and remove stih415/stih416 Alain Volmat
  2023-04-18 20:25 ` [PATCH v3 0/2] dt-bindings: sti: updates for STi platform Alain Volmat
  2 siblings, 1 reply; 8+ messages in thread
From: Alain Volmat @ 2023-02-13 18:56 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Patrice Chotard
  Cc: Alain Volmat, Krzysztof Kozlowski, devicetree, linux-kernel

Add DT schema of STi platform syscon

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
v3: correct subject line arm -> soc

v2: update wording of commit log
    reorder compatible enum
    update example within the binding file
 .../bindings/soc/sti/st,sti-syscon.yaml       | 46 +++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml

diff --git a/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml b/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml
new file mode 100644
index 000000000000..5f97d9ff17fb
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml
@@ -0,0 +1,46 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/sti/st,sti-syscon.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: STMicroelectronics STi platform sysconfig
+
+maintainers:
+  - Patrice Chotard <patrice.chotard@foss.st.com>
+
+description: |
+  Binding for the various sysconfig nodes used within the STi
+  platform device-tree to point to some common configuration
+  registers used by other nodes.
+
+properties:
+  compatible:
+    items:
+      - enum:
+          - st,stih407-core-syscfg
+          - st,stih407-flash-syscfg
+          - st,stih407-front-syscfg
+          - st,stih407-lpm-syscfg
+          - st,stih407-rear-syscfg
+          - st,stih407-sbc-reg-syscfg
+          - st,stih407-sbc-syscfg
+      - const: syscon
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    syscfg_sbc: syscon@9620000 {
+        compatible = "st,stih407-sbc-syscfg", "syscon";
+        reg = <0x9620000 0x1000>;
+    };
+
+...
-- 
2.34.1


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

* [PATCH v3 2/2] dt-bindings: arm: sti: add STi boards and remove stih415/stih416
  2023-02-13 18:56 [PATCH v3 0/2] dt-bindings: sti: updates for STi platform Alain Volmat
  2023-02-13 18:56 ` [PATCH v3 1/2] dt-bindings: soc: sti: add STi platform syscon Alain Volmat
@ 2023-02-13 18:56 ` Alain Volmat
  2023-02-14  9:45   ` Krzysztof Kozlowski
  2023-08-16  7:46   ` Patrice CHOTARD
  2023-04-18 20:25 ` [PATCH v3 0/2] dt-bindings: sti: updates for STi platform Alain Volmat
  2 siblings, 2 replies; 8+ messages in thread
From: Alain Volmat @ 2023-02-13 18:56 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Patrice Chotard
  Cc: Alain Volmat, devicetree, linux-kernel

Add bindings for STi platform boards and remove stih415/stih416

Signed-off-by: Alain Volmat <avolmat@me.com>
---
v3: move back file into bindings/arm and update commit log accordingly
v2: update licensing
    move file into soc/sti folder
 .../devicetree/bindings/arm/sti.yaml          | 23 ++++++++++++-------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/sti.yaml b/Documentation/devicetree/bindings/arm/sti.yaml
index 3ca054c64377..842def3e3f2b 100644
--- a/Documentation/devicetree/bindings/arm/sti.yaml
+++ b/Documentation/devicetree/bindings/arm/sti.yaml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
 $id: http://devicetree.org/schemas/arm/sti.yaml#
@@ -13,13 +13,20 @@ properties:
   $nodename:
     const: '/'
   compatible:
-    items:
-      - enum:
-          - st,stih415
-          - st,stih416
-          - st,stih407
-          - st,stih410
-          - st,stih418
+    oneOf:
+      - items:
+          - const: st,stih407-b2120
+          - const: st,stih407
+      - items:
+          - enum:
+              - st,stih410-b2120
+              - st,stih410-b2260
+          - const: st,stih410
+      - items:
+          - enum:
+              - st,stih418-b2199
+              - st,stih418-b2264
+          - const: st,stih418
 
 additionalProperties: true
 
-- 
2.34.1


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

* Re: [PATCH v3 2/2] dt-bindings: arm: sti: add STi boards and remove stih415/stih416
  2023-02-13 18:56 ` [PATCH v3 2/2] dt-bindings: arm: sti: add STi boards and remove stih415/stih416 Alain Volmat
@ 2023-02-14  9:45   ` Krzysztof Kozlowski
  2023-08-16  7:46   ` Patrice CHOTARD
  1 sibling, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-02-14  9:45 UTC (permalink / raw)
  To: Alain Volmat, Rob Herring, Krzysztof Kozlowski, Patrice Chotard
  Cc: devicetree, linux-kernel

On 13/02/2023 19:56, Alain Volmat wrote:
> Add bindings for STi platform boards and remove stih415/stih416
> 
> Signed-off-by: Alain Volmat <avolmat@me.com>
> ---
> v3: move back file into bindings/arm and update commit log accordingly
> v2: update licensing
>     move file into soc/sti folder
>  .../devicetree/bindings/arm/sti.yaml          | 23 ++++++++++


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


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

* Re: [PATCH v3 0/2] dt-bindings: sti: updates for STi platform
  2023-02-13 18:56 [PATCH v3 0/2] dt-bindings: sti: updates for STi platform Alain Volmat
  2023-02-13 18:56 ` [PATCH v3 1/2] dt-bindings: soc: sti: add STi platform syscon Alain Volmat
  2023-02-13 18:56 ` [PATCH v3 2/2] dt-bindings: arm: sti: add STi boards and remove stih415/stih416 Alain Volmat
@ 2023-04-18 20:25 ` Alain Volmat
  2023-04-19  7:44   ` Krzysztof Kozlowski
  2 siblings, 1 reply; 8+ messages in thread
From: Alain Volmat @ 2023-04-18 20:25 UTC (permalink / raw)
  To: Rob Herring
  Cc: devicetree, linux-kernel, Krzysztof Kozlowski, Patrice Chotard

Hi Rob,

gentle reminder, could you consider this serie of dt-bindings updates
for the STi platform.

Alain

On Mon, Feb 13, 2023 at 07:56:29PM +0100, Alain Volmat wrote:
> Update the sti.yaml file with addition of board information and
> removal of no more supported STiH415/STiH416
> Add the st,sti-syscon.yaml binding file for STi platform syscon
> 
> Alain Volmat (2):
>   dt-bindings: soc: sti: add STi platform syscon
>   dt-bindings: arm: sti: add STi boards and remove stih415/stih416
> 
>  .../devicetree/bindings/arm/sti.yaml          | 25 ++++++----
>  .../bindings/soc/sti/st,sti-syscon.yaml       | 46 +++++++++++++++++++
>  2 files changed, 62 insertions(+), 9 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml
> 
> -- 
> 2.34.1
> 

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

* Re: [PATCH v3 0/2] dt-bindings: sti: updates for STi platform
  2023-04-18 20:25 ` [PATCH v3 0/2] dt-bindings: sti: updates for STi platform Alain Volmat
@ 2023-04-19  7:44   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-04-19  7:44 UTC (permalink / raw)
  To: Rob Herring, devicetree, linux-kernel, Krzysztof Kozlowski,
	Patrice Chotard

On 18/04/2023 22:25, Alain Volmat wrote:
> Hi Rob,
> 
> gentle reminder, could you consider this serie of dt-bindings updates
> for the STi platform.

You got necessary reviews, no need to ping more. What do you expect more
from DT? This is not a patch for DT to pick up.

Best regards,
Krzysztof


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

* Re: [PATCH v3 1/2] dt-bindings: soc: sti: add STi platform syscon
  2023-02-13 18:56 ` [PATCH v3 1/2] dt-bindings: soc: sti: add STi platform syscon Alain Volmat
@ 2023-08-16  7:45   ` Patrice CHOTARD
  0 siblings, 0 replies; 8+ messages in thread
From: Patrice CHOTARD @ 2023-08-16  7:45 UTC (permalink / raw)
  To: Alain Volmat, Rob Herring, Krzysztof Kozlowski
  Cc: Krzysztof Kozlowski, devicetree, linux-kernel



On 2/13/23 19:56, Alain Volmat wrote:
> Add DT schema of STi platform syscon
> 
> Signed-off-by: Alain Volmat <avolmat@me.com>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> v3: correct subject line arm -> soc
> 
> v2: update wording of commit log
>     reorder compatible enum
>     update example within the binding file
>  .../bindings/soc/sti/st,sti-syscon.yaml       | 46 +++++++++++++++++++
>  1 file changed, 46 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml
> 
> diff --git a/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml b/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml
> new file mode 100644
> index 000000000000..5f97d9ff17fb
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml
> @@ -0,0 +1,46 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/soc/sti/st,sti-syscon.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: STMicroelectronics STi platform sysconfig
> +
> +maintainers:
> +  - Patrice Chotard <patrice.chotard@foss.st.com>
> +
> +description: |
> +  Binding for the various sysconfig nodes used within the STi
> +  platform device-tree to point to some common configuration
> +  registers used by other nodes.
> +
> +properties:
> +  compatible:
> +    items:
> +      - enum:
> +          - st,stih407-core-syscfg
> +          - st,stih407-flash-syscfg
> +          - st,stih407-front-syscfg
> +          - st,stih407-lpm-syscfg
> +          - st,stih407-rear-syscfg
> +          - st,stih407-sbc-reg-syscfg
> +          - st,stih407-sbc-syscfg
> +      - const: syscon
> +
> +  reg:
> +    maxItems: 1
> +
> +required:
> +  - compatible
> +  - reg
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    syscfg_sbc: syscon@9620000 {
> +        compatible = "st,stih407-sbc-syscfg", "syscon";
> +        reg = <0x9620000 0x1000>;
> +    };
> +
> +...
Applied on sti-next

Thanks 
Patrice

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

* Re: [PATCH v3 2/2] dt-bindings: arm: sti: add STi boards and remove stih415/stih416
  2023-02-13 18:56 ` [PATCH v3 2/2] dt-bindings: arm: sti: add STi boards and remove stih415/stih416 Alain Volmat
  2023-02-14  9:45   ` Krzysztof Kozlowski
@ 2023-08-16  7:46   ` Patrice CHOTARD
  1 sibling, 0 replies; 8+ messages in thread
From: Patrice CHOTARD @ 2023-08-16  7:46 UTC (permalink / raw)
  To: Alain Volmat, Rob Herring, Krzysztof Kozlowski; +Cc: devicetree, linux-kernel



On 2/13/23 19:56, Alain Volmat wrote:
> Add bindings for STi platform boards and remove stih415/stih416
> 
> Signed-off-by: Alain Volmat <avolmat@me.com>
> ---
> v3: move back file into bindings/arm and update commit log accordingly
> v2: update licensing
>     move file into soc/sti folder
>  .../devicetree/bindings/arm/sti.yaml          | 23 ++++++++++++-------
>  1 file changed, 15 insertions(+), 8 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/arm/sti.yaml b/Documentation/devicetree/bindings/arm/sti.yaml
> index 3ca054c64377..842def3e3f2b 100644
> --- a/Documentation/devicetree/bindings/arm/sti.yaml
> +++ b/Documentation/devicetree/bindings/arm/sti.yaml
> @@ -1,4 +1,4 @@
> -# SPDX-License-Identifier: GPL-2.0
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>  %YAML 1.2
>  ---
>  $id: http://devicetree.org/schemas/arm/sti.yaml#
> @@ -13,13 +13,20 @@ properties:
>    $nodename:
>      const: '/'
>    compatible:
> -    items:
> -      - enum:
> -          - st,stih415
> -          - st,stih416
> -          - st,stih407
> -          - st,stih410
> -          - st,stih418
> +    oneOf:
> +      - items:
> +          - const: st,stih407-b2120
> +          - const: st,stih407
> +      - items:
> +          - enum:
> +              - st,stih410-b2120
> +              - st,stih410-b2260
> +          - const: st,stih410
> +      - items:
> +          - enum:
> +              - st,stih418-b2199
> +              - st,stih418-b2264
> +          - const: st,stih418
>  
>  additionalProperties: true
>  
Applied on sti-next

Thanks 
Patrice

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

end of thread, other threads:[~2023-08-16  7:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-13 18:56 [PATCH v3 0/2] dt-bindings: sti: updates for STi platform Alain Volmat
2023-02-13 18:56 ` [PATCH v3 1/2] dt-bindings: soc: sti: add STi platform syscon Alain Volmat
2023-08-16  7:45   ` Patrice CHOTARD
2023-02-13 18:56 ` [PATCH v3 2/2] dt-bindings: arm: sti: add STi boards and remove stih415/stih416 Alain Volmat
2023-02-14  9:45   ` Krzysztof Kozlowski
2023-08-16  7:46   ` Patrice CHOTARD
2023-04-18 20:25 ` [PATCH v3 0/2] dt-bindings: sti: updates for STi platform Alain Volmat
2023-04-19  7:44   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).