diff options
Diffstat (limited to 'zephyr/test/drivers/include')
-rw-r--r-- | zephyr/test/drivers/include/gpio_map.h | 25 | ||||
-rw-r--r-- | zephyr/test/drivers/include/stubs.h | 10 |
2 files changed, 0 insertions, 35 deletions
diff --git a/zephyr/test/drivers/include/gpio_map.h b/zephyr/test/drivers/include/gpio_map.h deleted file mode 100644 index 1f67138bd2..0000000000 --- a/zephyr/test/drivers/include/gpio_map.h +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright 2021 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#ifndef __ZEPHYR_GPIO_MAP_H -#define __ZEPHYR_GPIO_MAP_H - -#include <devicetree.h> -#include <gpio_signal.h> - -/* - * Without https://github.com/zephyrproject-rtos/zephyr/pull/29282, we need - * to manually link GPIO_ defines that platform/ec code expects to the - * enum gpio_signal values that are generated by device tree bindings. - * - * Note we only need to create aliases for GPIOs that are referenced in common - * platform/ec code. - */ -#define CONFIG_TEMP_SENSOR_POWER_GPIO GPIO_PG_EC_DSW_PWROK - -#define EC_CROS_GPIO_INTERRUPTS \ - GPIO_INT(GPIO_AC_PRESENT, GPIO_INT_EDGE_BOTH, extpower_interrupt) - -#endif /* __ZEPHYR_GPIO_MAP_H */ diff --git a/zephyr/test/drivers/include/stubs.h b/zephyr/test/drivers/include/stubs.h deleted file mode 100644 index 1ae0f3a50d..0000000000 --- a/zephyr/test/drivers/include/stubs.h +++ /dev/null @@ -1,10 +0,0 @@ -/* Copyright 2021 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#include "power.h" - -enum usbc_port { USBC_PORT_C0 = 0, USBC_PORT_C1, USBC_PORT_COUNT }; - -void set_mock_power_state(enum power_state state); |