Go to the documentation of this file.
20 static unsigned int reset_val;
26 "hard-reset-gpios", 0);
28 if (!gpio_is_valid(
handle)) {
29 pr_info(
"Skipping unavailable RESET gpio %d (%s)\n",
36 pr_info(
"GPIO pin is already allocated\n");
43 pr_debug(
"Reset: Gpio output state: 0x%x\n", reset_val);
53 pr_info(
"RESET: Registered gpio device: %d, current val: %d\n",
67 pr_notice(
"Reset GPIO unavailable - halting!\n");
70 #define gpio_system_reset() do {} while (0)