Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arc: vdk: Add support of UIO

ARC VDK for EVSS uses UIO for communication with Embedded Vision
Subsystem.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>

authored by

Alexey Brodkin and committed by
Vineet Gupta
cf16bf77 d9174e72

+10
+8
arch/arc/boot/dts/vdk_axs10x_mb.dtsi
··· 112 112 interrupts = <7>; 113 113 bus-width = <4>; 114 114 }; 115 + 116 + /* Embedded Vision subsystem UIO mappings; only relevant for EV VDK */ 117 + uio_ev: uio@0xD0000000 { 118 + compatible = "generic-uio"; 119 + reg = <0xD0000000 0x2000 0xD1000000 0x2000 0x90000000 0x10000000 0xC0000000 0x10000000>; 120 + reg-names = "ev_gsa", "ev_ctrl", "ev_shared_mem", "ev_code_mem"; 121 + interrupts = <23>; 122 + }; 115 123 }; 116 124 };
+2
arch/arc/configs/vdk_hs38_smp_defconfig
··· 82 82 CONFIG_MMC_SDHCI=y 83 83 CONFIG_MMC_SDHCI_PLTFM=y 84 84 CONFIG_MMC_DW=y 85 + CONFIG_UIO=y 86 + CONFIG_UIO_PDRV_GENIRQ=y 85 87 # CONFIG_IOMMU_SUPPORT is not set 86 88 CONFIG_EXT3_FS=y 87 89 CONFIG_MSDOS_FS=y