diff options
author | Tom Rini <trini@konsulko.com> | 2023-08-15 10:39:41 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-08-15 10:39:41 -0400 |
commit | bdc682437a67b47a382edfa30f58f8271b8acfed (patch) | |
tree | a57e22d5bb8a7b789878f455397d9d76b6fdb170 /include/asm-generic/gpio.h | |
parent | 51171cdd6dc9af8e74bbdb1f3e46c15187f7e979 (diff) | |
parent | aaf5b5923054efbf1244dc7fbae68d0bd2a03cf7 (diff) |
Merge branch '2023-08-14-assorted-general-updates' into next
- Assorted PCI-related fixes, add Apple Type-C PHY support, semihosting
updates, fix a FAT corner-case, update the help on the pxe cmd and
clean up the gpio uclass slightly.
Diffstat (limited to 'include/asm-generic/gpio.h')
-rw-r--r-- | include/asm-generic/gpio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index c4a7fd2843..a21c606f2b 100644 --- a/include/asm-generic/gpio.h +++ b/include/asm-generic/gpio.h @@ -414,6 +414,7 @@ struct dm_gpio_ops { * @gpio_base: Base GPIO number for this device. For the first active device * this will be 0; the numbering for others will follow sequentially so that * @gpio_base for device 1 will equal the number of GPIOs in device 0. + * @claimed: Array of bits indicating which GPIOs in the bank are claimed. * @name: Array of pointers to the name for each GPIO in this bank. The * value of the pointer will be NULL if the GPIO has not been claimed. */ @@ -421,6 +422,7 @@ struct gpio_dev_priv { const char *bank_name; unsigned gpio_count; unsigned gpio_base; + u32 *claimed; char **name; }; |