Lines Matching refs:power
34 power-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
42 "led" function, and GPIO 1 as the "power" GPIO:
44 struct gpio_desc *red, *green, *blue, *power;
50 power = gpiod_get(dev, "power", GPIOD_OUT_HIGH);
52 The led GPIOs will be active-high, while the power GPIO will be active-low (i.e.
53 gpiod_is_active_low(power) will be true).
79 "\\_SB.GPI0") {1} // power
94 "power-gpios",
145 GPIO_LOOKUP("gpio.0", 1, "power", GPIO_ACTIVE_LOW),
156 struct gpio_desc *red, *green, *blue, *power;
162 power = gpiod_get(dev, "power", GPIOD_OUT_HIGH);
165 signals to 1, i.e. enabling the LEDs. And for the "power" GPIO, which is mapped