Re: [PATCH v2 11/12] arm64: dts: rockchip: Add rk3576 SoC base DT
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH v2 11/12] arm64: dts: rockchip: Add rk3576 SoC base DT
- From: Detlev Casanova <detlev.casanova@xxxxxxxxxxxxx>
- Date: Mon, 26 Aug 2024 14:28:09 -0400
- Cc: airlied@xxxxxxxxx, alchark@xxxxxxxxx, amadeus@xxxxxxxxxx, andi.shyti@xxxxxxxxxx, andyshrk@xxxxxxx, broonie@xxxxxxxxxx, cl@xxxxxxxxxxxxxx, conor+dt@xxxxxxxxxx, daniel@xxxxxxxx, devicetree@xxxxxxxxxxxxxxx, dri-devel@xxxxxxxxxxxxxxxxxxxxx, dsimic@xxxxxxxxxxx, efectn@xxxxxxxxxxxxxx, finley.xiao@xxxxxxxxxxxxxx, gregkh@xxxxxxxxxxxxxxxxxxx, heiko@xxxxxxxxx, honyuenkwun@xxxxxxxxx, jagan@xxxxxxxxxx, jamie@xxxxxxxxxxxxx, jic23@xxxxxxxxxx, jirislaby@xxxxxxxxxx, jonas@xxxxxxxxx, jszhang@xxxxxxxxxx, kernel@xxxxxxxxxxxxx, krzk+dt@xxxxxxxxxx, lars@xxxxxxxxxx, lee@xxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-i2c@xxxxxxxxxxxxxxx, linux-iio@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-mmc@xxxxxxxxxxxxxxx, linux-rockchip@xxxxxxxxxxxxxxxxxxx, linux-serial@xxxxxxxxxxxxxxx, linux-spi@xxxxxxxxxxxxxxx, linux-watchdog@xxxxxxxxxxxxxxx, linux@xxxxxxxxxxxx, maarten.lankhorst@xxxxxxxxxxxxxxx, macromorgan@xxxxxxxxxxx, megi@xxxxxx, michael.riesch@xxxxxxxxxxxxxx, mripard@xxxxxxxxxx, robh@xxxxxxxxxx, tim@xxxxxxxxxxxxxx, tzimmermann@xxxxxxx, ulf.hansson@xxxxxxxxxx, wim@xxxxxxxxxxxxxxxxxx
- Delivered-to: kernel@xxxxxxxxxxxxx
- In-reply-to: <20240825140824.200453-1-amadeus@jmu.edu.cn>
- References: <23624422.6Emhk5qWAg@trenzalore> <20240825140824.200453-1-amadeus@jmu.edu.cn>
On Sunday, 25 August 2024 10:08:24 EDT Chukun Pan wrote:
> Hi,
>
> > --- /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. Sorry but have you tested it
> with mhz (https://github.com/wtarreau/mhz)?
Running mhz gives me:
# ./mhz
count=566627 us50=19994 us250=99977 diff=79983 cpu_MHz=1416.869
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.
Detlev.
[Index of Archives]
[Linux Kernel]
[Linux ARM (vger)]
[Linux ARM MSM]
[Linux Omap]
[Linux Arm]
[Linux Tegra]
[Fedora ARM]
[Linux for Samsung SOC]
[eCos]
[Linux Fastboot]
[Gcc Help]
[Git]
[DCCP]
[IETF Announce]
[Security]
[Linux MIPS]
[Yosemite Campsites]
|