2023-02-13 18:56:59

by Alain Volmat

[permalink] [raw]
Subject: [PATCH v3 0/2] dt-bindings: sti: updates for STi platform

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



2023-02-13 18:57:13

by Alain Volmat

[permalink] [raw]
Subject: [PATCH v3 1/2] dt-bindings: soc: sti: add STi platform syscon

Add DT schema of STi platform syscon

Signed-off-by: Alain Volmat <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
---
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 <[email protected]>
+
+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


2023-02-13 18:57:29

by Alain Volmat

[permalink] [raw]
Subject: [PATCH v3 2/2] dt-bindings: arm: sti: add STi boards and remove stih415/stih416

Add bindings for STi platform boards and remove stih415/stih416

Signed-off-by: Alain Volmat <[email protected]>
---
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


2023-02-14 09:46:15

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v3 2/2] dt-bindings: arm: sti: add STi boards and remove stih415/stih416

On 13/02/2023 19:56, Alain Volmat wrote:
> Add bindings for STi platform boards and remove stih415/stih416
>
> Signed-off-by: Alain Volmat <[email protected]>
> ---
> 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 <[email protected]>

Best regards,
Krzysztof


2023-04-18 20:28:01

by Alain Volmat

[permalink] [raw]
Subject: Re: [PATCH v3 0/2] dt-bindings: sti: updates for STi platform

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
>

2023-04-19 07:52:13

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v3 0/2] dt-bindings: sti: updates for STi platform

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