From: Vijay Kumar Tumati <vijay.tumati@oss.qualcomm.com>
To: Krzysztof Kozlowski <krzk@kernel.org>,
Hangxiang Ma <hangxiang.ma@oss.qualcomm.com>
Cc: 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>,
Bryan O'Donoghue <bryan.odonoghue@linaro.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,
Jingyi Wang <jingyi.wang@oss.qualcomm.com>,
Atiya Kailany <atiya.kailany@oss.qualcomm.com>
Subject: Re: [PATCH v3 2/6] dt-bindings: media: camss: Add qcom,kaanapali-camss binding
Date: Tue, 28 Oct 2025 12:18:17 -0700 [thread overview]
Message-ID: <c264e656-604c-4390-8edb-a9810e68dd79@oss.qualcomm.com> (raw)
In-Reply-To: <0ddf3634-d9eb-425a-b35b-c0b4ee995a4b@kernel.org>
On 10/28/2025 11:39 AM, Krzysztof Kozlowski wrote:
> On 28/10/2025 18:45, Vijay Kumar Tumati wrote:
>>>>>> + - const: tfe1
>>>>>> + - const: tfe2
>>>>> Why not using the same names as before? It really does not matter that
>>>>> it is thin or image, all of them are the same because only the
>>>>> difference against top matters.
>>>> Right, this is done to maintain the consistency with the clock driver on
>>> Sorry, this makes no sense. This device has nothing to do with clock
>>> driver. Don't ever use clock drivers as arguments for doing something in
>>> completely different place.
>>>
>>> Not mentioning that drivers don't matter much for the bindings, so I
>>> really do not get what you try to explain here.
>> Understood. I meant to say that it is consistent with the naming for the
>> TFE device that is available on Kaanapali. If our intention is to keep
>> the names in the bindings same as previous generations despite the
>> changing HW architectures, we could change these to IFEs, to be
>> consistent with previous generations. Please advise. Appreciate your
>> inputs here.
>
> You name these based on the provider, the clock controller or whatever
> controller, and that's the mistake. Names are coming from this device
> point of view, from the consumer. This device does not care whether this
> is Thin or Image or Whatever GDSC.
>
>
> Best regards,
> Krzysztof
Gotcha. Thanks for the explanation, Krzysztof. Agree with you, we are
just trying to differentiate the GDSCs / power domains for TOP and to
each of the front end modules, to control them independently based on
the usage, as we have one common device 'camss' in the DT.
Looking at this device as a whole (as a consumer), it has one TOP GDSC
and one GDSC to each of the TFEs (the front end device itself in this
architecture is called TFE) separately for clock gating. TFE_0_GDSC is
enabled only when TFE0 is used, for instance. That way it seemed fitting
too. But if that's not OK, we have two options. One, we change this to
"ife" to be consistent with previous targets or the second, use even
more superficial name like "xfe_0", "xfe_1"etc. for power domain names
that represent any front end (thin or otherwise, which like you said
doesn't matter here) and can be adopted to all future targets. Please
let us know your thoughts. Thank you very much.
next prev parent reply other threads:[~2025-10-28 19:18 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-23 9:14 [PATCH v3 0/6] media: qcom: camss: Add Kaanapali support Hangxiang Ma
2025-10-23 9:14 ` [PATCH v3 1/6] dt-bindings: i2c: qcom-cci: Document Kaanapali compatible Hangxiang Ma
2025-10-23 15:24 ` Krzysztof Kozlowski
2025-10-24 9:04 ` Loic Poulain
2025-10-23 9:14 ` [PATCH v3 2/6] dt-bindings: media: camss: Add qcom,kaanapali-camss binding Hangxiang Ma
2025-10-28 8:09 ` Krzysztof Kozlowski
2025-10-28 8:10 ` Krzysztof Kozlowski
2025-10-29 5:42 ` Hangxiang Ma
2025-10-28 15:22 ` Vijay Kumar Tumati
2025-10-28 16:56 ` Krzysztof Kozlowski
2025-10-28 17:45 ` Vijay Kumar Tumati
2025-10-28 18:39 ` Krzysztof Kozlowski
2025-10-28 19:18 ` Vijay Kumar Tumati [this message]
2025-10-23 9:14 ` [PATCH v3 3/6] media: qcom: camss: Add Kaanapali compatible camss driver Hangxiang Ma
2025-10-23 9:14 ` [PATCH v3 4/6] media: qcom: camss: csiphy: Add support for v2.4.0 two-phase CSIPHY Hangxiang Ma
2025-10-23 9:14 ` [PATCH v3 5/6] media: qcom: camss: csid: Add support for CSID 1080 Hangxiang Ma
2025-10-23 9:14 ` [PATCH v3 6/6] media: qcom: camss: vfe: Add support for VFE 1080 Hangxiang Ma
2025-10-28 9:34 ` [PATCH v3 0/6] media: qcom: camss: Add Kaanapali support Bryan O'Donoghue
2025-10-28 14:37 ` Vijay Kumar Tumati
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=c264e656-604c-4390-8edb-a9810e68dd79@oss.qualcomm.com \
--to=vijay.tumati@oss.qualcomm.com \
--cc=aiqun.yu@oss.qualcomm.com \
--cc=andi.shyti@kernel.org \
--cc=atiya.kailany@oss.qualcomm.com \
--cc=bryan.odonoghue@linaro.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=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