Hi,
does a Linux driver for the tps650240 as used in the Qisda ebook-readers exist somewhere?
The Linux kernel seems only to contain a driver tps65023.
Thanks
Heiko
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Heiko,
There is not a Linux driver available for the TPS650240. We are in the process of improving driver support for devices with communication engines, as the interface is controlled. For a device like the TPS650240, which depends on GPIOs of an available system processor, a Linux driver would have to be modified for whatever GPIOs were selected in the system to control the pins.
May I ask what you are hoping the driver for the TPS650240 would do specifically?
Thanks,
Todd
Hi,
for devices connected via GPIOs it seems the way to go is via a machine-info struct which is filled with the correct GPIO-information in the board-definition. See drivers/regulator/bq24022.c, include/linux/regulator/bq24022.h and the corresponding arch/arm/mach-pxa/hx4700.c:720 in your favorite linux tree for one example of this for the bq24022 charger.
As for the use-case ... at the moment we are still analyzing our device (qisda ebook reader family) but it should probably do the same things the tps65023 does for the arch/arm/mach-davinci/board-mityomapl138.c (i.e. control the LDOs ...) which seems quite similar from a specs side to the tps650240.
Thanks
Heiko