1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (c) Vaisala Oyj.
6 #ifndef REBOOT_MODE_REBOOT_MODE_GPIO_H_
7 #define REBOOT_MODE_REBOOT_MODE_GPIO_H_
12 * In case of initializing the driver statically (using U_BOOT_DEVICE macro),
13 * we can use this struct to declare the pins used.
16 #if !CONFIG_IS_ENABLED(OF_CONTROL)
17 struct reboot_mode_gpio_config {
24 struct reboot_mode_gpio_platdata {
25 struct gpio_desc *gpio_desc;
26 #if !CONFIG_IS_ENABLED(OF_CONTROL)
27 struct reboot_mode_gpio_config *gpios_config;
32 #endif /* REBOOT_MODE_REBOOT_MODE_GPIO_H_ */