My HW has two physical chips on the same SPI CS, and that's a bit problematic. I've already solved conflicts in, e.g., debugfs entries for pinctrl and made it possible to distinguish the chip labels, but there was no way of attaching names to the individual GPIO lines from the DT. One approach suggested by Phil back in last February [1] was to introduce intermediate nodes to the DT. Changes from v1: - dev_dbg for writes of sunsupported pinctrl values - exporting symbol devprop_gpiochip_set_names - removal of superfluous mcp23s08's dbg_show [1] https://www.spinics.net/lists/linux-gpio/msg28277.html Jan Kundrát (4): pinctrl: mcp23s08: Do not complain about unsupported params gpiolib: export devprop_gpiochip_set_names() pinctrl: mcp23s08: work around GPIO line naming pinctrl: mcp23s08: debugfs: remove custom printer .../bindings/pinctrl/pinctrl-mcp23s08.txt | 35 +++++ drivers/gpio/gpiolib-devprop.c | 2 + drivers/gpio/gpiolib.h | 3 - drivers/pinctrl/pinctrl-mcp23s08.c | 124 ++---------------- include/linux/gpio/driver.h | 3 + 5 files changed, 52 insertions(+), 115 deletions(-) -- 2.19.1