From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
To: Vijay Kumar Tumati <vijay.tumati@oss.qualcomm.com>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: Hangxiang Ma <hangxiang.ma@oss.qualcomm.com>,
Loic Poulain <loic.poulain@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>,
Todor Tomov <todor.too@gmail.com>,
Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-media@vger.kernel.org,
Krzysztof Kozlowski <krzk@kernel.org>
Subject: Re: [PATCH v9 1/5] media: dt-bindings: Add CAMSS device for Kaanapali
Date: Wed, 10 Dec 2025 21:45:56 +0000 [thread overview]
Message-ID: <1c9db550-677e-4fdc-8929-89c21deecf17@linaro.org> (raw)
In-Reply-To: <bf54a030-ee01-4b66-97d4-37f50a75d93c@oss.qualcomm.com>
On 10/12/2025 19:36, Vijay Kumar Tumati wrote:
>
> On 12/10/2025 11:25 AM, Dmitry Baryshkov wrote:
>> On Wed, Dec 10, 2025 at 09:50:51AM -0800, Vijay Kumar Tumati wrote:
>>> On 12/8/2025 3:21 PM, Vijay Kumar Tumati wrote:
>>>> On 12/8/2025 2:48 PM, Dmitry Baryshkov wrote:
>>>>> On Mon, Dec 08, 2025 at 01:03:06PM -0800, Vijay Kumar Tumati wrote:
>>>>>> On 12/8/2025 11:53 AM, Dmitry Baryshkov wrote:
>>>>>>>> + interconnects:
>>>>>>>> + maxItems: 4
>>>>>>>> +
>>>>>>>> + interconnect-names:
>>>>>>>> + items:
>>>>>>>> + - const: ahb
>>>>>>>> + - const: hf_mnoc
>>>>>>>> + - const: sf_icp_mnoc
>>>>>>>> + - const: sf_mnoc
>>>>>>> You know... Failure to look around is a sin. What are the names of
>>>>>>> interconnects used by other devices? What do they actually describe?
>>>>>>>
>>>>>>> This is an absolute NAK.
>>>>>> Please feel free to correct me here but, a couple things.
>>>>>>
>>>>>> 1. This is consistent with
>>>>>> Documentation/devicetree/bindings/media/qcom,qcm2290-camss.yaml. no?
>>>>> I see that nobody noticed an issue with Agatti, Lemans and Monaco
>>>>> bindings (Krzysztof?)
>>>>>
>>>>> Usually interconnect names describe the blocks that are connected.
>>>>> Here
>>>>> are the top results of a quick git grep of interconnect names through
>>>>> arch/arm64/dts/qcom:
>>>>>
>>>>> 729 "qup-core",
>>>>> 717 "qup-config",
>>>>> 457 "qup-memory",
>>>>> 41 "usb-ddr",
>>>>> 41 "apps-usb",
>>>>> 39 "pcie-mem",
>>>>> 39 "cpu-pcie",
>>>>> 28 "sdhc-ddr",
>>>>> 28 "cpu-sdhc",
>>>>> 28 "cpu-cfg",
>>>>> 24 "mdp0-mem",
>>>>> 17 "memory",
>>>>> 14 "ufs-ddr",
>>>>> 14 "mdp1-mem",
>>>>> 14 "cpu-ufs",
>>>>> 13 "video-mem",
>>>>> 13 "gfx-mem",
>>>>>
>>>>> I hope this gives you a pointer on how to name the interconnects.
>>>>>
>>>>>> 2. If you are referring to some other targets that use, "cam_"
>>>>>> prefix, we
>>>>>> may not need that , isn't it? If we look at these interconnects
>>>>>> from camera
>>>>>> side, as you advised for other things like this?
>>>>> See above.
>>>> I see, so the names cam-cfg, cam-hf-mem, cam-sf-mem, cam-sf-icp-mem
>>>> should be ok?
>>>>
>>>> Or the other option, go exactly like
>>>> Documentation/devicetree/bindings/media/qcom,sc8280xp-camss.yaml.
>>>>
>>>> What would you advise?
>>>>
>>> To keep it consistent with the previous generations and still
>>> represent the
>>> block name, we will go ahead with the style in qcom,sc8280xp-
>>> camss.yaml. If
>>> anyone has any concerns, please do let us know.
>> Krzysztof, Bryan, your opinion? My preference would be to start using
>> sensible names, but I wouldn't enforce that.
>>
>>>>>>>> +
>>>>>>>> + iommus:
>>>>>>>> + items:
>>>>>>>> + - description: VFE non-protected stream
>>>>>>>> + - description: ICP0 shared stream
>>>>>>>> + - description: ICP1 shared stream
>>>>>>>> + - description: IPE CDM non-protected stream
>>>>>>>> + - description: IPE non-protected stream
>>>>>>>> + - description: JPEG non-protected stream
>>>>>>>> + - description: OFE CDM non-protected stream
>>>>>>>> + - description: OFE non-protected stream
>>>>>>>> + - description: VFE / VFE Lite CDM non-protected stream
>>>>>>> This will map all IOMMUs to the same domain. Are you sure that
>>>>>>> this is
>>>>>>> what we want? Or do we wait for iommu-maps to be fixed?
>>> Yes, when it is available, we can start using iommu-maps to create
>>> separate
>>> context banks.
>> It would be necessary to justify removing items from the list. Wouldn't
>> it be better to map only necessary SIDs now and add other later once we
>> have iommu-maps?
> I will let Bryan take the call on this. He was the one who wanted all
> the SIDs in the bindings. Hi @Bryan, if you can kindly share your
> thoughts on this and the interconnect naming, we will go ahead and push
> rev 10 for this. I believe we have taken care of other things. Thank you.
>>
Since when are we delaying patches for future patches that may land never ?
I'm fine with whatever clock name changes you can agree with Krzysztof
but it seems a bit ironic to me to be given feedback to "align with
previous dts" to then have the result be further change.
I'd like a bit of stability and consistency TBH.
---
bod
next prev parent reply other threads:[~2025-12-10 21:46 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-08 12:39 [PATCH v9 0/5] media: qcom: camss: Add Kaanapali support Hangxiang Ma
2025-12-08 12:39 ` [PATCH v9 1/5] media: dt-bindings: Add CAMSS device for Kaanapali Hangxiang Ma
2025-12-08 19:53 ` Dmitry Baryshkov
2025-12-08 21:03 ` Vijay Kumar Tumati
2025-12-08 22:48 ` Dmitry Baryshkov
2025-12-08 23:21 ` Vijay Kumar Tumati
2025-12-10 17:50 ` Vijay Kumar Tumati
2025-12-10 19:25 ` Dmitry Baryshkov
2025-12-10 19:36 ` Vijay Kumar Tumati
2025-12-10 21:45 ` Bryan O'Donoghue [this message]
2025-12-10 22:05 ` Bryan O'Donoghue
2025-12-10 23:32 ` Vijay Kumar Tumati
2025-12-10 23:34 ` Dmitry Baryshkov
2025-12-08 12:39 ` [PATCH v9 2/5] media: qcom: camss: Add Kaanapali compatible camss driver Hangxiang Ma
2025-12-08 12:39 ` [PATCH v9 3/5] media: qcom: camss: csiphy: Add support for v2.4.0 two-phase CSIPHY Hangxiang Ma
2025-12-08 12:39 ` [PATCH v9 4/5] media: qcom: camss: csid: Add support for CSID gen4 Hangxiang Ma
2025-12-08 12:39 ` [PATCH v9 5/5] media: qcom: camss: vfe: Add support for VFE gen4 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=1c9db550-677e-4fdc-8929-89c21deecf17@linaro.org \
--to=bryan.odonoghue@linaro.org \
--cc=andi.shyti@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=hangxiang.ma@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-msm@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=todor.too@gmail.com \
--cc=vijay.tumati@oss.qualcomm.com \
--cc=vladimir.zapolskiy@linaro.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