mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Heiko Stuebner <heiko@sntech.de>
To: rafael@kernel.org, Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
Cc: Daniel Lezcano <daniel.lezcano@kernel.org>,
	Shuah Khan <shuah@kernel.org>,
	Manaf Meethalavalappu Pallikunhi
	<manaf.pallikunhi@oss.qualcomm.com>,
	Lukasz Luba <lukasz.luba@arm.com>,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org,
	linux-kselftest@vger.kernel.org
Subject: Re: [PATCH v5 6/6] powercap: dtpm: Add RK3588 hierarchy
Date: Sat, 07 Nov 2026 16:14:06 +0100	[thread overview]
Message-ID: <17421425.hlxOUv9cDv@phil> (raw)
In-Reply-To: <973998404b628e5a995a06fbd0febce0802f79bd.1793666444.git.daniel.lezcano@oss.qualcomm.com>

Hi Daniel,

Am Dienstag, 3. November 2026, 05:48:20 Mitteleuropäische Normalzeit schrieb Daniel Lezcano:
> The RK3588 has three CPU frequency domains, with CPUs grouped into
> three cpufreq policies.
> 
> Add a DTPM hierarchy for the RK3588 with one CPU node per cpufreq
> policy, represented by cpu@0, cpu@400 and cpu@600. Group the three CPU
> domains under a virtual package node attached to the RK3588 root node.
> 
> Add the RK3588 compatible to the Rockchip DTPM match table to select
> the new hierarchy.
> 
> Signed-off-by: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>

[...]

>  static struct of_device_id __initdata rockchip_dtpm_match_table[] = {
>  	{ .compatible = "rockchip,rk3399", .data = &rk3399_hierarchy },
> +	{ .compatible = "rockchip,rk3588", .data = &rk3588_hierarchy },
>  	{},
>  };

the change itself looks good for the RK3588 (without variants), so

Reviewed-by: Heiko Stuebner <heiko@sntech.de>


but support for the family is sort of incomplete :-)
We have
- the rockchip,rk3588s (same as the rk3588 in terms of cores,
  but different compatible - see all the rk3588s-* boards)
- the RK3582 ... with a compatible of
  "rockchip,rk3582", "rockchip,rk3588s"
  Because this is some sort of chip with production defects
  where two _random_ big do not work or so and get disabled
  by firmware see [0] and marks them as "fail"

So as I said the change alone is fine, but there are additional variants
to maybe figure out in the future.


Heiko



[0] https://patchwork.ozlabs.org/project/uboot/cover/20250810222644.4095072-1-jonas@kwiboo.se/





  reply	other threads:[~2026-11-07 15:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-03  4:48 [PATCH v5 0/6] powercap: Add generic hierarchy support and convert DTPM Daniel Lezcano
2026-11-03  4:48 ` [PATCH v5 1/6] powercap: Add generic zone hierarchy creation helpers Daniel Lezcano
2026-11-05  9:35   ` Manaf Meethalavalappu Pallikunhi
2026-11-05 15:32     ` Daniel Lezcano
2026-11-03  4:48 ` [PATCH v5 2/6] selftests/powercap: Add powercap hierarchy creation API tests Daniel Lezcano
2026-11-03  4:48 ` [PATCH v5 3/6] powercap: dtpm: Remove duplicate RK3399 CPU hierarchy nodes Daniel Lezcano
2026-11-07 14:49   ` Heiko Stuebner
2026-11-03  4:48 ` [PATCH v5 4/6] powercap: dtpm: Use generic powercap hierarchy helpers Daniel Lezcano
2026-11-07 14:55   ` Heiko Stuebner
2026-11-03  4:48 ` [PATCH v5 5/6] powercap: dtpm: Rename Rockchip virtual node descriptor Daniel Lezcano
2026-11-07 14:56   ` Heiko Stuebner
2026-11-03  4:48 ` [PATCH v5 6/6] powercap: dtpm: Add RK3588 hierarchy Daniel Lezcano
2026-11-07 15:14   ` Heiko Stuebner [this message]
2026-11-06 15:21 ` [PATCH v5 0/6] powercap: Add generic hierarchy support and convert DTPM Rafael J. Wysocki (Intel)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17421425.hlxOUv9cDv@phil \
    --to=heiko@sntech.de \
    --cc=daniel.lezcano@kernel.org \
    --cc=daniel.lezcano@oss.qualcomm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=lukasz.luba@arm.com \
    --cc=manaf.pallikunhi@oss.qualcomm.com \
    --cc=rafael@kernel.org \
    --cc=shuah@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®