From: Alexey Brodkin <Alexey.Brodkin@synopsys.com> To: linux-snps-arc@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Vineet Gupta <Vineet.Gupta1@synopsys.com>, Alexey Brodkin <Alexey.Brodkin@synopsys.com> Subject: [PATCH 3/3] arc: vdk: Add support of UIO Date: Wed, 1 Feb 2017 19:42:53 +0300 [thread overview] Message-ID: <1485967373-15273-4-git-send-email-abrodkin@synopsys.com> (raw) In-Reply-To: <1485967373-15273-1-git-send-email-abrodkin@synopsys.com> ARC VDK for EVSS uses UIO for communication with Embedded Vision Subsystem. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> --- arch/arc/boot/dts/vdk_axs10x_mb.dtsi | 8 ++++++++ arch/arc/configs/vdk_hs38_smp_defconfig | 2 ++ 2 files changed, 10 insertions(+) diff --git a/arch/arc/boot/dts/vdk_axs10x_mb.dtsi b/arch/arc/boot/dts/vdk_axs10x_mb.dtsi index 1953914b9f4f..f0df59b23e21 100644 --- a/arch/arc/boot/dts/vdk_axs10x_mb.dtsi +++ b/arch/arc/boot/dts/vdk_axs10x_mb.dtsi @@ -112,5 +112,13 @@ interrupts = <7>; bus-width = <4>; }; + + /* Embedded Vision subsystem UIO mappings; only relevant for EV VDK */ + uio_ev: uio@0xD0000000 { + compatible = "generic-uio"; + reg = <0xD0000000 0x2000 0xD1000000 0x2000 0x90000000 0x10000000 0xC0000000 0x10000000>; + reg-names = "ev_gsa", "ev_ctrl", "ev_shared_mem", "ev_code_mem"; + interrupts = <23>; + }; }; }; diff --git a/arch/arc/configs/vdk_hs38_smp_defconfig b/arch/arc/configs/vdk_hs38_smp_defconfig index e03413fbc784..1a9b19903c9a 100644 --- a/arch/arc/configs/vdk_hs38_smp_defconfig +++ b/arch/arc/configs/vdk_hs38_smp_defconfig @@ -81,6 +81,8 @@ CONFIG_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MMC_DW=y +CONFIG_UIO=y +CONFIG_UIO_PDRV_GENIRQ=y # CONFIG_IOMMU_SUPPORT is not set CONFIG_EXT3_FS=y CONFIG_MSDOS_FS=y -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: Alexey.Brodkin@synopsys.com (Alexey Brodkin) To: linux-snps-arc@lists.infradead.org Subject: [PATCH 3/3] arc: vdk: Add support of UIO Date: Wed, 1 Feb 2017 19:42:53 +0300 [thread overview] Message-ID: <1485967373-15273-4-git-send-email-abrodkin@synopsys.com> (raw) In-Reply-To: <1485967373-15273-1-git-send-email-abrodkin@synopsys.com> ARC VDK for EVSS uses UIO for communication with Embedded Vision Subsystem. Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com> --- arch/arc/boot/dts/vdk_axs10x_mb.dtsi | 8 ++++++++ arch/arc/configs/vdk_hs38_smp_defconfig | 2 ++ 2 files changed, 10 insertions(+) diff --git a/arch/arc/boot/dts/vdk_axs10x_mb.dtsi b/arch/arc/boot/dts/vdk_axs10x_mb.dtsi index 1953914b9f4f..f0df59b23e21 100644 --- a/arch/arc/boot/dts/vdk_axs10x_mb.dtsi +++ b/arch/arc/boot/dts/vdk_axs10x_mb.dtsi @@ -112,5 +112,13 @@ interrupts = <7>; bus-width = <4>; }; + + /* Embedded Vision subsystem UIO mappings; only relevant for EV VDK */ + uio_ev: uio at 0xD0000000 { + compatible = "generic-uio"; + reg = <0xD0000000 0x2000 0xD1000000 0x2000 0x90000000 0x10000000 0xC0000000 0x10000000>; + reg-names = "ev_gsa", "ev_ctrl", "ev_shared_mem", "ev_code_mem"; + interrupts = <23>; + }; }; }; diff --git a/arch/arc/configs/vdk_hs38_smp_defconfig b/arch/arc/configs/vdk_hs38_smp_defconfig index e03413fbc784..1a9b19903c9a 100644 --- a/arch/arc/configs/vdk_hs38_smp_defconfig +++ b/arch/arc/configs/vdk_hs38_smp_defconfig @@ -81,6 +81,8 @@ CONFIG_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MMC_DW=y +CONFIG_UIO=y +CONFIG_UIO_PDRV_GENIRQ=y # CONFIG_IOMMU_SUPPORT is not set CONFIG_EXT3_FS=y CONFIG_MSDOS_FS=y -- 2.7.4
next prev parent reply other threads:[~2017-02-01 16:43 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-02-01 16:42 [PATCH 0/3] Updates for ARC VDK platform Alexey Brodkin 2017-02-01 16:42 ` Alexey Brodkin 2017-02-01 16:42 ` [PATCH 1/3] arc: vdk: Disable halt on reset Alexey Brodkin 2017-02-01 16:42 ` Alexey Brodkin 2017-02-01 16:52 ` Vineet Gupta 2017-02-01 16:52 ` Vineet Gupta 2017-02-01 17:14 ` Alexey Brodkin 2017-02-01 17:14 ` Alexey Brodkin 2017-02-01 17:37 ` Vineet Gupta 2017-02-01 17:37 ` Vineet Gupta 2017-02-01 17:52 ` Alexey Brodkin 2017-02-01 17:52 ` Alexey Brodkin 2017-02-01 19:56 ` Vineet Gupta 2017-02-01 19:56 ` Vineet Gupta 2017-02-01 20:03 ` Alexey Brodkin 2017-02-01 20:03 ` Alexey Brodkin 2017-02-02 14:03 ` Ruud Derwig 2017-02-02 14:03 ` Ruud Derwig 2017-02-01 16:42 ` [PATCH 2/3] arc: vdk: Add support of MMC controller Alexey Brodkin 2017-02-01 16:42 ` Alexey Brodkin 2017-02-01 16:42 ` Alexey Brodkin [this message] 2017-02-01 16:42 ` [PATCH 3/3] arc: vdk: Add support of UIO Alexey Brodkin 2017-02-01 17:13 ` [PATCH 0/3] Updates for ARC VDK platform Vineet Gupta 2017-02-01 17:13 ` Vineet Gupta 2017-02-01 17:15 ` Alexey Brodkin 2017-02-01 17:15 ` Alexey Brodkin 2017-02-01 17:22 ` Vineet Gupta 2017-02-01 17:22 ` Vineet Gupta 2017-02-01 17:35 ` Alexey Brodkin 2017-02-01 17:35 ` Alexey Brodkin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1485967373-15273-4-git-send-email-abrodkin@synopsys.com \ --to=alexey.brodkin@synopsys.com \ --cc=Vineet.Gupta1@synopsys.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-snps-arc@lists.infradead.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.