From: "Heiko Stübner" <heiko@sntech.de>
To: Chaoyi Chen <kernel@airkyi.com>,
Alexey Charkov <alchark@gmail.com>,
Chaoyi Chen <chaoyi.chen@rock-chips.com>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Quentin Schulz <quentin.schulz@cherry.de>,
Kever Yang <kever.yang@rock-chips.com>,
Jonas Karlman <jonas@kwiboo.se>, John Clark <inindev@gmail.com>,
FUKAUMI Naoki <naoki@radxa.com>,
Jimmy Hon <honyuenkwun@gmail.com>,
Dragan Simic <dsimic@manjaro.org>,
Michael Riesch <michael.riesch@collabora.com>,
Peter Robinson <pbrobinson@gmail.com>,
Shawn Lin <shawn.lin@rock-chips.com>,
Sebastian Reichel <sebastian.reichel@collabora.com>,
Andy Yan <andy.yan@rock-chips.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/2] arm64: dts: rockchip: Add rk3576 evb2 board
Date: Wed, 07 Jan 2026 15:56:31 +0100 [thread overview]
Message-ID: <1907895.QZUTf85G27@diego> (raw)
In-Reply-To: <1956308.1xdlsreqCQ@diego>
Am Mittwoch, 7. Januar 2026, 15:54:47 Mitteleuropäische Normalzeit schrieb Heiko Stübner:
> Am Mittwoch, 7. Januar 2026, 11:04:42 Mitteleuropäische Normalzeit schrieb Chaoyi Chen:
> > On 1/7/2026 5:57 PM, Chaoyi Chen wrote:
> > > On 1/7/2026 4:21 PM, Heiko Stübner wrote:
> > >> Am Mittwoch, 7. Januar 2026, 08:56:04 Mitteleuropäische Normalzeit schrieb Alexey Charkov:
> > >>> On Wed, Jan 7, 2026 at 11:04 AM Chaoyi Chen <kernel@airkyi.com> wrote:
>
> [...]
>
> > >>>> + vcc3v3_hubreset: vcc3v3-hubreset {
> > >>>> + compatible = "regulator-fixed";
> > >>>> + regulator-name = "vcc3v3_hubreset";
> > >>>> + regulator-boot-on;
> > >>>> + regulator-always-on;
> > >>>
> > >>> If this regulator supplies a soldered-on discrete hub and is required
> > >>> to power it up, won't it be better to describe the hub in the device
> > >>> tree (see binding at [1]), make the regulator its supply, and perhaps
> > >>> drop the "regulator-boot-on/regulator-always-on" annotation here,
> > >>> letting the regulator core deal with its enabling instead?
> > >>>
> > >>> [1] https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/usb/usb-device.yaml
> > >>
> > >> Yep, it would be nicer to it this way.
> > >> A live example can be found in the Rock 5 ITX [2]
> > >>
> > >> [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts#n1266
> > >
> > > Thank you for the great example. BTW the hub used here is CH344. It
> > > looks like we need to add a new binding :)
> > >
> >
> > Typo... It is WCH CH334.
>
> I don't think you need a new compatible at all :-)
Please ignore everything I wrote :-)
I just looked farther into the usb bindings.
So yes you'll probably need a binding for your hub.
Sorry about the noise
Heiko
> When you look at the usb-device.yaml linked above you'll the compatible
> already defined as a pattern:
>
> compatible:
> contains:
> pattern: "^usb[0-9a-f]{1,4},[0-9a-f]{1,4}$"
> description: Device nodes or combined nodes.
> "usbVID,PID", where VID is the vendor id and PID the product id.
> The textual representation of VID and PID shall be in lower case
> hexadecimal with leading zeroes suppressed. The other compatible
> strings from the above standard binding could also be used,
> but a device adhering to this binding may leave out all except
> for "usbVID,PID".
>
> Which will match everything VID + PID combination, so you just need
> to use the VID+PID from your hub.
>
>
> Heiko
>
next prev parent reply other threads:[~2026-01-07 14:56 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-07 7:03 [PATCH v2 0/2] arm64: dts: rockchip: Add rk3576 evb2 board Chaoyi Chen
2026-01-07 7:03 ` [PATCH v2 1/2] dt-bindings: arm: " Chaoyi Chen
2026-01-07 7:03 ` [PATCH v2 2/2] arm64: dts: " Chaoyi Chen
2026-01-07 7:56 ` Alexey Charkov
2026-01-07 8:21 ` Heiko Stübner
2026-01-07 9:57 ` Chaoyi Chen
2026-01-07 10:04 ` Chaoyi Chen
2026-01-07 14:54 ` Heiko Stübner
2026-01-07 14:56 ` Heiko Stübner [this message]
2026-01-07 9:50 ` Chaoyi Chen
2026-01-07 15:46 ` Quentin Schulz
2026-01-08 6:27 ` Chaoyi Chen
2026-01-08 10:07 ` Quentin Schulz
2026-01-08 10:41 ` Chaoyi Chen
2026-01-08 10:51 ` Quentin Schulz
2026-01-07 18:17 ` Andrew Lunn
2026-01-08 6:53 ` Alexey Charkov
2026-01-08 7:42 ` Chaoyi Chen
2026-01-08 8:01 ` Chaoyi Chen
2026-01-08 8:11 ` Alexey Charkov
2026-01-08 8:38 ` Chaoyi Chen
2026-01-08 8:49 ` Alexey Charkov
2026-01-08 9:02 ` Chaoyi Chen
2026-01-08 13:53 ` Andrew Lunn
2026-01-08 6:50 ` Andy Yan
2026-01-08 8:04 ` [PATCH " Chaoyi Chen
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=1907895.QZUTf85G27@diego \
--to=heiko@sntech.de \
--cc=alchark@gmail.com \
--cc=andy.yan@rock-chips.com \
--cc=chaoyi.chen@rock-chips.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dsimic@manjaro.org \
--cc=honyuenkwun@gmail.com \
--cc=inindev@gmail.com \
--cc=jonas@kwiboo.se \
--cc=kernel@airkyi.com \
--cc=kever.yang@rock-chips.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=michael.riesch@collabora.com \
--cc=naoki@radxa.com \
--cc=pbrobinson@gmail.com \
--cc=quentin.schulz@cherry.de \
--cc=robh@kernel.org \
--cc=sebastian.reichel@collabora.com \
--cc=shawn.lin@rock-chips.com \
/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