summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8188
diff options
context:
space:
mode:
authorJason Chen <Jason-ch.Chen@mediatek.com>2023-03-29 14:55:30 +0800
committerRex-BC Chen <rex-bc.chen@mediatek.com>2023-04-10 01:55:19 +0000
commit61aac5b73fdfe7ea752d24a5ac248da018bcc1c1 (patch)
tree41107d6bd8f7880a1921439be265a8fe08c02fb9 /src/soc/mediatek/mt8188
parentb75c92fa2667f29ed1989bb40d730ee9e1ac937c (diff)
soc/mediatek/mt8186: Move GPIO driving-related functions to common
Move GPIO driving-related functions to common for code reuse. BUG=b:270911452 TEST=build pass Change-Id: I234a2b7ef5075313144a930332bed10ffec00c6c Signed-off-by: Jason Chen <Jason-ch.Chen@mediatek.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74068 Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8188')
-rw-r--r--src/soc/mediatek/mt8188/include/soc/gpio.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/soc/mediatek/mt8188/include/soc/gpio.h b/src/soc/mediatek/mt8188/include/soc/gpio.h
index 803fcf4fa1..8767e0f7a9 100644
--- a/src/soc/mediatek/mt8188/include/soc/gpio.h
+++ b/src/soc/mediatek/mt8188/include/soc/gpio.h
@@ -19,16 +19,6 @@ enum {
MAX_GPIO_MODE_PER_REG = 8,
GPIO_MODE_BITS = 4,
};
-enum gpio_drv {
- GPIO_DRV_2_MA = 0,
- GPIO_DRV_4_MA = 1,
- GPIO_DRV_6_MA = 2,
- GPIO_DRV_8_MA = 3,
- GPIO_DRV_10_MA = 4,
- GPIO_DRV_12_MA = 5,
- GPIO_DRV_14_MA = 6,
- GPIO_DRV_16_MA = 7,
-};
#define PIN(id, name, flag, bit, base, offset, \
func1, func2, func3, func4, func5, func6, func7) \