[PATCH v3 1/2] riscv: dts: spacemit: add fixed regulators for OrangePi R2S
Yixun Lan
dlan at kernel.org
Sat May 16 06:46:02 PDT 2026
Hi Chukun,
On 14:00 Wed 13 May , Chukun Pan wrote:
> Hi,
>
> > please check my comment below, I think this patch has similar issue
> >
> > https://lore.kernel.org/all/20260511065338-GKA3624147@kernel.org/
>
> I don't think this is an issue. Otherwise, these commits need to be fixed:
> https://github.com/torvalds/linux/commit/1df07a40453fd652132051419140950d47941fe9
> https://github.com/torvalds/linux/commit/ae9d03f8aec76c1bff21083b67c211238d7c57b1
>
I agree, these patch was introduced before we learned the convention from
DT maintainer, got no comment in that review phase, so it just slip in
so yes, we should fix it, and patches are welcome..
> Let's confirm the current DT preferred:
>
> - regulator-fixed
>
> nodename: Preferred name is 'regulator-[0-9]v[0-9]'
>
> gpio/gpios: Preferred 'gpios'
> https://github.com/torvalds/linux/commit/12df2c182ccb850988d2680a422211a812fb5cb2
>
> There is no specification or preference stating that regulators without
> software or GPIO control should be removed.
Not exactly, if some device driver explicitly request regulator, then
fixed regulators without software or GPIO control are still needed
Please refer to this reply from Krzysztof, fixed, non-controllable regulator isn't
really necessary if no driver/device used, will only waste memory, slow down boot time..
https://lore.kernel.org/all/90eafe45-7863-4c1d-b1e5-55a4fe32c806@kernel.org/
In this patch, I think both vcc_5v0 and vcc4v0 can be removed
>
> This has been discussed many times, and people are used to describing DT
> according to the schematic:
> https://lore.kernel.org/all/44ba02e34d7bf6a6657894802a87b690@manjaro.org/
>
For Dragan Simic's reply, I see no ACK from DT maintainer
> Therefore, if you consider these regulators unacceptable, we should remove
> them from other dts in spacemit, or allow such changes.
>
I would prefer to remove it, see comments above
> Thanks,
> Chukun
--
Yixun Lan (dlan)
More information about the linux-riscv
mailing list