[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <12859392.hYdu0Ggh8K@diego>
Date: Mon, 05 Aug 2024 11:36:40 +0200
From: Heiko Stübner <heiko@...ech.de>
To: linux-kernel@...r.kernel.org,
Detlev Casanova <detlev.casanova@...labora.com>,
Elaine Zhang <zhangqing@...k-chips.com>
Cc: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Ulf Hansson <ulf.hansson@...aro.org>,
Detlev Casanova <detlev.casanova@...labora.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
"Rafael J . Wysocki" <rafael@...nel.org>,
Finley Xiao <finley.xiao@...k-chips.com>, Jagan Teki <jagan@...eble.ai>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, linux-pm@...r.kernel.org
Subject:
Re: [PATCH 3/3] soc: rockchip: power-domain: Add power domain support for
rk3576
Hi Detlev,
Am Freitag, 2. August 2024, 17:15:00 CEST schrieb Detlev Casanova:
> From: Finley Xiao <finley.xiao@...k-chips.com>
with the power-domains now living somewhere else, the patch will need
a different subject I think.
>
> This driver is modified to support RK3576 SoCs and lists the power domains.
>
> Signed-off-by: Finley Xiao <finley.xiao@...k-chips.com>
> Signed-off-by: Detlev Casanova <detlev.casanova@...labora.com>
> @@ -552,7 +574,10 @@ static int rockchip_pd_power(struct rockchip_pm_domain *pd, bool power_on)
> /* if powering up, leave idle mode */
> rockchip_pmu_set_idle_request(pd, false);
>
> - rockchip_pmu_restore_qos(pd);
> + if (pd->info->delay_us)
> + udelay(pd->info->delay_us);
> + else
> + rockchip_pmu_restore_qos(pd);
the whole delay thing needs its own patch please. I.e. you're changing
the inner workings of the driver here by not handling the qos settings
and just waiting for a specific time.
So I expect a lot more explanation on why that is the case and needed
instead of it just happening when adding the soc-specific pieces.
Does the rk3576 not have those qos settings and if so, why is there a delay
necessary.
This is not meant to disallow it, just that it needs its own commit with its
own descriptive commit message :-)
Heiko
Powered by blists - more mailing lists