Re: [PATCH] dt-bindings: cpufreq: qcom-nvmem: Allow generic OPP tables

From: Krzysztof Kozlowski

Date: Thu Nov 05 2026 - 15:21:02 EST


On 28/10/2026 06:52, Varadarajan Narayanan wrote:
> On Tue, Oct 27, 2026 at 04:50:56PM +0100, Krzysztof Kozlowski wrote:
>> On 21/10/2026 07:38, Varadarajan Narayanan wrote:
>>> On Sat, Oct 17, 2026 at 06:45:53PM +0200, Krzysztof Kozlowski wrote:
>>>> On Thu, Oct 15, 2026 at 04:25:28PM +0530, Varadarajan Narayanan wrote:
>>>>> The OPP table node-name pattern also matches peripheral OPP tables on
>>>>> supported SoCs. However, it only handles Qualcomm CPU and level OPP
>>>>> compatibles, causing unevaluatedProperties errors for generic
>>>>> operating-points-v2 tables.
>>>>
>>>> But the select should not select them. How can I reproduce the issue?
>>>
>>> Sorry for the delay, it was a long weekend here.
>>>
>>> With the attached patch, I get the following error.
>>>
>>> $ make LLVM=-18 ARCH=arm64 CHECK_DTBS=1 qcom/ipq5210-rdp504.dtb
>>
>> OK, I can reproduce. I wonder why do we need qcom-cpufreq-nvmem.yaml in
>> the first place. It duplicates top level compatibles and opp
>> compatibles. For qcom,qcs404 it does something useful - enforces cpu
>> power supplies. But for others?
>
> CPR capable SoCs are added to this bindings file. Not sure if all of the
> SoCs present here are CPR capable. Will have to check. However, CPR
> capable SoC like IPQ9650 might need this and will face the same issue when
> I2C or SPI opp tables are added.
>

Only QCS404 needs it. I'll send a patch to limit the binding which might
solve your problem as well. I'll Cc you.

Best regards,
Krzysztof