Thread (33 messages) 33 messages, 8 authors, 2021-11-04

Re: [PATCH -next 3/4] ARM: dts: aspeed: add LCLK setting into LPC KCS nodes

From: Joel Stanley <joel@jms.id.au>
Date: 2021-11-01 23:34:25
Also in: linux-arm-kernel, linux-aspeed

On Mon, 1 Nov 2021 at 23:18, [off-list ref] wrote:
From: Jae Hyun Yoo <redacted>

Add LCLK clock setting into LPC KCS nodes to enable the LCLK by
individual LPC sub drivers.

Signed-off-by: Jae Hyun Yoo <redacted>
Reviewed-by: Joel Stanley <joel@jms.id.au>
quoted hunk ↗ jump to hunk
---
 arch/arm/boot/dts/aspeed-g5.dtsi | 4 ++++
 arch/arm/boot/dts/aspeed-g6.dtsi | 4 ++++
 2 files changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index d0cc4be2de59..7495f93c5069 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -446,6 +446,7 @@ kcs1: kcs@24 {
                                        compatible = "aspeed,ast2500-kcs-bmc-v2";
                                        reg = <0x24 0x1>, <0x30 0x1>, <0x3c 0x1>;
                                        interrupts = <8>;
+                                       clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
                                        status = "disabled";
                                };
@@ -453,6 +454,7 @@ kcs2: kcs@28 {
                                        compatible = "aspeed,ast2500-kcs-bmc-v2";
                                        reg = <0x28 0x1>, <0x34 0x1>, <0x40 0x1>;
                                        interrupts = <8>;
+                                       clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
                                        status = "disabled";
                                };
@@ -460,6 +462,7 @@ kcs3: kcs@2c {
                                        compatible = "aspeed,ast2500-kcs-bmc-v2";
                                        reg = <0x2c 0x1>, <0x38 0x1>, <0x44 0x1>;
                                        interrupts = <8>;
+                                       clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
                                        status = "disabled";
                                };
@@ -467,6 +470,7 @@ kcs4: kcs@114 {
                                        compatible = "aspeed,ast2500-kcs-bmc-v2";
                                        reg = <0x114 0x1>, <0x118 0x1>, <0x11c 0x1>;
                                        interrupts = <8>;
+                                       clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
                                        status = "disabled";
                                };
diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi
index 465c3549fdc3..891b862363a7 100644
--- a/arch/arm/boot/dts/aspeed-g6.dtsi
+++ b/arch/arm/boot/dts/aspeed-g6.dtsi
@@ -520,6 +520,7 @@ kcs1: kcs@24 {
                                        compatible = "aspeed,ast2500-kcs-bmc-v2";
                                        reg = <0x24 0x1>, <0x30 0x1>, <0x3c 0x1>;
                                        interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
+                                       clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
                                        kcs_chan = <1>;
                                        status = "disabled";
                                };
@@ -528,6 +529,7 @@ kcs2: kcs@28 {
                                        compatible = "aspeed,ast2500-kcs-bmc-v2";
                                        reg = <0x28 0x1>, <0x34 0x1>, <0x40 0x1>;
                                        interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
+                                       clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
                                        status = "disabled";
                                };
@@ -535,6 +537,7 @@ kcs3: kcs@2c {
                                        compatible = "aspeed,ast2500-kcs-bmc-v2";
                                        reg = <0x2c 0x1>, <0x38 0x1>, <0x44 0x1>;
                                        interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
+                                       clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
                                        status = "disabled";
                                };
@@ -542,6 +545,7 @@ kcs4: kcs@114 {
                                        compatible = "aspeed,ast2500-kcs-bmc-v2";
                                        reg = <0x114 0x1>, <0x118 0x1>, <0x11c 0x1>;
                                        interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
+                                       clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
                                        status = "disabled";
                                };

--
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help