summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8186/include
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/mt8186/include
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/mt8186/include')
-rw-r--r--src/soc/mediatek/mt8186/include/soc/gpio.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/soc/mediatek/mt8186/include/soc/gpio.h b/src/soc/mediatek/mt8186/include/soc/gpio.h
index 1377e015a1..4ce1e98a85 100644
--- a/src/soc/mediatek/mt8186/include/soc/gpio.h
+++ b/src/soc/mediatek/mt8186/include/soc/gpio.h
@@ -20,17 +20,6 @@ enum {
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 GPIO_ID(name) PAD_##name##_ID
#define PIN(id, name, flag, bit, base, offset, \