Lines Matching refs:power
34 power-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
38 "led" function, and GPIO 1 as the "power" GPIO:
40 struct gpio_desc *red, *green, *blue, *power;
46 power = gpiod_get(dev, "power");
48 The led GPIOs will be active-high, while the power GPIO will be active-low (i.e.
49 gpiod_is_active_low(power) will be true).
66 "\\_SB.GPI0") {1} // power
81 "power-gpios",
132 GPIO_LOOKUP("gpio.0", 1, "power", GPIO_ACTIVE_LOW),
143 struct gpio_desc *red, *green, *blue, *power;
149 power = gpiod_get(dev, "power");
150 gpiod_direction_output(power, 1);
152 Since the "power" GPIO is mapped as active-low, its actual signal will be 0