Searched refs:power_good_gpio (Results 1 – 1 of 1) sorted by relevance
19 struct gpio_dt_spec power_good_gpio; member56 rc = gpio_pin_get_dt(&config->power_good_gpio); in pd_gpio_monitor_callback()102 if (!gpio_is_ready_dt(&config->power_good_gpio)) { in pd_gpio_monitor_init()103 LOG_ERR("GPIO port %s is not ready", config->power_good_gpio.port->name); in pd_gpio_monitor_init()107 rc = gpio_pin_configure_dt(&config->power_good_gpio, GPIO_INPUT); in pd_gpio_monitor_init()113 rc = gpio_pin_interrupt_configure_dt(&config->power_good_gpio, GPIO_INT_EDGE_BOTH); in pd_gpio_monitor_init()115 gpio_pin_configure_dt(&config->power_good_gpio, GPIO_DISCONNECTED); in pd_gpio_monitor_init()121 BIT(config->power_good_gpio.pin)); in pd_gpio_monitor_init()122 rc = gpio_add_callback_dt(&config->power_good_gpio, &data->callback); in pd_gpio_monitor_init()131 gpio_remove_callback(config->power_good_gpio.port, &data->callback); in pd_gpio_monitor_init()[all …]