Devicetree
 help / color / mirror / Atom feed
From: Imran Shaik <imran.shaik@oss.qualcomm.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>,
	Viresh Kumar <viresh.kumar@linaro.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Manivannan Sadhasivam <mani@kernel.org>,
	Ajit Pandey <ajit.pandey@oss.qualcomm.com>,
	Taniya Das <taniya.das@oss.qualcomm.com>,
	Jagadeesh Kona <jagadeesh.kona@oss.qualcomm.com>,
	linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: cpufreq: qcom-hw: Document Shikra CPUFREQ Hardware
Date: Fri, 15 May 2026 14:02:08 +0530	[thread overview]
Message-ID: <5ad97e7b-f39e-44cd-b4be-86711a090d01@oss.qualcomm.com> (raw)
In-Reply-To: <e5552777-a449-4640-993f-5cf9bacbda56@kernel.org>



On 14-05-2026 08:13 pm, Krzysztof Kozlowski wrote:
> On 14/05/2026 16:39, Krzysztof Kozlowski wrote:
>> On 08/05/2026 18:03, Imran Shaik wrote:
>>>
>>>
>>> On 05-05-2026 02:23 pm, Krzysztof Kozlowski wrote:
>>>> On 05/05/2026 10:50, Imran Shaik wrote:
>>>>>
>>>>>
>>>>> On 04-05-2026 03:53 pm, Krzysztof Kozlowski wrote:
>>>>>> On Fri, May 01, 2026 at 12:45:44PM +0530, Imran Shaik wrote:
>>>>>>> The Qualcomm Shikra cpufreq hardware is functionally identical to EPSS,
>>>>>>> but supports only up to 12 frequency lookup table (LUT) entries. Introduce
>>>>>>> qcom,cpufreq-epss-lite to represent this constrained EPSS variant.
>>>>>>
>>>>>> The entire point of having a generic compatible is that it MUST match
>>>>>> all devices. If it does not, then it is pointless to push that generic
>>>>>> compatible.
>>>>>>
>>>>>> I am speaking about qcom,cpufreq-epss.
>>>>>>
>>>>>> That's nothing new, I was arguing about it already, but now you have
>>>>>> confirmation of the mess introduced by generic compatibles. Solution is
>>>>>> not to add more generic compatibles, because what will be next?
>>>>>> qcom,cpufreq-epss-lighter?
>>>>>> qcom,cpufreq-epss-more-lite?
>>>>>> qcom,cpufreq-epss-high?
>>>>>>
>>>>>> Same was here:
>>>>>> https://lore.kernel.org/all/20240828203721.2751904-17-quic_nkela@quicinc.com/
>>>>>>
>>>>>> So that's second time I object and do object for every new instance. No
>>>>>> to generic compatibles, they are proven to be wrong at least for
>>>>>> Qualcomm.
>>>>>>
>>>>>> Best regards,
>>>>>> Krzysztof
>>>>>>
>>>>>
>>>>> Hi Krzysztof,
>>>>>
>>>>> There is no functional change to the latest EPSS hardware
>>>>> (qcom,cpufreq-epss) in this case. The Shikra platform uses the CPU
>>>>> frequency scaling block, which is a predecessor of EPSS and is referred
>>>>> to as EPSS‑lite. The only difference between EPSS‑lite and EPSS is the
>>>>> maximum number of frequency look up table (LUT) entries.
>>>>>
>>>>> This constrained EPSS block is not specific to Shikra and can be reused
>>>>> by other SoCs that implement the same hardware. Hence, we have added a
>>>>> separate epss-lite compatible and reused the existing bindings, as all
>>>>> other aspects of the hardware behavior and interface remain identical.
>>>>
>>>> I don't understand how any of this is relevant to my comment. I know
>>>> what you did.
>>>>
>>>
>>> Hi Krzysztof,
>>>
>>> The intent behind proposing an epss-lite compatible was to describe a
>>> common hardware variant and avoid introducing SoC‑specific handling in
>>> the cpufreq driver.
>>
>> And I already objected. Look:
>>
>> "So that's second time I object and do object for every new instance. No
>> to generic compatibles"
>>
>> I provided arguments for that in the past.
>>
>> NAK
>>
>> Best regards,
> 
> I already provided the arguments here:
> 
> "The entire point of having a generic compatible is that it MUST match
> all devices. If it does not, then it is pointless to push that generic
> compatible."
> 
> so if you have generic compatible, IT MUST be used. You cannot keep
> adding more generic compatibles just because existing generic compatible
> is not generic enough!
> 

Hi Krzysztof,

Sure, I will drop the generic compatible approach and introduce a Shikra 
specific bindings file (shikra-cpufreq-qcom-hw.yaml), similar to the 
existing EPSS binding, using the compatible string qcom,shikra-cpufreq-epss.

Thanks,
Imran

> I gave you detailed reasoning and even example why this approach is
> getting ridiculous, but you just have to keep pushing your solution to
> maintainers and keep asking the same.
> 
> You were given the answer and the argument. Now you are just wasting
> maintainers time.
> 
> Best regards,
> Krzysztof


  reply	other threads:[~2026-05-15  8:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-01  7:15 [PATCH 0/2] Add cpufreq scaling support for Qualcomm Shikra SoC Imran Shaik
2026-05-01  7:15 ` [PATCH 1/2] dt-bindings: cpufreq: qcom-hw: Document Shikra CPUFREQ Hardware Imran Shaik
2026-05-04 10:23   ` Krzysztof Kozlowski
2026-05-05  8:50     ` Imran Shaik
2026-05-05  8:53       ` Krzysztof Kozlowski
2026-05-08 16:03         ` Imran Shaik
2026-05-14 14:39           ` Krzysztof Kozlowski
2026-05-14 14:43             ` Krzysztof Kozlowski
2026-05-15  8:32               ` Imran Shaik [this message]
2026-05-01  7:15 ` [PATCH 2/2] cpufreq: qcom: Add cpufreq scaling support for Qualcomm Shikra SoC Imran Shaik
2026-05-15  9:19   ` Konrad Dybcio

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=5ad97e7b-f39e-44cd-b4be-86711a090d01@oss.qualcomm.com \
    --to=imran.shaik@oss.qualcomm.com \
    --cc=ajit.pandey@oss.qualcomm.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jagadeesh.kona@oss.qualcomm.com \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mani@kernel.org \
    --cc=rafael@kernel.org \
    --cc=robh@kernel.org \
    --cc=taniya.das@oss.qualcomm.com \
    --cc=viresh.kumar@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