[PATCH 2/2] arm64: dts: rockchip: Add rk3528 QoS register node

Krzysztof Kozlowski krzk at kernel.org
Wed Mar 5 07:41:23 PST 2025


On 05/03/2025 15:00, Chukun Pan wrote:
> Copy QoS nodes and add rk3528 compatible from bsp kernel,

No, don't copy stuff from BSP kernel. It results in terrible DTS.

> these can be used for power-domain.
> 
> Signed-off-by: Chukun Pan <amadeus at 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 5b334690356a..794f35654975 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3528.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3528.dtsi
> @@ -122,6 +122,166 @@ gic: interrupt-controller at fed01000 {
>  			#interrupt-cells = <3>;
>  		};
>  
> +		qos_crypto_a: qos at ff200000 {
> +			compatible = "rockchip,rk3528-qos", "syscon";
> +			reg = <0x0 0xff200000 0x0 0x20>;
> +		};
> +
> +		qos_crypto_p: qos at ff200080 {
> +			compatible = "rockchip,rk3528-qos", "syscon";
> +			reg = <0x0 0xff200080 0x0 0x20>;
> +		};


Did you just define syscon per few registers? Third case last weeks...
so no, define what is your device here. 8 registers is not a device usually.

Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list