Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame^] | 1 | /* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | #ifndef __LEDS_PM8XXX_H__ |
| 14 | #define __LEDS_PM8XXX_H__ |
| 15 | |
| 16 | |
| 17 | #define PM8XXX_LEDS_DEV_NAME "pm8xxx-led" |
| 18 | |
| 19 | /** |
| 20 | * enum pm8xxx_leds - PMIC8XXX supported led ids |
| 21 | * @PM8XXX_ID_LED_KB_LIGHT - keyboard backlight led |
| 22 | * @PM8XXX_ID_LED_0 - First low current led |
| 23 | * @PM8XXX_ID_LED_1 - Second low current led |
| 24 | * @PM8XXX_ID_LED_2 - Third low current led |
| 25 | * @PM8XXX_ID_FLASH_LED_0 - First flash led |
| 26 | * @PM8XXX_ID_FLASH_LED_0 - Second flash led |
| 27 | */ |
| 28 | enum pm8xxx_leds { |
| 29 | PM8XXX_ID_LED_KB_LIGHT = 1, |
| 30 | PM8XXX_ID_LED_0, |
| 31 | PM8XXX_ID_LED_1, |
| 32 | PM8XXX_ID_LED_2, |
| 33 | PM8XXX_ID_FLASH_LED_0, |
| 34 | PM8XXX_ID_FLASH_LED_1, |
| 35 | }; |
| 36 | |
| 37 | #endif /* __LEDS_PM8XXX_H__ */ |