TWL4030 backup battery charging in 2.6.32

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

 



Hi,
I have a TPS65920 (twl4030) power chip on an omap3530 board I would
like to use to charge a small backup battery to keep the RTC happy.
I've run across patches adding drivers/power/twl4030_bci_battery.c
which seems to do what I want (sets the twl4030 BB_CFG register's
BBCHEN bit), but the driver probe() complains after platform_get_irq()
returns -6 (ENXIO).  I assume that platform interrupt resources need
to be added in my board code.

I know this file has been removed, but is there an example of setting
up interrupts for this driver or a description of how twl4030
interrupts should be set up in board code?  It seems that newer code
like board-omap3pandora.c just sets ".bci = &pandora_bci_data" instead
of explicit charger interrupts.

Thanks,
John
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux