summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/include/linux/leds-pca9532.h
diff options
context:
space:
mode:
authorSrikant Patnaik2015-01-11 12:28:04 +0530
committerSrikant Patnaik2015-01-11 12:28:04 +0530
commit871480933a1c28f8a9fed4c4d34d06c439a7a422 (patch)
tree8718f573808810c2a1e8cb8fb6ac469093ca2784 /ANDROID_3.4.5/include/linux/leds-pca9532.h
parent9d40ac5867b9aefe0722bc1f110b965ff294d30d (diff)
downloadFOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.gz
FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.bz2
FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.zip
Moved, renamed, and deleted files
The original directory structure was scattered and unorganized. Changes are basically to make it look like kernel structure.
Diffstat (limited to 'ANDROID_3.4.5/include/linux/leds-pca9532.h')
-rw-r--r--ANDROID_3.4.5/include/linux/leds-pca9532.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/ANDROID_3.4.5/include/linux/leds-pca9532.h b/ANDROID_3.4.5/include/linux/leds-pca9532.h
deleted file mode 100644
index b8d6fffe..00000000
--- a/ANDROID_3.4.5/include/linux/leds-pca9532.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * pca9532.h - platform data structure for pca9532 led controller
- *
- * Copyright (C) 2008 Riku Voipio <riku.voipio@movial.fi>
- *
- * 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; version 2 of the License.
- *
- * Datasheet: http://www.nxp.com/acrobat/datasheets/PCA9532_3.pdf
- *
- */
-
-#ifndef __LINUX_PCA9532_H
-#define __LINUX_PCA9532_H
-
-#include <linux/leds.h>
-#include <linux/workqueue.h>
-
-enum pca9532_state {
- PCA9532_OFF = 0x0,
- PCA9532_ON = 0x1,
- PCA9532_PWM0 = 0x2,
- PCA9532_PWM1 = 0x3
-};
-
-enum pca9532_type { PCA9532_TYPE_NONE, PCA9532_TYPE_LED,
- PCA9532_TYPE_N2100_BEEP, PCA9532_TYPE_GPIO };
-
-struct pca9532_led {
- u8 id;
- struct i2c_client *client;
- char *name;
- struct led_classdev ldev;
- struct work_struct work;
- enum pca9532_type type;
- enum pca9532_state state;
-};
-
-struct pca9532_platform_data {
- struct pca9532_led leds[16];
- u8 pwm[2];
- u8 psc[2];
- int gpio_base;
-};
-
-#endif /* __LINUX_PCA9532_H */
-