aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mfd/pcf50606/mbc.h
diff options
context:
space:
mode:
authormerge <null@invalid>2009-01-22 13:55:32 +0000
committerAndy Green <agreen@octopus.localdomain>2009-01-22 13:55:32 +0000
commitaa6f5ffbdba45aa8e19e5048648fc6c7b25376d3 (patch)
treefbb786d0ac6f8a774fd834e9ce951197e60fbffa /include/linux/mfd/pcf50606/mbc.h
parentf2d78193eae5dccd3d588d2c8ea0866efc368332 (diff)
MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040-1232632141
pending-tracking-hist top was MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040-1232632141 / fdf777a63bcb59e0dfd78bfe2c6242e01f6d4eb9 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040 stable-tracking-hist top was MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040 / 90463bfd2d5a3c8b52f6e6d71024a00e052b0ced ... parent commitmessage: From: merge <null@invalid> MERGE-via-mokopatches-tracking-hist-fix-stray-endmenu-patch mokopatches-tracking-hist top was fix-stray-endmenu-patch / 3630e0be570de8057e7f8d2fe501ed353cdf34e6 ... parent commitmessage: From: Andy Green <andy@openmoko.com> fix-stray-endmenu.patch Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'include/linux/mfd/pcf50606/mbc.h')
-rw-r--r--include/linux/mfd/pcf50606/mbc.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/include/linux/mfd/pcf50606/mbc.h b/include/linux/mfd/pcf50606/mbc.h
deleted file mode 100644
index d4a6b0f6b27..00000000000
--- a/include/linux/mfd/pcf50606/mbc.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * mbc.h -- Driver for NXP PCF50606 Main Battery Charger
- *
- * (C) 2006-2008 by Openmoko, Inc.
- * All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.
- */
-
-#ifndef __LINUX_MFD_PCF50606_MBC_H
-#define __LINUX_MFD_PCF50606_MBC_H
-
-#include <linux/platform_device.h>
-
-#define PCF50606_REG_MBCC1 0x29
-#define PCF50606_REG_MBCC2 0x2a
-#define PCF50606_REG_MBCC3 0x2b
-#define PCF50606_REG_MBCS1 0x2c
-
-enum pcf50606_reg_mbcc1 {
- PCF50606_MBCC1_CHGAPE = 0x01,
- PCF50606_MBCC1_AUTOFST = 0x02,
-#define PCF50606_MBCC1_CHGMOD_MASK 0x1c
-#define PCF50606_MBCC1_CHGMOD_SHIFT 2
- PCF50606_MBCC1_CHGMOD_QUAL = 0x00,
- PCF50606_MBCC1_CHGMOD_PRE = 0x04,
- PCF50606_MBCC1_CHGMOD_TRICKLE = 0x08,
- PCF50606_MBCC1_CHGMOD_FAST_CCCV = 0x0c,
- PCF50606_MBCC1_CHGMOD_FAST_NOCC = 0x10,
- PCF50606_MBCC1_CHGMOD_FAST_NOCV = 0x14,
- PCF50606_MBCC1_CHGMOD_FAST_SW = 0x18,
- PCF50606_MBCC1_CHGMOD_IDLE = 0x1c,
- PCF50606_MBCC1_DETMOD_LOWCHG = 0x20,
- PCF50606_MBCC1_DETMOD_WDRST = 0x40,
-};
-
-struct pcf50606;
-
-void pcf50606_mbc_usb_curlim_set(struct pcf50606 *pcf, int ma);
-
-struct pcf50606_mbc {
- int charger_online;
- int charger_active;
-
- struct power_supply charger;
-
- struct platform_device *pdev;
-};
-#endif
-