[U-Boot] [PATCH v2 04/33] dm: gpio: Add a function to read an ID from a list of GPIOs