summaryrefslogtreecommitdiffstats
path: root/include/linux/amba
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2010-05-05 09:28:15 +0000
committerGrant Likely <grant.likely@secretlab.ca>2010-05-25 00:23:13 -0600
commit556f4aeb7d9dfac8573d0281dd555bd3210d8366 (patch)
tree43103539c2cdaae5a1032168076c52049e846025 /include/linux/amba
parent338ff2982d969a8e09ca356552cb5022ad380766 (diff)
downloadop-kernel-dev-556f4aeb7d9dfac8573d0281dd555bd3210d8366.zip
op-kernel-dev-556f4aeb7d9dfac8573d0281dd555bd3210d8366.tar.gz
spi/pl022: fix up differences between ARM and ST versions
The PL022 SPI driver did not cleanly separate between the original unmodified ARM version and the ST Microelectronics versions. Split this more cleanly and fix some whitespace moaning from checkpatch at the same time. Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include/linux/amba')
-rw-r--r--include/linux/amba/pl022.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/amba/pl022.h b/include/linux/amba/pl022.h
index e4836c6b..612f399 100644
--- a/include/linux/amba/pl022.h
+++ b/include/linux/amba/pl022.h
@@ -71,6 +71,7 @@ struct ssp_clock_params {
/**
* enum ssp_rx_endian - endianess of Rx FIFO Data
+ * this feature is only available in ST versionf of PL022
*/
enum ssp_rx_endian {
SSP_RX_MSB,
@@ -181,7 +182,8 @@ enum ssp_microwire_wait_state {
};
/**
- * enum Microwire - whether Full/Half Duplex
+ * enum Microwire - whether Full/Half Duplex, only available
+ * in the ST Micro variant.
* @SSP_MICROWIRE_CHANNEL_FULL_DUPLEX: SSPTXD becomes bi-directional,
* SSPRXD not used
* @SSP_MICROWIRE_CHANNEL_HALF_DUPLEX: SSPTXD is an output, SSPRXD is
OpenPOWER on IntegriCloud