Re: About the INA2xx in linux

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

 



On Tue, Sep 25, 2012 at 06:58:17AM +0000, Tang Yuantian-B29983 wrote:
> Hello,
> I am currently using the driver of INA2xx you wrote in linux.
> Could you enlighten me how to set the shunt value via platform data?
> 
> If anyone else know how to do it, please also tell me.
> Thanks in advance.
> 
> Regards,
> Yuantian
> 
Hi,

Documentation/i2c/instantiating-devices gives you some examples.
Method 1 or 2 apply to your use case.

Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux