All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Diederik de Haas" <didi.debian@cknow.org>
To: "Detlev Casanova" <detlev.casanova@collabora.com>,
	"Chukun Pan" <amadeus@jmu.edu.cn>
Cc: <airlied@gmail.com>, <alchark@gmail.com>, <andi.shyti@kernel.org>,
	<andyshrk@163.com>, <broonie@kernel.org>, <cl@rock-chips.com>,
	<conor+dt@kernel.org>, <daniel@ffwll.ch>,
	<devicetree@vger.kernel.org>, <dri-devel@lists.freedesktop.org>,
	<dsimic@manjaro.org>, <efectn@protonmail.com>,
	<finley.xiao@rock-chips.com>, <gregkh@linuxfoundation.org>,
	<heiko@sntech.de>, <honyuenkwun@gmail.com>, <jagan@edgeble.ai>,
	<jamie@jamieiles.com>, <jic23@kernel.org>, <jirislaby@kernel.org>,
	<jonas@kwiboo.se>, <jszhang@kernel.org>, <kernel@collabora.com>,
	<krzk+dt@kernel.org>, <lars@metafoo.de>, <lee@kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-i2c@vger.kernel.org>, <linux-iio@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <linux-mmc@vger.kernel.org>,
	<linux-rockchip@lists.infradead.org>,
	<linux-serial@vger.kernel.org>, <linux-spi@vger.kernel.org>,
	<linux-watchdog@vger.kernel.org>, <linux@roeck-us.net>,
	<maarten.lankhorst@linux.intel.com>, <macromorgan@hotmail.com>,
	<megi@xff.cz>, <michael.riesch@wolfvision.net>,
	<mripard@kernel.org>, <robh@kernel.org>, <tim@feathertop.org>,
	<tzimmermann@suse.de>, <ulf.hansson@linaro.org>,
	<wim@linux-watchdog.org>
Subject: Re: [PATCH v2 11/12] arm64: dts: rockchip: Add rk3576 SoC base DT
Date: Mon, 26 Aug 2024 21:56:34 +0200	[thread overview]
Message-ID: <D3Q3WI8AHRJ1.3B8E985JAVVC2@cknow.org> (raw)
In-Reply-To: <22403959.EfDdHjke4D@bootstrap>

