diff options
author | Bastian Hecht <hechtb@gmail.com> | 2013-04-15 20:31:00 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-04-15 21:00:44 +0400 |
commit | e6a90810559cc3755a5b1629d1fd0b914462f98c (patch) | |
tree | 1c72c3dca2b9807cc94593687c49423d8beaf077 /include/linux | |
parent | 95b24d22135549ac8352d719a052002838bb9f80 (diff) | |
download | linux-e6a90810559cc3755a5b1629d1fd0b914462f98c.tar.xz |
Input: st1232 - add reset pin handling
We add the possibility to hand over a GPIO number for the reset pin.
This way we can remove existing board code that takes care of it and
group this information properly in the platform data or in the device
tree configuration.
Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/platform_data/st1232_pdata.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/platform_data/st1232_pdata.h b/include/linux/platform_data/st1232_pdata.h new file mode 100644 index 000000000000..cac3e7b4c454 --- /dev/null +++ b/include/linux/platform_data/st1232_pdata.h @@ -0,0 +1,13 @@ +#ifndef _LINUX_ST1232_PDATA_H +#define _LINUX_ST1232_PDATA_H + +/* + * Optional platform data + * + * Use this if you want the driver to drive the reset pin. + */ +struct st1232_pdata { + int reset_gpio; +}; + +#endif |