Lines Matching +full:reset +full:- +full:active +full:- +full:low
1 .. SPDX-License-Identifier: GPL-2.0
16 // Bluetooth device with reset and shutdown GPIOs
31 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
34 Package () {"reset-gpios", Package() {^BTH, 1, 1, 0 }},
35 Package () {"shutdown-gpios", Package() {^BTH, 0, 0, 0 }},
55 active low or high, the "active_low" argument can be used here. Setting
56 it to 1 marks the GPIO as active low.
61 In our Bluetooth example the "reset-gpios" refers to the second GpioIo()
74 Explicit x (no _DSD) as Pull Bias (Up == High, Down == Low),
75 assuming non-active (Polarity = !Pull Bias)
76 Down Low as low, assuming active
77 Down High as low, assuming non-active
78 Up Low as high, assuming non-active
79 Up High as high, assuming active
83 is explicit and _DSD is present, will be treated as active with a high
94 "cs-gpios",
108 - gpio-hog
109 - output-high
110 - output-low
111 - input
112 - line-name
118 ToUUID("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
120 Package () {"hog-gpio8", "G8PU"}
125 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
127 Package () {"gpio-hog", 1},
129 Package () {"output-high", 1},
130 Package () {"line-name", "gpio8-pullup"},
134 - gpio-line-names
139 "gpio-line-names",
165 To do that, the driver needs to define a mapping table as a NULL-terminated
171 line in that resource starting from zero, and the active-low flag for that line,
181 { "reset-gpios", &reset_gpio, 1 },
182 { "shutdown-gpios", &shutdown_gpio, 1 },
216 desc = gpiod_get(dev, "reset", GPIOD_OUT_LOW);
218 but since there is no way to know the mapping between "reset" and
219 the GpioIo() in _CRS desc will hold ERR_PTR(-ENOENT).
242 desc = gpiod_get(dev, "non-null-connection-id", flags);
243 desc = gpiod_get_index(dev, "non-null-connection-id", index, flags);