[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<ZQ2PR01MB1307E45973922C6C3BC31A7FE63D2@ZQ2PR01MB1307.CHNPR01.prod.partner.outlook.cn>
Date: Fri, 22 Aug 2025 02:13:34 +0000
From: Hal Feng <hal.feng@...rfivetech.com>
To: Vivian Wang <wangruikang@...as.ac.cn>, Conor Dooley <conor+dt@...nel.org>,
Emil Renner Berthing <emil.renner.berthing@...onical.com>, Heinrich
Schuchardt <heinrich.schuchardt@...onical.com>, Rob Herring
<robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>, Palmer Dabbelt
<palmer@...belt.com>, Paul Walmsley <paul.walmsley@...ive.com>, Albert Ou
<aou@...s.berkeley.edu>
CC: "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-riscv@...ts.infradead.org" <linux-riscv@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [RFC 3/3] riscv: dts: starfive: Add VisionFive 2 Lite board
device tree
> On 21.08.25 22:08, Vivian Wang wrote:
> On 8/21/25 18:09, Hal Feng wrote:
> > [...]
> > +++ b/arch/riscv/boot/dts/starfive/jh7110s-starfive-visionfive-2-lite.
> > +++ dts
> > @@ -0,0 +1,152 @@
> > +// SPDX-License-Identifier: GPL-2.0 OR MIT
> > +/*
> > + * Copyright (C) 2025 StarFive Technology Co., Ltd.
> > + * Copyright (C) 2025 Hal Feng <hal.feng@...rfivetech.com> */
> > +
> > +/dts-v1/;
> > +#include "jh7110-common.dtsi"
> > +
> > +/ {
> > + model = "StarFive VisionFive 2 Lite";
> > + compatible = "starfive,visionfive-2-lite", "starfive,jh7110s"; };
>
> Might need to add starfive,jh7110s to:
>
> drivers/cpufreq/cpufreq-dt-platdev.c
>
> So that it can use the opp stuff here:
Good catch. Thanks for your review.
Best regards,
Hal
>
> > +
> > +&cpu_opp {
> > + opp-312500000 {
> > + opp-hz = /bits/ 64 <312500000>;
> > + opp-microvolt = <800000>;
> > + };
> > + opp-417000000 {
> > + opp-hz = /bits/ 64 <417000000>;
> > + opp-microvolt = <800000>;
> > + };
> > + opp-625000000 {
> > + opp-hz = /bits/ 64 <625000000>;
> > + opp-microvolt = <800000>;
> > + };
> > + opp-1250000000 {
> > + opp-hz = /bits/ 64 <1250000000>;
> > + opp-microvolt = <1000000>;
> > + };
> > +};
> > +> [...]
Powered by blists - more mailing lists