Re: [PATCH v2 4/4] arm64: dts: qcom: Add base HAMOA-IOT-EVK board
From: Konrad Dybcio
Date: Fri Jul 25 2025 - 05:40:15 EST
On 7/25/25 11:36 AM, Yijie Yang wrote:
>
>
> On 2025-07-25 17:18, Krzysztof Kozlowski wrote:
>> On 25/07/2025 11:01, Yijie Yang wrote:
>>>
>>> wcn7850_pmu: wcn7850-pmu@xxxx {
>>> compatible = "qcom,wcn7850-pmu";
>>> reg = <0x...>;
>>> vdd-supply = <&dummy_reg>;
>>> vddaon-supply = <&dummy_reg>;
>>> vdddig-supply = <&dummy_reg>;
>>> vddrfa1p2-supply = <&dummy_reg>;
>>> vddrfa1p8-supply = <&dummy_reg>;
>>> };
>>> This approach ensures the DTB passes schema checks while keeping the
>>> implementation clean and consistent with the actual platform setup. Do
>>> you think this is appropriate?
>>
>> No. There is no dummy regulator in the hardware, so you cannot add it to
>> the DTS.
>
> What should I do in this case? Is it acceptable to deviate from the dt-binding rules due to differences in firmware behavior? Otherwise, I’ll need to revert to the first version, leave a TODO in the DTS, and wait for someone to properly model the M.2 card.
The reason we describe the regulators is so that the Wi-Fi can be
powered off and back on. Please don't invent any hacks.
Konrad