From: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
To: Vijay Kumar Tumati <vijay.tumati@oss.qualcomm.com>,
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
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>,
Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: 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 v6 1/5] media: dt-bindings: Add CAMSS device for Kaanapali
Date: Wed, 17 Dec 2025 02:02:01 +0200 [thread overview]
Message-ID: <eff759a7-06ee-42f5-a3a6-860956d7ae84@linaro.org> (raw)
In-Reply-To: <d1fb4d8a-608e-44f5-834f-fa92d487c75b@oss.qualcomm.com>
Hi Vijay.
On 12/16/25 19:55, Vijay Kumar Tumati wrote:
>
> On 12/12/2025 4:49 AM, Vladimir Zapolskiy wrote:
>> On 11/18/25 20:44, Konrad Dybcio wrote:
>>> On 11/18/25 7:25 PM, Vijay Kumar Tumati wrote:
>>>>
>>>> On 11/18/2025 7:00 AM, Bryan O'Donoghue wrote:
>>>>> On 14/11/2025 03:29, Hangxiang Ma wrote:
>>>>>> + <0x0 0x0900e000 0x0 0x1000>,
>>>>>
>>>>> Why aren't you starting @ 0x0900e000 ? seems to be omitting some of
>>>>> the registers in the ICP block. Should start at +0xd000 not +0xe000 ?
>>>>>
>>>>>> + <0x0 0x0902e000 0x0 0x1000>,
>>>>>
>>>>> Same here.
>>>> Hi Bryan, HLOS does not have access to those registers. They are
>>>> configured by the Hyp.
>>>
>>> If that's hyp, please add them. We already have platforms without
>>> Gunyah. Remember, bindings are defined once and for good and I wouldn't
>>> call it impossible that someone would want to run that configuration on
>>> Kaanapali some day
>>>
>>
>> If the ICP register block is added now, then it will practically exclude
>> an option to run hardware demosaic on Kaanapali. There were notorious
>> and still unresolved problems with CSIPHY blocks, which shall be split
>> from CSID/VFE CAMSS on device tree level also, for similar reasons the
>> same should be done with ICP or other blocks. It makes exactly zero
>> sense to pile everything into a monolythic device tree node, and doing
>> so undermines any future advances in CAMSS support in the upstream
>> Linux, the hardware description in downstream is done thoughtfully
>> better,
>> and not for no reason.
>>
> Hi Vladimir, yes, this has been discussed in the past and the general
> consensus from everyone is for not blocking KNP series on this. But yes,
> there is an ongoing effort to modularize the bindings for future
> chipsets and when it's ready, we can review, discuss and take it
My concern is that it makes very little sense to throw any not clearly
defined hardware properties and interconnections into an unorganized and
unmanageable pile of everything, because this closes the door to ever update
the upstream CAMSS driver by adding better CAMSS IP support for any already
manufactured and sold Qualcomm SoC powered board with done CAMSS support.
If some user already holds a phone, a laptop and expects to offload CPU to
CAMSS IP one happy day, it's pretty unsatisfactory to say that it will never
happen on legacy hardware, because there was done an unrecoverable mistake
by adding never tested properties into CAMSS DT bindings, and the remained
option is to "wait for future chipsets". Each added unsupported and unused
property boards up the window of better CAMSS support on manufactured boards.
I don't understand a reason why to do worse for the upstream, when there is
a clear and feasible alternative not to do worse, thus my misunderstanding
and my grief for upstream CAMSS are my concerns.
> forward. As for your ICP concern, if you are referring to the Demosaic
> in OFE, I believe we might still be able to do it either with direct OFE
> config from CPU or using the firmware (preferred), given that we
> properly establish the shared memory and SID IOVA ranges for ICP,
> assuming that the load and authenticate will be taken care by Hyp or TZ.
> Please share your thoughts if I missed something.
>
> Hi Bryan, please feel free to add your thoughts.
>
--
Best wishes,
Vladimir
next prev parent reply other threads:[~2025-12-17 0:02 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-14 3:29 [PATCH v6 0/5] media: qcom: camss: Add Kaanapali support Hangxiang Ma
2025-11-14 3:29 ` [PATCH v6 1/5] media: dt-bindings: Add CAMSS device for Kaanapali Hangxiang Ma
2025-11-15 11:25 ` Krzysztof Kozlowski
2025-11-16 13:50 ` Bryan O'Donoghue
2025-11-18 15:00 ` Bryan O'Donoghue
2025-11-18 18:25 ` Vijay Kumar Tumati
2025-11-18 18:44 ` Konrad Dybcio
2025-11-18 21:45 ` Vijay Kumar Tumati
2025-11-19 9:21 ` Bryan O'Donoghue
2025-11-19 13:29 ` Vijay Kumar Tumati
2025-12-12 12:49 ` Vladimir Zapolskiy
2025-12-16 17:55 ` Vijay Kumar Tumati
2025-12-17 0:02 ` Vladimir Zapolskiy [this message]
2025-12-17 0:46 ` Vijay Kumar Tumati
2025-12-17 3:29 ` Bryan O'Donoghue
2025-12-17 3:22 ` Bryan O'Donoghue
2025-12-17 3:20 ` Bryan O'Donoghue
2025-11-14 3:29 ` [PATCH v6 2/5] media: qcom: camss: Add Kaanapali compatible camss driver Hangxiang Ma
2025-11-16 13:50 ` Bryan O'Donoghue
2025-11-14 3:29 ` [PATCH v6 3/5] media: qcom: camss: csiphy: Add support for v2.4.0 two-phase CSIPHY Hangxiang Ma
2025-11-16 13:50 ` Bryan O'Donoghue
2025-11-14 3:29 ` [PATCH v6 4/5] media: qcom: camss: csid: Add support for CSID 1080 Hangxiang Ma
2025-11-18 9:41 ` Bryan O'Donoghue
2025-11-18 22:00 ` Vijay Kumar Tumati
2025-11-18 9:43 ` Bryan O'Donoghue
2025-11-19 0:23 ` Vijay Kumar Tumati
2025-11-14 3:29 ` [PATCH v6 5/5] media: qcom: camss: vfe: Add support for VFE 1080 Hangxiang Ma
2025-11-18 9:58 ` Bryan O'Donoghue
2025-11-19 0:31 ` 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=eff759a7-06ee-42f5-a3a6-860956d7ae84@linaro.org \
--to=vladimir.zapolskiy@linaro.org \
--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=konrad.dybcio@oss.qualcomm.com \
--cc=krzk+dt@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=tingwei.zhang@oss.qualcomm.com \
--cc=todor.too@gmail.com \
--cc=trilok.soni@oss.qualcomm.com \
--cc=vijay.tumati@oss.qualcomm.com \
--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;
as well as URLs for NNTP newsgroup(s).