On Fri, Nov 24, 2017 at 10:30:42AM +0100, Linus Walleij wrote: > Just putting the name of the I2C device as name for the > GPIO chip (label) is ambigous, and makes it hard for us > to use GPIO descriptor tables on systems such as DaVinci > DA850EVM which has two chips but on I2C address 0x20 and 0x21. > > Instead, append "-XX" to the GPIOchip name using the I2C > address so we get a unique chip name that can be used > in descriptor tables, such as "tca6416-20" and > "tca6416-21" on the DaVinci DA850EVM. Hi Linus Are you making the assumption that there are not two devices at the same address but on different I2C busses? How safe is that assumption? Can you include the adapter ID in the string? Andrew -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html