mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
To: Vijay Kumar Tumati <vijay.tumati@oss.qualcomm.com>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Loic Poulain <loic.poulain@oss.qualcomm.com>
Cc: Hangxiang Ma <hangxiang.ma@oss.qualcomm.com>,
	Jingyi Wang <jingyi.wang@oss.qualcomm.com>,
	Robert Foss <rfoss@kernel.org>,
	Andi Shyti <andi.shyti@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Bryan O'Donoghue <bod@kernel.org>,
	Todor Tomov <todor.too@gmail.com>,
	Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	linux-i2c@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-media@vger.kernel.org, aiqun.yu@oss.qualcomm.com,
	tingwei.zhang@oss.qualcomm.com, trilok.soni@oss.qualcomm.com,
	yijie.yang@oss.qualcomm.com
Subject: Re: [PATCH 2/6] dt-bindings: media: camss: Add qcom,kaanapali-camss binding
Date: Mon, 20 Oct 2025 19:09:28 +0100	[thread overview]
Message-ID: <872988b5-8802-4cdd-b3bd-e1a8c718bb6a@linaro.org> (raw)
In-Reply-To: <4fb3c83a-2bef-4b15-b676-73e8e8957452@oss.qualcomm.com>

On 20/10/2025 18:37, Vijay Kumar Tumati wrote:
> Hi @Bryan, @Krzyszto, just my two cents. I think we should consider 
> separating CSIPHY, CSID, IFE and IFE Lite into distinct DT nodes. Having 
> a modular DT structure brings in several advantages,
> 
>  1. Simple to manage with much better readability.
>  2. Better control to disable certain HW modules from DT.
>  3. Less error prone as we don't need to maintain long lists of clocks
>     or other resources against their names. Accordingly, easy to review.
>  4. No need to maintain resource lists within the CAMSS driver to
>     identify the resources specific to the HW block. Offers centralized
>     control for the HW resources.
>  5. Allows re use between the platforms when a same version of a subset
>     of HW modules is carried over to future chip sets.
>  6. Is more scalable when we add more functionality to the CAMSS driver.
>  7. Finally, it brings in parallel development ability with engineers
>     (within the local teams) working on different HW modules within
>     camera subsystem.
> 
> If not for the current patches in the pipeline, if you are comfortable 
> with this approach, we will try to push the changes for the future chip 
> sets with the modular bindings, leaving the existing SOC drivers and 
> bindings untouched (if that's recommended). Please let us know your 
> thoughts. Thanks.

I think the Rockchip breaking up of blocks is structurally nice and how 
you would do things if you were adding stuff in from scratch.

Old Irish Joke:
Man in car stops asks local: "How do I get to Tralee"
Local scratches head under cap: "Well; I wouldn't start from here"

We have existing bindings and one message that has been repeated is that 
new bindings should follow old bindings of a similar class.

There's a good argument to separate out the CSIPHY - because it has 
distinct power-rails and has a real-world effect for users - in that 
their PCB.

It would really be up to yourselves to justify why it is a whole new 
binding is required i.e. what benefit does it actually bring, and to 
show, prove, that existing users of this driver either benefit or don't 
suffer i.e. doing work for old silicon too, not just the new stuff.

If the only objective you have is to facilitate co-existence of a 
downstream driver with upstream bindings.

Anyway there's absolutely no reason to hold up this series or any 
subsequent series on a hypothetical rewrite unless/until that rewrite 
gets proposed, reviewed and applied.

---
bod

  parent reply	other threads:[~2025-10-20 18:09 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-25  0:02 [PATCH 0/6] media: qcom: camss: Add Kaanapali support Jingyi Wang
2025-09-25  0:02 ` [PATCH 1/6] dt-bindings: i2c: qcom-cci: Document Kaanapali compatible Jingyi Wang
2025-09-25 19:32   ` Loic Poulain
2025-10-15  3:15     ` Hangxiang Ma
2025-09-25  0:02 ` [PATCH 2/6] dt-bindings: media: camss: Add qcom,kaanapali-camss binding Jingyi Wang
2025-09-25  3:12   ` Dmitry Baryshkov
2025-10-06 20:04   ` Loic Poulain
2025-10-15  3:21     ` Hangxiang Ma
2025-10-16  5:52       ` Krzysztof Kozlowski
2025-10-16  8:47         ` Loic Poulain
2025-10-16 10:43           ` Krzysztof Kozlowski
2025-10-20 10:16             ` Krzysztof Kozlowski
2025-10-20 10:56               ` Bryan O'Donoghue
2025-10-20 17:42                 ` Vijay Kumar Tumati
     [not found]                 ` <4fb3c83a-2bef-4b15-b676-73e8e8957452@oss.qualcomm.com>
2025-10-20 18:09                   ` Bryan O'Donoghue [this message]
2025-10-20 18:12                     ` Bryan O'Donoghue
2025-09-25  0:02 ` [PATCH 3/6] media: qcom: camss: Add Kaanapali compatible camss driver Jingyi Wang
2025-09-25  0:02 ` [PATCH 4/6] media: qcom: camss: csiphy: Add support for v2.4.0 two-phase CSIPHY Jingyi Wang
2025-09-25 12:57   ` Bryan O'Donoghue
2025-10-15  3:41     ` Hangxiang Ma
2025-09-25  0:02 ` [PATCH 5/6] media: qcom: camss: csid: Add support for CSID 1080 Jingyi Wang
2025-09-25 23:30   ` Bryan O'Donoghue
2025-10-15  3:44     ` Hangxiang Ma
2025-09-25  0:02 ` [PATCH 6/6] media: qcom: camss: vfe: Add support for VFE 1080 Jingyi Wang
2025-09-25 22:59   ` Bryan O'Donoghue
2025-09-25 22:48 ` [PATCH 0/6] media: qcom: camss: Add Kaanapali support Bryan O'Donoghue
2025-10-15  3:17   ` Hangxiang Ma

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=872988b5-8802-4cdd-b3bd-e1a8c718bb6a@linaro.org \
    --to=bryan.odonoghue@linaro.org \
    --cc=aiqun.yu@oss.qualcomm.com \
    --cc=andi.shyti@kernel.org \
    --cc=bod@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=hangxiang.ma@oss.qualcomm.com \
    --cc=jingyi.wang@oss.qualcomm.com \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=loic.poulain@oss.qualcomm.com \
    --cc=mchehab@kernel.org \
    --cc=rfoss@kernel.org \
    --cc=robh@kernel.org \
    --cc=tingwei.zhang@oss.qualcomm.com \
    --cc=todor.too@gmail.com \
    --cc=trilok.soni@oss.qualcomm.com \
    --cc=vijay.tumati@oss.qualcomm.com \
    --cc=vladimir.zapolskiy@linaro.org \
    --cc=yijie.yang@oss.qualcomm.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

all inboxes | Powered by JetHome®