summaryrefslogtreecommitdiff
path: root/include/linux/pxa2xx_ssp.h
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2015-10-28 15:13:41 +0200
committerMark Brown <broonie@kernel.org>2015-10-30 11:18:05 +0900
commit8b136baa5892f25bba0373d6eb0f5f84efc93986 (patch)
treedb604a7b69c70e6d6be3029c4611e698cefe62d4 /include/linux/pxa2xx_ssp.h
parentd0283eb2dbc11ec08375fdf6a436e96d25b3a593 (diff)
spi: pxa2xx: Detect number of enabled Intel LPSS SPI chip select signals
SPI capabilities register located in private registers space of newer Intel LPSS SPI host controllers tell in register bits 12:9 which chip select signals are enabled. Use that information for detecting the number of chip selects. For simplicity we assume chip selects are enabled one after another without disabled chip selects between. For instance CS0 | CS1 | CS2 but not CS0 | CS1 | CS3. Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/pxa2xx_ssp.h')
0 files changed, 0 insertions, 0 deletions