| From ltsi-dev-bounces@lists.linuxfoundation.org Wed Nov 5 10:39:41 2014 |
| From: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> |
| Date: Wed, 5 Nov 2014 09:39:08 +0800 |
| Subject: [LTSI-dev] [PATCH 03/16] mfd: lpc_ich: Add support for Intel Avoton GPIOs |
| To: LTSI Mailing List <ltsi-dev@lists.linuxfoundation.org> |
| Cc: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> |
| Message-ID: <1415151561-16047-4-git-send-email-rebecca.swee.fun.chang@intel.com> |
| |
| |
| From: Vincent Donnefort <vdonnefort@gmail.com> |
| |
| Signed-off-by: Vincent Donnefort <vdonnefort@gmail.com> |
| Signed-off-by: Lee Jones <lee.jones@linaro.org> |
| (cherry picked from commit facd9939403cb5769190054a600474399e776e3a) |
| |
| Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> |
| --- |
| drivers/mfd/lpc_ich.c | 1 + |
| include/linux/mfd/lpc_ich.h | 1 + |
| 2 files changed, 2 insertions(+) |
| |
| --- a/drivers/mfd/lpc_ich.c |
| +++ b/drivers/mfd/lpc_ich.c |
| @@ -499,6 +499,7 @@ static struct lpc_ich_info lpc_chipset_i |
| [LPC_AVN] = { |
| .name = "Avoton SoC", |
| .iTCO_version = 1, |
| + .gpio_version = AVOTON_GPIO, |
| }, |
| [LPC_COLETO] = { |
| .name = "Coleto Creek", |
| --- a/include/linux/mfd/lpc_ich.h |
| +++ b/include/linux/mfd/lpc_ich.h |
| @@ -39,6 +39,7 @@ enum { |
| ICH_V9_GPIO, |
| ICH_V10CORP_GPIO, |
| ICH_V10CONS_GPIO, |
| + AVOTON_GPIO, |
| }; |
| |
| struct lpc_ich_info { |