mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 14:26:42 +07:00
9b6d351a75
DT and DT-conversion-related changes for various ARM platforms. Most of these are to enable various devices on various boards, etc, and not necessarily worth enumerating. New boards and systems continue to come in as new devicetree files that don't require corresponding C changes any more, which is indicating that the system is starting to work fairly well. A few things worth pointing out: * ST Ericsson ux500 platforms have made the major push to move over to fully support the platform with DT. * Renesas platforms continue their conversion over from legacy platform devices to DT-based for hardware description. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJS4Vg8AAoJEIwa5zzehBx3tRkP/2dXiXerdB6V63HQ2UjA0J1w wnEqOrHXhIBPHVsAjRs+JOqG1iHxwQ+6qPtpxy//OZy5EN/hTamU5HBAKwcJvbbS He+a2xhOK6nsjr5QrEk2wupXOodhXDXoaU2mqJ51HAN9AOS68QVbHFh1jHs0f7S0 RaPVqHTlpXiiWMZ1ScVwl6qqM/hVcK6H3WOrHz09RWG2V/rFth4cJ6hkXBgqBeYU Zl24Z9mzStaTI7epDEZXq7jZTMX5lzArL2mCA0jKA+YdEy7KSh5GEzqDGu2qi230 wwmJ3g5X1WxDvedXPL0+gUffL7UcHWlEV1nl5KtwVsPf/vpsAUvwPLdlObUgA2nr /cVrdwQYLaPJKg6xq8IWxaS0K34kLdJyUwiNjKxw5s2GayWEwqGRWALn9TANdKz7 Wg+RT0UxjHPL8zj/N1uQV/fTdayHE6PnTPorESKDK0a6q9qqzdUypV3j13d9faIS FbASmq35zO2iOo4ji7SX6wP4ZwPWV1Yx9UBl4RNDlWu9MyB6jsjiJFT1nyr5PxGo WCf8U1Nv4tqCo01gE8AHR1qzlW7cOoya7VMTwDme6J5N9K3GpN+OXqCVItT1lfL2 s2I0OI6TiD7pTAM4WkgCZaKAhPaE/i2Vc9xlGdZ8L77J4allBtLXTAPpIAZj1Lfl a7NT9hbUIiEkTnO8BhHm =4o2d -----END PGP SIGNATURE----- Merge tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc Pull ARM SoC DT updates from Olof Johansson: "DT and DT-conversion-related changes for various ARM platforms. Most of these are to enable various devices on various boards, etc, and not necessarily worth enumerating. New boards and systems continue to come in as new devicetree files that don't require corresponding C changes any more, which is indicating that the system is starting to work fairly well. A few things worth pointing out: * ST Ericsson ux500 platforms have made the major push to move over to fully support the platform with DT * Renesas platforms continue their conversion over from legacy platform devices to DT-based for hardware description" * tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (327 commits) ARM: dts: SiRF: add pin group for USP0 with only RX or TX frame sync ARM: dts: SiRF: add lost usp1_uart_nostreamctrl pin group for atlas6 ARM: dts: sirf: add lost minigpsrtc device node ARM: dts: sirf: add clock, frequence-voltage table for CPU0 ARM: dts: sirf: add lost bus_width, clock and status for sdhci ARM: dts: sirf: add lost clocks for cphifbg ARM: dts: socfpga: add pl330 clock ARM: dts: socfpga: update L2 tag and data latency arm: sun7i: cubietruck: Enable the i2c controllers ARM: dts: add support for EXYNOS4412 based TINY4412 board ARM: dts: Add initial support for Arndale Octa board ARM: bcm2835: add USB controller to device tree ARM: dts: MSM8974: Add MMIO architected timer node ARM: dts: MSM8974: Add restart node ARM: dts: sun7i: external clock outputs ARM: dts: sun7i: Change 32768 Hz oscillator node name to clk@N style ARM: dts: sun7i: Add pin muxing options for clock outputs ARM: dts: sun7i: Add rtp controller node ARM: dts: sun5i: Add rtp controller node ARM: dts: sun4i: Add rtp controller node ...
79 lines
1.7 KiB
C
79 lines
1.7 KiB
C
/*
|
|
* Copyright (C) ST-Ericsson SA 2010
|
|
*
|
|
* License terms: GNU General Public License (GPL), version 2
|
|
*/
|
|
|
|
#include <linux/platform_device.h>
|
|
#include <linux/init.h>
|
|
#include <linux/gpio.h>
|
|
#include <linux/platform_data/dma-ste-dma40.h>
|
|
|
|
#include "irqs.h"
|
|
#include <linux/platform_data/asoc-ux500-msp.h>
|
|
|
|
#include "ste-dma40-db8500.h"
|
|
#include "board-mop500.h"
|
|
|
|
static struct stedma40_chan_cfg msp0_dma_rx = {
|
|
.high_priority = true,
|
|
.dir = DMA_DEV_TO_MEM,
|
|
.dev_type = DB8500_DMA_DEV31_MSP0_SLIM0_CH0,
|
|
};
|
|
|
|
static struct stedma40_chan_cfg msp0_dma_tx = {
|
|
.high_priority = true,
|
|
.dir = DMA_MEM_TO_DEV,
|
|
.dev_type = DB8500_DMA_DEV31_MSP0_SLIM0_CH0,
|
|
};
|
|
|
|
struct msp_i2s_platform_data msp0_platform_data = {
|
|
.id = 0,
|
|
.msp_i2s_dma_rx = &msp0_dma_rx,
|
|
.msp_i2s_dma_tx = &msp0_dma_tx,
|
|
};
|
|
|
|
static struct stedma40_chan_cfg msp1_dma_rx = {
|
|
.high_priority = true,
|
|
.dir = DMA_DEV_TO_MEM,
|
|
.dev_type = DB8500_DMA_DEV30_MSP3,
|
|
};
|
|
|
|
static struct stedma40_chan_cfg msp1_dma_tx = {
|
|
.high_priority = true,
|
|
.dir = DMA_MEM_TO_DEV,
|
|
.dev_type = DB8500_DMA_DEV30_MSP1,
|
|
};
|
|
|
|
struct msp_i2s_platform_data msp1_platform_data = {
|
|
.id = 1,
|
|
.msp_i2s_dma_rx = NULL,
|
|
.msp_i2s_dma_tx = &msp1_dma_tx,
|
|
};
|
|
|
|
static struct stedma40_chan_cfg msp2_dma_rx = {
|
|
.high_priority = true,
|
|
.dir = DMA_DEV_TO_MEM,
|
|
.dev_type = DB8500_DMA_DEV14_MSP2,
|
|
};
|
|
|
|
static struct stedma40_chan_cfg msp2_dma_tx = {
|
|
.high_priority = true,
|
|
.dir = DMA_MEM_TO_DEV,
|
|
.dev_type = DB8500_DMA_DEV14_MSP2,
|
|
.use_fixed_channel = true,
|
|
.phy_channel = 1,
|
|
};
|
|
|
|
struct msp_i2s_platform_data msp2_platform_data = {
|
|
.id = 2,
|
|
.msp_i2s_dma_rx = &msp2_dma_rx,
|
|
.msp_i2s_dma_tx = &msp2_dma_tx,
|
|
};
|
|
|
|
struct msp_i2s_platform_data msp3_platform_data = {
|
|
.id = 3,
|
|
.msp_i2s_dma_rx = &msp1_dma_rx,
|
|
.msp_i2s_dma_tx = NULL,
|
|
};
|