2021-06-30 06:53:00

by Qing Zhang

[permalink] [raw]
Subject: [PATCH v6 2/2] MIPS: Loongson64: DTS: Add pm block node for Loongson-2K1000

The module is now supported, enable it.

Signed-off-by: Qing Zhang <[email protected]>
---
arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
index 569e814def83..8f469b623740 100644
--- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
+++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
@@ -52,6 +52,11 @@ package0: bus@10000000 {
0 0x40000000 0 0x40000000 0 0x40000000
0xfe 0x00000000 0xfe 0x00000000 0 0x40000000>;

+ pm: power-controller@1fe07000 {
+ compatible = "loongson,ls2k-pm";
+ reg = <0 0x1fe07000 0 0x422>;
+ };
+
liointc0: interrupt-controller@1fe11400 {
compatible = "loongson,liointc-2.0";
reg = <0 0x1fe11400 0 0x40>,
--
2.31.0


2021-06-30 08:21:58

by Jiaxun Yang

[permalink] [raw]
Subject: Re: [PATCH v6 2/2] MIPS: Loongson64: DTS: Add pm block node for Loongson-2K1000


?? 2021/6/30 14:51, Qing Zhang д??:
> The module is now supported, enable it.

Oh, you forgot binding document.

Thanks.

- Jiaxun

>
> Signed-off-by: Qing Zhang <[email protected]>
> ---
> arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
> index 569e814def83..8f469b623740 100644
> --- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
> +++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
> @@ -52,6 +52,11 @@ package0: bus@10000000 {
> 0 0x40000000 0 0x40000000 0 0x40000000
> 0xfe 0x00000000 0xfe 0x00000000 0 0x40000000>;
>
> + pm: power-controller@1fe07000 {
> + compatible = "loongson,ls2k-pm";
> + reg = <0 0x1fe07000 0 0x422>;
> + };
> +
> liointc0: interrupt-controller@1fe11400 {
> compatible = "loongson,liointc-2.0";
> reg = <0 0x1fe11400 0 0x40>,

2021-06-30 12:35:55

by Qing Zhang

[permalink] [raw]
Subject: Re: [PATCH v6 2/2] MIPS: Loongson64: DTS: Add pm block node for Loongson-2K1000



On 06/30/2021 04:20 PM, Jiaxun Yang wrote:
>
> 在 2021/6/30 14:51, Qing Zhang 写道:
>> The module is now supported, enable it.
>
> Oh, you forgot binding document.

oh, I forgot a patch... :
I'll send it make RESEND.

Thanks,

-Qing

>
> Thanks.
>
> - Jiaxun
>
>>
>> Signed-off-by: Qing Zhang <[email protected]>
>> ---
>> arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 5 +++++
>> 1 file changed, 5 insertions(+)
>>
>> diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
>> b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
>> index 569e814def83..8f469b623740 100644
>> --- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
>> +++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
>> @@ -52,6 +52,11 @@ package0: bus@10000000 {
>> 0 0x40000000 0 0x40000000 0 0x40000000
>> 0xfe 0x00000000 0xfe 0x00000000 0 0x40000000>;
>> + pm: power-controller@1fe07000 {
>> + compatible = "loongson,ls2k-pm";
>> + reg = <0 0x1fe07000 0 0x422>;
>> + };
>> +
>> liointc0: interrupt-controller@1fe11400 {
>> compatible = "loongson,liointc-2.0";
>> reg = <0 0x1fe11400 0 0x40>,