summaryrefslogtreecommitdiff
path: root/target/linux/omap24xx/patches-2.6.38/520-cbus-tahvo-defines.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-04-21 17:16:40 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-04-21 17:16:40 +0000
commit96b5d437d6c4fcaf39ef745d262fb176f1471fce (patch)
tree7253c59f3390ecc83cf13e6be9f0daaebc0c885f /target/linux/omap24xx/patches-2.6.38/520-cbus-tahvo-defines.patch
parent76448ed5cf945b6b46de68693fa277ce27fc3eb8 (diff)
downloadmtk-20170518-96b5d437d6c4fcaf39ef745d262fb176f1471fce.zip
mtk-20170518-96b5d437d6c4fcaf39ef745d262fb176f1471fce.tar.gz
mtk-20170518-96b5d437d6c4fcaf39ef745d262fb176f1471fce.tar.bz2
omap24xx: remove 2.6.38 support
SVN-Revision: 31426
Diffstat (limited to 'target/linux/omap24xx/patches-2.6.38/520-cbus-tahvo-defines.patch')
-rw-r--r--target/linux/omap24xx/patches-2.6.38/520-cbus-tahvo-defines.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/target/linux/omap24xx/patches-2.6.38/520-cbus-tahvo-defines.patch b/target/linux/omap24xx/patches-2.6.38/520-cbus-tahvo-defines.patch
deleted file mode 100644
index 9d1837a..0000000
--- a/target/linux/omap24xx/patches-2.6.38/520-cbus-tahvo-defines.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/drivers/cbus/tahvo.h
-+++ b/drivers/cbus/tahvo.h
-@@ -30,12 +30,23 @@
- #define TAHVO_REG_IDR 0x01 /* Interrupt ID */
- #define TAHVO_REG_IDSR 0x02 /* Interrupt status */
- #define TAHVO_REG_IMR 0x03 /* Interrupt mask */
-+#define TAHVO_REG_CHGCURR 0x04 /* Charge current control PWM (8-bit) */
- #define TAHVO_REG_LEDPWMR 0x05 /* LED PWM */
- #define TAHVO_REG_USBR 0x06 /* USB control */
-+#define TAHVO_REG_CHGCTL 0x08 /* Charge control register */
-+#define TAHVO_REG_CHGCTL_EN 0x0001 /* Global charge enable */
-+#define TAHVO_REG_CHGCTL_PWMOVR 0x0004 /* PWM override. Force charge PWM to 0%/100% duty cycle. */
-+#define TAHVO_REG_CHGCTL_PWMOVRZERO 0x0008 /* If set, PWM override is 0% (If unset -> 100%) */
-+#define TAHVO_REG_CHGCTL_CURMEAS 0x0040 /* Enable battery current measurement. */
-+#define TAHVO_REG_CHGCTL_CURTIMRST 0x0080 /* Current measure timer reset. */
-+#define TAHVO_REG_BATCURRTIMER 0x0c /* Battery current measure timer (8-bit) */
-+#define TAHVO_REG_BATCURR 0x0d /* Battery (dis)charge current (signed 16-bit) */
-+
- #define TAHVO_REG_MAX 0x0d
-
- /* Interrupt sources */
- #define TAHVO_INT_VBUSON 0
-+#define TAHVO_INT_BATCURR 7 /* Battery current measure timer */
-
- #define MAX_TAHVO_IRQ_HANDLERS 8
-