2021-11-15 09:31:25

by Sugaya Taichi

[permalink] [raw]
Subject: [PATCH v2 0/4] Add clock node and phandles for M10V platform

This series add a clock node of Milbeaut driver and clock phandles
to clock consumer nodes.

Changes:
from v1
-fix wrong property name "clock" to "clocks"
-add milbeaut MAINTAINERS

Sugaya Taichi (4):
ARM: dts: milbeaut: add a clock node for M10V
ARM: dts: milbeaut: set clock phandle to timer node
ARM: dts: milbeaut: set clock phandle to uart node
MAINTAINERS: Add entry to MAINTAINERS for Milbeaut

MAINTAINERS | 9 +++++++++
arch/arm/boot/dts/milbeaut-m10v.dtsi | 9 +++++++++
2 files changed, 18 insertions(+)

--
2.7.4



2021-11-15 09:31:39

by Sugaya Taichi

[permalink] [raw]
Subject: [PATCH v2 1/4] ARM: dts: milbeaut: add a clock node for M10V

Add a clock node for the platform of the Milbeaut M10V.

Signed-off-by: Sugaya Taichi <[email protected]>
---
arch/arm/boot/dts/milbeaut-m10v.dtsi | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/milbeaut-m10v.dtsi b/arch/arm/boot/dts/milbeaut-m10v.dtsi
index aa7c6ca..28aee25 100644
--- a/arch/arm/boot/dts/milbeaut-m10v.dtsi
+++ b/arch/arm/boot/dts/milbeaut-m10v.dtsi
@@ -65,6 +65,13 @@
<0x1d002000 0x1000>; /* CPU I/f base and size */
};

+ clk: clock-ctrl@1d021000 {
+ compatible = "socionext,milbeaut-m10v-ccu";
+ #clock-cells = <1>;
+ reg = <0x1d021000 0x1000>;
+ clocks = <&uclk40xi>;
+ };
+
timer@1e000050 { /* 32-bit Reload Timers */
compatible = "socionext,milbeaut-timer";
reg = <0x1e000050 0x20>;
--
2.7.4


2021-11-15 09:31:52

by Sugaya Taichi

[permalink] [raw]
Subject: [PATCH v2 2/4] ARM: dts: milbeaut: set clock phandle to timer node

Set clock phandle to timer node for Milbeaut M10V support.

Signed-off-by: Sugaya Taichi <[email protected]>
---
arch/arm/boot/dts/milbeaut-m10v.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/milbeaut-m10v.dtsi b/arch/arm/boot/dts/milbeaut-m10v.dtsi
index 28aee25..9f70784 100644
--- a/arch/arm/boot/dts/milbeaut-m10v.dtsi
+++ b/arch/arm/boot/dts/milbeaut-m10v.dtsi
@@ -76,6 +76,7 @@
compatible = "socionext,milbeaut-timer";
reg = <0x1e000050 0x20>;
interrupts = <0 91 4>;
+ clocks = <&clk 4>;
};

uart1: serial@1e700010 { /* PE4, PE5 */
--
2.7.4


2021-11-15 09:32:34

by Sugaya Taichi

[permalink] [raw]
Subject: [PATCH v2 4/4] MAINTAINERS: Add entry to MAINTAINERS for Milbeaut

Add entry to MAINTAINERS for Milbeaut that supported minimal drivers.

Signed-off-by: Sugaya Taichi <[email protected]>
---
MAINTAINERS | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index 7a2345c..a9387cc 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2263,6 +2263,15 @@ L: [email protected]
S: Maintained
F: drivers/counter/microchip-tcb-capture.c

+ARM/MILBEAUT ARCHITECTURE
+M: Taichi Sugaya <[email protected]>
+M: Takao Orito <[email protected]>
+L: [email protected] (moderated for non-subscribers)
+S: Maintained
+F: arch/arm/boot/dts/milbeaut*
+F: arch/arm/mach-milbeaut/
+N: milbeaut
+
ARM/MIOA701 MACHINE SUPPORT
M: Robert Jarzmik <[email protected]>
L: [email protected] (moderated for non-subscribers)
--
2.7.4


2021-11-15 09:32:53

by Sugaya Taichi

[permalink] [raw]
Subject: [PATCH v2 3/4] ARM: dts: milbeaut: set clock phandle to uart node

Set clock phandle to uart node for Milbeaut M10V support.

Signed-off-by: Sugaya Taichi <[email protected]>
---
arch/arm/boot/dts/milbeaut-m10v.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/milbeaut-m10v.dtsi b/arch/arm/boot/dts/milbeaut-m10v.dtsi
index 9f70784..75f0c0a 100644
--- a/arch/arm/boot/dts/milbeaut-m10v.dtsi
+++ b/arch/arm/boot/dts/milbeaut-m10v.dtsi
@@ -85,6 +85,7 @@
reg = <0x1e700010 0x10>;
interrupts = <0 141 0x4>, <0 149 0x4>;
interrupt-names = "rx", "tx";
+ clocks = <&clk 2>;
};

};
--
2.7.4