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)
commit2785cefc98051646bd1d36a627822a3f43736697
treeeec44536f75ba5429eb1d919cbe727a3c42eb5c4
parentf10513de2a6036742b55e23278f0322f2e5c3772
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]