[-- Attachment #1: Type: text/plain, Size: 1345 bytes --]

On Mon Aug 26, 2024 at 8:28 PM CEST, Detlev Casanova wrote:
> On Sunday, 25 August 2024 10:08:24 EDT Chukun Pan wrote:
> > > --- /dev/null
> > > +++ b/arch/arm64/boot/dts/rockchip/rk3576.dtsi
> > > ...
> > > +		opp-1416000000 {
> > > +			opp-hz = /bits/ 64 <1416000000>;
> > > +			opp-microvolt = <725000 725000 950000>;
> > > +			opp-microvolt-L1 = <712500 712500 950000>;
> > > +			opp-microvolt-L2 = <700000 700000 950000>;
> > > +			opp-microvolt-L3 = <700000 700000 950000>;
> > > +			opp-microvolt-L4 = <700000 700000 950000>;
> > > +			opp-microvolt-L5 = <700000 700000 950000>;
> > > +			clock-latency-ns = <40000>;
> > > +		};
> > > ...
> > 
> > I'm curious if these frequencies work properly. On the bsp kernel,
> > 'opp-microvolt-L<name>' is used by the PVTM driver, I don't know
> > if it works on the upstream kernel.
>
> Which seems to correspond to the set opp-hz value. As mentionned by Alexey, 
> the opp-microvolt-L.* values are not used by the driver.
>
> I also have not tested any cpufreq settings/driver on this board yet. I can 
> remove the opp-microvolt-L.* for now.

If you run this command on the upstream kernel:
``grep -r "opp-microvolt" arch/arm64/boot/dts/rockchip/``

you'll see it doesn't use the opp-microvolt-LN variants anywhere,
so this is indeed a downstream/BSP only thing.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: "Diederik de Haas" <didi.debian@cknow.org>
To: "Detlev Casanova" <detlev.casanova@collabora.com>,
	"Chukun Pan" <amadeus@jmu.edu.cn>
Cc: <airlied@gmail.com>, <alchark@gmail.com>, <andi.shyti@kernel.org>,
	<andyshrk@163.com>, <broonie@kernel.org>, <cl@rock-chips.com>,
	<conor+dt@kernel.org>, <daniel@ffwll.ch>,
	<devicetree@vger.kernel.org>, <dri-devel@lists.freedesktop.org>,
	<dsimic@manjaro.org>, <efectn@protonmail.com>,
	<finley.xiao@rock-chips.com>, <gregkh@linuxfoundation.org>,
	<heiko@sntech.de>, <honyuenkwun@gmail.com>, <jagan@edgeble.ai>,
	<jamie@jamieiles.com>, <jic23@kernel.org>, <jirislaby@kernel.org>,
	<jonas@kwiboo.se>, <jszhang@kernel.org>, <kernel@collabora.com>,
	<krzk+dt@kernel.org>, <lars@metafoo.de>, <lee@kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-i2c@vger.kernel.org>, <linux-iio@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <linux-mmc@vger.kernel.org>,
	<linux-rockchip@lists.infradead.org>,
	<linux-serial@vger.kernel.org>, <linux-spi@vger.kernel.org>,
	<linux-watchdog@vger.kernel.org>, <linux@roeck-us.net>,
	<maarten.lankhorst@linux.intel.com>, <macromorgan@hotmail.com>,
	<megi@xff.cz>, <michael.riesch@wolfvision.net>,
	<mripard@kernel.org>, <robh@kernel.org>, <tim@feathertop.org>,
	<tzimmermann@suse.de>, <ulf.hansson@linaro.org>,
	<wim@linux-watchdog.org>
Subject: Re: [PATCH v2 11/12] arm64: dts: rockchip: Add rk3576 SoC base DT
Date: Mon, 26 Aug 2024 21:56:34 +0200	[thread overview]
Message-ID: <D3Q3WI8AHRJ1.3B8E985JAVVC2@cknow.org> (raw)
In-Reply-To: <22403959.EfDdHjke4D@bootstrap>


[-- Attachment #1.1: Type: text/plain, Size: 1345 bytes --]

On Mon Aug 26, 2024 at 8:28 PM CEST, Detlev Casanova wrote:
> On Sunday, 25 August 2024 10:08:24 EDT Chukun Pan wrote:
> > > --- /dev/null
> > > +++ b/arch/arm64/boot/dts/rockchip/rk3576.dtsi
> > > ...
> > > +		opp-1416000000 {
> > > +			opp-hz = /bits/ 64 <1416000000>;
> > > +			opp-microvolt = <725000 725000 950000>;
> > > +			opp-microvolt-L1 = <712500 712500 950000>;
> > > +			opp-microvolt-L2 = <700000 700000 950000>;
> > > +			opp-microvolt-L3 = <700000 700000 950000>;
> > > +			opp-microvolt-L4 = <700000 700000 950000>;
> > > +			opp-microvolt-L5 = <700000 700000 950000>;
> > > +			clock-latency-ns = <40000>;
> > > +		};
> > > ...
> > 
> > I'm curious if these frequencies work properly. On the bsp kernel,
> > 'opp-microvolt-L<name>' is used by the PVTM driver, I don't know
> > if it works on the upstream kernel.
>
> Which seems to correspond to the set opp-hz value. As mentionned by Alexey, 
> the opp-microvolt-L.* values are not used by the driver.
>
> I also have not tested any cpufreq settings/driver on this board yet. I can 
> remove the opp-microvolt-L.* for now.

If you run this command on the upstream kernel:
``grep -r "opp-microvolt" arch/arm64/boot/dts/rockchip/``

you'll see it doesn't use the opp-microvolt-LN variants anywhere,
so this is indeed a downstream/BSP only thing.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

  reply	other threads:[~2024-08-26 19:56 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-23 14:52 [PATCH v2 00/12] Add device tree for ArmSoM Sige 5 board Detlev Casanova
2024-08-23 14:52 ` Detlev Casanova
2024-08-23 14:52 ` [PATCH v2 01/12] dt-bindings: arm: rockchip: Add ArmSoM Sige 5 Detlev Casanova
2024-08-23 14:52   ` Detlev Casanova
2024-08-23 14:52 ` [PATCH v2 02/12] dt-bindings: arm: rockchip: Add rk3576 compatible string to pmu.yaml Detlev Casanova
2024-08-23 14:52   ` Detlev Casanova
2024-08-23 14:52 ` [PATCH v2 03/12] dt-bindings: i2c: i2c-rk3x: Add rk3576 compatible Detlev Casanova
2024-08-23 14:52   ` Detlev Casanova
2024-08-23 14:52 ` [PATCH v2 04/12] dt-bindings: iio: adc: Add rockchip,rk3576-saradc string Detlev Casanova
2024-08-23 14:52   ` [PATCH v2 04/12] dt-bindings: iio: adc: Add rockchip, rk3576-saradc string Detlev Casanova
2024-08-23 14:52   ` [PATCH v2 04/12] dt-bindings: iio: adc: Add rockchip,rk3576-saradc string Detlev Casanova
2024-08-24  6:31   ` Krzysztof Kozlowski
2024-08-24  6:31     ` Krzysztof Kozlowski
2024-08-23 14:52 ` [PATCH v2 05/12] dt-bindings: mfd: syscon: Add rk3576 QoS register compatible Detlev Casanova
2024-08-23 14:52   ` Detlev Casanova
2024-08-23 14:52 ` [PATCH v2 06/12] dt-bindings: serial: snps-dw-apb-uart: Add Rockchip RK3576 Detlev Casanova
2024-08-23 14:52   ` Detlev Casanova
2024-08-23 14:52 ` [PATCH v2 07/12] dt-bindings: mmc: Add support for rk3576 eMMC Detlev Casanova
2024-08-23 14:52   ` Detlev Casanova
2024-08-24  7:49   ` Krzysztof Kozlowski
2024-08-24  7:49     ` Krzysztof Kozlowski
2024-08-23 14:52 ` [PATCH v2 08/12] dt-bindings: gpu: Add rockchip,rk3576-mali compatible Detlev Casanova
2024-08-23 14:52   ` [PATCH v2 08/12] dt-bindings: gpu: Add rockchip, rk3576-mali compatible Detlev Casanova
2024-08-23 14:52   ` [PATCH v2 08/12] dt-bindings: gpu: Add rockchip,rk3576-mali compatible Detlev Casanova
2024-08-24  7:51   ` Krzysztof Kozlowski
2024-08-24  7:51     ` Krzysztof Kozlowski
2024-08-23 14:52 ` [PATCH v2 09/12] dt-bindings: watchdog: Add rockchip,rk3576-wdt compatible Detlev Casanova
2024-08-23 14:52   ` [PATCH v2 09/12] dt-bindings: watchdog: Add rockchip, rk3576-wdt compatible Detlev Casanova
2024-08-23 14:52   ` [PATCH v2 09/12] dt-bindings: watchdog: Add rockchip,rk3576-wdt compatible Detlev Casanova
2024-08-24  7:52   ` Krzysztof Kozlowski
2024-08-24  7:52     ` Krzysztof Kozlowski
2024-08-24 16:44   ` Guenter Roeck
2024-08-24 16:44     ` Guenter Roeck
2024-08-27  7:20     ` Heiko Stübner
2024-08-27  7:20       ` Heiko Stübner
2024-08-27 19:38       ` Guenter Roeck
2024-08-27 19:38         ` Guenter Roeck
2024-08-29 11:52         ` Heiko Stübner
2024-08-29 11:52           ` Heiko Stübner
2024-08-23 16:07 ` [PATCH v2 10/12] dt-bindings: spi: Add rockchip,rk3576-spi compatible Detlev Casanova
2024-08-23 16:07   ` [PATCH v2 10/12] dt-bindings: spi: Add rockchip, rk3576-spi compatible Detlev Casanova
2024-08-23 16:07   ` [PATCH v2 10/12] dt-bindings: spi: Add rockchip,rk3576-spi compatible Detlev Casanova
2024-08-24  7:53   ` Krzysztof Kozlowski
2024-08-24  7:53     ` Krzysztof Kozlowski
2024-08-23 16:11 ` [PATCH v2 11/12] arm64: dts: rockchip: Add rk3576 SoC base DT Detlev Casanova
2024-08-23 16:11   ` Detlev Casanova
2024-08-25 14:08   ` Chukun Pan
2024-08-25 14:08     ` Chukun Pan
2024-08-25 18:32     ` Alexey Charkov
2024-08-26 18:28     ` Detlev Casanova
2024-08-26 18:28       ` Detlev Casanova
2024-08-26 19:56       ` Diederik de Haas [this message]
2024-08-26 19:56         ` Diederik de Haas
2024-08-26  7:56   ` zhangqing
2024-08-26 17:54     ` Detlev Casanova
2024-08-26 17:54       ` Detlev Casanova
2024-08-27  1:02       ` zhangqing
2024-08-27  1:02         ` zhangqing
2024-08-23 16:12 ` [PATCH v2 12/12] arm64: dts: rockchip: Add rk3576-armsom-sige5 board Detlev Casanova
2024-08-23 16:12   ` Detlev Casanova
2024-08-25 14:25   ` Chukun Pan
2024-08-25 14:25     ` Chukun Pan
2024-08-26 19:38     ` Detlev Casanova
2024-08-26 19:38       ` Detlev Casanova

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=D3Q3WI8AHRJ1.3B8E985JAVVC2@cknow.org \
    --to=didi.debian@cknow.org \
    --cc=airlied@gmail.com \
    --cc=alchark@gmail.com \
    --cc=amadeus@jmu.edu.cn \
    --cc=andi.shyti@kernel.org \
    --cc=andyshrk@163.com \
    --cc=broonie@kernel.org \
    --cc=cl@rock-chips.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel@ffwll.ch \
    --cc=detlev.casanova@collabora.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=dsimic@manjaro.org \
    --cc=efectn@protonmail.com \
    --cc=finley.xiao@rock-chips.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=heiko@sntech.de \
    --cc=honyuenkwun@gmail.com \
    --cc=jagan@edgeble.ai \
    --cc=jamie@jamieiles.com \
    --cc=jic23@kernel.org \
    --cc=jirislaby@kernel.org \
    --cc=jonas@kwiboo.se \
    --cc=jszhang@kernel.org \
    --cc=kernel@collabora.com \
    --cc=krzk+dt@kernel.org \
    --cc=lars@metafoo.de \
    --cc=lee@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=macromorgan@hotmail.com \
    --cc=megi@xff.cz \
    --cc=michael.riesch@wolfvision.net \
    --cc=mripard@kernel.org \
    --cc=robh@kernel.org \
    --cc=tim@feathertop.org \
    --cc=tzimmermann@suse.de \
    --cc=ulf.hansson@linaro.org \
    --cc=wim@linux-watchdog.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.