]> git.baikalelectronics.ru Git - kernel.git/commit
isp1704_charger: Allow board specific powering routine
authorKalle Jokiniemi <kalle.jokiniemi@nokia.com>
Tue, 29 Mar 2011 13:27:59 +0000 (16:27 +0300)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Wed, 20 Apr 2011 13:48:49 +0000 (17:48 +0400)
commite19b69761d70344874a56499910ccee58ed2323a
treeeec44536f75ba5429eb1d919cbe727a3c42eb5c4
parent3e0ccbb145f69ddff1932a50a1f2d74dddb79e40
isp1704_charger: Allow board specific powering routine

The ISP1704/1707 chip can be put to full power down
state by asserting the CHIP_SEL line. This patch enables
platform or board specific hooks to put the device into
power down mode in case not needed.

This patch is a preparation for enabling this powering
routine in n900 (rx-51) devices.

Thanks to Heikki Krogerus for helping out with the patch.

Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@nokia.com>
Acked-By: Heikki Krogerus <heikki.krogerus@nokia.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/isp1704_charger.c
include/linux/power/isp1704_charger.h [new file with mode: 0644]