summaryrefslogtreecommitdiff
path: root/drivers/w1
diff options
context:
space:
mode:
authorJan Kundrát <jan.kundrat@cesnet.cz>2018-01-26 22:16:47 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-02-12 12:47:24 +0300
commited231751413d4f33403f0bf0d5a957b41824f940 (patch)
tree4d4263854356a2ea5bceb40bdcc07e0849e7c3e8 /drivers/w1
parent9b3e4207661e67f04c72af15e29f74cd944f5964 (diff)
downloadlinux-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/w1')
0 files changed, 0 insertions, 0 deletions