summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-tangier.h
diff options
context:
space:
mode:
authorPandith N <pandith.n@intel.com>2023-02-16 20:36:08 +0200
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-03-06 17:10:46 +0200
commit9409d8cf78d9c5471cfd229e652f12050c6dbbde (patch)
treee57ec2418b8d426019272d34e128bbca418c9fff /drivers/gpio/gpio-tangier.h
parentdc537030647a451bca169209d05b50d2ca3fe4f6 (diff)
downloadlinux-stable-9409d8cf78d9c5471cfd229e652f12050c6dbbde.tar.gz
linux-stable-9409d8cf78d9c5471cfd229e652f12050c6dbbde.tar.bz2
linux-stable-9409d8cf78d9c5471cfd229e652f12050c6dbbde.zip
gpio: elkhartlake: Introduce Intel Elkhart Lake PSE GPIO
This driver adds support for Intel Elkhart Lake PSE GPIO controller, using Intel Tangier as a library driver. 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 735b966db423..16c4f22908fb 100644
--- a/drivers/gpio/gpio-tangier.h
+++ b/drivers/gpio/gpio-tangier.h
@@ -20,6 +20,11 @@ struct device;
struct tng_gpio_context;
+/* Elkhart Lake specific wake registers */
+#define GWMR_EHL 0x100 /* Wake mask */
+#define GWSR_EHL 0x118 /* Wake source */
+#define GSIR_EHL 0x130 /* Secure input */
+
/* Merrifield specific wake registers */
#define GWMR_MRFLD 0x400 /* Wake mask */
#define GWSR_MRFLD 0x418 /* Wake source */