diff options
author | Alexandru Ardelean <[email protected]> | 2020-12-21 17:29:34 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-12-28 14:21:30 +0000 |
commit | f7005142dacea1769fba0152c493aaa61b33205c (patch) | |
tree | 640fdce7f32b2266c059993e75bcca7214347854 /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | 22a6d41c871225bdd269a80fe04236071f429e2b (diff) |
spi: uapi: unify SPI modes into a single spi.h header
This change moves all the SPI mode bits into a separate 'spi.h' header in
uAPI. This is meant to re-use these definitions inside the kernel as well
as export them to userspace (via uAPI).
The SPI mode definitions have usually been duplicated between between
'include/linux/spi/spi.h' and 'include/uapi/linux/spi/spidev.h', so
whenever adding a new entry, this would need to be put in both headers.
They've been moved from 'include/linux/spi/spi.h', since that seems a bit
more complete; the bits have descriptions and there is the SPI_MODE_X_MASK.
This change also does a conversion of these bitfields to _BITUL() macro.
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Alexandru Ardelean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions