2010-07-08 12:09:47

by Mark Brown

[permalink] [raw]
Subject: [PATCH] mfd: Add additional WM8994 GPIO functions

Later revisions of the WM8994 add some more GPIO functions, define them
in the header file.

Signed-off-by: Mark Brown <[email protected]>
---
include/linux/mfd/wm8994/gpio.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/linux/mfd/wm8994/gpio.h b/include/linux/mfd/wm8994/gpio.h
index b4d4c22..0c79b5f 100644
--- a/include/linux/mfd/wm8994/gpio.h
+++ b/include/linux/mfd/wm8994/gpio.h
@@ -36,6 +36,10 @@
#define WM8994_GP_FN_WSEQ_STATUS 16
#define WM8994_GP_FN_FIFO_ERROR 17
#define WM8994_GP_FN_OPCLK 18
+#define WM8994_GP_FN_THW 19
+#define WM8994_GP_FN_DCS_DONE 20
+#define WM8994_GP_FN_FLL1_OUT 21
+#define WM8994_GP_FN_FLL2_OUT 22

#define WM8994_GPN_DIR 0x8000 /* GPN_DIR */
#define WM8994_GPN_DIR_MASK 0x8000 /* GPN_DIR */
--
1.7.1


2010-07-14 09:30:47

by Samuel Ortiz

[permalink] [raw]
Subject: Re: [PATCH] mfd: Add additional WM8994 GPIO functions

Hi Mark,

On Thu, Jul 08, 2010 at 09:09:51PM +0900, Mark Brown wrote:
> Later revisions of the WM8994 add some more GPIO functions, define them
> in the header file.
>
> Signed-off-by: Mark Brown <[email protected]>
applied to my for-next branch, thanks.

Cheers,
Samuel.


> ---
> include/linux/mfd/wm8994/gpio.h | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/mfd/wm8994/gpio.h b/include/linux/mfd/wm8994/gpio.h
> index b4d4c22..0c79b5f 100644
> --- a/include/linux/mfd/wm8994/gpio.h
> +++ b/include/linux/mfd/wm8994/gpio.h
> @@ -36,6 +36,10 @@
> #define WM8994_GP_FN_WSEQ_STATUS 16
> #define WM8994_GP_FN_FIFO_ERROR 17
> #define WM8994_GP_FN_OPCLK 18
> +#define WM8994_GP_FN_THW 19
> +#define WM8994_GP_FN_DCS_DONE 20
> +#define WM8994_GP_FN_FLL1_OUT 21
> +#define WM8994_GP_FN_FLL2_OUT 22
>
> #define WM8994_GPN_DIR 0x8000 /* GPN_DIR */
> #define WM8994_GPN_DIR_MASK 0x8000 /* GPN_DIR */
> --
> 1.7.1
>

--
Intel Open Source Technology Centre
http://oss.intel.com/