]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: gpio-uclass: support PMIC GPIO children
authorSvyatoslav Ryhel <clamor95@gmail.com>
Wed, 26 Jul 2023 14:10:06 +0000 (17:10 +0300)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Tue, 19 Dec 2023 19:23:47 +0000 (21:23 +0200)
commitc03cd98d1a163666b4addcdd9a34fc0c77dfd0a5
tree5509af962cc186c64db03b47a6d4c20341e0cbb8
parent52b6bbf162cb88b2c26fe5567eb32e027081407a
drivers: gpio-uclass: support PMIC GPIO children

UCLASS_PMIC may have GPIO children without exposed fdt node,
in this case if requesting fails, check if uclass is PMIC.

Restrict build for supported devices only to save those precious
bytes on devices with no spare memory.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
drivers/gpio/gpio-uclass.c