LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v3 0/8] dt-bindings: clock: samsung: convert to dtschema
@ 2021-08-25 13:40 Krzysztof Kozlowski
2021-08-25 13:40 ` [PATCH v3 1/8] dt-bindings: clock: samsung: convert Exynos5250 " Krzysztof Kozlowski
` (5 more replies)
0 siblings, 6 replies; 26+ messages in thread
From: Krzysztof Kozlowski @ 2021-08-25 13:40 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Sylwester Nawrocki, Tomasz Figa,
Chanwoo Choi, linux-clk, devicetree, linux-arm-kernel,
linux-samsung-soc, linux-kernel
Cc: Sam Protsenko
Hi,
Changes since v2:
1. Add reviews.
2. Split Exynos4 ISP into separate schema.
3. Add maxItems to clocks and power-domains (review feedback).
4. Do not allow samsung,exynos5420-clock and samsung,exynos5800-clock
without syscon. These clock controllers should always use syscon
to allow DMC bindings access the registers.
5. Drop assigned-clocks.
Changes since v1:
1. Patch 7/8: include header to fix clock IDs error in example.
2. Combined patchset of separate v1 sets:
https://lore.kernel.org/linux-samsung-soc/20210809120544.56596-1-krzysztof.kozlowski@canonical.com/T/#t
https://lore.kernel.org/linux-samsung-soc/20210809130935.80565-1-krzysztof.kozlowski@canonical.com/T/#t
https://lore.kernel.org/linux-samsung-soc/20210809135942.100744-1-krzysztof.kozlowski@canonical.com/T/#t
Best regards,
Krzysztof
Krzysztof Kozlowski (8):
dt-bindings: clock: samsung: convert Exynos5250 to dtschema
dt-bindings: clock: samsung: add bindings for Exynos external clock
dt-bindings: clock: samsung: convert Exynos542x to dtschema
dt-bindings: clock: samsung: convert Exynos3250 to dtschema
dt-bindings: clock: samsung: convert Exynos4 to dtschema
dt-bindings: clock: samsung: convert Exynos AudSS to dtschema
dt-bindings: clock: samsung: convert S5Pv210 AudSS to dtschema
MAINTAINERS: clock: include S3C and S5P in Samsung SoC clock entry
.../bindings/clock/clk-exynos-audss.txt | 103 ------------------
.../bindings/clock/clk-s5pv210-audss.txt | 53 ---------
.../bindings/clock/exynos3250-clock.txt | 57 ----------
.../bindings/clock/exynos4-clock.txt | 86 ---------------
.../bindings/clock/exynos5250-clock.txt | 41 -------
.../bindings/clock/exynos5420-clock.txt | 42 -------
.../clock/samsung,exynos-audss-clock.yaml | 80 ++++++++++++++
.../bindings/clock/samsung,exynos-clock.yaml | 59 ++++++++++
.../clock/samsung,exynos-ext-clock.yaml | 46 ++++++++
.../clock/samsung,exynos4412-isp-clock.yaml | 64 +++++++++++
.../clock/samsung,s5pv210-audss-clock.yaml | 78 +++++++++++++
MAINTAINERS | 4 +
12 files changed, 331 insertions(+), 382 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/clock/clk-exynos-audss.txt
delete mode 100644 Documentation/devicetree/bindings/clock/clk-s5pv210-audss.txt
delete mode 100644 Documentation/devicetree/bindings/clock/exynos3250-clock.txt
delete mode 100644 Documentation/devicetree/bindings/clock/exynos4-clock.txt
delete mode 100644 Documentation/devicetree/bindings/clock/exynos5250-clock.txt
delete mode 100644 Documentation/devicetree/bindings/clock/exynos5420-clock.txt
create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos-audss-clock.yaml
create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml
create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos-ext-clock.yaml
create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos4412-isp-clock.yaml
create mode 100644 Documentation/devicetree/bindings/clock/samsung,s5pv210-audss-clock.yaml
--
2.30.2
^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH v3 1/8] dt-bindings: clock: samsung: convert Exynos5250 to dtschema
2021-08-25 13:40 [PATCH v3 0/8] dt-bindings: clock: samsung: convert to dtschema Krzysztof Kozlowski
@ 2021-08-25 13:40 ` Krzysztof Kozlowski
2021-08-25 17:59 ` Rob Herring
2021-08-29 7:06 ` Stephen Boyd
2021-08-25 13:40 ` [PATCH v3 2/8] dt-bindings: clock: samsung: add bindings for Exynos external clock Krzysztof Kozlowski
` (4 subsequent siblings)
5 siblings, 2 replies; 26+ messages in thread
From: Krzysztof Kozlowski @ 2021-08-25 13:40 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Sylwester Nawrocki, Tomasz Figa,
Chanwoo Choi, linux-clk, devicetree, linux-arm-kernel,
linux-samsung-soc, linux-kernel
Cc: Sam Protsenko
Convert Samsung Exynos5250 clock controller bindings to DT schema format
using json-schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
---
.../bindings/clock/exynos5250-clock.txt | 41 -----------------
.../bindings/clock/samsung,exynos-clock.yaml | 46 +++++++++++++++++++
MAINTAINERS | 1 +
3 files changed, 47 insertions(+), 41 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/clock/exynos5250-clock.txt
create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml
diff --git a/Documentation/devicetree/bindings/clock/exynos5250-clock.txt b/Documentation/devicetree/bindings/clock/exynos5250-clock.txt
deleted file mode 100644
index aff266a12eeb..000000000000
--- a/Documentation/devicetree/bindings/clock/exynos5250-clock.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-* Samsung Exynos5250 Clock Controller
-
-The Exynos5250 clock controller generates and supplies clock to various
-controllers within the Exynos5250 SoC.
-
-Required Properties:
-
-- compatible: should be one of the following.
- - "samsung,exynos5250-clock" - controller compatible with Exynos5250 SoC.
-
-- reg: physical base address of the controller and length of memory mapped
- region.
-
-- #clock-cells: should be 1.
-
-Each clock is assigned an identifier and client nodes can use this identifier
-to specify the clock which they consume.
-
-All available clocks are defined as preprocessor macros in
-dt-bindings/clock/exynos5250.h header and can be used in device
-tree sources.
-
-Example 1: An example of a clock controller node is listed below.
-
- clock: clock-controller@10010000 {
- compatible = "samsung,exynos5250-clock";
- reg = <0x10010000 0x30000>;
- #clock-cells = <1>;
- };
-
-Example 2: UART controller node that consumes the clock generated by the clock
- controller. Refer to the standard clock bindings for information
- about 'clocks' and 'clock-names' property.
-
- serial@13820000 {
- compatible = "samsung,exynos4210-uart";
- reg = <0x13820000 0x100>;
- interrupts = <0 54 0>;
- clocks = <&clock CLK_UART2>, <&clock CLK_SCLK_UART2>;
- clock-names = "uart", "clk_uart_baud0";
- };
diff --git a/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml
new file mode 100644
index 000000000000..1642f8405ed9
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml
@@ -0,0 +1,46 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/samsung,exynos-clock.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung Exynos SoC clock controller
+
+maintainers:
+ - Chanwoo Choi <cw00.choi@samsung.com>
+ - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
+ - Sylwester Nawrocki <s.nawrocki@samsung.com>
+ - Tomasz Figa <tomasz.figa@gmail.com>
+
+description: |
+ All available clocks are defined as preprocessor macros in
+ dt-bindings/clock/ headers.
+
+properties:
+ compatible:
+ const: samsung,exynos5250-clock
+
+ clocks:
+ maxItems: 4
+
+ "#clock-cells":
+ const: 1
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - "#clock-cells"
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/exynos5250.h>
+ clock: clock-controller@10010000 {
+ compatible = "samsung,exynos5250-clock";
+ reg = <0x10010000 0x30000>;
+ #clock-cells = <1>;
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index 64bb17c47bda..a8e1e5d10d1f 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -16491,6 +16491,7 @@ L: linux-samsung-soc@vger.kernel.org
S: Supported
T: git git://git.kernel.org/pub/scm/linux/kernel/git/snawrocki/clk.git
F: Documentation/devicetree/bindings/clock/exynos*.txt
+F: Documentation/devicetree/bindings/clock/samsung,*.yaml
F: Documentation/devicetree/bindings/clock/samsung,s3c*
F: Documentation/devicetree/bindings/clock/samsung,s5p*
F: drivers/clk/samsung/
--
2.30.2
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v3 2/8] dt-bindings: clock: samsung: add bindings for Exynos external clock
2021-08-25 13:40 [PATCH v3 0/8] dt-bindings: clock: samsung: convert to dtschema Krzysztof Kozlowski
2021-08-25 13:40 ` [PATCH v3 1/8] dt-bindings: clock: samsung: convert Exynos5250 " Krzysztof Kozlowski
@ 2021-08-25 13:40 ` Krzysztof Kozlowski
2021-08-29 7:06 ` Stephen Boyd
2021-08-25 13:40 ` [PATCH v3 3/8] dt-bindings: clock: samsung: convert Exynos542x to dtschema Krzysztof Kozlowski
` (3 subsequent siblings)
5 siblings, 1 reply; 26+ messages in thread
From: Krzysztof Kozlowski @ 2021-08-25 13:40 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Sylwester Nawrocki, Tomasz Figa,
Chanwoo Choi, linux-clk, devicetree, linux-arm-kernel,
linux-samsung-soc, linux-kernel
Cc: Sam Protsenko, Rob Herring
Document the bindings for Samsung Exynos external to SoC
(oscclk/XXTI/XusbXTI) clock provided on boards. The bindings are
already implemented in most of the Exynos clock drivers and DTS files.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
---
.../clock/samsung,exynos-ext-clock.yaml | 46 +++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos-ext-clock.yaml
diff --git a/Documentation/devicetree/bindings/clock/samsung,exynos-ext-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,exynos-ext-clock.yaml
new file mode 100644
index 000000000000..64d027dbe3b2
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/samsung,exynos-ext-clock.yaml
@@ -0,0 +1,46 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/samsung,exynos-ext-clock.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung SoC external/osc/XXTI/XusbXTI clock
+
+maintainers:
+ - Chanwoo Choi <cw00.choi@samsung.com>
+ - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
+ - Sylwester Nawrocki <s.nawrocki@samsung.com>
+ - Tomasz Figa <tomasz.figa@gmail.com>
+
+description: |
+ Samsung SoCs require an external clock supplied through XXTI or XusbXTI pins.
+
+properties:
+ compatible:
+ enum:
+ - samsung,clock-xxti
+ - samsung,clock-xusbxti
+ - samsung,exynos5420-oscclk
+
+ "#clock-cells":
+ const: 0
+
+ clock-frequency: true
+
+ clock-output-names:
+ maxItems: 1
+
+required:
+ - compatible
+ - clock-frequency
+
+additionalProperties: false
+
+examples:
+ - |
+ fixed-rate-clocks {
+ clock {
+ compatible = "samsung,clock-xxti";
+ clock-frequency = <24000000>;
+ };
+ };
--
2.30.2
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v3 3/8] dt-bindings: clock: samsung: convert Exynos542x to dtschema
2021-08-25 13:40 [PATCH v3 0/8] dt-bindings: clock: samsung: convert to dtschema Krzysztof Kozlowski
2021-08-25 13:40 ` [PATCH v3 1/8] dt-bindings: clock: samsung: convert Exynos5250 " Krzysztof Kozlowski
2021-08-25 13:40 ` [PATCH v3 2/8] dt-bindings: clock: samsung: add bindings for Exynos external clock Krzysztof Kozlowski
@ 2021-08-25 13:40 ` Krzysztof Kozlowski
2021-08-25 17:59 ` Rob Herring
2021-08-29 7:06 ` Stephen Boyd
2021-08-25 13:40 ` [PATCH v3 4/8] dt-bindings: clock: samsung: convert Exynos3250 " Krzysztof Kozlowski
` (2 subsequent siblings)
5 siblings, 2 replies; 26+ messages in thread
From: Krzysztof Kozlowski @ 2021-08-25 13:40 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Sylwester Nawrocki, Tomasz Figa,
Chanwoo Choi, linux-clk, devicetree, linux-arm-kernel,
linux-samsung-soc, linux-kernel
Cc: Sam Protsenko
Merge Exynos542x clock controller bindings to existing DT schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
---
.../bindings/clock/exynos5420-clock.txt | 42 -------------------
.../bindings/clock/samsung,exynos-clock.yaml | 9 +++-
2 files changed, 8 insertions(+), 43 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/clock/exynos5420-clock.txt
diff --git a/Documentation/devicetree/bindings/clock/exynos5420-clock.txt b/Documentation/devicetree/bindings/clock/exynos5420-clock.txt
deleted file mode 100644
index 717a7b1531c7..000000000000
--- a/Documentation/devicetree/bindings/clock/exynos5420-clock.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-* Samsung Exynos5420 Clock Controller
-
-The Exynos5420 clock controller generates and supplies clock to various
-controllers within the Exynos5420 SoC and for the Exynos5800 SoC.
-
-Required Properties:
-
-- compatible: should be one of the following.
- - "samsung,exynos5420-clock" - controller compatible with Exynos5420 SoC.
- - "samsung,exynos5800-clock" - controller compatible with Exynos5800 SoC.
-
-- reg: physical base address of the controller and length of memory mapped
- region.
-
-- #clock-cells: should be 1.
-
-Each clock is assigned an identifier and client nodes can use this identifier
-to specify the clock which they consume.
-
-All available clocks are defined as preprocessor macros in
-dt-bindings/clock/exynos5420.h header and can be used in device
-tree sources.
-
-Example 1: An example of a clock controller node is listed below.
-
- clock: clock-controller@10010000 {
- compatible = "samsung,exynos5420-clock";
- reg = <0x10010000 0x30000>;
- #clock-cells = <1>;
- };
-
-Example 2: UART controller node that consumes the clock generated by the clock
- controller. Refer to the standard clock bindings for information
- about 'clocks' and 'clock-names' property.
-
- serial@13820000 {
- compatible = "samsung,exynos4210-uart";
- reg = <0x13820000 0x100>;
- interrupts = <0 54 0>;
- clocks = <&clock CLK_UART2>, <&clock CLK_SCLK_UART2>;
- clock-names = "uart", "clk_uart_baud0";
- };
diff --git a/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml
index 1642f8405ed9..b807ae79e3b7 100644
--- a/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml
+++ b/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml
@@ -18,7 +18,14 @@ description: |
properties:
compatible:
- const: samsung,exynos5250-clock
+ oneOf:
+ - enum:
+ - samsung,exynos5250-clock
+ - items:
+ - enum:
+ - samsung,exynos5420-clock
+ - samsung,exynos5800-clock
+ - const: syscon
clocks:
maxItems: 4
--
2.30.2
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v3 4/8] dt-bindings: clock: samsung: convert Exynos3250 to dtschema
2021-08-25 13:40 [PATCH v3 0/8] dt-bindings: clock: samsung: convert to dtschema Krzysztof Kozlowski
` (2 preceding siblings ...)
2021-08-25 13:40 ` [PATCH v3 3/8] dt-bindings: clock: samsung: convert Exynos542x to dtschema Krzysztof Kozlowski
@ 2021-08-25 13:40 ` Krzysztof Kozlowski
2021-08-29 7:06 ` Stephen Boyd
2021-08-25 13:40 ` [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 " Krzysztof Kozlowski
2021-08-29 7:09 ` [PATCH v3 0/8] dt-bindings: clock: samsung: convert " Stephen Boyd
5 siblings, 1 reply; 26+ messages in thread
From: Krzysztof Kozlowski @ 2021-08-25 13:40 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Sylwester Nawrocki, Tomasz Figa,
Chanwoo Choi, linux-clk, devicetree, linux-arm-kernel,
linux-samsung-soc, linux-kernel
Cc: Sam Protsenko, Rob Herring
Merge Exynos3250 clock controller bindings to existing DT schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
---
.../bindings/clock/exynos3250-clock.txt | 57 -------------------
.../bindings/clock/samsung,exynos-clock.yaml | 3 +
2 files changed, 3 insertions(+), 57 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/clock/exynos3250-clock.txt
diff --git a/Documentation/devicetree/bindings/clock/exynos3250-clock.txt b/Documentation/devicetree/bindings/clock/exynos3250-clock.txt
deleted file mode 100644
index 7441ed519f02..000000000000
--- a/Documentation/devicetree/bindings/clock/exynos3250-clock.txt
+++ /dev/null
@@ -1,57 +0,0 @@
-* Samsung Exynos3250 Clock Controller
-
-The Exynos3250 clock controller generates and supplies clock to various
-controllers within the Exynos3250 SoC.
-
-Required Properties:
-
-- compatible: should be one of the following.
- - "samsung,exynos3250-cmu" - controller compatible with Exynos3250 SoC.
- - "samsung,exynos3250-cmu-dmc" - controller compatible with
- Exynos3250 SoC for Dynamic Memory Controller domain.
- - "samsung,exynos3250-cmu-isp" - ISP block clock controller compatible
- with Exynos3250 SOC
-
-- reg: physical base address of the controller and length of memory mapped
- region.
-
-- #clock-cells: should be 1.
-
-Each clock is assigned an identifier and client nodes can use this identifier
-to specify the clock which they consume.
-
-All available clocks are defined as preprocessor macros in
-dt-bindings/clock/exynos3250.h header and can be used in device
-tree sources.
-
-Example 1: Examples of clock controller nodes are listed below.
-
- cmu: clock-controller@10030000 {
- compatible = "samsung,exynos3250-cmu";
- reg = <0x10030000 0x20000>;
- #clock-cells = <1>;
- };
-
- cmu_dmc: clock-controller@105c0000 {
- compatible = "samsung,exynos3250-cmu-dmc";
- reg = <0x105C0000 0x2000>;
- #clock-cells = <1>;
- };
-
- cmu_isp: clock-controller@10048000 {
- compatible = "samsung,exynos3250-cmu-isp";
- reg = <0x10048000 0x1000>;
- #clock-cells = <1>;
- };
-
-Example 2: UART controller node that consumes the clock generated by the clock
- controller. Refer to the standard clock bindings for information
- about 'clocks' and 'clock-names' property.
-
- serial@13800000 {
- compatible = "samsung,exynos4210-uart";
- reg = <0x13800000 0x100>;
- interrupts = <0 109 0>;
- clocks = <&cmu CLK_UART0>, <&cmu CLK_SCLK_UART0>;
- clock-names = "uart", "clk_uart_baud0";
- };
diff --git a/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml
index b807ae79e3b7..9af77bdee12d 100644
--- a/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml
+++ b/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml
@@ -20,6 +20,9 @@ properties:
compatible:
oneOf:
- enum:
+ - samsung,exynos3250-cmu
+ - samsung,exynos3250-cmu-dmc
+ - samsung,exynos3250-cmu-isp
- samsung,exynos5250-clock
- items:
- enum:
--
2.30.2
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 to dtschema
2021-08-25 13:40 [PATCH v3 0/8] dt-bindings: clock: samsung: convert to dtschema Krzysztof Kozlowski
` (3 preceding siblings ...)
2021-08-25 13:40 ` [PATCH v3 4/8] dt-bindings: clock: samsung: convert Exynos3250 " Krzysztof Kozlowski
@ 2021-08-25 13:40 ` Krzysztof Kozlowski
2021-08-25 13:42 ` [PATCH v3 6/8] dt-bindings: clock: samsung: convert Exynos AudSS " Krzysztof Kozlowski
` (5 more replies)
2021-08-29 7:09 ` [PATCH v3 0/8] dt-bindings: clock: samsung: convert " Stephen Boyd
5 siblings, 6 replies; 26+ messages in thread
From: Krzysztof Kozlowski @ 2021-08-25 13:40 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Sylwester Nawrocki, Tomasz Figa,
Chanwoo Choi, linux-clk, devicetree, linux-arm-kernel,
linux-samsung-soc, linux-kernel
Cc: Sam Protsenko
Merge Exynos4210 and Exynos4412 clock controller bindings to existing DT
schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
.../bindings/clock/exynos4-clock.txt | 86 -------------------
.../bindings/clock/samsung,exynos-clock.yaml | 3 +
.../clock/samsung,exynos4412-isp-clock.yaml | 64 ++++++++++++++
3 files changed, 67 insertions(+), 86 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/clock/exynos4-clock.txt
create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos4412-isp-clock.yaml
diff --git a/Documentation/devicetree/bindings/clock/exynos4-clock.txt b/Documentation/devicetree/bindings/clock/exynos4-clock.txt
deleted file mode 100644
index 17bb11365354..000000000000
--- a/Documentation/devicetree/bindings/clock/exynos4-clock.txt
+++ /dev/null
@@ -1,86 +0,0 @@
-* Samsung Exynos4 Clock Controller
-
-The Exynos4 clock controller generates and supplies clock to various controllers
-within the Exynos4 SoC. The clock binding described here is applicable to all
-SoC's in the Exynos4 family.
-
-Required Properties:
-
-- compatible: should be one of the following.
- - "samsung,exynos4210-clock" - controller compatible with Exynos4210 SoC.
- - "samsung,exynos4412-clock" - controller compatible with Exynos4412 SoC.
-
-- reg: physical base address of the controller and length of memory mapped
- region.
-
-- #clock-cells: should be 1.
-
-Each clock is assigned an identifier and client nodes can use this identifier
-to specify the clock which they consume.
-
-All available clocks are defined as preprocessor macros in
-dt-bindings/clock/exynos4.h header and can be used in device
-tree sources.
-
-Example 1: An example of a clock controller node is listed below.
-
- clock: clock-controller@10030000 {
- compatible = "samsung,exynos4210-clock";
- reg = <0x10030000 0x20000>;
- #clock-cells = <1>;
- };
-
-Example 2: UART controller node that consumes the clock generated by the clock
- controller. Refer to the standard clock bindings for information
- about 'clocks' and 'clock-names' property.
-
- serial@13820000 {
- compatible = "samsung,exynos4210-uart";
- reg = <0x13820000 0x100>;
- interrupts = <0 54 0>;
- clocks = <&clock CLK_UART2>, <&clock CLK_SCLK_UART2>;
- clock-names = "uart", "clk_uart_baud0";
- };
-
-Exynos4412 SoC contains some additional clocks for FIMC-ISP (Camera ISP)
-subsystem. Registers for those clocks are located in the ISP power domain.
-Because those registers are also located in a different memory region than
-the main clock controller, a separate clock controller has to be defined for
-handling them.
-
-Required Properties:
-
-- compatible: should be "samsung,exynos4412-isp-clock".
-
-- reg: physical base address of the ISP clock controller and length of memory
- mapped region.
-
-- #clock-cells: should be 1.
-
-- clocks: list of the clock controller input clock identifiers,
- from common clock bindings, should point to CLK_ACLK200 and
- CLK_ACLK400_MCUISP clocks from the main clock controller.
-
-- clock-names: list of the clock controller input clock names,
- as described in clock-bindings.txt, should be "aclk200" and
- "aclk400_mcuisp".
-
-- power-domains: a phandle to ISP power domain node as described by
- generic PM domain bindings.
-
-Example 3: The clock controllers bindings for Exynos4412 SoCs.
-
- clock: clock-controller@10030000 {
- compatible = "samsung,exynos4412-clock";
- reg = <0x10030000 0x18000>;
- #clock-cells = <1>;
- };
-
- isp_clock: clock-controller@10048000 {
- compatible = "samsung,exynos4412-isp-clock";
- reg = <0x10048000 0x1000>;
- #clock-cells = <1>;
- power-domains = <&pd_isp>;
- clocks = <&clock CLK_ACLK200>, <&clock CLK_ACLK400_MCUISP>;
- clock-names = "aclk200", "aclk400_mcuisp";
- };
diff --git a/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml
index 9af77bdee12d..4e8062860986 100644
--- a/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml
+++ b/Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml
@@ -23,6 +23,8 @@ properties:
- samsung,exynos3250-cmu
- samsung,exynos3250-cmu-dmc
- samsung,exynos3250-cmu-isp
+ - samsung,exynos4210-clock
+ - samsung,exynos4412-clock
- samsung,exynos5250-clock
- items:
- enum:
@@ -31,6 +33,7 @@ properties:
- const: syscon
clocks:
+ minItems: 1
maxItems: 4
"#clock-cells":
diff --git a/Documentation/devicetree/bindings/clock/samsung,exynos4412-isp-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,exynos4412-isp-clock.yaml
new file mode 100644
index 000000000000..7b405bcd6fef
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/samsung,exynos4412-isp-clock.yaml
@@ -0,0 +1,64 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/samsung,exynos4412-isp-clock.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung Exynos4412 SoC ISP clock controller
+
+maintainers:
+ - Chanwoo Choi <cw00.choi@samsung.com>
+ - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
+ - Sylwester Nawrocki <s.nawrocki@samsung.com>
+ - Tomasz Figa <tomasz.figa@gmail.com>
+
+description: |
+ Clock controller for Samsung Exynos4412 SoC FIMC-ISP (Camera ISP)
+ All available clocks are defined as preprocessor macros in
+ dt-bindings/clock/ headers.
+
+properties:
+ compatible:
+ const: samsung,exynos4412-isp-clock
+
+ clocks:
+ items:
+ - description: CLK_ACLK200 from the main clock controller
+ - description: CLK_ACLK400_MCUISP from the main clock controller
+
+ clock-names:
+ items:
+ - const: aclk200
+ - const: aclk400_mcuisp
+
+ "#clock-cells":
+ const: 1
+
+ power-domains:
+ maxItems: 1
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - "#clock-cells"
+ - clocks
+ - clock-names
+ - power-domains
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/exynos4412.h>
+ clock-controller@10048000 {
+ compatible = "samsung,exynos4412-isp-clock";
+ reg = <0x10048000 0x1000>;
+ #clock-cells = <1>;
+ power-domains = <&pd_isp>;
+ clocks = <&clock CLK_ACLK200>, <&clock CLK_ACLK400_MCUISP>;
+ clock-names = "aclk200", "aclk400_mcuisp";
+ };
+
--
2.30.2
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v3 6/8] dt-bindings: clock: samsung: convert Exynos AudSS to dtschema
2021-08-25 13:40 ` [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 " Krzysztof Kozlowski
@ 2021-08-25 13:42 ` Krzysztof Kozlowski
2021-08-25 18:00 ` Rob Herring
2021-08-29 7:08 ` Stephen Boyd
2021-08-25 13:42 ` [PATCH v3 7/8] dt-bindings: clock: samsung: convert S5Pv210 " Krzysztof Kozlowski
` (4 subsequent siblings)
5 siblings, 2 replies; 26+ messages in thread
From: Krzysztof Kozlowski @ 2021-08-25 13:42 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Sylwester Nawrocki, Tomasz Figa,
Chanwoo Choi, linux-clk, devicetree, linux-arm-kernel,
linux-samsung-soc, linux-kernel
Cc: Sam Protsenko
Convert Samsung Exynos Audio SubSystem clock controller bindings to DT
schema format using json-schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
---
.../bindings/clock/clk-exynos-audss.txt | 103 ------------------
.../clock/samsung,exynos-audss-clock.yaml | 80 ++++++++++++++
2 files changed, 80 insertions(+), 103 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/clock/clk-exynos-audss.txt
create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos-audss-clock.yaml
diff --git a/Documentation/devicetree/bindings/clock/clk-exynos-audss.txt b/Documentation/devicetree/bindings/clock/clk-exynos-audss.txt
deleted file mode 100644
index 6030afb10b5c..000000000000
--- a/Documentation/devicetree/bindings/clock/clk-exynos-audss.txt
+++ /dev/null
@@ -1,103 +0,0 @@
-* Samsung Audio Subsystem Clock Controller
-
-The Samsung Audio Subsystem clock controller generates and supplies clocks
-to Audio Subsystem block available in the S5PV210 and Exynos SoCs. The clock
-binding described here is applicable to all SoCs in Exynos family.
-
-Required Properties:
-
-- compatible: should be one of the following:
- - "samsung,exynos4210-audss-clock" - controller compatible with all Exynos4 SoCs.
- - "samsung,exynos5250-audss-clock" - controller compatible with Exynos5250
- SoCs.
- - "samsung,exynos5410-audss-clock" - controller compatible with Exynos5410
- SoCs.
- - "samsung,exynos5420-audss-clock" - controller compatible with Exynos5420
- SoCs.
-- reg: physical base address and length of the controller's register set.
-
-- #clock-cells: should be 1.
-
-- clocks:
- - pll_ref: Fixed rate PLL reference clock, parent of mout_audss. "fin_pll"
- is used if not specified.
- - pll_in: Input PLL to the AudioSS block, parent of mout_audss. "fout_epll"
- is used if not specified.
- - cdclk: External i2s clock, parent of mout_i2s. "cdclk0" is used if not
- specified.
- - sclk_audio: Audio bus clock, parent of mout_i2s. "sclk_audio0" is used if
- not specified.
- - sclk_pcm_in: PCM clock, parent of sclk_pcm. "sclk_pcm0" is used if not
- specified.
-
-- clock-names: Aliases for the above clocks. They should be "pll_ref",
- "pll_in", "cdclk", "sclk_audio", and "sclk_pcm_in" respectively.
-
-Optional Properties:
-
- - power-domains: a phandle to respective power domain node as described by
- generic PM domain bindings (see power/power_domain.txt for more
- information).
-
-The following is the list of clocks generated by the controller. Each clock is
-assigned an identifier and client nodes use this identifier to specify the
-clock which they consume. Some of the clocks are available only on a particular
-Exynos4 SoC and this is specified where applicable.
-
-Provided clocks:
-
-Clock ID SoC (if specific)
------------------------------------------------
-
-mout_audss 0
-mout_i2s 1
-dout_srp 2
-dout_aud_bus 3
-dout_i2s 4
-srp_clk 5
-i2s_bus 6
-sclk_i2s 7
-pcm_bus 8
-sclk_pcm 9
-adma 10 Exynos5420
-
-Example 1: An example of a clock controller node using the default input
- clock names is listed below.
-
-clock_audss: audss-clock-controller@3810000 {
- compatible = "samsung,exynos5250-audss-clock";
- reg = <0x03810000 0x0C>;
- #clock-cells = <1>;
-};
-
-Example 2: An example of a clock controller node with the input clocks
- specified.
-
-clock_audss: audss-clock-controller@3810000 {
- compatible = "samsung,exynos5250-audss-clock";
- reg = <0x03810000 0x0C>;
- #clock-cells = <1>;
- clocks = <&clock 1>, <&clock 7>, <&clock 138>, <&clock 160>,
- <&ext_i2s_clk>;
- clock-names = "pll_ref", "pll_in", "sclk_audio", "sclk_pcm_in", "cdclk";
-};
-
-Example 3: I2S controller node that consumes the clock generated by the clock
- controller. Refer to the standard clock bindings for information
- about 'clocks' and 'clock-names' property.
-
-i2s0: i2s@3830000 {
- compatible = "samsung,i2s-v5";
- reg = <0x03830000 0x100>;
- dmas = <&pdma0 10
- &pdma0 9
- &pdma0 8>;
- dma-names = "tx", "rx", "tx-sec";
- clocks = <&clock_audss EXYNOS_I2S_BUS>,
- <&clock_audss EXYNOS_I2S_BUS>,
- <&clock_audss EXYNOS_SCLK_I2S>,
- <&clock_audss EXYNOS_MOUT_AUDSS>,
- <&clock_audss EXYNOS_MOUT_I2S>;
- clock-names = "iis", "i2s_opclk0", "i2s_opclk1",
- "mout_audss", "mout_i2s";
-};
diff --git a/Documentation/devicetree/bindings/clock/samsung,exynos-audss-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,exynos-audss-clock.yaml
new file mode 100644
index 000000000000..f14f1d39da36
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/samsung,exynos-audss-clock.yaml
@@ -0,0 +1,80 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/samsung,exynos-audss-clock.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung Exynos SoC Audio SubSystem clock controller
+
+maintainers:
+ - Chanwoo Choi <cw00.choi@samsung.com>
+ - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
+ - Sylwester Nawrocki <s.nawrocki@samsung.com>
+ - Tomasz Figa <tomasz.figa@gmail.com>
+
+description: |
+ All available clocks are defined as preprocessor macros in
+ include/dt-bindings/clock/exynos-audss-clk.h header.
+
+properties:
+ compatible:
+ enum:
+ - samsung,exynos4210-audss-clock
+ - samsung,exynos5250-audss-clock
+ - samsung,exynos5410-audss-clock
+ - samsung,exynos5420-audss-clock
+
+ clocks:
+ minItems: 2
+ items:
+ - description:
+ Fixed rate PLL reference clock, parent of mout_audss. "fin_pll" is
+ used if not specified.
+ - description:
+ Input PLL to the AudioSS block, parent of mout_audss. "fout_epll" is
+ used if not specified.
+ - description:
+ Audio bus clock, parent of mout_i2s. "sclk_audio0" is used if not
+ specified.
+ - description:
+ PCM clock, parent of sclk_pcm. "sclk_pcm0" is used if not specified.
+ - description:
+ External i2s clock, parent of mout_i2s. "cdclk0" is used if not
+ specified.
+
+ clock-names:
+ minItems: 2
+ items:
+ - const: pll_ref
+ - const: pll_in
+ - const: sclk_audio
+ - const: sclk_pcm_in
+ - const: cdclk
+
+ "#clock-cells":
+ const: 1
+
+ power-domains:
+ maxItems: 1
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - clocks
+ - clock-names
+ - "#clock-cells"
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ clock-controller@3810000 {
+ compatible = "samsung,exynos5250-audss-clock";
+ reg = <0x03810000 0x0c>;
+ #clock-cells = <1>;
+ clocks = <&clock 1>, <&clock 7>, <&clock 138>, <&clock 160>, <&ext_i2s_clk>;
+ clock-names = "pll_ref", "pll_in", "sclk_audio", "sclk_pcm_in", "cdclk";
+ };
--
2.30.2
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v3 7/8] dt-bindings: clock: samsung: convert S5Pv210 AudSS to dtschema
2021-08-25 13:40 ` [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 " Krzysztof Kozlowski
2021-08-25 13:42 ` [PATCH v3 6/8] dt-bindings: clock: samsung: convert Exynos AudSS " Krzysztof Kozlowski
@ 2021-08-25 13:42 ` Krzysztof Kozlowski
2021-08-25 18:00 ` Rob Herring
2021-08-29 7:08 ` Stephen Boyd
2021-08-25 13:42 ` [PATCH v3 8/8] MAINTAINERS: clock: include S3C and S5P in Samsung SoC clock entry Krzysztof Kozlowski
` (3 subsequent siblings)
5 siblings, 2 replies; 26+ messages in thread
From: Krzysztof Kozlowski @ 2021-08-25 13:42 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Sylwester Nawrocki, Tomasz Figa,
Chanwoo Choi, linux-clk, devicetree, linux-arm-kernel,
linux-samsung-soc, linux-kernel
Cc: Sam Protsenko
Convert Samsung S5Pv210 Audio SubSystem clock controller bindings to DT
schema format using json-schema.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
---
Changes since v1:
1. Include header to fix clock IDs error in example.
---
.../bindings/clock/clk-s5pv210-audss.txt | 53 -------------
.../clock/samsung,s5pv210-audss-clock.yaml | 78 +++++++++++++++++++
2 files changed, 78 insertions(+), 53 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/clock/clk-s5pv210-audss.txt
create mode 100644 Documentation/devicetree/bindings/clock/samsung,s5pv210-audss-clock.yaml
diff --git a/Documentation/devicetree/bindings/clock/clk-s5pv210-audss.txt b/Documentation/devicetree/bindings/clock/clk-s5pv210-audss.txt
deleted file mode 100644
index f6272dcd96f4..000000000000
--- a/Documentation/devicetree/bindings/clock/clk-s5pv210-audss.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-* Samsung Audio Subsystem Clock Controller
-
-The Samsung Audio Subsystem clock controller generates and supplies clocks
-to Audio Subsystem block available in the S5PV210 and compatible SoCs.
-
-Required Properties:
-
-- compatible: should be "samsung,s5pv210-audss-clock".
-- reg: physical base address and length of the controller's register set.
-
-- #clock-cells: should be 1.
-
-- clocks:
- - hclk: AHB bus clock of the Audio Subsystem.
- - xxti: Optional fixed rate PLL reference clock, parent of mout_audss. If
- not specified (i.e. xusbxti is used for PLL reference), it is fixed to
- a clock named "xxti".
- - fout_epll: Input PLL to the AudioSS block, parent of mout_audss.
- - iiscdclk0: Optional external i2s clock, parent of mout_i2s. If not
- specified, it is fixed to a clock named "iiscdclk0".
- - sclk_audio0: Audio bus clock, parent of mout_i2s.
-
-- clock-names: Aliases for the above clocks. They should be "hclk",
- "xxti", "fout_epll", "iiscdclk0", and "sclk_audio0" respectively.
-
-All available clocks are defined as preprocessor macros in
-dt-bindings/clock/s5pv210-audss-clk.h header and can be used in device
-tree sources.
-
-Example: Clock controller node.
-
- clk_audss: clock-controller@c0900000 {
- compatible = "samsung,s5pv210-audss-clock";
- reg = <0xc0900000 0x1000>;
- #clock-cells = <1>;
- clock-names = "hclk", "xxti",
- "fout_epll", "sclk_audio0";
- clocks = <&clocks DOUT_HCLKP>, <&xxti>,
- <&clocks FOUT_EPLL>, <&clocks SCLK_AUDIO0>;
- };
-
-Example: I2S controller node that consumes the clock generated by the clock
- controller. Refer to the standard clock bindings for information
- about 'clocks' and 'clock-names' property.
-
- i2s0: i2s@3830000 {
- /* ... */
- clock-names = "iis", "i2s_opclk0",
- "i2s_opclk1";
- clocks = <&clk_audss CLK_I2S>, <&clk_audss CLK_I2S>,
- <&clk_audss CLK_DOUT_AUD_BUS>;
- /* ... */
- };
diff --git a/Documentation/devicetree/bindings/clock/samsung,s5pv210-audss-clock.yaml b/Documentation/devicetree/bindings/clock/samsung,s5pv210-audss-clock.yaml
new file mode 100644
index 000000000000..ae8f8fc93233
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/samsung,s5pv210-audss-clock.yaml
@@ -0,0 +1,78 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/samsung,s5pv210-audss-clock.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung S5Pv210 SoC Audio SubSystem clock controller
+
+maintainers:
+ - Chanwoo Choi <cw00.choi@samsung.com>
+ - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
+ - Sylwester Nawrocki <s.nawrocki@samsung.com>
+ - Tomasz Figa <tomasz.figa@gmail.com>
+
+description: |
+ All available clocks are defined as preprocessor macros in
+ include/dt-bindings/clock/s5pv210-audss.h header.
+
+properties:
+ compatible:
+ const: samsung,s5pv210-audss-clock
+
+ clocks:
+ minItems: 4
+ items:
+ - description:
+ AHB bus clock of the Audio Subsystem.
+ - description:
+ Optional fixed rate PLL reference clock, parent of mout_audss. If not
+ specified (i.e. xusbxti is used for PLL reference), it is fixed to a
+ clock named "xxti".
+ - description:
+ Input PLL to the AudioSS block, parent of mout_audss.
+ - description:
+ Audio bus clock, parent of mout_i2s.
+ - description:
+ Optional external i2s clock, parent of mout_i2s. If not specified, it
+ is fixed to a clock named "iiscdclk0".
+
+ clock-names:
+ minItems: 4
+ items:
+ - const: hclk
+ - const: xxti
+ - const: fout_epll
+ - const: sclk_audio0
+ - const: iiscdclk0
+
+ "#clock-cells":
+ const: 1
+
+ power-domains:
+ maxItems: 1
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - clocks
+ - clock-names
+ - "#clock-cells"
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/s5pv210.h>
+
+ clock-controller@c0900000 {
+ compatible = "samsung,s5pv210-audss-clock";
+ reg = <0xc0900000 0x1000>;
+ #clock-cells = <1>;
+ clock-names = "hclk", "xxti", "fout_epll", "sclk_audio0";
+ clocks = <&clocks DOUT_HCLKP>, <&xxti>, <&clocks FOUT_EPLL>,
+ <&clocks SCLK_AUDIO0>;
+ };
--
2.30.2
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v3 8/8] MAINTAINERS: clock: include S3C and S5P in Samsung SoC clock entry
2021-08-25 13:40 ` [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 " Krzysztof Kozlowski
2021-08-25 13:42 ` [PATCH v3 6/8] dt-bindings: clock: samsung: convert Exynos AudSS " Krzysztof Kozlowski
2021-08-25 13:42 ` [PATCH v3 7/8] dt-bindings: clock: samsung: convert S5Pv210 " Krzysztof Kozlowski
@ 2021-08-25 13:42 ` Krzysztof Kozlowski
2021-08-29 7:08 ` Stephen Boyd
2021-08-25 18:00 ` [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 to dtschema Rob Herring
` (2 subsequent siblings)
5 siblings, 1 reply; 26+ messages in thread
From: Krzysztof Kozlowski @ 2021-08-25 13:42 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, Sylwester Nawrocki, Tomasz Figa,
Chanwoo Choi, linux-clk, devicetree, linux-arm-kernel,
linux-samsung-soc, linux-kernel
Cc: Sam Protsenko
Cover the S3C and S5Pv210 clock controller binding headers by Samsung
SoC clock controller drivers maintainer entry.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
---
MAINTAINERS | 3 +++
1 file changed, 3 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index a8e1e5d10d1f..eb4ada858826 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -16496,6 +16496,9 @@ F: Documentation/devicetree/bindings/clock/samsung,s3c*
F: Documentation/devicetree/bindings/clock/samsung,s5p*
F: drivers/clk/samsung/
F: include/dt-bindings/clock/exynos*.h
+F: include/dt-bindings/clock/s3c*.h
+F: include/dt-bindings/clock/s5p*.h
+F: include/dt-bindings/clock/samsung,*.h
F: include/linux/clk/samsung.h
F: include/linux/platform_data/clk-s3c2410.h
--
2.30.2
^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: [PATCH v3 1/8] dt-bindings: clock: samsung: convert Exynos5250 to dtschema
2021-08-25 13:40 ` [PATCH v3 1/8] dt-bindings: clock: samsung: convert Exynos5250 " Krzysztof Kozlowski
@ 2021-08-25 17:59 ` Rob Herring
2021-08-29 7:06 ` Stephen Boyd
1 sibling, 0 replies; 26+ messages in thread
From: Rob Herring @ 2021-08-25 17:59 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: linux-kernel, Rob Herring, Tomasz Figa, Chanwoo Choi,
linux-samsung-soc, Sam Protsenko, Michael Turquette,
linux-arm-kernel, devicetree, Stephen Boyd, Sylwester Nawrocki,
linux-clk
On Wed, 25 Aug 2021 15:40:49 +0200, Krzysztof Kozlowski wrote:
> Convert Samsung Exynos5250 clock controller bindings to DT schema format
> using json-schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
> ---
> .../bindings/clock/exynos5250-clock.txt | 41 -----------------
> .../bindings/clock/samsung,exynos-clock.yaml | 46 +++++++++++++++++++
> MAINTAINERS | 1 +
> 3 files changed, 47 insertions(+), 41 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/clock/exynos5250-clock.txt
> create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos-clock.yaml
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 3/8] dt-bindings: clock: samsung: convert Exynos542x to dtschema
2021-08-25 13:40 ` [PATCH v3 3/8] dt-bindings: clock: samsung: convert Exynos542x to dtschema Krzysztof Kozlowski
@ 2021-08-25 17:59 ` Rob Herring
2021-08-29 7:06 ` Stephen Boyd
1 sibling, 0 replies; 26+ messages in thread
From: Rob Herring @ 2021-08-25 17:59 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Sylwester Nawrocki, devicetree, Sam Protsenko, Rob Herring,
linux-kernel, Tomasz Figa, Chanwoo Choi, linux-samsung-soc,
Michael Turquette, linux-arm-kernel, linux-clk, Stephen Boyd
On Wed, 25 Aug 2021 15:40:51 +0200, Krzysztof Kozlowski wrote:
> Merge Exynos542x clock controller bindings to existing DT schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
> ---
> .../bindings/clock/exynos5420-clock.txt | 42 -------------------
> .../bindings/clock/samsung,exynos-clock.yaml | 9 +++-
> 2 files changed, 8 insertions(+), 43 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/clock/exynos5420-clock.txt
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 to dtschema
2021-08-25 13:40 ` [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 " Krzysztof Kozlowski
` (2 preceding siblings ...)
2021-08-25 13:42 ` [PATCH v3 8/8] MAINTAINERS: clock: include S3C and S5P in Samsung SoC clock entry Krzysztof Kozlowski
@ 2021-08-25 18:00 ` Rob Herring
2021-08-29 7:06 ` Stephen Boyd
2021-08-31 12:36 ` Rob Herring
5 siblings, 0 replies; 26+ messages in thread
From: Rob Herring @ 2021-08-25 18:00 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: linux-samsung-soc, linux-kernel, linux-arm-kernel, Rob Herring,
Stephen Boyd, Michael Turquette, Sylwester Nawrocki,
Chanwoo Choi, Sam Protsenko, devicetree, Tomasz Figa, linux-clk
On Wed, 25 Aug 2021 15:40:53 +0200, Krzysztof Kozlowski wrote:
> Merge Exynos4210 and Exynos4412 clock controller bindings to existing DT
> schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> ---
> .../bindings/clock/exynos4-clock.txt | 86 -------------------
> .../bindings/clock/samsung,exynos-clock.yaml | 3 +
> .../clock/samsung,exynos4412-isp-clock.yaml | 64 ++++++++++++++
> 3 files changed, 67 insertions(+), 86 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/clock/exynos4-clock.txt
> create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos4412-isp-clock.yaml
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 6/8] dt-bindings: clock: samsung: convert Exynos AudSS to dtschema
2021-08-25 13:42 ` [PATCH v3 6/8] dt-bindings: clock: samsung: convert Exynos AudSS " Krzysztof Kozlowski
@ 2021-08-25 18:00 ` Rob Herring
2021-08-29 7:08 ` Stephen Boyd
1 sibling, 0 replies; 26+ messages in thread
From: Rob Herring @ 2021-08-25 18:00 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: linux-samsung-soc, Sylwester Nawrocki, Chanwoo Choi, Tomasz Figa,
Stephen Boyd, Rob Herring, linux-clk, devicetree, Sam Protsenko,
Michael Turquette, linux-kernel, linux-arm-kernel
On Wed, 25 Aug 2021 15:42:49 +0200, Krzysztof Kozlowski wrote:
> Convert Samsung Exynos Audio SubSystem clock controller bindings to DT
> schema format using json-schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
> ---
> .../bindings/clock/clk-exynos-audss.txt | 103 ------------------
> .../clock/samsung,exynos-audss-clock.yaml | 80 ++++++++++++++
> 2 files changed, 80 insertions(+), 103 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/clock/clk-exynos-audss.txt
> create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos-audss-clock.yaml
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 7/8] dt-bindings: clock: samsung: convert S5Pv210 AudSS to dtschema
2021-08-25 13:42 ` [PATCH v3 7/8] dt-bindings: clock: samsung: convert S5Pv210 " Krzysztof Kozlowski
@ 2021-08-25 18:00 ` Rob Herring
2021-08-29 7:08 ` Stephen Boyd
1 sibling, 0 replies; 26+ messages in thread
From: Rob Herring @ 2021-08-25 18:00 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Michael Turquette, Stephen Boyd, linux-arm-kernel, linux-clk,
Sam Protsenko, linux-kernel, Rob Herring, devicetree,
Sylwester Nawrocki, linux-samsung-soc, Chanwoo Choi, Tomasz Figa
On Wed, 25 Aug 2021 15:42:50 +0200, Krzysztof Kozlowski wrote:
> Convert Samsung S5Pv210 Audio SubSystem clock controller bindings to DT
> schema format using json-schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
>
> ---
>
> Changes since v1:
> 1. Include header to fix clock IDs error in example.
> ---
> .../bindings/clock/clk-s5pv210-audss.txt | 53 -------------
> .../clock/samsung,s5pv210-audss-clock.yaml | 78 +++++++++++++++++++
> 2 files changed, 78 insertions(+), 53 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/clock/clk-s5pv210-audss.txt
> create mode 100644 Documentation/devicetree/bindings/clock/samsung,s5pv210-audss-clock.yaml
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 1/8] dt-bindings: clock: samsung: convert Exynos5250 to dtschema
2021-08-25 13:40 ` [PATCH v3 1/8] dt-bindings: clock: samsung: convert Exynos5250 " Krzysztof Kozlowski
2021-08-25 17:59 ` Rob Herring
@ 2021-08-29 7:06 ` Stephen Boyd
1 sibling, 0 replies; 26+ messages in thread
From: Stephen Boyd @ 2021-08-29 7:06 UTC (permalink / raw)
To: Chanwoo Choi, Krzysztof Kozlowski, Michael Turquette,
Rob Herring, Sylwester Nawrocki, Tomasz Figa, devicetree,
linux-arm-kernel, linux-clk, linux-kernel, linux-samsung-soc
Cc: Sam Protsenko
Quoting Krzysztof Kozlowski (2021-08-25 06:40:49)
> Convert Samsung Exynos5250 clock controller bindings to DT schema format
> using json-schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 2/8] dt-bindings: clock: samsung: add bindings for Exynos external clock
2021-08-25 13:40 ` [PATCH v3 2/8] dt-bindings: clock: samsung: add bindings for Exynos external clock Krzysztof Kozlowski
@ 2021-08-29 7:06 ` Stephen Boyd
0 siblings, 0 replies; 26+ messages in thread
From: Stephen Boyd @ 2021-08-29 7:06 UTC (permalink / raw)
To: Chanwoo Choi, Krzysztof Kozlowski, Michael Turquette,
Rob Herring, Sylwester Nawrocki, Tomasz Figa, devicetree,
linux-arm-kernel, linux-clk, linux-kernel, linux-samsung-soc
Cc: Sam Protsenko, Rob Herring
Quoting Krzysztof Kozlowski (2021-08-25 06:40:50)
> Document the bindings for Samsung Exynos external to SoC
> (oscclk/XXTI/XusbXTI) clock provided on boards. The bindings are
> already implemented in most of the Exynos clock drivers and DTS files.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
> Reviewed-by: Rob Herring <robh@kernel.org>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 3/8] dt-bindings: clock: samsung: convert Exynos542x to dtschema
2021-08-25 13:40 ` [PATCH v3 3/8] dt-bindings: clock: samsung: convert Exynos542x to dtschema Krzysztof Kozlowski
2021-08-25 17:59 ` Rob Herring
@ 2021-08-29 7:06 ` Stephen Boyd
1 sibling, 0 replies; 26+ messages in thread
From: Stephen Boyd @ 2021-08-29 7:06 UTC (permalink / raw)
To: Chanwoo Choi, Krzysztof Kozlowski, Michael Turquette,
Rob Herring, Sylwester Nawrocki, Tomasz Figa, devicetree,
linux-arm-kernel, linux-clk, linux-kernel, linux-samsung-soc
Cc: Sam Protsenko
Quoting Krzysztof Kozlowski (2021-08-25 06:40:51)
> Merge Exynos542x clock controller bindings to existing DT schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 4/8] dt-bindings: clock: samsung: convert Exynos3250 to dtschema
2021-08-25 13:40 ` [PATCH v3 4/8] dt-bindings: clock: samsung: convert Exynos3250 " Krzysztof Kozlowski
@ 2021-08-29 7:06 ` Stephen Boyd
0 siblings, 0 replies; 26+ messages in thread
From: Stephen Boyd @ 2021-08-29 7:06 UTC (permalink / raw)
To: Chanwoo Choi, Krzysztof Kozlowski, Michael Turquette,
Rob Herring, Sylwester Nawrocki, Tomasz Figa, devicetree,
linux-arm-kernel, linux-clk, linux-kernel, linux-samsung-soc
Cc: Sam Protsenko, Rob Herring
Quoting Krzysztof Kozlowski (2021-08-25 06:40:52)
> Merge Exynos3250 clock controller bindings to existing DT schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
> Reviewed-by: Rob Herring <robh@kernel.org>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 to dtschema
2021-08-25 13:40 ` [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 " Krzysztof Kozlowski
` (3 preceding siblings ...)
2021-08-25 18:00 ` [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 to dtschema Rob Herring
@ 2021-08-29 7:06 ` Stephen Boyd
2021-08-31 12:36 ` Rob Herring
5 siblings, 0 replies; 26+ messages in thread
From: Stephen Boyd @ 2021-08-29 7:06 UTC (permalink / raw)
To: Chanwoo Choi, Krzysztof Kozlowski, Michael Turquette,
Rob Herring, Sylwester Nawrocki, Tomasz Figa, devicetree,
linux-arm-kernel, linux-clk, linux-kernel, linux-samsung-soc
Cc: Sam Protsenko
Quoting Krzysztof Kozlowski (2021-08-25 06:40:53)
> Merge Exynos4210 and Exynos4412 clock controller bindings to existing DT
> schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 6/8] dt-bindings: clock: samsung: convert Exynos AudSS to dtschema
2021-08-25 13:42 ` [PATCH v3 6/8] dt-bindings: clock: samsung: convert Exynos AudSS " Krzysztof Kozlowski
2021-08-25 18:00 ` Rob Herring
@ 2021-08-29 7:08 ` Stephen Boyd
1 sibling, 0 replies; 26+ messages in thread
From: Stephen Boyd @ 2021-08-29 7:08 UTC (permalink / raw)
To: Chanwoo Choi, Krzysztof Kozlowski, Michael Turquette,
Rob Herring, Sylwester Nawrocki, Tomasz Figa, devicetree,
linux-arm-kernel, linux-clk, linux-kernel, linux-samsung-soc
Cc: Sam Protsenko
Quoting Krzysztof Kozlowski (2021-08-25 06:42:49)
> Convert Samsung Exynos Audio SubSystem clock controller bindings to DT
> schema format using json-schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 7/8] dt-bindings: clock: samsung: convert S5Pv210 AudSS to dtschema
2021-08-25 13:42 ` [PATCH v3 7/8] dt-bindings: clock: samsung: convert S5Pv210 " Krzysztof Kozlowski
2021-08-25 18:00 ` Rob Herring
@ 2021-08-29 7:08 ` Stephen Boyd
1 sibling, 0 replies; 26+ messages in thread
From: Stephen Boyd @ 2021-08-29 7:08 UTC (permalink / raw)
To: Chanwoo Choi, Krzysztof Kozlowski, Michael Turquette,
Rob Herring, Sylwester Nawrocki, Tomasz Figa, devicetree,
linux-arm-kernel, linux-clk, linux-kernel, linux-samsung-soc
Cc: Sam Protsenko
Quoting Krzysztof Kozlowski (2021-08-25 06:42:50)
> Convert Samsung S5Pv210 Audio SubSystem clock controller bindings to DT
> schema format using json-schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 8/8] MAINTAINERS: clock: include S3C and S5P in Samsung SoC clock entry
2021-08-25 13:42 ` [PATCH v3 8/8] MAINTAINERS: clock: include S3C and S5P in Samsung SoC clock entry Krzysztof Kozlowski
@ 2021-08-29 7:08 ` Stephen Boyd
0 siblings, 0 replies; 26+ messages in thread
From: Stephen Boyd @ 2021-08-29 7:08 UTC (permalink / raw)
To: Chanwoo Choi, Krzysztof Kozlowski, Michael Turquette,
Rob Herring, Sylwester Nawrocki, Tomasz Figa, devicetree,
linux-arm-kernel, linux-clk, linux-kernel, linux-samsung-soc
Cc: Sam Protsenko
Quoting Krzysztof Kozlowski (2021-08-25 06:42:51)
> Cover the S3C and S5Pv210 clock controller binding headers by Samsung
> SoC clock controller drivers maintainer entry.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 0/8] dt-bindings: clock: samsung: convert to dtschema
2021-08-25 13:40 [PATCH v3 0/8] dt-bindings: clock: samsung: convert to dtschema Krzysztof Kozlowski
` (4 preceding siblings ...)
2021-08-25 13:40 ` [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 " Krzysztof Kozlowski
@ 2021-08-29 7:09 ` Stephen Boyd
2021-08-30 6:52 ` Krzysztof Kozlowski
5 siblings, 1 reply; 26+ messages in thread
From: Stephen Boyd @ 2021-08-29 7:09 UTC (permalink / raw)
To: Chanwoo Choi, Krzysztof Kozlowski, Michael Turquette,
Rob Herring, Sylwester Nawrocki, Tomasz Figa, devicetree,
linux-arm-kernel, linux-clk, linux-kernel, linux-samsung-soc
Cc: Sam Protsenko
Quoting Krzysztof Kozlowski (2021-08-25 06:40:48)
> Hi,
>
> Changes since v2:
> 1. Add reviews.
> 2. Split Exynos4 ISP into separate schema.
> 3. Add maxItems to clocks and power-domains (review feedback).
> 4. Do not allow samsung,exynos5420-clock and samsung,exynos5800-clock
> without syscon. These clock controllers should always use syscon
> to allow DMC bindings access the registers.
> 5. Drop assigned-clocks.
>
> Changes since v1:
> 1. Patch 7/8: include header to fix clock IDs error in example.
I think this header file isn't in clk tree?
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 0/8] dt-bindings: clock: samsung: convert to dtschema
2021-08-29 7:09 ` [PATCH v3 0/8] dt-bindings: clock: samsung: convert " Stephen Boyd
@ 2021-08-30 6:52 ` Krzysztof Kozlowski
0 siblings, 0 replies; 26+ messages in thread
From: Krzysztof Kozlowski @ 2021-08-30 6:52 UTC (permalink / raw)
To: Stephen Boyd, Chanwoo Choi, Michael Turquette, Rob Herring,
Sylwester Nawrocki, Tomasz Figa, devicetree, linux-arm-kernel,
linux-clk, linux-kernel, linux-samsung-soc
Cc: Sam Protsenko
On 29/08/2021 09:09, Stephen Boyd wrote:
> Quoting Krzysztof Kozlowski (2021-08-25 06:40:48)
>> Hi,
>>
>> Changes since v2:
>> 1. Add reviews.
>> 2. Split Exynos4 ISP into separate schema.
>> 3. Add maxItems to clocks and power-domains (review feedback).
>> 4. Do not allow samsung,exynos5420-clock and samsung,exynos5800-clock
>> without syscon. These clock controllers should always use syscon
>> to allow DMC bindings access the registers.
>> 5. Drop assigned-clocks.
>>
>> Changes since v1:
>> 1. Patch 7/8: include header to fix clock IDs error in example.
>
> I think this header file isn't in clk tree?
>
It is in Linus' tree... full path is:
include/dt-bindings/clock/s5pv210.h
What's missing is entry in MAINTAINERS.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 to dtschema
2021-08-25 13:40 ` [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 " Krzysztof Kozlowski
` (4 preceding siblings ...)
2021-08-29 7:06 ` Stephen Boyd
@ 2021-08-31 12:36 ` Rob Herring
2021-08-31 13:03 ` Krzysztof Kozlowski
5 siblings, 1 reply; 26+ messages in thread
From: Rob Herring @ 2021-08-31 12:36 UTC (permalink / raw)
To: Krzysztof Kozlowski, Stephen Boyd
Cc: Michael Turquette, Sylwester Nawrocki, Tomasz Figa, Chanwoo Choi,
linux-clk, devicetree, linux-arm-kernel, linux-samsung-soc,
linux-kernel, Sam Protsenko
On Wed, Aug 25, 2021 at 8:41 AM Krzysztof Kozlowski
<krzysztof.kozlowski@canonical.com> wrote:
>
> Merge Exynos4210 and Exynos4412 clock controller bindings to existing DT
> schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> ---
> .../bindings/clock/exynos4-clock.txt | 86 -------------------
> .../bindings/clock/samsung,exynos-clock.yaml | 3 +
> .../clock/samsung,exynos4412-isp-clock.yaml | 64 ++++++++++++++
> 3 files changed, 67 insertions(+), 86 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/clock/exynos4-clock.txt
> create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos4412-isp-clock.yaml
[...]
> +examples:
> + - |
> + #include <dt-bindings/clock/exynos4412.h>
Where is this header? linux-next is now failing:
Documentation/devicetree/bindings/clock/samsung,exynos4412-isp-clock.example.dts:19:18:
fatal error: dt-bindings/clock/exynos4412.h: No such file or directory
19 | #include <dt-bindings/clock/exynos4412.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.lib:398:
Documentation/devicetree/bindings/clock/samsung,exynos4412-isp-clock.example.dt.yaml]
Error 1
Rob
^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 to dtschema
2021-08-31 12:36 ` Rob Herring
@ 2021-08-31 13:03 ` Krzysztof Kozlowski
0 siblings, 0 replies; 26+ messages in thread
From: Krzysztof Kozlowski @ 2021-08-31 13:03 UTC (permalink / raw)
To: Rob Herring, Stephen Boyd
Cc: Michael Turquette, Sylwester Nawrocki, Tomasz Figa, Chanwoo Choi,
linux-clk, devicetree, linux-arm-kernel, linux-samsung-soc,
linux-kernel, Sam Protsenko
On 31/08/2021 14:36, Rob Herring wrote:
> On Wed, Aug 25, 2021 at 8:41 AM Krzysztof Kozlowski
> <krzysztof.kozlowski@canonical.com> wrote:
>>
>> Merge Exynos4210 and Exynos4412 clock controller bindings to existing DT
>> schema.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
>> ---
>> .../bindings/clock/exynos4-clock.txt | 86 -------------------
>> .../bindings/clock/samsung,exynos-clock.yaml | 3 +
>> .../clock/samsung,exynos4412-isp-clock.yaml | 64 ++++++++++++++
>> 3 files changed, 67 insertions(+), 86 deletions(-)
>> delete mode 100644 Documentation/devicetree/bindings/clock/exynos4-clock.txt
>> create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos4412-isp-clock.yaml
>
> [...]
>
>> +examples:
>> + - |
>> + #include <dt-bindings/clock/exynos4412.h>
>
> Where is this header? linux-next is now failing:
>
Argh, it should be exynos4.h. Stephen mentioned it but I missed the
difference in number. I wonder how it passed dt_binding_check on my
machine...
Sorry for the mess, I'll send the fix.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2021-08-31 13:04 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25 13:40 [PATCH v3 0/8] dt-bindings: clock: samsung: convert to dtschema Krzysztof Kozlowski
2021-08-25 13:40 ` [PATCH v3 1/8] dt-bindings: clock: samsung: convert Exynos5250 " Krzysztof Kozlowski
2021-08-25 17:59 ` Rob Herring
2021-08-29 7:06 ` Stephen Boyd
2021-08-25 13:40 ` [PATCH v3 2/8] dt-bindings: clock: samsung: add bindings for Exynos external clock Krzysztof Kozlowski
2021-08-29 7:06 ` Stephen Boyd
2021-08-25 13:40 ` [PATCH v3 3/8] dt-bindings: clock: samsung: convert Exynos542x to dtschema Krzysztof Kozlowski
2021-08-25 17:59 ` Rob Herring
2021-08-29 7:06 ` Stephen Boyd
2021-08-25 13:40 ` [PATCH v3 4/8] dt-bindings: clock: samsung: convert Exynos3250 " Krzysztof Kozlowski
2021-08-29 7:06 ` Stephen Boyd
2021-08-25 13:40 ` [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 " Krzysztof Kozlowski
2021-08-25 13:42 ` [PATCH v3 6/8] dt-bindings: clock: samsung: convert Exynos AudSS " Krzysztof Kozlowski
2021-08-25 18:00 ` Rob Herring
2021-08-29 7:08 ` Stephen Boyd
2021-08-25 13:42 ` [PATCH v3 7/8] dt-bindings: clock: samsung: convert S5Pv210 " Krzysztof Kozlowski
2021-08-25 18:00 ` Rob Herring
2021-08-29 7:08 ` Stephen Boyd
2021-08-25 13:42 ` [PATCH v3 8/8] MAINTAINERS: clock: include S3C and S5P in Samsung SoC clock entry Krzysztof Kozlowski
2021-08-29 7:08 ` Stephen Boyd
2021-08-25 18:00 ` [PATCH v3 5/8] dt-bindings: clock: samsung: convert Exynos4 to dtschema Rob Herring
2021-08-29 7:06 ` Stephen Boyd
2021-08-31 12:36 ` Rob Herring
2021-08-31 13:03 ` Krzysztof Kozlowski
2021-08-29 7:09 ` [PATCH v3 0/8] dt-bindings: clock: samsung: convert " Stephen Boyd
2021-08-30 6:52 ` 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).