From: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Geert Uytterhoeven <geert+renesas@glider.be>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH v2 1/6] dt-bindings: media: renesas,isp: Add Gen4 family fallback
Date: Tue, 27 Aug 2024 10:12:33 +0200 [thread overview]
Message-ID: <20240827081233.GE2636928@fsdn.se> (raw)
In-Reply-To: <cnca2gdh6c3kg5ybb4dxzlca5c7jsvz4tomibpkf746syejvmf@ndbq4qkykume>
On 2024-08-27 08:31:22 +0200, Krzysztof Kozlowski wrote:
> On Mon, Aug 26, 2024 at 04:43:47PM +0200, Niklas Söderlund wrote:
> > The ISP Channel Selector IP is the same for all current Gen4 devices.
> > This was not known when adding support for V3U and V4H and a single SoC
> > specific compatible was used.
> >
> > Before adding more SoC specific bindings for V4M add a family compatible
> > fallback for Gen4. That way the driver only needs to be updated once for
> > Gen4, and we still have the option to fix any problems in the driver if
> > any testable differences between the SoCs are found.
> >
> > There are already DTS files using the V3U and V4H compatibles which
> > needs to be updated to not produce a warning for DTS checks. The driver
> > also needs to kept the compatible values to be backward compatible , but
> > for new Gen4 SoCs such as V4M we can avoid this.
> >
> > Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> > ---
> > * Changes since v1
> > - New in v2.
> > ---
> > Documentation/devicetree/bindings/media/renesas,isp.yaml | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/Documentation/devicetree/bindings/media/renesas,isp.yaml b/Documentation/devicetree/bindings/media/renesas,isp.yaml
> > index 33650a1ea034..730c86f2d7b1 100644
> > --- a/Documentation/devicetree/bindings/media/renesas,isp.yaml
> > +++ b/Documentation/devicetree/bindings/media/renesas,isp.yaml
> > @@ -22,6 +22,7 @@ properties:
> > - enum:
> > - renesas,r8a779a0-isp # V3U
> > - renesas,r8a779g0-isp # V4H
> > + - const: renesas,rcar-gen4-isp # Generic R-Car Gen4
>
> Adding generic fallback post-factum is odd, does not feel reliable.
> Instead use specific compatibles as fallbacks.
I agree, it feels a bit odd. But this was the road we hammered out at
great pain for how to be able to move forward with this issue for the
other IP block involved in video capture for R-Car Gen4, VIN [1]. This
just mirrors that long discussion decision for the R-Car CSISP.
I would hate to have different solutions for the two.
1. [PATCH v5 0/6] rcar-vin: Add support for R-Car V4M
https://lore.kernel.org/all/20240704161620.1425409-1-niklas.soderlund+renesas@ragnatech.se/
--
Kind Regards,
Niklas Söderlund
next prev parent reply other threads:[~2024-08-27 8:12 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-26 14:43 [PATCH v2 0/6] rcar-isp: Add support for R-Car V4M Niklas Söderlund
2024-08-26 14:43 ` [PATCH v2 1/6] dt-bindings: media: renesas,isp: Add Gen4 family fallback Niklas Söderlund
2024-08-27 6:31 ` Krzysztof Kozlowski
2024-08-27 8:12 ` Niklas Söderlund [this message]
2024-08-27 21:34 ` Laurent Pinchart
2024-08-28 5:36 ` Krzysztof Kozlowski
2024-08-28 10:50 ` Laurent Pinchart
2024-08-28 11:06 ` Krzysztof Kozlowski
2024-08-28 15:05 ` Rob Herring
2024-08-28 14:46 ` Rob Herring
2024-08-28 15:15 ` Conor Dooley
2024-08-29 8:17 ` Geert Uytterhoeven
2024-08-28 11:09 ` Krzysztof Kozlowski
2024-08-28 7:31 ` Geert Uytterhoeven
2024-08-26 14:43 ` [PATCH v2 2/6] arm64: dts: renesas: r8a779g0: Add family fallback for CSISP IP Niklas Söderlund
2024-08-27 21:37 ` Laurent Pinchart
2024-08-28 7:32 ` Geert Uytterhoeven
2024-08-26 14:43 ` [PATCH v2 3/6] arm64: dts: renesas: r8a779a0: " Niklas Söderlund
2024-08-27 21:58 ` Laurent Pinchart
2024-08-28 7:33 ` Geert Uytterhoeven
2024-08-26 14:43 ` [PATCH v2 4/6] media: rcar-isp: Add family compatible for R-Car Gen4 family Niklas Söderlund
2024-08-26 14:48 ` Biju Das
2024-08-27 8:13 ` Niklas Söderlund
2024-08-27 11:32 ` Biju Das
2024-08-27 22:00 ` Laurent Pinchart
2024-08-28 7:34 ` Geert Uytterhoeven
2024-08-26 14:43 ` [PATCH v2 5/6] dt-bindings: media: renesas,isp: Add binding for V4M Niklas Söderlund
2024-08-27 22:01 ` Laurent Pinchart
2024-08-28 7:39 ` Geert Uytterhoeven
2024-09-22 21:06 ` Krzysztof Kozlowski
2024-08-26 14:43 ` [PATCH v2 6/6] arm64: dts: renesas: r8a779h0: Add family fallback for CSISP IP Niklas Söderlund
2024-08-27 22:01 ` Laurent Pinchart
2024-08-28 7:40 ` Geert Uytterhoeven
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=20240827081233.GE2636928@fsdn.se \
--to=niklas.soderlund+renesas@ragnatech.se \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=krzk@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).