[PATCH v2 2/4] dt-bindings: power: supply: add max77759-fg flavor

Krzysztof Kozlowski krzk at kernel.org
Sat Jan 4 01:23:46 PST 2025


On 03/01/2025 17:16, Thomas Antoine wrote:
>>> -  reg:
>>> -    items:
>>> -      - description: ModelGauge m5 registers
>>> -      - description: Nonvolatile registers
>>
>> Widest constraints always stay here.
>>
>> See:
>> https://elixir.bootlin.com/linux/v6.11-rc6/source/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml#L127
>>
>> I did not say to remove it. I asked you to add allOf section restricting it.
> 
> Thanks for the example. I think I understand now. I will put the reg section
> back and use min/maxItems in the allOf:if: to set the number of reg/reg-names
> to 1 for the MAX77759.
> 
> Do I keep shunt-resistor-micro-ohms as I did it here? I could move it in


Depends, where does it come from? What does the other referenced schema say?


Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list