diff options
author | Jan Kundrát <jan.kundrat@cesnet.cz> | 2018-01-26 22:16:47 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-02-12 12:47:24 +0300 |
commit | ed231751413d4f33403f0bf0d5a957b41824f940 (patch) | |
tree | 4d4263854356a2ea5bceb40bdcc07e0849e7c3e8 /drivers/atm/nicstarmac.copyright | |
parent | 9b3e4207661e67f04c72af15e29f74cd944f5964 (diff) | |
download | linux-ed231751413d4f33403f0bf0d5a957b41824f940.tar.xz |
pinctrl: mcp23s08: spi: Add HW address to gpio_chip.label
When several devices are sharing one hardware SPI CS, there is no visual
clue in `lsgpio` or in /sys/kernel/debug/gpio about which one is which
one. Stuff depends on the enumeration order, and therefore lower chip
addresses always go first, but that's just an implementation detail.
This change includes the device-specific address in the debug output:
gpiochip4: GPIOs 464-479, parent: spi/spi1.1, mcp23s17.2, can sleep:
gpiochip3: GPIOs 480-495, parent: spi/spi1.1, mcp23s17.1, can sleep:
Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/atm/nicstarmac.copyright')
0 files changed, 0 insertions, 0 deletions