Re: [PATCH v11 3/9] dt-bindings: power: supply: max17042: split on 2 files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/12/2024 15:59, Dzmitry Sankouski wrote:
> Ah, indeed, the device tree in this and previous patches doesn't
> reflect hardware wiring.
> 
> MAX77705 fuel gauge has a separate i2c address, i.e. I may move it out of the
> MAX77705 MFD node. However, the device on that address has additional features,
> like measuring system and input current, which is out of fuel gauge
> responsibility.

This is fuel gauge job.

> 
> So I guess I should create another MFD for fuel gauge, i. e. max77705 example
> would look like:
> 
> ...
>   pmic@66 {
>     compatible = "maxim,max77705";
> ...
>   };
> 
>   meter@36 {
>     compatible = "maxim,max77705-meter";
> 
No resources here, so not a MFD. This is one device.

Best regards,
Krzysztof




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux