From: "Gjorgji Rosikopulos (Consultant)" <gjorgji.rosikopulos@oss.qualcomm.com>
To: Bryan O'Donoghue <bod.linux@nxsw.ie>,
Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
Atanas Filipov <atanas.filipov@oss.qualcomm.com>,
linux-media@vger.kernel.org
Cc: loic.poulain@oss.qualcomm.com, mchehab@kernel.org,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
andersson@kernel.org, konradybcio@kernel.org,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH v4 0/5] Add Qualcomm JPEG V4L2 encoder for SM8250
Date: Tue, 7 Jul 2026 14:20:25 +0300 [thread overview]
Message-ID: <0426b129-5d03-467c-a61f-055e7dcf5654@oss.qualcomm.com> (raw)
In-Reply-To: <6b5e573a-c13d-418c-af5b-759deb40bfab@nxsw.ie>
On 7/7/2026 2:13 PM, Bryan O'Donoghue wrote:
> On 07/07/2026 11:55, Gjorgji Rosikopulos (Consultant) wrote:
>> Hi Vladimir, Bryan,
>>
>> On 7/6/2026 3:00 PM, Vladimir Zapolskiy wrote:
>>> On 7/6/26 13:12, Bryan O'Donoghue wrote:
>>>> On 06/07/2026 08:11, Atanas Filipov wrote:
>>>>> Note: The handling of shared camera subsystem resources (power
>>>>> domains,
>>>>> interconnects) for child IP blocks is still an open design question.
>>>>
>>>> Why ?
>>>>
>>>> A device needs to vote on its own interconnect and power-domains on
>>>> any
>>>> bus. A sub-device of another device may wish to ramp a clock for
>>>> whatever reason.
>>>
>>> Certainly a CAMSS device will vote on all needed to it resources,
>>> some of
>>> which are shared and got their description under CAMSS device tree
>>> node.
>>>
>>>> There is no "master" device in this block of devices - save perhaps
>>>> for
>>>> the CSID mux / wrappers on some of these parts.
>>>>
>>>> We have shared resources like camera noc, system noc and external
>>>> clocks.
>>>>
>>>> Please include power-domains and interconnects.
>>>>
>>>
>>> Why? The common power domain and interconnects have already been
>>> described as resources of the parent CAMSS device, there is no need
>>> to duplicate descriptions in every child device tree node of CAMSS.
>>>
>> The initial patch and work for JPEG was as independent driver. I agree
>> from hw perspective it is
>>
>> part of CAMSS subsystem and maybe from design perspective proper way is
>> to be child node not of the CAMSS.
>>
>> However the resources shared by both can be abstracted in other
>> frameworks, example ICC voting allows to have shared
>>
>> clocks which can have policy to keep the higher rate and satisfy both of
>> the HW's.
>>
>> So maybe it need to be decided:
>>
>> Do we want really additional logic for handling CAMSS resource of the
>> CAMMS sub-devices by the CAMSS driver and create separate CAMSS API,s
>
> No, agreed.
>
>> or we can use existing fw's for that. ICC, clock, OPP which all allow
>> sharing of the resources. Also there are cases where CAMSS and
>>
>> is not needed but JPEG encoder is: Example RTSP streaming or UVC
>> streaming which require jpeg encoder.
>
> Yes.
>
>>
>> Anyways my opinion:
>>
>> 1. CAMSS is not prepared and not ready to handle child devices, only the
>> populate child nodes is not enough. I think it is little bit mess,
>>
>> some of the HW;s CSID, IFE etc are instantiated directly from CAMSS and
>> jpeg and Ope are described as child nodes.
>
> That's not the strategy.
>
> The strategy is gradual transition from monolith to bus.
>
> https://lore.kernel.org/all/d5407ab1-1af7-4678-ae67-5cf30ce8fa4b@kernel.org/
>
Sorry i have missed that. I understand now the direction which has been
agreed on.
>
>
>> 2. Jpeg on its own currently does not have any dependency with CAMSS
>> driver code. It can use shared resources without issue and leave
>>
>> the ICC, clock and other frameworks to do the job.
>
> Yes as a fully self-described sub-node so that we can do
> compat="camss-bus" with the minimal amount of additional churn on top.
>
> Make JPEG a distinct standlone node now, and you preclude the bus -
> you have to make the argument to Krzysztof, Rob and Conor that "the
> old binding was wrong but let me away with a change to it now"
>
> Not an argument I will be making ;)
>
> We should put the JPEG, OPE, ICP as sub-nodes of compat=camss so that
> we can make
>
> camera-bus {
> compat=camss
> power-domains=<whatever is common>
> csid {
> compat=csid;
> }
> jpeg {
> compat=jpeg;
> }
> }
>
> a reality.
>
> Put jpeg at the same level as camera-bus and you basically preclude
> that model.
Ok understood, lets wait for more review comments, and move to this
model for the next patchset. Thanks for the clarification :-)
~Gjorgji
next prev parent reply other threads:[~2026-07-07 11:20 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-06 7:11 [PATCH v4 0/5] Add Qualcomm JPEG V4L2 encoder for SM8250 Atanas Filipov
2026-07-06 7:11 ` [PATCH v4 1/5] media: qcom: camss: Populate CAMSS child devices via DT Atanas Filipov
2026-07-06 7:23 ` sashiko-bot
2026-07-06 12:09 ` Krzysztof Kozlowski
2026-07-06 12:27 ` Bryan O'Donoghue
2026-07-06 12:36 ` Krzysztof Kozlowski
2026-07-06 12:38 ` Bryan O'Donoghue
2026-07-06 12:41 ` Dmitry Baryshkov
2026-07-08 22:30 ` Bryan O'Donoghue
2026-07-09 7:45 ` Loic Poulain
2026-07-09 10:04 ` Bryan O'Donoghue
2026-07-06 7:11 ` [PATCH v4 2/5] dt-bindings: media: qcom,sm8250-camss: allow JPEG encoder child node Atanas Filipov
2026-07-06 7:24 ` sashiko-bot
2026-07-06 10:07 ` Bryan O'Donoghue
2026-07-06 12:11 ` Krzysztof Kozlowski
2026-07-06 7:11 ` [PATCH v4 3/5] dt-bindings: media: qcom: Add JPEG encoder binding Atanas Filipov
2026-07-06 7:18 ` sashiko-bot
2026-07-06 10:19 ` Bryan O'Donoghue
2026-07-06 12:17 ` Krzysztof Kozlowski
2026-07-06 7:11 ` [PATCH v4 4/5] arm64: dts: qcom: sm8250: Add JPEG encoder node Atanas Filipov
2026-07-06 7:29 ` sashiko-bot
2026-07-06 12:18 ` Krzysztof Kozlowski
2026-07-06 12:45 ` Dmitry Baryshkov
2026-07-06 7:11 ` [PATCH v4 5/5] media: qcom: jpeg: Add Qualcomm JPEG V4L2 encoder Atanas Filipov
2026-07-06 7:33 ` sashiko-bot
2026-07-06 7:46 ` Vladimir Zapolskiy
2026-07-07 13:24 ` Gjorgji Rosikopulos (Consultant)
2026-07-07 13:32 ` Dmitry Baryshkov
2026-07-07 13:47 ` Gjorgji Rosikopulos (Consultant)
2026-07-07 14:47 ` Dmitry Baryshkov
2026-07-07 14:51 ` Gjorgji Rosikopulos (Consultant)
2026-07-08 8:47 ` Vladimir Zapolskiy
2026-07-08 9:32 ` Gjorgji Rosikopulos (Consultant)
2026-07-08 10:28 ` Vladimir Zapolskiy
2026-07-08 11:35 ` Dmitry Baryshkov
2026-07-08 12:01 ` Vladimir Zapolskiy
2026-07-08 15:44 ` Gjorgji Rosikopulos (Consultant)
2026-07-08 16:25 ` Vladimir Zapolskiy
2026-07-06 10:21 ` Bryan O'Donoghue
2026-07-06 12:19 ` Krzysztof Kozlowski
2026-07-06 13:11 ` Dmitry Baryshkov
2026-07-06 17:13 ` Uwe Kleine-König
2026-07-06 10:12 ` [PATCH v4 0/5] Add Qualcomm JPEG V4L2 encoder for SM8250 Bryan O'Donoghue
2026-07-06 12:00 ` Vladimir Zapolskiy
2026-07-06 12:11 ` Bryan O'Donoghue
2026-07-06 13:02 ` Vladimir Zapolskiy
2026-07-06 13:37 ` Bryan O'Donoghue
2026-07-06 13:57 ` Vladimir Zapolskiy
2026-07-06 14:12 ` Bryan O'Donoghue
2026-07-06 14:35 ` Vladimir Zapolskiy
2026-07-06 14:49 ` Bryan O'Donoghue
2026-07-06 15:00 ` Vladimir Zapolskiy
2026-07-07 9:24 ` Konrad Dybcio
2026-07-07 10:00 ` Bryan O'Donoghue
2026-07-07 10:11 ` Konrad Dybcio
2026-07-07 10:41 ` Bryan O'Donoghue
2026-07-08 12:19 ` Konrad Dybcio
2026-07-08 21:21 ` Bryan O'Donoghue
2026-07-09 5:41 ` Gjorgji Rosikopulos (Consultant)
2026-07-09 7:33 ` Dmitry Baryshkov
2026-07-09 10:31 ` Bryan O'Donoghue
2026-07-07 12:17 ` Gjorgji Rosikopulos (Consultant)
2026-07-07 10:55 ` Gjorgji Rosikopulos (Consultant)
2026-07-07 11:13 ` Bryan O'Donoghue
2026-07-07 11:20 ` Gjorgji Rosikopulos (Consultant) [this message]
2026-07-07 11:15 ` Bryan O'Donoghue
2026-07-07 13:22 ` Dmitry Baryshkov
2026-07-07 15:49 ` Bryan O'Donoghue
2026-07-06 12:24 ` Krzysztof Kozlowski
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=0426b129-5d03-467c-a61f-055e7dcf5654@oss.qualcomm.com \
--to=gjorgji.rosikopulos@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=atanas.filipov@oss.qualcomm.com \
--cc=bod.linux@nxsw.ie \
--cc=bryan.odonoghue@linaro.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--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=robh@kernel.org \
--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