Skip to contentSkip to conversation

dt-bindings: mfd: syscon: Merge Samsung Exynos Sysreg bindings

PATCH Applied Krzysztof Kozlowski 4 participants 6 messages Sep 2, 2020 – Sep 14, 2020

Subsystems (3)
lore
Share & tools
lore

Krzysztof Kozlowski

author maintainer
#0 lore raw

PATCH v2 1/2 dt-bindings: mfd: syscon: Merge Samsung Exynos Sysreg bindings

The Samsung Exynos System Registers (Sysreg) bindings are quite simple - just additional compatible to the syscon. They do not have any value so merge them into generic MFD syscon bindings.

---

Changes since v1:
1. New patch

---
 .../bindings/arm/samsung/sysreg.yaml          | 45 -------------------
 .../devicetree/bindings/mfd/syscon.yaml       |  2 +
 2 files changed, 2 insertions(+), 45 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/samsung/sysreg.yaml
Documentation/devicetree/bindings/arm/samsung/sysreg.yaml deleted +0 -45
deleted file mode 100644
index 3b7811804cb4..000000000000
@@ -1,45 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-%YAML 1.2
----
-$id: http://devicetree.org/schemas/arm/samsung/sysreg.yaml#
-$schema: http://devicetree.org/meta-schemas/core.yaml#
-
-title: Samsung S5P/Exynos SoC series System Registers (SYSREG)
-
-maintainers:
-  - Krzysztof Kozlowski <[email protected]>
-
-# Custom select to avoid matching all nodes with 'syscon'
-select:
-  properties:
-    compatible:
-      contains:
-        enum:
-          - samsung,exynos4-sysreg
-          - samsung,exynos5-sysreg
-  required:
-    - compatible
-
-properties:
-  compatible:
-    allOf:
-      - items:
-          - enum:
-              - samsung,exynos4-sysreg
-              - samsung,exynos5-sysreg
-          - const: syscon
-
-  reg:
-    maxItems: 1
-
-examples:
-  - |
-    syscon@10010000 {
-        compatible = "samsung,exynos4-sysreg", "syscon";
-        reg = <0x10010000 0x400>;
-    };
-
-    syscon@10050000 {
-        compatible = "samsung,exynos5-sysreg", "syscon";
-        reg = <0x10050000 0x5000>;
-    };
Documentation/devicetree/bindings/mfd/syscon.yaml +2 -0
index 049ec2ffc7f9..a34c9e2ab1ca 100644
@@ -40,6 +40,8 @@ properties:
               - allwinner,sun50i-a64-system-controller
               - microchip,sparx5-cpu-syscon
               - mstar,msc313-pmsleep
+              - samsung,exynos4-sysreg
+              - samsung,exynos5-sysreg
 
           - const: syscon
 
Signature · 1 line
2.17.1
author maintainer
#1 lore raw

PATCH v2 2/2 dt-bindings: mfd: syscon: Document Exynos3 and Exynos5433 compatibles

Document Samsung Exynos3 and Exynos5433 compatibles for system registers.

---

Changes since v1:
1. Rebase on first patch

---
 Documentation/devicetree/bindings/mfd/syscon.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/mfd/syscon.yaml +2 -0
index a34c9e2ab1ca..0f21943dea28 100644
@@ -40,8 +40,10 @@ properties:
               - allwinner,sun50i-a64-system-controller
               - microchip,sparx5-cpu-syscon
               - mstar,msc313-pmsleep
+              - samsung,exynos3-sysreg
               - samsung,exynos4-sysreg
               - samsung,exynos5-sysreg
+              - samsung,exynos5433-sysreg
 
           - const: syscon
 
Signature · 1 line
2.17.1
Applied
#4 lore raw
In reply to Krzysztof Kozlowski
Quoted 9 lines · Krzysztof Kozlowski

The Samsung Exynos System Registers (Sysreg) bindings are quite simple - just additional compatible to the syscon. They do not have any value so merge them into generic MFD syscon bindings.

---

Quoted 7 lines

Changes since v1:
1. New patch

---
 .../bindings/arm/samsung/sysreg.yaml          | 45 -------------------
 .../devicetree/bindings/mfd/syscon.yaml       |  2 +
 2 files changed, 2 insertions(+), 45 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/samsung/sysreg.yaml

Applied, thanks.

Signature · 4 lines
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Applied
#2 lore raw

Re: [PATCH v2 2/2] dt-bindings: mfd: syscon: Document Exynos3 and Exynos5433 compatibles

In reply to Krzysztof Kozlowski
Quoted 6 lines · Krzysztof Kozlowski

Document Samsung Exynos3 and Exynos5433 compatibles for system registers.

Quoted 7 lines

---

Changes since v1:
1. Rebase on first patch

---
 Documentation/devicetree/bindings/mfd/syscon.yaml | 2 ++
 1 file changed, 2 insertions(+)

Applied, thanks.

Signature · 4 lines
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
maintainer Reviewed-by on v2 1/2
#5 lore raw
In reply to Krzysztof Kozlowski
Quoted 9 lines · Krzysztof Kozlowski

The Samsung Exynos System Registers (Sysreg) bindings are quite simple - just additional compatible to the syscon. They do not have any value so merge them into generic MFD syscon bindings.

---

Quoted 8 lines

Changes since v1:
1. New patch

---
 .../bindings/arm/samsung/sysreg.yaml          | 45 -------------------
 .../devicetree/bindings/mfd/syscon.yaml       |  2 +
 2 files changed, 2 insertions(+), 45 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/samsung/sysreg.yaml