[PATCH v2 7/8] dt-bindings: riscv: Add generic CBQRI controller binding

Conor Dooley conor at kernel.org
Fri Jun 26 09:08:53 PDT 2026


On Fri, Jun 26, 2026 at 09:05:02AM -0700, Drew Fustini wrote:
> On Fri, Jun 26, 2026 at 04:44:56PM +0100, Conor Dooley wrote:
> > On Thu, Jun 25, 2026 at 12:21:52PM -0700, Drew Fustini wrote:
> > > On Thu, Jun 25, 2026 at 05:19:28PM +0100, Conor Dooley wrote:
> > > > On Wed, Jun 24, 2026 at 06:38:35PM -0700, Drew Fustini wrote:
> > > > > Document the generic compatibles for capacity and bandwidth controllers
> > > > > that implement the RISC-V CBQRI specification. The binding also
> > > > > describes the common riscv,cbqri-rcid and riscv,cbqri-mcid properties,
> > > > > and the optional riscv,cbqri-cache phandle that links a capacity
> > > > > controller to the cache whose capacity it allocates.
> > > > > 
> > > > > Assisted-by: Claude:claude-opus-4-8
> > > > > Co-developed-by: Adrien Ricciardi <aricciardi at baylibre.com>
> > > > > Signed-off-by: Adrien Ricciardi <aricciardi at baylibre.com>
> > > > > Signed-off-by: Drew Fustini <fustini at kernel.org>
> > > > > ---
> > > > >  .../devicetree/bindings/riscv/riscv,cbqri.yaml     | 97 ++++++++++++++++++++++
> > > > >  MAINTAINERS                                        |  1 +
> > > > >  2 files changed, 98 insertions(+)
> > > 
> > > Thanks for the review.
> > > 
> > > [..]
> > > > > +properties:
> > > > > +  compatible:
> > > > > +    oneOf:
> > > > > +      - items:
> > > > > +          - description: Tenstorrent Ascalon Shared Cache
> > > > > +            const: tenstorrent,ascalon-sc-cbqri
> > > > > +          - const: riscv,cbqri-capacity-controller
> > > > > +      - enum:
> > > > > +          - riscv,cbqri-capacity-controller
> > > > > +          - riscv,cbqri-bandwidth-controller
> > > > 
> > > > Please modify this, as has been done for other riscv spec related
> > > > bindings, to let people get away without using device-specific
> > > > compatibles.
> > > > 
> > > > In this case, you can just delete the first entry from this enum, since
> > > > it already has a user and only have to implement this feedback for the
> > > > second entry.
> > > 
> > > Would this work?
> > > 
> > > properties:
> > >   compatible:
> > >     oneOf:
> > >       - items:
> > >           - enum:
> > >               - tenstorrent,ascalon-sc-cbqri # Tenstorrent Ascalon Shared Cache
> > >           - const: riscv,cbqri-capacity-controller
> > >       - items:
> > >           - {}
> > >           - const: riscv,cbqri-bandwidth-controller
> > 
> > 
> > Should do, yes. I question the need for a comment though, seems pretty
> > evident from the compatible what it is.
> 
> I was thinking people may not know that 'sc' is the Shared Cache. I
> probably should have shortend the comment to 'Ascalon Shared Cache'.
> Anyways, I can drop it.


Or call the device "ascalon-shared-cache-controller"!
-------------- 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/20260626/11a1711b/attachment.sig>


More information about the linux-riscv mailing list