Re: [PATCH] dt-bindings: nvmem: consumer: Make 'nvmem' an array of one-item entries

From: Konrad Dybcio

Date: Thu Jun 11 2026 - 03:52:19 EST


On 6/10/26 9:28 PM, Rob Herring (Arm) wrote:
>
> On Wed, 10 Jun 2026 14:52:42 +0200, Konrad Dybcio wrote:
>> From: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
>>
>> 'nvmem' unlike 'nvmem-cells', consumes references to just a single
>> phandle with no arguments (i.e. with 0 cells).
>>
>> Constrain the schema to enforce that, so that the number of such
>> single-item entries can then be regulated by IP block-specific YAMLs.
>>
>> Suggested-by: Rob Herring <robh@xxxxxxxxxx>
>> Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
>> ---
>> qcom/qcs6490-rb3gen2.dtb: pmic@2 (qcom,pm8350c): pwm:nvmem: [[397, 398]] is too short
>> from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
>> qcom/qcs6490-rb3gen2.dtb: pwm (qcom,pm8350c-pwm): nvmem: [[397, 398]] is too short
>> from schema $id: http://devicetree.org/schemas/leds/leds-qcom-lpg.yaml
>> ---
>> Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>
> Given we're close to the merge window I applied so it goes into 7.2.

Thanks!

Konrad