diff options
| author | Linus Walleij <[email protected]> | 2020-07-03 15:07:56 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-07-10 13:51:22 +0200 |
| commit | 354d6ca9d99790e037bf06f093634e851d1253ee (patch) | |
| tree | 39fc0832670f74a1970a9ccd522f44147a275d85 /tools/perf/scripts/python | |
| parent | d4e03146b00395e82b8db22a0c2e867c7224b7c9 (diff) | |
staging: wfx: Get descriptors for GPIOs
The code has the functionality to insert the GPIO lines using
the global GPIO numbers through module parameters.
As we are clearly deprecating the use of global GPIO numbers
look up the GPIO descriptors from the device instead. This
usually falls back to device hardware descriptions using e.g.
device tree or ACPI. This device clearly supports device
tree when used over SPI for example.
For example, this can be supplied in the device tree like so:
wfx@0x01 {
compatible = "silabs,wf200";
reset-gpios = <&gpio0 1>;
wakeup-gpios = <&gpio0 2>;
};
Cc: Jérôme Pouiller <[email protected]>
Reviewed-by: Jérôme Pouiller <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions