diff mbox series

[v6,2/2] MIPS: Loongson64: DTS: Add pm block node for Loongson-2K1000

Message ID 20210630065103.23665-2-zhangqing@loongson.cn (mailing list archive)
State Superseded
Headers show
Series [v6,1/2] MIPS: Loongson64: Add Loongson-2K1000 reset platform driver | expand

Commit Message

Qing Zhang June 30, 2021, 6:51 a.m. UTC
The module is now supported, enable it.

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

Comments

Jiaxun Yang June 30, 2021, 8:20 a.m. UTC | #1
在 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 <zhangqing@loongson.cn>
> ---
>   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>,
Qing Zhang June 30, 2021, 12:34 p.m. UTC | #2
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 <zhangqing@loongson.cn>
>> ---
>>   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>,
diff mbox series

Patch

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