* [PATCH v2 0/2] arm64: dts: rockchip: Add rk3528 QoS register node
@ 2025-03-06 12:38 Chukun Pan
2025-03-06 12:38 ` [PATCH v2 1/2] dt-bindings: mfd: syscon: Add rk3528 QoS register compatible Chukun Pan
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Chukun Pan @ 2025-03-06 12:38 UTC (permalink / raw)
To: Yao Zi
Cc: Lee Jones, Rob Herring, Heiko Stuebner, Conor Dooley,
Krzysztof Kozlowski, linux-arm-kernel, linux-rockchip,
linux-kernel, devicetree, Chukun Pan
Changes in v2:
Improve commit message
Add missing QoS compatible in DT
Chukun Pan (2):
dt-bindings: mfd: syscon: Add rk3528 QoS register compatible
arm64: dts: rockchip: Add rk3528 QoS register node
.../devicetree/bindings/mfd/syscon.yaml | 2 +
arch/arm64/boot/dts/rockchip/rk3528.dtsi | 160 ++++++++++++++++++
2 files changed, 162 insertions(+)
--
2.25.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 1/2] dt-bindings: mfd: syscon: Add rk3528 QoS register compatible
2025-03-06 12:38 [PATCH v2 0/2] arm64: dts: rockchip: Add rk3528 QoS register node Chukun Pan
@ 2025-03-06 12:38 ` Chukun Pan
2025-03-06 16:32 ` Conor Dooley
2025-03-13 16:56 ` (subset) " Lee Jones
2025-03-06 12:38 ` [PATCH v2 2/2] arm64: dts: rockchip: Add rk3528 QoS register node Chukun Pan
2025-03-08 17:32 ` [PATCH v2 0/2] " Heiko Stuebner
2 siblings, 2 replies; 9+ messages in thread
From: Chukun Pan @ 2025-03-06 12:38 UTC (permalink / raw)
To: Yao Zi
Cc: Lee Jones, Rob Herring, Heiko Stuebner, Conor Dooley,
Krzysztof Kozlowski, linux-arm-kernel, linux-rockchip,
linux-kernel, devicetree, Chukun Pan
Document rk3528 compatible for QoS registers.
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
---
Documentation/devicetree/bindings/mfd/syscon.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
index 4d67ff26d445..2836e4793afc 100644
--- a/Documentation/devicetree/bindings/mfd/syscon.yaml
+++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
@@ -103,6 +103,7 @@ select:
- rockchip,rk3288-qos
- rockchip,rk3368-qos
- rockchip,rk3399-qos
+ - rockchip,rk3528-qos
- rockchip,rk3562-qos
- rockchip,rk3568-qos
- rockchip,rk3576-qos
@@ -202,6 +203,7 @@ properties:
- rockchip,rk3288-qos
- rockchip,rk3368-qos
- rockchip,rk3399-qos
+ - rockchip,rk3528-qos
- rockchip,rk3562-qos
- rockchip,rk3568-qos
- rockchip,rk3576-qos
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v2 2/2] arm64: dts: rockchip: Add rk3528 QoS register node
2025-03-06 12:38 [PATCH v2 0/2] arm64: dts: rockchip: Add rk3528 QoS register node Chukun Pan
2025-03-06 12:38 ` [PATCH v2 1/2] dt-bindings: mfd: syscon: Add rk3528 QoS register compatible Chukun Pan
@ 2025-03-06 12:38 ` Chukun Pan
2025-03-06 16:55 ` Jonas Karlman
2025-03-08 17:32 ` [PATCH v2 0/2] " Heiko Stuebner
2 siblings, 1 reply; 9+ messages in thread
From: Chukun Pan @ 2025-03-06 12:38 UTC (permalink / raw)
To: Yao Zi
Cc: Lee Jones, Rob Herring, Heiko Stuebner, Conor Dooley,
Krzysztof Kozlowski, linux-arm-kernel, linux-rockchip,
linux-kernel, devicetree, Chukun Pan
The Quality-of-Service (QsS) node stores/restores specific
register contents when the power domains is turned off/on.
Add QoS node so that they can connect to the power domain.
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
---
arch/arm64/boot/dts/rockchip/rk3528.dtsi | 160 +++++++++++++++++++++++
1 file changed, 160 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3528.dtsi b/arch/arm64/boot/dts/rockchip/rk3528.dtsi
index b1713ed4d7e2..0c0e7f151462 100644
--- a/arch/arm64/boot/dts/rockchip/rk3528.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3528.dtsi
@@ -129,6 +129,166 @@ gic: interrupt-controller@fed01000 {
#interrupt-cells = <3>;
};
+ qos_crypto_a: qos@ff200000 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff200000 0x0 0x20>;
+ };
+
+ qos_crypto_p: qos@ff200080 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff200080 0x0 0x20>;
+ };
+
+ qos_dcf: qos@ff200100 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff200100 0x0 0x20>;
+ };
+
+ qos_dft2apb: qos@ff200200 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff200200 0x0 0x20>;
+ };
+
+ qos_dma2ddr: qos@ff200280 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff200280 0x0 0x20>;
+ };
+
+ qos_dmac: qos@ff200300 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff200300 0x0 0x20>;
+ };
+
+ qos_keyreader: qos@ff200380 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff200380 0x0 0x20>;
+ };
+
+ qos_cpu: qos@ff210000 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff210000 0x0 0x20>;
+ };
+
+ qos_debug: qos@ff210080 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff210080 0x0 0x20>;
+ };
+
+ qos_gpu_m0: qos@ff220000 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff220000 0x0 0x20>;
+ };
+
+ qos_gpu_m1: qos@ff220080 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff220080 0x0 0x20>;
+ };
+
+ qos_pmu_mcu: qos@ff240000 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff240000 0x0 0x20>;
+ };
+
+ qos_rkvdec: qos@ff250000 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff250000 0x0 0x20>;
+ };
+
+ qos_rkvenc: qos@ff260000 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff260000 0x0 0x20>;
+ };
+
+ qos_gmac0: qos@ff270000 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff270000 0x0 0x20>;
+ };
+
+ qos_hdcp: qos@ff270080 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff270080 0x0 0x20>;
+ };
+
+ qos_jpegdec: qos@ff270100 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff270100 0x0 0x20>;
+ };
+
+ qos_rga2_m0ro: qos@ff270200 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff270200 0x0 0x20>;
+ };
+
+ qos_rga2_m0wo: qos@ff270280 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff270280 0x0 0x20>;
+ };
+
+ qos_sdmmc0: qos@ff270300 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff270300 0x0 0x20>;
+ };
+
+ qos_usb2host: qos@ff270380 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff270380 0x0 0x20>;
+ };
+
+ qos_vdpp: qos@ff270480 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff270480 0x0 0x20>;
+ };
+
+ qos_vop: qos@ff270500 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff270500 0x0 0x20>;
+ };
+
+ qos_emmc: qos@ff280000 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff280000 0x0 0x20>;
+ };
+
+ qos_fspi: qos@ff280080 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff280080 0x0 0x20>;
+ };
+
+ qos_gmac1: qos@ff280100 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff280100 0x0 0x20>;
+ };
+
+ qos_pcie: qos@ff280180 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff280180 0x0 0x20>;
+ };
+
+ qos_sdio0: qos@ff280200 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff280200 0x0 0x20>;
+ };
+
+ qos_sdio1: qos@ff280280 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff280280 0x0 0x20>;
+ };
+
+ qos_tsp: qos@ff280300 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff280300 0x0 0x20>;
+ };
+
+ qos_usb3otg: qos@ff280380 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff280380 0x0 0x20>;
+ };
+
+ qos_vpu: qos@ff280400 {
+ compatible = "rockchip,rk3528-qos", "syscon";
+ reg = <0x0 0xff280400 0x0 0x20>;
+ };
+
cru: clock-controller@ff4a0000 {
compatible = "rockchip,rk3528-cru";
reg = <0x0 0xff4a0000 0x0 0x30000>;
--
2.25.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: mfd: syscon: Add rk3528 QoS register compatible
2025-03-06 12:38 ` [PATCH v2 1/2] dt-bindings: mfd: syscon: Add rk3528 QoS register compatible Chukun Pan
@ 2025-03-06 16:32 ` Conor Dooley
2025-03-13 16:56 ` (subset) " Lee Jones
1 sibling, 0 replies; 9+ messages in thread
From: Conor Dooley @ 2025-03-06 16:32 UTC (permalink / raw)
To: Chukun Pan
Cc: Yao Zi, Lee Jones, Rob Herring, Heiko Stuebner, Conor Dooley,
Krzysztof Kozlowski, linux-arm-kernel, linux-rockchip,
linux-kernel, devicetree
[-- Attachment #1: Type: text/plain, Size: 1199 bytes --]
On Thu, Mar 06, 2025 at 08:38:08PM +0800, Chukun Pan wrote:
> Document rk3528 compatible for QoS registers.
>
> Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> Documentation/devicetree/bindings/mfd/syscon.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
> index 4d67ff26d445..2836e4793afc 100644
> --- a/Documentation/devicetree/bindings/mfd/syscon.yaml
> +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
> @@ -103,6 +103,7 @@ select:
> - rockchip,rk3288-qos
> - rockchip,rk3368-qos
> - rockchip,rk3399-qos
> + - rockchip,rk3528-qos
> - rockchip,rk3562-qos
> - rockchip,rk3568-qos
> - rockchip,rk3576-qos
> @@ -202,6 +203,7 @@ properties:
> - rockchip,rk3288-qos
> - rockchip,rk3368-qos
> - rockchip,rk3399-qos
> + - rockchip,rk3528-qos
> - rockchip,rk3562-qos
> - rockchip,rk3568-qos
> - rockchip,rk3576-qos
> --
> 2.25.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 2/2] arm64: dts: rockchip: Add rk3528 QoS register node
2025-03-06 12:38 ` [PATCH v2 2/2] arm64: dts: rockchip: Add rk3528 QoS register node Chukun Pan
@ 2025-03-06 16:55 ` Jonas Karlman
2025-03-06 18:08 ` Heiko Stübner
0 siblings, 1 reply; 9+ messages in thread
From: Jonas Karlman @ 2025-03-06 16:55 UTC (permalink / raw)
To: Chukun Pan
Cc: Yao Zi, Lee Jones, Rob Herring, Heiko Stuebner, Conor Dooley,
Krzysztof Kozlowski, linux-arm-kernel, linux-rockchip,
linux-kernel, devicetree
Hi Chukun,
On 2025-03-06 13:38, Chukun Pan wrote:
> The Quality-of-Service (QsS) node stores/restores specific
> register contents when the power domains is turned off/on.
> Add QoS node so that they can connect to the power domain.
>
> Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
> ---
> arch/arm64/boot/dts/rockchip/rk3528.dtsi | 160 +++++++++++++++++++++++
> 1 file changed, 160 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3528.dtsi b/arch/arm64/boot/dts/rockchip/rk3528.dtsi
> index b1713ed4d7e2..0c0e7f151462 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3528.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3528.dtsi
> @@ -129,6 +129,166 @@ gic: interrupt-controller@fed01000 {
> #interrupt-cells = <3>;
> };
>
> + qos_crypto_a: qos@ff200000 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff200000 0x0 0x20>;
> + };
> +
> + qos_crypto_p: qos@ff200080 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff200080 0x0 0x20>;
> + };
> +
> + qos_dcf: qos@ff200100 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff200100 0x0 0x20>;
> + };
> +
> + qos_dft2apb: qos@ff200200 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff200200 0x0 0x20>;
> + };
> +
> + qos_dma2ddr: qos@ff200280 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff200280 0x0 0x20>;
> + };
> +
> + qos_dmac: qos@ff200300 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff200300 0x0 0x20>;
> + };
> +
> + qos_keyreader: qos@ff200380 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff200380 0x0 0x20>;
> + };
> +
> + qos_cpu: qos@ff210000 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff210000 0x0 0x20>;
> + };
> +
> + qos_debug: qos@ff210080 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff210080 0x0 0x20>;
> + };
> +
> + qos_gpu_m0: qos@ff220000 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff220000 0x0 0x20>;
> + };
> +
> + qos_gpu_m1: qos@ff220080 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff220080 0x0 0x20>;
> + };
> +
> + qos_pmu_mcu: qos@ff240000 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff240000 0x0 0x20>;
> + };
> +
> + qos_rkvdec: qos@ff250000 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff250000 0x0 0x20>;
> + };
> +
> + qos_rkvenc: qos@ff260000 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff260000 0x0 0x20>;
> + };
> +
> + qos_gmac0: qos@ff270000 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff270000 0x0 0x20>;
> + };
> +
> + qos_hdcp: qos@ff270080 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff270080 0x0 0x20>;
> + };
> +
> + qos_jpegdec: qos@ff270100 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff270100 0x0 0x20>;
> + };
> +
> + qos_rga2_m0ro: qos@ff270200 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff270200 0x0 0x20>;
> + };
> +
> + qos_rga2_m0wo: qos@ff270280 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff270280 0x0 0x20>;
> + };
> +
> + qos_sdmmc0: qos@ff270300 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff270300 0x0 0x20>;
> + };
> +
> + qos_usb2host: qos@ff270380 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff270380 0x0 0x20>;
> + };
> +
> + qos_vdpp: qos@ff270480 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff270480 0x0 0x20>;
> + };
> +
> + qos_vop: qos@ff270500 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff270500 0x0 0x20>;
> + };
> +
> + qos_emmc: qos@ff280000 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff280000 0x0 0x20>;
> + };
> +
> + qos_fspi: qos@ff280080 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff280080 0x0 0x20>;
> + };
> +
> + qos_gmac1: qos@ff280100 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff280100 0x0 0x20>;
> + };
> +
> + qos_pcie: qos@ff280180 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff280180 0x0 0x20>;
> + };
> +
> + qos_sdio0: qos@ff280200 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff280200 0x0 0x20>;
> + };
> +
> + qos_sdio1: qos@ff280280 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff280280 0x0 0x20>;
> + };
> +
> + qos_tsp: qos@ff280300 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff280300 0x0 0x20>;
> + };
> +
> + qos_usb3otg: qos@ff280380 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff280380 0x0 0x20>;
> + };
> +
> + qos_vpu: qos@ff280400 {
> + compatible = "rockchip,rk3528-qos", "syscon";
> + reg = <0x0 0xff280400 0x0 0x20>;
> + };
These QoS node are typically referenced from power domains so that the
PMU driver know what QoS to save/restore when a power domain is power
cycled.
Vendor kernel only reference the two qos_gpu nodes in it's power domains,
do you have any documentation or knowledge about what power domain the
remaining QoS are related to?
It would have been helpful to include PMU support to help understand the
QoS <-> PD relationship, on their own they do not tell us that much :-)
Regards,
Jonas
> +
> cru: clock-controller@ff4a0000 {
> compatible = "rockchip,rk3528-cru";
> reg = <0x0 0xff4a0000 0x0 0x30000>;
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 2/2] arm64: dts: rockchip: Add rk3528 QoS register node
2025-03-06 16:55 ` Jonas Karlman
@ 2025-03-06 18:08 ` Heiko Stübner
2025-03-06 23:07 ` Jonas Karlman
0 siblings, 1 reply; 9+ messages in thread
From: Heiko Stübner @ 2025-03-06 18:08 UTC (permalink / raw)
To: Chukun Pan, Jonas Karlman
Cc: Yao Zi, Lee Jones, Rob Herring, Conor Dooley, Krzysztof Kozlowski,
linux-arm-kernel, linux-rockchip, linux-kernel, devicetree
Am Donnerstag, 6. März 2025, 17:55:16 MEZ schrieb Jonas Karlman:
> Hi Chukun,
>
> On 2025-03-06 13:38, Chukun Pan wrote:
> > The Quality-of-Service (QsS) node stores/restores specific
> > register contents when the power domains is turned off/on.
> > Add QoS node so that they can connect to the power domain.
> >
> > Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
> > ---
> > arch/arm64/boot/dts/rockchip/rk3528.dtsi | 160 +++++++++++++++++++++++
> > 1 file changed, 160 insertions(+)
> >
>
> These QoS node are typically referenced from power domains so that the
> PMU driver know what QoS to save/restore when a power domain is power
> cycled.
>
> Vendor kernel only reference the two qos_gpu nodes in it's power domains,
> do you have any documentation or knowledge about what power domain the
> remaining QoS are related to?
I think the GPU actually is the _only_ fully switchable power-domain on the
rk3528. The other powerdomains seem to be always on, but can do this
idle-request thing.
At least that is what I'm reading from the pm-domain definitions in the
vendor-kernel, combined with a look at the pmu section of the rk3528 TRM.
Heiko
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 2/2] arm64: dts: rockchip: Add rk3528 QoS register node
2025-03-06 18:08 ` Heiko Stübner
@ 2025-03-06 23:07 ` Jonas Karlman
0 siblings, 0 replies; 9+ messages in thread
From: Jonas Karlman @ 2025-03-06 23:07 UTC (permalink / raw)
To: Heiko Stübner, Chukun Pan
Cc: Yao Zi, Lee Jones, Rob Herring, Conor Dooley, Krzysztof Kozlowski,
linux-arm-kernel, linux-rockchip, linux-kernel, devicetree
On 2025-03-06 19:08, Heiko Stübner wrote:
> Am Donnerstag, 6. März 2025, 17:55:16 MEZ schrieb Jonas Karlman:
>> Hi Chukun,
>>
>> On 2025-03-06 13:38, Chukun Pan wrote:
>>> The Quality-of-Service (QsS) node stores/restores specific
>>> register contents when the power domains is turned off/on.
>>> Add QoS node so that they can connect to the power domain.
>>>
>>> Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
>>> ---
>>> arch/arm64/boot/dts/rockchip/rk3528.dtsi | 160 +++++++++++++++++++++++
>>> 1 file changed, 160 insertions(+)
>>>
>
>>
>> These QoS node are typically referenced from power domains so that the
>> PMU driver know what QoS to save/restore when a power domain is power
>> cycled.
>>
>> Vendor kernel only reference the two qos_gpu nodes in it's power domains,
>> do you have any documentation or knowledge about what power domain the
>> remaining QoS are related to?
>
> I think the GPU actually is the _only_ fully switchable power-domain on the
> rk3528. The other powerdomains seem to be always on, but can do this
> idle-request thing.
>
> At least that is what I'm reading from the pm-domain definitions in the
> vendor-kernel, combined with a look at the pmu section of the rk3528 TRM.
Thanks for this information.
Regards,
Jonas
>
>
> Heiko
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 0/2] arm64: dts: rockchip: Add rk3528 QoS register node
2025-03-06 12:38 [PATCH v2 0/2] arm64: dts: rockchip: Add rk3528 QoS register node Chukun Pan
2025-03-06 12:38 ` [PATCH v2 1/2] dt-bindings: mfd: syscon: Add rk3528 QoS register compatible Chukun Pan
2025-03-06 12:38 ` [PATCH v2 2/2] arm64: dts: rockchip: Add rk3528 QoS register node Chukun Pan
@ 2025-03-08 17:32 ` Heiko Stuebner
2 siblings, 0 replies; 9+ messages in thread
From: Heiko Stuebner @ 2025-03-08 17:32 UTC (permalink / raw)
To: Yao Zi, Chukun Pan
Cc: Heiko Stuebner, Lee Jones, Rob Herring, Conor Dooley,
Krzysztof Kozlowski, linux-arm-kernel, linux-rockchip,
linux-kernel, devicetree
On Thu, 06 Mar 2025 20:38:07 +0800, Chukun Pan wrote:
> Changes in v2:
> Improve commit message
> Add missing QoS compatible in DT
>
> Chukun Pan (2):
> dt-bindings: mfd: syscon: Add rk3528 QoS register compatible
> arm64: dts: rockchip: Add rk3528 QoS register node
>
> [...]
Applied, thanks!
[1/2] dt-bindings: mfd: syscon: Add rk3528 QoS register compatible
commit: 19a634195c1abe498798b564cd6b81e6dd4533f7
[2/2] arm64: dts: rockchip: Add rk3528 QoS register node
commit: 61a05d8ca3030a544175671f5fab7a8f29c24085
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: (subset) [PATCH v2 1/2] dt-bindings: mfd: syscon: Add rk3528 QoS register compatible
2025-03-06 12:38 ` [PATCH v2 1/2] dt-bindings: mfd: syscon: Add rk3528 QoS register compatible Chukun Pan
2025-03-06 16:32 ` Conor Dooley
@ 2025-03-13 16:56 ` Lee Jones
1 sibling, 0 replies; 9+ messages in thread
From: Lee Jones @ 2025-03-13 16:56 UTC (permalink / raw)
To: Yao Zi, Chukun Pan
Cc: Lee Jones, Rob Herring, Heiko Stuebner, Conor Dooley,
Krzysztof Kozlowski, linux-arm-kernel, linux-rockchip,
linux-kernel, devicetree
On Thu, 06 Mar 2025 20:38:08 +0800, Chukun Pan wrote:
> Document rk3528 compatible for QoS registers.
>
>
Applied, thanks!
[1/2] dt-bindings: mfd: syscon: Add rk3528 QoS register compatible
commit: 1c313607416052414ce94bc9bb27b688741cb30d
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-03-13 16:56 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-06 12:38 [PATCH v2 0/2] arm64: dts: rockchip: Add rk3528 QoS register node Chukun Pan
2025-03-06 12:38 ` [PATCH v2 1/2] dt-bindings: mfd: syscon: Add rk3528 QoS register compatible Chukun Pan
2025-03-06 16:32 ` Conor Dooley
2025-03-13 16:56 ` (subset) " Lee Jones
2025-03-06 12:38 ` [PATCH v2 2/2] arm64: dts: rockchip: Add rk3528 QoS register node Chukun Pan
2025-03-06 16:55 ` Jonas Karlman
2025-03-06 18:08 ` Heiko Stübner
2025-03-06 23:07 ` Jonas Karlman
2025-03-08 17:32 ` [PATCH v2 0/2] " Heiko Stuebner
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).