[PATCH RFC 01/13] dt-bindings: soc: starfive: Add vout-subsystem IP block

Conor Dooley conor at kernel.org
Thu Nov 13 11:44:52 PST 2025


On Thu, Nov 13, 2025 at 08:48:33AM +0800, Icenowy Zheng wrote:
> 在 2025-11-12星期三的 18:36 +0000,Conor Dooley写道:
> > On Wed, Nov 12, 2025 at 02:34:39PM +0800, Icenowy Zheng wrote:
> > > 在 2025-11-11星期二的 18:36 +0000,Conor Dooley写道:
> > > > On Tue, Nov 11, 2025 at 06:18:16PM +0000, Conor Dooley wrote:
> > > > > On Sat, Nov 08, 2025 at 02:04:35AM +0100, Michal Wilczynski
> > > > > wrote:
> > > > > > Add the dt-binding documentation for the StarFive JH7110
> > > > > > Video
> > 
> > > > > > +patternProperties:
> > > > > > +  "^display@[0-9a-f]+$":
> > > > > 
> > > > > Personally I'd like to see these being regular properties,
> > > > > since
> > > > > there's
> > > > > exactly one possible setup for this.
> > > > > 
> > > > > > +    type: object
> > > > > > +    description: Verisilicon DC8200 Display Controller node.
> > > > > 
> > > > > Can you add the relevant references here instead of allowing
> > > > > any
> > > > > object?
> > > > 
> > > > I don't think that if you did, this would pass the binding
> > > > checks,
> > > > because there's no "verisilicon,dc" binding. I think I saw one in
> > > > progress, but without the soc-specific compatible that I am going
> > > > to
> > > > require here - if for no reason other than making sure that the
> > > > clocks
> > > > etc are provided correctly for this device.
> > > 
> > > Well I didn't specify any soc-specific compatible because that IP
> > > has
> > > its own identification registers.
> > 
> > I still require one because I want to make sure that clocks etc are
> > handled correctly. You can ignore it in the driver if you wish, but
> > when
> > the next user comes along with one more or less clock, I want the
> > jh7110 one to be forced to use the correct configuration.
> 
> I don't think for those generic IPs requiring a SoC-specific compatible
> is a good idea.

I disagree. If things are complex enough to end up with different
numbers of clocks or power-domains etc on different platforms (which I
believe GPUs are) then I want one for validation purposes on platforms I
care about. What you do in the driver is up to you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20251113/a32757cb/attachment.sig>


More information about the linux-riscv mailing list