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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 1 Nov 2021 at 23:18, <jae.hyun.yoo@xxxxxxxxx> wrote:
>
> From: Jae Hyun Yoo <jae.hyun.yoo@xxxxxxxxxxxxxxx>
>
> Add LCLK clock setting into LPC KCS nodes to enable the LCLK by
> individual LPC sub drivers.
>
> Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@xxxxxxxxxxxxxxx>

Reviewed-by: Joel Stanley <joel@xxxxxxxxx>

> ---
>  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
>



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux