Devicetree
 help / color / mirror / Atom feed
From: "Gjorgji Rosikopulos (Consultant)" <gjorgji.rosikopulos@oss.qualcomm.com>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
	Atanas Filipov <atanas.filipov@oss.qualcomm.com>
Cc: linux-media@vger.kernel.org, bod@kernel.org, mchehab@kernel.org,
	robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	andersson@kernel.org, konradybcio@kernel.org,
	loic.poulain@linaro.org, linux-arm-msm@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v6 3/3] arm64: dts: qcom: sm8250: Add JPEG encoder node
Date: Tue, 4 Aug 2026 08:48:13 +0300	[thread overview]
Message-ID: <31db3de6-34a2-4ccb-af61-043f56d8f86b@oss.qualcomm.com> (raw)
In-Reply-To: <2rtrk7tsquxekqhk7tsiomjnfzc3xfqg574cbw2m5b4ui4ovt6@2oxme5w4wsqy>

Hi Dmitry,

On 8/3/2026 9:44 PM, Dmitry Baryshkov wrote:
> On Thu, Jul 30, 2026 at 09:02:26PM +0300, Atanas Filipov wrote:
>> On 7/30/2026 7:01 PM, Dmitry Baryshkov wrote:
>>> On Thu, Jul 30, 2026 at 06:05:24PM +0300, Atanas Filipov wrote:
>>>> Add the JPEG encoder hardware node to the SM8250 device tree so the
>>>> qcom-jpeg V4L2 encoder driver can bind and operate on this platform.
>>>>
>>>> Signed-off-by: Atanas Filipov <atanas.filipov@oss.qualcomm.com>
>>>> ---
>>>>   arch/arm64/boot/dts/qcom/sm8250.dtsi | 72 ++++++++++++++++++++++++++++
>>>>   1 file changed, 72 insertions(+)
>>>>
>>>> diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
>>>> index f11da2ca4181..d42b29419320 100644
>>>> --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
>>>> +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
>>>> @@ -13,6 +13,7 @@
>>>>   #include <dt-bindings/firmware/qcom,scm.h>
>>>>   #include <dt-bindings/gpio/gpio.h>
>>>>   #include <dt-bindings/interconnect/qcom,osm-l3.h>
>>>> +#include <dt-bindings/interconnect/qcom,icc.h>
>>>>   #include <dt-bindings/interconnect/qcom,sm8250.h>
>>>>   #include <dt-bindings/mailbox/qcom-ipcc.h>
>>>>   #include <dt-bindings/phy/phy-qcom-qmp.h>
>>>> @@ -4486,6 +4487,77 @@ cci1_i2c1: i2c-bus@1 {
>>>>   			};
>>>>   		};
>>>> +		jpeg-encoder@ac53000 {
>>>> +			compatible = "qcom,sm8250-jpeg-enc";
>>>> +			status = "disabled";
>>>> +
>>>> +			reg = <0x0 0x0ac53000 0x0 0x1000>;
>>>> +
>>>> +			interrupts = <GIC_SPI 474 IRQ_TYPE_EDGE_RISING>;
>>>> +
>>>> +			power-domains = <&camcc TITAN_TOP_GDSC>,
>>>> +					<&rpmhpd RPMHPD_MMCX>,
>>>
>>> Is TITAN_TOP a part of the MMCX or CX domain? In the former case,
>>> please drop separate mmcx vote here and let it come through the
>>> titan_top (it might require camcc driver and node modifications).
>>>
>>
>> The change was requested by Brian, most likely in connection with upcoming
>> migrations. I think he would be able to explain the exact reasons. As far as
>> the facts are concerned, this is not currently necessary for the driver to
>> be functional.
> 
> There is no word _driver_ in the _dt bindings_. What is the actual
> hardware wrapping? What is being powered by which domain? Is MMCX
> directly powering something? Or is it gated by TITAN_TOP_GDSC? I assume
> that MX is powering on PLLs, correct?

Yes i agree there is no word driver in the dt_bindings but you get my point,
with only TITAN_TOP_GDSC hw is fully functional there is no need of additional MMCX 
power domain. 

> 
>>>> +
>>>> +				opp-100000000 {
>>>> +					opp-hz = /bits/ 64 <400000000>,
>>>> +						 /bits/ 64 <100000000>;
>>>> +					required-opps = <&rpmhpd_opp_min_svs>;
>>>
>>> This looks a bit strange. Are you sure that PLL levels match the MMCX /
>>> internal clock levels? I think you need to vote on both domains.
> 
> This is not addressed / responded.

Yes this need to be checked. I will get back when we get info for this...

Regards,
~Gjorgji

      reply	other threads:[~2026-08-04  5:48 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-30 15:05 [PATCH v6 0/3] Add Qualcomm JPEG V4L2 encoder for SM8250 Atanas Filipov
2026-07-30 15:05 ` [PATCH v6 1/3] dt-bindings: media: qcom: Add JPEG encoder binding Atanas Filipov
2026-07-30 15:39   ` Dmitry Baryshkov
2026-07-30 16:24     ` Atanas Filipov
2026-07-31 19:26       ` Gjorgji Rosikopulos (Consultant)
2026-08-01 19:48         ` Loic Poulain
2026-08-02 13:53           ` Atanas Filipov
2026-08-03 18:16         ` Dmitry Baryshkov
2026-08-04  5:56           ` Gjorgji Rosikopulos (Consultant)
2026-07-30 15:05 ` [PATCH v6 2/3] media: qcom: jpeg: Add Qualcomm JPEG V4L2 encoder Atanas Filipov
2026-07-30 15:20   ` sashiko-bot
2026-07-30 15:57   ` Dmitry Baryshkov
2026-08-03 15:57     ` Gjorgji Rosikopulos (Consultant)
2026-08-03 18:37       ` Dmitry Baryshkov
2026-08-04  5:53         ` Gjorgji Rosikopulos (Consultant)
2026-07-30 15:05 ` [PATCH v6 3/3] arm64: dts: qcom: sm8250: Add JPEG encoder node Atanas Filipov
2026-07-30 15:31   ` sashiko-bot
2026-07-30 16:01   ` Dmitry Baryshkov
2026-07-30 18:02     ` Atanas Filipov
2026-07-31 19:30       ` Gjorgji Rosikopulos (Consultant)
2026-08-01 10:04         ` Bryan O'Donoghue
2026-08-03  6:38           ` Gjorgji Rosikopulos (Consultant)
2026-08-03 19:09           ` Dmitry Baryshkov
2026-08-04  5:44             ` Gjorgji Rosikopulos (Consultant)
2026-08-03 18:44       ` Dmitry Baryshkov
2026-08-04  5:48         ` Gjorgji Rosikopulos (Consultant) [this message]

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=31db3de6-34a2-4ccb-af61-043f56d8f86b@oss.qualcomm.com \
    --to=gjorgji.rosikopulos@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=atanas.filipov@oss.qualcomm.com \
    --cc=bod@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@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@linaro.org \
    --cc=mchehab@kernel.org \
    --cc=robh@kernel.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