]> 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)
commita29f6c04682528f5b803e1cb918cd889887fa716
treeeec44536f75ba5429eb1d919cbe727a3c42eb5c4
parent2b32dd6c20f60a4b84ffcd217eae4e8c47487877
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]