diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-08-31 18:55:49 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-08-31 18:55:49 -0400 |
| commit | e5aeced6bcec5a110e6dfcb78acc203dbe895b59 (patch) | |
| tree | 9f1523e0c6829c327ea8d26fc04f46756ddb5eb1 /include/linux/platform_data | |
| parent | cf9d615f7f5842ca1ef0f28ed9f67a97d20cf6fc (diff) | |
| parent | c5992f610f78e6c9d0a78e8fef1066ad640e17e8 (diff) | |
Merge tag 'spi-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
Pull spi updates from Mark Brown:
"A few core tweaks this time together with the usual collection of
driver specific updates and fixes plus a larger than average selection
of new device support:
- fix DMA mapping of unaligned vmalloc() buffers
- statistics tracking transfer volumes exposed via sysfs
- new drivers for Freescale MPC5125, Intel Sunrise Point, Mediatek
SoCs, and Netlogic XLP SoCs"
* tag 'spi-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (66 commits)
spi: sh-msiof: Fix FIFO size to 64 word from 256 word
spi: fsl-(e)spi: Fix checking return value of devm_ioremap_resource
spi: Add DT bindings documentation for Netlogic XLP SPI controller
spi/xlp: SPI controller driver for Netlogic XLP SoCs
spi: fsl-espi: add runtime PM
spi: fsl-(e)spi: simplify cleanup code
spi: fsl-(e)spi: migrate to using devm_ functions to simplify cleanup
spi: mediatek: fix SPI_CMD_PAUSE_IE macro error
spi: check bits_per_word in spi_setup
spi: mediatek: replace *_time name
spi: mediatek: add PM clk_prepare_enable fail flow
spi: mediatek: replace int with u32, delete TAB and define MTK_SPI_PAUSE_INT_STATUS marco
spi: mediatek: add linux/io.h include file
spi/bcm63xx-hsspi: add support for dual spi read/write
spi: dw: Allow interface drivers to limit data I/O to word sizes
dt: snps,dw-apb-ssi: Document new I/O data register width property
spi: Fall back to master maximum speed if no slave speed specified
spi: mediatek: use BIT() to instead of SPI_CMD_*_OFFSET
spi: medaitek: revise quirks compatibility style
spi: mediatek: fix spi incorrect endian usage
...
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/spi-davinci.h | 1 | ||||
| -rw-r--r-- | include/linux/platform_data/spi-mt65xx.h | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/platform_data/spi-davinci.h b/include/linux/platform_data/spi-davinci.h index 8dc2fa47a2aa..f4edcb03c40c 100644 --- a/include/linux/platform_data/spi-davinci.h +++ b/include/linux/platform_data/spi-davinci.h | |||
| @@ -49,6 +49,7 @@ struct davinci_spi_platform_data { | |||
| 49 | u8 num_chipselect; | 49 | u8 num_chipselect; |
| 50 | u8 intr_line; | 50 | u8 intr_line; |
| 51 | u8 *chip_sel; | 51 | u8 *chip_sel; |
| 52 | u8 prescaler_limit; | ||
| 52 | bool cshold_bug; | 53 | bool cshold_bug; |
| 53 | enum dma_event_q dma_event_q; | 54 | enum dma_event_q dma_event_q; |
| 54 | }; | 55 | }; |
diff --git a/include/linux/platform_data/spi-mt65xx.h b/include/linux/platform_data/spi-mt65xx.h new file mode 100644 index 000000000000..54b04483976c --- /dev/null +++ b/include/linux/platform_data/spi-mt65xx.h | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | /* | ||
| 2 | * MTK SPI bus driver definitions | ||
| 3 | * | ||
| 4 | * Copyright (c) 2015 MediaTek Inc. | ||
| 5 | * Author: Leilk Liu <leilk.liu@mediatek.com> | ||
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | ||
| 11 | |||
| 12 | #ifndef ____LINUX_PLATFORM_DATA_SPI_MTK_H | ||
| 13 | #define ____LINUX_PLATFORM_DATA_SPI_MTK_H | ||
| 14 | |||
| 15 | /* Board specific platform_data */ | ||
| 16 | struct mtk_chip_config { | ||
| 17 | u32 tx_mlsb; | ||
| 18 | u32 rx_mlsb; | ||
| 19 | }; | ||
| 20 | #endif | ||
