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 ...
Showing the changes to include/linux/platform_data (2 of 47 files). Show all
Unified · Split
| @@ -49,6 +49,7 @@ struct davinci_spi_platform_data { · 48 unmodified lines | |||
| 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 | }; |
| @@ -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 | ||