Use the Linux I2C subsystem for a two wire interface protocol

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

 



Thanks Jonathan!

> On an embedded board this would typically be in the board config
> file. ?For example, see arch/arm/mach-pxa/imote2.c which has an sht15
> attached. ?The exact method of registration may be a bit architecture
> specific but will look something like the relevant parts of that file.
Yep, for e.g we have wrappers for api's like gpio_request etc.
The real problem, however, seems to be that we have been using a
distro which uses kernel 2.6.24.
It does not have the "<linux/gpio.h>" and  the "<regulater/consumer.h>
 which export
regulator_register_notifier()/regulator_unregister_notifier() functions.
So, i will have to look into how to backport this. THe gpio lib thing
may be straightforward but i am way ignorant on  the regulator/pmic
infrastructure. It would greatly help you can shed some light on the
regulator part and if there is any quick way to get around to backport
the regulator specific functions.
Thanks in advance for your help!
-Alfred.



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

  Powered by Linux