[GIT PULL] DT dma proprties support and ARM arch updates for 3.16

From: Santosh Shilimkar
Date: Wed May 07 2014 - 10:05:57 EST


Russell and ARM-SOC folks,

Please pull below series which adds device tree support for dma
properties (dma-ranges and dma-coherent) and respective ARM
architecture updates. As aligned, this series needs to be pulled in
RMK's tree as well as ARM-SOC tree to avoid any merge conflicts with
other changes. Rob H has already acked the dt part to be merged via above
trees. Once the series is pulled in ARM-SOC tree, I will send Keystone
SOC update which makes use of it.

The following changes since commit c9eaa447e77efe77b7fa4c953bd62de8297fd6c5:

Linux 3.15-rc1 (2014-04-13 14:18:35 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.git tags/dt-dma-properties-for-arm

for you to fetch changes up to 2161c2485d03520060f6094359b22f33913eefa2:

ARM: dma: use phys_addr_t in __dma_page_[cpu_to_dev/dev_to_cpu] (2014-05-07 09:21:45 -0400)

----------------------------------------------------------------
DT support for 'dma-ranges'and 'dma-coherent' properties with ARM updates

- The 'dma-ranges' helps to take care of few DMAable system memory
restrictions by use of dma_pfn_offset which is maintained per
device. Arch code then uses it for dma address translations for such
cases. We update the dma_pfn_offset accordingly during DT the device
creation process.
- The 'dma-coherent' property is used to setup arch's coherent dma_ops.

----------------------------------------------------------------
Grygorii Strashko (2):
of: introduce of_dma_get_range() helper
ARM: dma: Use dma_pfn_offset for dma address translation

Santosh Shilimkar (5):
device: introduce per device dma_pfn_offset
of: introduce of_dma_is_coherent() helper
of: configure the platform device dma parameters
ARM: dma: implement set_arch_dma_coherent_ops()
ARM: dma: use phys_addr_t in __dma_page_[cpu_to_dev/dev_to_cpu]

arch/arm/include/asm/dma-mapping.h | 25 +++++++-
arch/arm/mm/dma-mapping.c | 4 +-
drivers/of/address.c | 110 ++++++++++++++++++++++++++++++++++++
drivers/of/platform.c | 65 +++++++++++++++++++--
include/linux/device.h | 2 +
include/linux/dma-mapping.h | 7 +++
include/linux/of_address.h | 14 +++++
7 files changed, 218 insertions(+), 9 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/