From: Vivian Wang <wangruikang@iscas.ac.cn>
To: Konstantin Ryabitsev <konstantin@linuxfoundation.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Yixun Lan <dlan@gentoo.org>,
Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>
Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
spacemit@lists.linux.dev, linux-kernel@vger.kernel.org,
Han Gao <rabenda.cn@gmail.com>, Han Gao <gaohan@iscas.ac.cn>
Subject: Re: [PATCH 0/7] riscv: dts: spacemit: Add PMIC regulators usb pcie
Date: Sun, 1 Feb 2026 15:54:45 +0800 [thread overview]
Message-ID: <d994ec8a-ff6a-4228-bfc9-2fcf9b35a460@iscas.ac.cn> (raw)
In-Reply-To: <176992308158.607015.13478428408379130887@lemur>
On 2/1/26 13:18, Konstantin Ryabitsev wrote:
> On Sun, 01 Feb 2026 05:38:07 +0800, Han Gao <gaohan@iscas.ac.cn> wrote:
>> This patch series enables the PMIC, voltage regulators, usb and pcie
>> for the OrangePi rv2 board.
> Hi:
>
> Thank you for sending this in. I am working on "b4 review" functionality
> and I am using arbitrary series to perform agent-assisted reviews to
> find bugs in the process.
>
> This review was done by Claude Opus 4.5. I do not know enough about the
> subsystem to make any judgment about the quality of these reviews, but
> they look valid enough.
I'm not sure if you see this, but your bot gave two contradictory
recommendations.
On patch 3 it says:
> This vin-supply is replaced by per-rail supplies (vin1-supply through
> vin6-supply, aldoin-supply, dldoin1-supply, dldoin2-supply) in patch
> 5/7. Consider using the final supply properties here directly to avoid
> an intermediate state that is immediately superseded.
Whereas on patch 5 it says
> These per-rail supply properties (vin1-supply through dldoin2-supply)
> are not declared in the spacemit,p1.yaml binding, which only has
> vin-supply. With unevaluatedProperties: false on the PMIC node, these
> will cause dtbs_check failures. The binding needs to be updated to
> match, or these should remain as the single vin-supply.
"Use vin1-supply through dldoin2-supply, not vin-supply" and "use
vin-supply only, not vin1-supply etc" can't both be correct, so
obviously something weird is going on.
So what on earth is going on? Granted, Han could have described it
better in his cover letter, but there's a proposed update to the
spacemit,p1 bindings [1] that would have deprecated vin-supply and
allowed vin1-supply etc. So there's a dependency in this series of
something like:
patch 1,2 -> patch 3 -> bindings update [1] -> patch 5
If/when the bindings update is accepted, patch 5 can be accepted into
the DTS tree. Until then, patch 5 should be withheld.
This isn't obvious from the patch itself, but still, the two
recommendations are contradictory on their own, and make dtbs_check
(mentioned in the patch 5 comment!) would have caught the problem with
the patch 3 comment.
> Hopefully, these were useful. If not, I am sorry for wasting your time.
I acknowledge that this is a sample size of 1, but this is not making me
feel inclined to trust the future of whatever "agent-assisted review" is
going to be happening. What good is an "agent" if it knows about make
dtbs_check but doesn't even run it to see what would happen to its
suggested fixes?
I don't know what you have in mind for "b4 review", but I think at the
very least, "b4 review" should not encourage "I do not know much about
the subsystem but the LLM comments look valid" replies.
Regards,
Vivian "dramforever" Wang
[1]: https://lore.kernel.org/spacemit/20260124-spacemit-p1-v2-0-2c86b06694ba@riscstar.com/
next prev parent reply other threads:[~2026-02-01 7:55 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-31 21:38 Han Gao
2026-01-31 21:38 ` [PATCH 1/7] riscv: dts: spacemit: Enable i2c8 adapter for OrangePi RV2 Han Gao
2026-01-31 21:38 ` [PATCH 2/7] riscv: dts: spacemit: Define fixed regulators " Han Gao
2026-02-01 11:31 ` Yixun Lan
2026-01-31 21:38 ` [PATCH 3/7] riscv: dts: spacemit: Define the P1 PMIC " Han Gao
2026-02-01 5:18 ` Konstantin Ryabitsev
2026-01-31 21:38 ` [PATCH 4/7] riscv: dts: spacemit: Enable USB3.0 on " Han Gao
2026-01-31 21:38 ` [PATCH 5/7] riscv: dts: spacemit: Update PMIC supply properties for " Han Gao
2026-02-01 5:18 ` Konstantin Ryabitsev
2026-01-31 21:38 ` [PATCH 6/7] riscv: dts: spacemit: Add a PCIe regulator " Han Gao
2026-02-04 13:50 ` Chukun Pan
2026-01-31 21:38 ` [PATCH 7/7] riscv: dts: spacemit: PCIe and PHY-related updates " Han Gao
2026-02-04 14:06 ` Chukun Pan
2026-03-10 9:03 ` Yixun Lan
2026-03-14 7:50 ` Chukun Pan
2026-02-01 5:18 ` [PATCH 0/7] riscv: dts: spacemit: Add PMIC regulators usb pcie Konstantin Ryabitsev
2026-02-01 7:54 ` Vivian Wang [this message]
2026-02-01 15:10 ` Konstantin Ryabitsev
2026-02-01 11:26 ` Yixun Lan
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=d994ec8a-ff6a-4228-bfc9-2fcf9b35a460@iscas.ac.cn \
--to=wangruikang@iscas.ac.cn \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlan@gentoo.org \
--cc=gaohan@iscas.ac.cn \
--cc=konstantin@linuxfoundation.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=rabenda.cn@gmail.com \
--cc=robh@kernel.org \
--cc=spacemit@lists.linux.dev \
/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
all inboxes | Powered by JetHome®