summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8659e/it8659e.h
diff options
context:
space:
mode:
authorMichał Żygowski <michal.zygowski@3mdeb.com>2024-07-17 09:55:12 +0200
committerNico Huber <nico.h@gmx.de>2024-08-09 17:01:50 +0000
commitbfbc5cfcb2be562fc6fcf31dfcab9b648c9f81c7 (patch)
treee4c11330952a6031a41ef4e81e8b2271992cb475 /src/superio/ite/it8659e/it8659e.h
parent001f33cc03a724467138bb6a16aaa4496d3b4a44 (diff)
superio/ite: Remove custom ITE GPIO drivers and code
Since a generic ITE GPIO driver is available and in use, the existence of chips-specific drivers no longer make sense. Remove the dead code in favor of generic GPIO driver. Change-Id: I7e031d12192af4bd47923d87c1d02c64f9c851a2 Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83497 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/superio/ite/it8659e/it8659e.h')
-rw-r--r--src/superio/ite/it8659e/it8659e.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/superio/ite/it8659e/it8659e.h b/src/superio/ite/it8659e/it8659e.h
index 4fa91e9cfb..f6eda0749d 100644
--- a/src/superio/ite/it8659e/it8659e.h
+++ b/src/superio/ite/it8659e/it8659e.h
@@ -11,24 +11,4 @@
#define IT8659E_GPIO 0x07 /* GPIO */
#define IT8659E_CIR 0x0A /* CIR */
-/* GPIO Polarity Select: 1: Inverting, 0: Non-inverting */
-#define GPIO_REG_POLARITY(x) (0xb0 + (x))
-#define GPIO_POL_NO_INVERT 0
-#define GPIO_POL_INVERT 1
-
-/* GPIO Internal Pull-up: 1: Enable, 0: Disable */
-#define GPIO_REG_PULLUP(x) (0xb8 + (x))
-#define GPIO_PULLUP_DIS 0
-#define GPIO_PULLUP_EN 1
-
-/* GPIO Function Select: 1: Simple I/O, 0: Alternate function */
-#define GPIO_REG_ENABLE(x) (0xc0 + (x))
-#define GPIO_ALT_FN 0
-#define GPIO_SIMPLE_IO 1
-
-/* GPIO Mode: 0: input mode, 1: output mode */
-#define GPIO_REG_OUTPUT(x) (0xc8 + (x))
-#define GPIO_INPUT_MODE 0
-#define GPIO_OUTPUT_MODE 1
-
#endif /* SUPERIO_ITE_IT8659E_H */