Commit 34840be5 authored by Pandith N's avatar Pandith N Committed by Andy Shevchenko

gpio: merrifield: Adapt to Intel Tangier GPIO driver

Make use of Intel Tangier GPIO as a library driver for Merrifield.
Signed-off-by: default avatarPandith N <pandith.n@intel.com>
Co-developed-by: default avatarRaag Jadav <raag.jadav@intel.com>
Signed-off-by: default avatarRaag Jadav <raag.jadav@intel.com>
Co-developed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent d2c19e89
......@@ -624,6 +624,8 @@ config GPIO_TANGIER
select GPIOLIB_IRQCHIP
help
GPIO support for Intel Tangier and compatible platforms.
Currently supported:
- Merrifield
If built as a module its name will be gpio-tangier.
......@@ -1516,7 +1518,7 @@ config GPIO_BT8XX
config GPIO_MERRIFIELD
tristate "Intel Merrifield GPIO support"
depends on X86_INTEL_MID
select GPIOLIB_IRQCHIP
select GPIO_TANGIER
help
Say Y here to support Intel Merrifield GPIO.
......
This diff is collapsed.
......@@ -20,6 +20,11 @@ struct device;
struct tng_gpio_context;
/* Merrifield specific wake registers */
#define GWMR_MRFLD 0x400 /* Wake mask */
#define GWSR_MRFLD 0x418 /* Wake source */
#define GSIR_MRFLD 0xc00 /* Secure input */
/**
* struct tng_wake_regs - Platform specific wake registers
* @gwmr: Wake mask
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment