[PATCH v2] gpio: 74x164: use dev_read_* APIs for live-tree compatibility
Tom Rini
trini at konsulko.com
Fri May 1 00:56:43 CEST 2026
On Wed, 22 Apr 2026 23:05:38 +0900, Chanhong Jung wrote:
> With CONFIG_OF_LIVE=y, dev_of_offset(dev) does not return a valid
> flat-FDT offset, so fdtdec_get_int(gd->fdt_blob, offset, ...) inside
> gen_74x164_probe() fails to locate the "registers-number" property and
> always falls back to the default value of 1. This results in a 4-chip
> 74HC595 daisy chain being exposed as only 8 GPIOs instead of 32, and
> any consumer referencing offsets >= 8 fails to bind with -ENOENT
> ("GPIO ... not found" / Error -22).
>
> [...]
Applied to u-boot/master, thanks!
[1/1] gpio: 74x164: use dev_read_* APIs for live-tree compatibility
commit: b52670d37bc855f6c8da63eb51bf84bce4dad90b
--
Tom
More information about the U-Boot
mailing list