[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3543865.CbtlEUcBR6@diego>
Date: Wed, 05 Mar 2025 18:51:43 +0100
From: Heiko Stübner <heiko@...ech.de>
To: Krzysztof Kozlowski <krzk@...nel.org>, Rob Herring <robh@...nel.org>
Cc: Chukun Pan <amadeus@....edu.cn>, Yao Zi <ziyao@...root.org>,
Lee Jones <lee@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
linux-arm-kernel@...ts.infradead.org, linux-rockchip@...ts.infradead.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH 2/2] arm64: dts: rockchip: Add rk3528 QoS register node
Am Mittwoch, 5. März 2025, 18:17:24 MEZ schrieb Rob Herring:
> On Wed, Mar 05, 2025 at 04:41:23PM +0100, Krzysztof Kozlowski wrote:
> > 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@....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@...01000 {
> > > #interrupt-cells = <3>;
> > > };
> > >
> > > + qos_crypto_a: qos@...00000 {
> > > + compatible = "rockchip,rk3528-qos", "syscon";
> > > + reg = <0x0 0xff200000 0x0 0x20>;
> > > + };
> > > +
> > > + qos_crypto_p: qos@...00080 {
> > > + 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.
>
> Well, it is just a new compatible on top of existing 'qos' compatibles.
> And in a quick scan I didn't see other things adjacent.
Also, those "Quality-of-Service" register-sets are generally identically and
configure the interconnect-voodoo for the individual devices they're
attached to.
And while we are not "tuning" stuff at the moment, the register contents
need to be saved and restored when the device's power-domain is
turned off or on.
Powered by blists - more mailing lists