aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2019-01-07 16:51:55 +0100
committerMark Brown <[email protected]>2019-01-09 12:42:11 +0000
commit101a68e74fe089b975c407f1bc9359882b05489a (patch)
tree59461549e2bab8f9aaa7c0a968fd69c1d34e036f /tools/perf/scripts/python/net_dropmonitor.py
parent054320b25520ff3c2440f5d56233c8f672293b3c (diff)
spi: davinci: Convert to use CS GPIO descriptors
This converts the DaVinci SPI master driver to use GPIO descriptors for chip select handling. DaVinci parses the device tree a second time for the chip select GPIOs (no relying on the parsing already happening in the SPI core) and handles inversion semantics locally. We simply drop the extra parsing and set up and move the CS handling to the core and gpiolib. The fact that the driver is actively driving the GPIO in the davinci_spi_chipselect() callback is confusing since the host does not set SPI_MASTER_GPIO_SS so this should not ever get called when using GPIO CS. I put in a comment about this. This driver also supports instantiation from board files, but these are all using native chip selects so no problem with GPIO lines here. Cc: David Lechner <[email protected]> Cc: Bartosz Golaszewski <[email protected]> Cc: Linuxarm <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions