aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-08-15 10:39:41 -0400
committerTom Rini <trini@konsulko.com>2023-08-15 10:39:41 -0400
commitbdc682437a67b47a382edfa30f58f8271b8acfed (patch)
treea57e22d5bb8a7b789878f455397d9d76b6fdb170 /include
parent51171cdd6dc9af8e74bbdb1f3e46c15187f7e979 (diff)
parentaaf5b5923054efbf1244dc7fbae68d0bd2a03cf7 (diff)
downloadu-boot-bdc682437a67b47a382edfa30f58f8271b8acfed.zip
u-boot-bdc682437a67b47a382edfa30f58f8271b8acfed.tar.gz
u-boot-bdc682437a67b47a382edfa30f58f8271b8acfed.tar.bz2
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')
-rw-r--r--include/asm-generic/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index c4a7fd2..a21c606 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;
};