Devicetree
 help / color / mirror / Atom feed
From: Bryan O'Donoghue <bod@kernel.org>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
	Vladimir Zapolskiy <vladimir.zapolskiy@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,
	Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Subject: Re: [PATCH v4 0/5] Add Qualcomm JPEG V4L2 encoder for SM8250
Date: Tue, 7 Jul 2026 11:41:19 +0100	[thread overview]
Message-ID: <d5407ab1-1af7-4678-ae67-5cf30ce8fa4b@kernel.org> (raw)
In-Reply-To: <d0768c15-453f-4d3f-8110-886a5c697b02@oss.qualcomm.com>

On 07/07/2026 11:11, Konrad Dybcio wrote:
> On 7/7/26 12:00 PM, Bryan O'Donoghue wrote:
>> On 07/07/2026 10:24, Konrad Dybcio wrote:
>>> On 7/6/26 3:37 PM, Bryan O'Donoghue wrote:
>>>> On 06/07/2026 14:02, Vladimir Zapolskiy wrote:
>>
>>>>>>
>>>>>> The idea is to make all of these peers, eventually. Not particular block
>>>>>> owns the TITAN_TOP_GDSC - the entire CAMSS block is a collapsible block.
>>>>>>
>>>>>
>>>>> The statement provides the same information as before, e.g. it's found here:
>>>>>
>>>>> https://lore.kernel.org/linux-media/fbc018f5- c025-4747-85f2-53b45b0f0496@nxsw.ie/
>>>>>
>>>>>        There's no functional linkage between CAMSS/IFE and JPEG - they are
>>>>>        peers within the CAMSS power-island.
>>>>>
>>>>> Thus "the CAMSS power-island" exists, and it got its hardware description
>>>>> as the CAMSS top device tree node, and TITAN_TOP_GDSC power domain is
>>>>> a natural resource of all devices on "CAMSS power-island",
>>>>
>>>> Vlad honestly, TITAN_TOP_GDSC is provided to the CAMSS island - all of the nodes within it depend on that and it is _external_ to the block.
>>>>
>>>> There is a CSID MUX on some SOC other than that I'll restate it again, I'm not sure why you won't accept it.
>>>>
>>>> There is no dependency between JPEG and IFE, one is _not_ subordinate to the other and trying to find ways to invalidate that statement runs counter to the facts.
>>>
>>> They are all subordinate to CAMSS_TOP - Vlad indeed said they are
>>> peers (i.e. there's no co-dependence between them specifically, but
>>> their parent is shared).
>>>
>>> You can't use any of these IP blocks if you don't first power up
>>> TOP because of the physical layout.
>>
>> Yes and I'm asking for TOP to be listed in each of the subordinate nodes for reasons given below.
>>
>> But unlike MDSS - OPE for example doesn't require IFE or CSID to do its job.
> 
> MDSS also contains a number of unrelated peers - e.g. DP and DSI
> controllers.

OK, I can see how this thread is confusing.

The idea is to start to declare sub-nodes "on the road" to making camss 
into a bus. The legacy binding we have is really for the IFE domain - 
that is CSIPHY, CSID, IFE.

Right now the camss binding describes those things - so linking say OPE 
or JPEG back to the thing that describes those isn't right.

OTOH we _want_ to make the top-level binding into a bus, we've discussed 
that several times.

To transition from monolith IFE-domain only, to camss-bus, we should 
have the sub-nodes fully describe themselves as "camss-bus" doesn't 
exist yet.

Once we have compat="camss-bus" then fine, make that linkage, I fully 
support that.

That roadmap BTW is why I'm asking Antanas and Loic to make JPEG and OPE 
sub-nodes of camss - but make them complete sub-nodes - power-domains, 
clocks, nocs, including the TOP_GDSC.

It means we can work on splitting apart the existing camss node in 
isolation to make CSID, IFE as peer sub-nodes.

We definitely shouldn't be making those sub-nodes dependent on 
compat="camss" but they definitely will be dependent once we finish 
making compat="camss-bus".

When that is done I fully agree TOP_GDSC belongs in the bus node, like MDSS.

I hope that makes sense.

---
bod

  reply	other threads:[~2026-07-07 10:41 UTC|newest]

Thread overview: 54+ 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-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-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 [this message]
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)
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=d5407ab1-1af7-4678-ae67-5cf30ce8fa4b@kernel.org \
    --to=bod@kernel.org \
    --cc=andersson@kernel.org \
    --cc=atanas.filipov@oss.qualcomm.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --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