diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-05-14 03:16:12 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-05-19 00:59:28 -0400 |
commit | e9fe32bcadb8a7a40411d77f168abd45941b049b (patch) | |
tree | 5ba1c23de8ca09b7d22ee16b8ac2b0c5bbd49fab /include/linux/mfd/rc5t583.h | |
parent | ee1c1e7d6451204e71ae6d815bfa918c57450391 (diff) |
gpio/rc5t583: add gpio driver for RICOH PMIC RC5T583
The PMIC device RC5T583 from RICOH supports 8 gpios.
Adding gpio driver for this device to access the pins
control through gpio library.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
[grant.likely: slight cosmetic changes]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include/linux/mfd/rc5t583.h')
-rw-r--r-- | include/linux/mfd/rc5t583.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/rc5t583.h b/include/linux/mfd/rc5t583.h index 0b64b19d81ab..7875370f7bca 100644 --- a/include/linux/mfd/rc5t583.h +++ b/include/linux/mfd/rc5t583.h | |||
@@ -272,11 +272,13 @@ struct rc5t583 { | |||
272 | * rc5t583_platform_data: Platform data for ricoh rc5t583 pmu. | 272 | * rc5t583_platform_data: Platform data for ricoh rc5t583 pmu. |
273 | * The board specific data is provided through this structure. | 273 | * The board specific data is provided through this structure. |
274 | * @irq_base: Irq base number on which this device registers their interrupts. | 274 | * @irq_base: Irq base number on which this device registers their interrupts. |
275 | * @gpio_base: GPIO base from which gpio of this device will start. | ||
275 | * @enable_shutdown: Enable shutdown through the input pin "shutdown". | 276 | * @enable_shutdown: Enable shutdown through the input pin "shutdown". |
276 | */ | 277 | */ |
277 | 278 | ||
278 | struct rc5t583_platform_data { | 279 | struct rc5t583_platform_data { |
279 | int irq_base; | 280 | int irq_base; |
281 | int gpio_base; | ||
280 | bool enable_shutdown; | 282 | bool enable_shutdown; |
281 | }; | 283 | }; |
282 | 284 | ||