Re: [PATCH 3/4] pinctrl: mcp23s08: spi: Add HW address to gpio_chip.label

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 26, 2018 at 8:16 PM, Jan Kundrát <jan.kundrat@xxxxxxxxx> wrote:

> 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@xxxxxxxxx>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux