From: Rob Herring <robh@kernel.org>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Naushir Patuck <naush@raspberrypi.com>,
Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Jacopo Mondi <jacopo.mondi@ideasonboard.com>,
Linux Media Mailing List <linux-media@vger.kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
David Plowman <david.plowman@raspberrypi.com>,
Nick Hollinghurst <nick.hollinghurst@raspberrypi.org>,
Dave Stevenson <dave.stevenson@raspberrypi.com>,
Kieran Bingham <kieran.bingham@ideasonboard.com>,
Sakari Ailus <sakari.ailus@iki.fi>,
Hans Verkuil <hverkuil-cisco@xs4all.nl>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
devicetree@vger.kernel.org
Subject: Re: [PATCH 6/8] media: dt-bindings: Add bindings for Raspberry Pi PiSP Back End
Date: Thu, 15 Feb 2024 08:00:58 -0600 [thread overview]
Message-ID: <20240215140058.GA4147262-robh@kernel.org> (raw)
In-Reply-To: <20240213104405.GB5012@pendragon.ideasonboard.com>
On Tue, Feb 13, 2024 at 12:44:05PM +0200, Laurent Pinchart wrote:
> On Tue, Feb 13, 2024 at 08:35:39AM +0000, Naushir Patuck wrote:
> > On Tue, 13 Feb 2024 at 07:28, Tomi Valkeinen wrote:
> > > On 12/02/2024 11:05, Krzysztof Kozlowski wrote:
> > > > On 12/02/2024 09:50, Jacopo Mondi wrote:
> > > >
> > > >>>> +properties:
> > > >>>> + compatible:
> > > >>>> + const: raspberrypi,pispbe
> > > >>>
> > > >>> Nothing more specific? No model name, no version? It's quite generic
> > > >>> compatible which in general should not be allowed. I would assume that
> > > >>> at least version of Pi could denote some sort of a model... unless
> > > >>> version is detectable?
> > > >>
> > > >> The driver matches on a version register and that should be enough to
> > > >> handle quirks which are specific to an IP revision in the driver
> > > >> itself.
> > > >>
> > > >> Considering how minimal the integration with the SoC is (one clock, one
> > > >> interrupt and one optional iommu reference) even if we'll get future
> > > >> revisions of the SoC I don't think there will be any need to match on
> > > >> a dedicated compatible for bindings-validation purposes.
> > > >>
> > > >> However I understand that to be future-proof it's good practice to
> > > >> allow a more flexible scheme, so we can have a generic fallback and a
> > > >> revision-specific entry.
> > > >>
> > > >> Would
> > > >>
> > > >> compatible:
> > > >> items:
> > > >> - enum:
> > > >> - raspberrypi,pipspbe-bcm2712
> > > >
> > > > bcm2712 is manufactured by Broadcom, not Raspberry Pi, so it should be
> > > > rather Pi model?
> > >
> > > Indeed, this is something I don't get. If the BE is in the bcm2712, is
> > > it not a broadcom IP? Why is raspberrypi in the compatible name at all?
> > >
> > > Naush, Dave?
> >
> > The Backend (and Frontend) IP are both owned solely by Raspberry Pi,
> > and the BE is instantiated on the BCM2712. So I think "raspberry" in
> > the compatible string is correct here.
>
> Following what we do with other SoCs, we could have
>
> compatible = "brcm,pispbe-bcm2712", "raspberrypi,pispbe";
Nit: brcm,bcm7212-pispbe
Otherwise looks fine to me.
Rob
next prev parent reply other threads:[~2024-02-15 14:01 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-09 16:48 [PATCH 0/8] media: raspberrypi: Add support for PiSP Back End Jacopo Mondi
2024-02-09 16:48 ` [PATCH 1/8] media: Add a pixel format for MIPI packed 12bit luma only Jacopo Mondi
2024-02-09 17:53 ` Nicolas Dufresne
2024-02-09 19:28 ` Dave Stevenson
2024-02-09 21:15 ` Nicolas Dufresne
2024-02-12 11:58 ` Dave Stevenson
2024-02-23 9:15 ` Jacopo Mondi
2024-02-12 12:49 ` Sakari Ailus
2024-02-09 16:48 ` [PATCH 2/8] media: Add a pixel format for MIPI packed 14bit " Jacopo Mondi
2024-02-09 17:54 ` Nicolas Dufresne
2024-02-10 5:17 ` Jai Luthra
2024-02-23 9:08 ` Jacopo Mondi
2024-02-09 16:48 ` [PATCH 3/8] media: Add a pixel format for BRG48 and RGB48 Jacopo Mondi
2024-02-09 17:35 ` Kieran Bingham
2024-02-23 9:45 ` Jacopo Mondi
2024-02-15 10:37 ` Naushir Patuck
2024-02-15 10:41 ` Naushir Patuck
2024-02-09 16:48 ` [PATCH 4/8] media: Add meta pixel format for PiSP BE config Jacopo Mondi
2024-02-09 16:48 ` [PATCH 5/8] media: Add PiSP Compressed RAW Bayer formats Jacopo Mondi
2024-02-09 16:48 ` [PATCH 6/8] media: dt-bindings: Add bindings for Raspberry Pi PiSP Back End Jacopo Mondi
2024-02-12 8:12 ` Krzysztof Kozlowski
2024-02-12 8:50 ` Jacopo Mondi
2024-02-12 9:05 ` Krzysztof Kozlowski
2024-02-13 7:28 ` Tomi Valkeinen
2024-02-13 7:57 ` Jacopo Mondi
2024-02-13 8:35 ` Naushir Patuck
2024-02-13 10:44 ` Laurent Pinchart
2024-02-13 18:42 ` Conor Dooley
2024-02-15 14:00 ` Rob Herring [this message]
2024-02-12 8:57 ` Naushir Patuck
2024-02-09 16:48 ` [PATCH 7/8] media: raspberrypi: Add support for PiSP BE Jacopo Mondi
2024-02-09 16:48 ` [PATCH 8/8] media: admin-guide: Document the Raspberry Pi " Jacopo Mondi
2024-02-09 18:45 ` Kieran Bingham
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=20240215140058.GA4147262-robh@kernel.org \
--to=robh@kernel.org \
--cc=conor+dt@kernel.org \
--cc=dave.stevenson@raspberrypi.com \
--cc=david.plowman@raspberrypi.com \
--cc=devicetree@vger.kernel.org \
--cc=hverkuil-cisco@xs4all.nl \
--cc=jacopo.mondi@ideasonboard.com \
--cc=kieran.bingham@ideasonboard.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=naush@raspberrypi.com \
--cc=nick.hollinghurst@raspberrypi.org \
--cc=sakari.ailus@iki.fi \
--cc=tomi.valkeinen@ideasonboard.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.