summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-tangier.h
diff options
context:
space:
mode:
authorPandith N <pandith.n@intel.com>2023-02-16 21:34:19 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-03-06 18:10:46 +0300
commit34840be53410c29d67ffb304588a258fab785fd7 (patch)
treef646a13303fa45acb0783fd6fd5e664642e15d8c /drivers/gpio/gpio-tangier.h
parentd2c19e89e03cced2417175f48586648ae88f7cbf (diff)
downloadlinux-34840be53410c29d67ffb304588a258fab785fd7.tar.xz
gpio: merrifield: Adapt to Intel Tangier GPIO driver
Make use of Intel Tangier GPIO as a library driver for Merrifield. Signed-off-by: Pandith N <pandith.n@intel.com> Co-developed-by: Raag Jadav <raag.jadav@intel.com> Signed-off-by: Raag Jadav <raag.jadav@intel.com> Co-developed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/gpio/gpio-tangier.h')
-rw-r--r--drivers/gpio/gpio-tangier.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-tangier.h b/drivers/gpio/gpio-tangier.h
index dd3df3c3f5c6..735b966db423 100644
--- a/drivers/gpio/gpio-tangier.h
+++ b/drivers/gpio/gpio-tangier.h
@@ -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