Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1571727 > unrolled thread
| Started by | Alexey Brodkin <Alexey.Brodkin@synopsys.com> |
|---|---|
| First post | 2017-02-01 17:50 +0100 |
| Last post | 2017-02-01 18:40 +0100 |
| Articles | 7 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 0/3] Updates for ARC VDK platform Alexey Brodkin <Alexey.Brodkin@synopsys.com> - 2017-02-01 17:50 +0100
[PATCH 3/3] arc: vdk: Add support of UIO Alexey Brodkin <Alexey.Brodkin@synopsys.com> - 2017-02-01 17:50 +0100
[PATCH 2/3] arc: vdk: Add support of MMC controller Alexey Brodkin <Alexey.Brodkin@synopsys.com> - 2017-02-01 17:50 +0100
Re: [PATCH 0/3] Updates for ARC VDK platform Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2017-02-01 18:20 +0100
Re: [PATCH 0/3] Updates for ARC VDK platform Alexey Brodkin <Alexey.Brodkin@synopsys.com> - 2017-02-01 18:20 +0100
Re: [PATCH 0/3] Updates for ARC VDK platform Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2017-02-01 18:30 +0100
Re: [PATCH 0/3] Updates for ARC VDK platform Alexey Brodkin <Alexey.Brodkin@synopsys.com> - 2017-02-01 18:40 +0100
| From | Alexey Brodkin <Alexey.Brodkin@synopsys.com> |
|---|---|
| Date | 2017-02-01 17:50 +0100 |
| Subject | [PATCH 0/3] Updates for ARC VDK platform |
| Message-ID | <t66gx-8kU-3@gated-at.bofh.it> |
This series improves ARC VDK support in upstream Linux kernel by:
1) Removal of UP configuration which is no longer supported by ARC VDK.
Instead SMP platform with all but master cores halted is used to mimic
UP system.
2) Adding off-the-tree patches that enable MMC card and UIO
Alexey Brodkin (3):
arc: vdk: Disable halt on reset
arc: vdk: Add support of MMC controller
arc: vdk: Add support of UIO
arch/arc/boot/dts/vdk_axs10x_mb.dtsi | 26 ++++++++++++++++++++++++++
arch/arc/configs/vdk_hs38_smp_defconfig | 10 +++++++---
2 files changed, 33 insertions(+), 3 deletions(-)
--
2.7.4
[toc] | [next] | [standalone]
| From | Alexey Brodkin <Alexey.Brodkin@synopsys.com> |
|---|---|
| Date | 2017-02-01 17:50 +0100 |
| Subject | [PATCH 3/3] arc: vdk: Add support of UIO |
| Message-ID | <t66gy-8kU-31@gated-at.bofh.it> |
| In reply to | #1571727 |
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
[toc] | [prev] | [next] | [standalone]
| From | Alexey Brodkin <Alexey.Brodkin@synopsys.com> |
|---|---|
| Date | 2017-02-01 17:50 +0100 |
| Subject | [PATCH 2/3] arc: vdk: Add support of MMC controller |
| Message-ID | <t66gy-8kU-33@gated-at.bofh.it> |
| In reply to | #1571727 |
ARC VDK virtual platform emulates host MMC controller (DW Mobile Storage)
and moreover rootfs is situated on that virtual card.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
---
arch/arc/boot/dts/vdk_axs10x_mb.dtsi | 18 ++++++++++++++++++
arch/arc/configs/vdk_hs38_smp_defconfig | 4 ++++
2 files changed, 22 insertions(+)
diff --git a/arch/arc/boot/dts/vdk_axs10x_mb.dtsi b/arch/arc/boot/dts/vdk_axs10x_mb.dtsi
index 99498a4b4216..1953914b9f4f 100644
--- a/arch/arc/boot/dts/vdk_axs10x_mb.dtsi
+++ b/arch/arc/boot/dts/vdk_axs10x_mb.dtsi
@@ -23,6 +23,12 @@
#clock-cells = <0>;
};
+ mmcclk: mmcclk {
+ compatible = "fixed-clock";
+ clock-frequency = <50000000>;
+ #clock-cells = <0>;
+ };
+
pguclk: pguclk {
#clock-cells = <0>;
compatible = "fixed-clock";
@@ -94,5 +100,17 @@
interrupts = <5>;
interrupt-names = "arc_ps2_irq";
};
+
+ mmc@0x15000 {
+ compatible = "snps,dw-mshc";
+ reg = <0x15000 0x400>;
+ num-slots = <1>;
+ fifo-depth = <1024>;
+ card-detect-delay = <200>;
+ clocks = <&apbclk>, <&mmcclk>;
+ clock-names = "biu", "ciu";
+ interrupts = <7>;
+ bus-width = <4>;
+ };
};
};
diff --git a/arch/arc/configs/vdk_hs38_smp_defconfig b/arch/arc/configs/vdk_hs38_smp_defconfig
index f6361de41eec..e03413fbc784 100644
--- a/arch/arc/configs/vdk_hs38_smp_defconfig
+++ b/arch/arc/configs/vdk_hs38_smp_defconfig
@@ -77,6 +77,10 @@ CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_PLATFORM=y
CONFIG_USB_STORAGE=y
CONFIG_USB_SERIAL=y
+CONFIG_MMC=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_PLTFM=y
+CONFIG_MMC_DW=y
# CONFIG_IOMMU_SUPPORT is not set
CONFIG_EXT3_FS=y
CONFIG_MSDOS_FS=y
--
2.7.4
[toc] | [prev] | [next] | [standalone]
| From | Vineet Gupta <Vineet.Gupta1@synopsys.com> |
|---|---|
| Date | 2017-02-01 18:20 +0100 |
| Message-ID | <t66JA-iP-37@gated-at.bofh.it> |
| In reply to | #1571727 |
On 02/01/2017 08:43 AM, Alexey Brodkin wrote: > This series improves ARC VDK support in upstream Linux kernel by: > 1) Removal of UP configuration which is no longer supported by ARC VDK. > Instead SMP platform with all but master cores halted is used to mimic > UP system. Is this missing from the series ?
[toc] | [prev] | [next] | [standalone]
| From | Alexey Brodkin <Alexey.Brodkin@synopsys.com> |
|---|---|
| Date | 2017-02-01 18:20 +0100 |
| Message-ID | <t66JA-iP-35@gated-at.bofh.it> |
| In reply to | #1571792 |
Hi Vineet, On Wed, 2017-02-01 at 09:13 -0800, Vineet Gupta wrote: > On 02/01/2017 08:43 AM, Alexey Brodkin wrote: > > > > This series improves ARC VDK support in upstream Linux kernel by: > > 1) Removal of UP configuration which is no longer supported by ARC VDK. > > Instead SMP platform with all but master cores halted is used to mimic > > UP system. > > Is this missing from the series ? Indeed, I was doing 2 things in parallel and so missed -1 patch :( I may either send v2 with missing patch included or save it for another series that ditches most of UP configs as well. What suits you better? -Alexey
[toc] | [prev] | [next] | [standalone]
| From | Vineet Gupta <Vineet.Gupta1@synopsys.com> |
|---|---|
| Date | 2017-02-01 18:30 +0100 |
| Message-ID | <t66Tg-m7-23@gated-at.bofh.it> |
| In reply to | #1571796 |
On 02/01/2017 09:16 AM, Alexey Brodkin wrote: > Hi Vineet, > > On Wed, 2017-02-01 at 09:13 -0800, Vineet Gupta wrote: >> On 02/01/2017 08:43 AM, Alexey Brodkin wrote: >>> This series improves ARC VDK support in upstream Linux kernel by: >>> 1) Removal of UP configuration which is no longer supported by ARC VDK. >>> Instead SMP platform with all but master cores halted is used to mimic >>> UP system. >> Is this missing from the series ? > Indeed, I was doing 2 things in parallel and so missed -1 patch :( > I may either send v2 with missing patch included or save it for another series > that ditches most of UP configs as well. What suits you better? Latter would be better ! -Vineet
[toc] | [prev] | [next] | [standalone]
| From | Alexey Brodkin <Alexey.Brodkin@synopsys.com> |
|---|---|
| Date | 2017-02-01 18:40 +0100 |
| Message-ID | <t672X-pD-51@gated-at.bofh.it> |
| In reply to | #1571804 |
Hi Vineet, On Wed, 2017-02-01 at 09:22 -0800, Vineet Gupta wrote: > On 02/01/2017 09:16 AM, Alexey Brodkin wrote: > > > > Hi Vineet, > > > > On Wed, 2017-02-01 at 09:13 -0800, Vineet Gupta wrote: > > > > > > On 02/01/2017 08:43 AM, Alexey Brodkin wrote: > > > > > > > > This series improves ARC VDK support in upstream Linux kernel by: > > > > 1) Removal of UP configuration which is no longer supported by ARC VDK. > > > > Instead SMP platform with all but master cores halted is used to mimic > > > > UP system. > > > Is this missing from the series ? > > Indeed, I was doing 2 things in parallel and so missed -1 patch :( > > I may either send v2 with missing patch included or save it for another series > > that ditches most of UP configs as well. What suits you better? > > Latter would be better ! So then you're going to apply existing series as it is sometime soon and in the meantime I'll prepare another one, right? -Alexey
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web