3 #include <baseboard/gpio.h>
4 #include <baseboard/variants.h>
6 #include <vendorcode/google/chromeos/chromeos.h>
98 PAD_CFG_GPI_IRQ_WAKE(
GPP_D11,
NONE, DEEP, LEVEL, INVERT),
111 PAD_CFG_GPI_IRQ_WAKE(
GPP_D18,
NONE, DEEP, LEVEL, INVERT),
228 PAD_CFG_GPI_IRQ_WAKE(
GPP_E0,
NONE, DEEP, LEVEL, INVERT),
236 static const struct cros_gpio
cros_gpios[] = {
void variant_configure_gpio_pads(void)
static const struct pad_config gpio_table[]
DECLARE_CROS_GPIOS(cros_gpios)
static const struct cros_gpio cros_gpios[]
void gpio_configure_pads(const struct soc_amd_gpio *gpio_list_ptr, size_t size)
program a particular set of GPIO
#define CROS_GPIO_DEVICE_NAME
#define PAD_CFG_NF(pad, pull, rst, func)
#define PAD_CFG_GPI_APIC(pad, pull, rst, trig, inv)
#define PAD_CFG_GPO(pad, val, rst)