summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants/dexi/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/dedede/variants/dexi/gpio.c')
-rw-r--r--src/mainboard/google/dedede/variants/dexi/gpio.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/dexi/gpio.c b/src/mainboard/google/dedede/variants/dexi/gpio.c
index 89a7a77feb..2998592756 100644
--- a/src/mainboard/google/dedede/variants/dexi/gpio.c
+++ b/src/mainboard/google/dedede/variants/dexi/gpio.c
@@ -91,3 +91,18 @@ const struct pad_config *variant_override_gpio_table(size_t *num)
*num = ARRAY_SIZE(gpio_table);
return gpio_table;
}
+
+static const gpio_t hpd_gpios[] = {
+ /* HDMI1 */
+ GPP_A17,
+ /* HDMI2 */
+ GPP_A16,
+ /* USB C0 */
+ GPP_B23,
+};
+
+const gpio_t *variant_hpd_gpios(size_t *num)
+{
+ *num = ARRAY_SIZE(hpd_gpios);
+ return hpd_gpios;
+}