Hi,
I have two MCP23S17 at one SPI CS. That means that one SPI client node in
my DT creates two gpiochip instances. I cannot assign names to the GPIO
lines, though, because each of these gpiochips actually uses just one
common DT node:
gpio gpiochip3: names 32 do not match number of GPIOs 16
gpio gpiochip4: names 32 do not match number of GPIOs 16
I've already fixed a similar problem (several instances of a single
subsystem struct within one SPI client) for regmap and pinctrl and gpiochip
debugfs entries, but I don't know how to proceed here. There's a very good
reason for mcp23s08 to register two separate gpiochip instances, after all.
About the only thing which I can think of is walking the list of names once
more from within mcp23s08_probe, or perhaps adding another DT property to
also silence that warning. Or maybe changing my userspace code so that it
does not use GPIO names :).
Thoughts?
With kind regards,
Jan
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html