From: Quentin Schulz <quentin.schulz@cherry.de>
To: Jonas Karlman <jonas@kwiboo.se>
Cc: Kever Yang <kever.yang@rock-chips.com>,
Simon Glass <sjg@chromium.org>,
Philipp Tomsich <philipp.tomsich@vrull.eu>,
Tom Rini <trini@konsulko.com>, Yao Zi <ziyao@disroot.org>,
u-boot@lists.denx.de
Subject: Re: [PATCH] board: rockchip: Add FriendlyElec NanoPi Zero2
Date: Thu, 15 Jan 2026 15:57:36 +0100 [thread overview]
Message-ID: <973ffe5e-e962-493e-8a22-6ef09a1475f4@cherry.de> (raw)
In-Reply-To: <7d77e501-2347-4f1e-af36-c82a47dbf126@kwiboo.se>
Hi Jonas,
On 1/15/26 2:35 PM, Jonas Karlman wrote:
> Hi Quentin,
>
> On 1/15/2026 1:24 PM, Quentin Schulz wrote:
>> Hi Jonas,
>>
>> On 1/10/26 9:53 PM, Jonas Karlman wrote:
>>> The NanoPi Zero2 is a small single board computer developed by
>>> FriendlyElec, based on the Rockchip RK3528A SoC.
>>>
>>> Add support for the FriendlyElec NanoPi Zero2 board.
>>>
>>> Features tested on a FriendlyElec NanoPi Zero2 2407:
>>> - SD-card boot
>>> - eMMC boot
>>> - Ethernet
>>> - USB host
>>>
>>> Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
>>> ---
>>> arch/arm/dts/rk3528-nanopi-zero2-u-boot.dtsi | 11 ++++
>>> arch/arm/mach-rockchip/rk3528/MAINTAINERS | 6 ++
>>> configs/nanopi-zero2-rk3528_defconfig | 64 ++++++++++++++++++++
>>> doc/board/rockchip/rockchip.rst | 1 +
>>> 4 files changed, 82 insertions(+)
>>> create mode 100644 arch/arm/dts/rk3528-nanopi-zero2-u-boot.dtsi
>>> create mode 100644 configs/nanopi-zero2-rk3528_defconfig
>>>
>>> diff --git a/arch/arm/dts/rk3528-nanopi-zero2-u-boot.dtsi b/arch/arm/dts/rk3528-nanopi-zero2-u-boot.dtsi
>>> new file mode 100644
>>> index 000000000000..3e2fbd81da17
>>> --- /dev/null
>>> +++ b/arch/arm/dts/rk3528-nanopi-zero2-u-boot.dtsi
>>> @@ -0,0 +1,11 @@
>>> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
>>> +
>>> +#include "rk3528-u-boot.dtsi"
>>> +
>>> +&vdd_arm {
>>> + regulator-init-microvolt = <953000>;
>>> +};
>>> +
>>> +&vdd_logic {
>>> + regulator-init-microvolt = <900000>;
>>> +};
>>
>> Why? We need an explanation here to know if and when we can get rid of
>> those additions. Why aren't those in the Linux kernel tree?
>
> All prior regulator-init-microvolt props was purged from Linux DTs some
> time ago [1], instead of adding a dt-binding for this prop :/
>
> After that change we now need to keep track of any initial microvolt
> that should be set by U-Boot in -u-boot.dtsi files.
>
> If I remember correctly these regulators may have been initialized with
> too low or high voltage out of reset, and this ensure stable operation.
>
That seems odd to me. Why could it reach U-Boot (where the regulator
driver would then enable the regulator at voltage init-microvolt) if the
regulator was initialized too low/high out of reset? Especially for
vdd_arm, the CPU supply.
I'm not sure we'll be able to convince the DT binding people to add this
property though, it all seems like a problem related to devfreq not
being handled in U-Boot that could be resolved by configuring the
clock-tree + regulator-tree properly appropriately I guess (which is
easier said than done :) ).
We already have plenty of boards with that property (including some I
maintain... news to me :) ), one more won't hurt us, so
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Thanks,
Quentin
next prev parent reply other threads:[~2026-01-15 14:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-10 20:53 [PATCH] board: rockchip: Add FriendlyElec NanoPi Zero2 Jonas Karlman
2026-01-10 22:13 ` Christopher Obbard
2026-01-15 12:24 ` Quentin Schulz
2026-01-15 13:35 ` Jonas Karlman
2026-01-15 14:57 ` Quentin Schulz [this message]
2026-03-08 15:15 ` Kever Yang
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=973ffe5e-e962-493e-8a22-6ef09a1475f4@cherry.de \
--to=quentin.schulz@cherry.de \
--cc=jonas@kwiboo.se \
--cc=kever.yang@rock-chips.com \
--cc=philipp.tomsich@vrull.eu \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=ziyao@disroot.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