diff options
author | Basavaraj Natikar <Basavaraj.Natikar@amd.com> | 2022-12-08 10:37:04 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-12-29 01:59:41 +0100 |
commit | df72b4a692b60d3e5d99d9ef662b2d03c44bb9c0 (patch) | |
tree | ccc5dbb3c719c5628c03183ed23b3976cf9ffbf0 /drivers/pinctrl/pinctrl-amd.h | |
parent | Linux 6.2-rc1 (diff) | |
download | linux-df72b4a692b60d3e5d99d9ef662b2d03c44bb9c0.tar.xz linux-df72b4a692b60d3e5d99d9ef662b2d03c44bb9c0.zip |
pinctrl: amd: Add Z-state wake control bits
GPIO registers include Bit 27 for WakeCntrlZ used to enable wake in
Z state. Hence add Z-state wake control bits to debugfs output to
debug and analyze Z-states problems.
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Suggested-by: Mario Limonciello <mario.limonciello@amd.com>
Tested-by: Guruvendra Punugupati <Guruvendra.Punugupati@amd.com>
Link: https://lore.kernel.org/r/20221208093704.1151928-1-Basavaraj.Natikar@amd.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-amd.h')
-rw-r--r-- | drivers/pinctrl/pinctrl-amd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-amd.h b/drivers/pinctrl/pinctrl-amd.h index c8635998465d..81ae8319a1f0 100644 --- a/drivers/pinctrl/pinctrl-amd.h +++ b/drivers/pinctrl/pinctrl-amd.h @@ -42,6 +42,7 @@ #define OUTPUT_ENABLE_OFF 23 #define SW_CNTRL_IN_OFF 24 #define SW_CNTRL_EN_OFF 25 +#define WAKECNTRL_Z_OFF 27 #define INTERRUPT_STS_OFF 28 #define WAKE_STS_OFF 29 |