python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / board / synopsys / vdk / patches / linux / 0003-arc-vdk-Add-support-of-UIO.patch
blob2b084a93cc29d4e3c55d2e120e837e61168cb033
1 From caa0dca3f4913712d1883e9b3b540f0815864ed9 Mon Sep 17 00:00:00 2001
2 From: Alexey Brodkin <abrodkin@synopsys.com>
3 Date: Tue, 31 Jan 2017 19:03:56 +0300
4 Subject: [PATCH 3/3] arc: vdk: Add support of UIO
6 ARC VDK for EVSS uses UIO for communication with Embedded Vision
7 Subsystem.
9 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
10 ---
11 arch/arc/boot/dts/vdk_axs10x_mb.dtsi | 8 ++++++++
12 arch/arc/configs/vdk_hs38_smp_defconfig | 2 ++
13 2 files changed, 10 insertions(+)
15 diff --git a/arch/arc/boot/dts/vdk_axs10x_mb.dtsi b/arch/arc/boot/dts/vdk_axs10x_mb.dtsi
16 index 1953914b9f4f..f0df59b23e21 100644
17 --- a/arch/arc/boot/dts/vdk_axs10x_mb.dtsi
18 +++ b/arch/arc/boot/dts/vdk_axs10x_mb.dtsi
19 @@ -112,5 +112,13 @@
20 interrupts = <7>;
21 bus-width = <4>;
24 + /* Embedded Vision subsystem UIO mappings; only relevant for EV VDK */
25 + uio_ev: uio@0xD0000000 {
26 + compatible = "generic-uio";
27 + reg = <0xD0000000 0x2000 0xD1000000 0x2000 0x90000000 0x10000000 0xC0000000 0x10000000>;
28 + reg-names = "ev_gsa", "ev_ctrl", "ev_shared_mem", "ev_code_mem";
29 + interrupts = <23>;
30 + };
33 diff --git a/arch/arc/configs/vdk_hs38_smp_defconfig b/arch/arc/configs/vdk_hs38_smp_defconfig
34 index 85c697a7ef1c..ecd7f42d50c9 100644
35 --- a/arch/arc/configs/vdk_hs38_smp_defconfig
36 +++ b/arch/arc/configs/vdk_hs38_smp_defconfig
37 @@ -83,6 +83,8 @@ CONFIG_MMC=y
38 CONFIG_MMC_SDHCI=y
39 CONFIG_MMC_SDHCI_PLTFM=y
40 CONFIG_MMC_DW=y
41 +CONFIG_UIO=y
42 +CONFIG_UIO_PDRV_GENIRQ=y
43 # CONFIG_IOMMU_SUPPORT is not set
44 CONFIG_EXT3_FS=y
45 CONFIG_MSDOS_FS=y
46 --
47 2.7.4