* [PATCH v1] riscv: dts: starfive: Add PMU controller node
@ 2023-04-17 3:47 Walker Chen
2023-05-07 22:02 ` Conor Dooley
0 siblings, 1 reply; 2+ messages in thread
From: Walker Chen @ 2023-04-17 3:47 UTC (permalink / raw)
To: Conor Dooley, Emil Renner Berthing, Krzysztof Kozlowski,
Rob Herring, Hal Feng
Cc: linux-riscv, linux-kernel, devicetree, Walker Chen
Add the pmu controller node for the StarFive JH7110 SoC. The PMU needs
to be used by other modules, e.g. VPU,ISP,etc.
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Hal Feng <hal.feng@starfivetech.com>
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
---
This patch is based on:
https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/commit/?h=riscv-dt-for-v6.4&id=60bf0a39842eb042bbdc4539285c7e524011fc2d
---
arch/riscv/boot/dts/starfive/jh7110.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi
index 4c5fdb905da8..30e1f34d5cf8 100644
--- a/arch/riscv/boot/dts/starfive/jh7110.dtsi
+++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi
@@ -496,5 +496,12 @@
gpio-controller;
#gpio-cells = <2>;
};
+
+ pwrc: power-controller@17030000 {
+ compatible = "starfive,jh7110-pmu";
+ reg = <0x0 0x17030000 0x0 0x10000>;
+ interrupts = <111>;
+ #power-domain-cells = <1>;
+ };
};
};
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] riscv: dts: starfive: Add PMU controller node
2023-04-17 3:47 [PATCH v1] riscv: dts: starfive: Add PMU controller node Walker Chen
@ 2023-05-07 22:02 ` Conor Dooley
0 siblings, 0 replies; 2+ messages in thread
From: Conor Dooley @ 2023-05-07 22:02 UTC (permalink / raw)
To: Conor Dooley, Emil Renner Berthing, Krzysztof Kozlowski,
Rob Herring, Hal Feng, Walker Chen
Cc: Conor Dooley, linux-riscv, linux-kernel, devicetree
From: Conor Dooley <conor.dooley@microchip.com>
On Mon, 17 Apr 2023 11:47:28 +0800, Walker Chen wrote:
> Add the pmu controller node for the StarFive JH7110 SoC. The PMU needs
> to be used by other modules, e.g. VPU,ISP,etc.
>
>
Applied to riscv-dt-for-next, thanks!
[1/1] riscv: dts: starfive: Add PMU controller node
https://git.kernel.org/conor/c/6a887bcc4138
Thanks,
Conor.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-07 22:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-17 3:47 [PATCH v1] riscv: dts: starfive: Add PMU controller node Walker Chen
2023-05-07 22:02 ` Conor Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).