Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1342972 > unrolled thread
| Started by | Pankaj Dubey <pankaj.dubey@samsung.com> |
|---|---|
| First post | 2016-02-25 09:40 +0100 |
| Last post | 2016-02-26 12:00 +0100 |
| Articles | 10 — 4 participants |
Back to article view | Back to linux.kernel
[RESPIN 0/6] Add support for Exynos SROM Controller driver. Pankaj Dubey <pankaj.dubey@samsung.com> - 2016-02-25 09:40 +0100
[RESPIN 5/6] dt-bindings: EXYNOS: Describe SROMc configuration Pankaj Dubey <pankaj.dubey@samsung.com> - 2016-02-25 09:40 +0100
Re: [RESPIN 5/6] dt-bindings: EXYNOS: Describe SROMc configuration Rob Herring <robh@kernel.org> - 2016-03-02 19:00 +0100
[RESPIN 3/6] MAINTAINERS: Add maintainers entry for drivers/memory/samsung Pankaj Dubey <pankaj.dubey@samsung.com> - 2016-02-25 09:40 +0100
[RESPIN 1/6] dt-bindings: EXYNOS: Add exynos-srom device tree binding Pankaj Dubey <pankaj.dubey@samsung.com> - 2016-02-25 09:40 +0100
Re: [RESPIN 1/6] dt-bindings: EXYNOS: Add exynos-srom device tree binding Rob Herring <robh@kernel.org> - 2016-03-02 19:00 +0100
[RESPIN 6/6] drivers: memory: exynos-srom: Add support for bank configuration Pankaj Dubey <pankaj.dubey@samsung.com> - 2016-02-25 09:40 +0100
Re: [RESPIN 0/6] Add support for Exynos SROM Controller driver. Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-02-26 09:00 +0100
RE: [RESPIN 0/6] Add support for Exynos SROM Controller driver. Pavel Fedin <p.fedin@samsung.com> - 2016-02-26 09:40 +0100
Re: [RESPIN 0/6] Add support for Exynos SROM Controller driver. Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-02-26 12:00 +0100
| From | Pankaj Dubey <pankaj.dubey@samsung.com> |
|---|---|
| Date | 2016-02-25 09:40 +0100 |
| Subject | [RESPIN 0/6] Add support for Exynos SROM Controller driver. |
| Message-ID | <r5ZCO-15Z-9@gated-at.bofh.it> |
This series is collection of patches already reviewed and merged in maintainer's tree, but could not make it thorugh main linus tree, due to last moment suggestion of proper location of driver should be "drivers/memory" instead of "drivers/soc". I have rebased all the patches and moved into "drivers/memory/samsung". As this is just a movement without changing actual driver code, I have not removed "Reviewed-By", "Tested-By" or "Acked-By". To make sure everything is fine, I have again tested it on Exynos5880 based Chromebook for normal boot, S2R functionality and its working fine. This series has been prepared on top of next-soc branch of Krzysztof's tree. Changes w.r.t. original merged patches: - Moved exynos-srom driver into "drivers/memory/samsung" - Moved DT binding documentation into "bindings/memory-controller" - Added new patch for entry of new directory in MAINTAINERS file. - Added new CONFIG as SAMSUNG_MC for grouping Samsung's memory controller drivers. - Added my Signed-off-by for patch 5/6 and 6/6 for touching it. Pankaj Dubey (4): dt-bindings: EXYNOS: Add exynos-srom device tree binding drivers: memory: Add support for exynos SROM driver MAINTAINERS: Add maintainers entry for drivers/memory/samsung ARM: EXYNOS: Remove SROM related register settings from mach-exynos Pavel Fedin (2): dt-bindings: EXYNOS: Describe SROMc configuration drivers: memory: exynos-srom: Add support for bank configuration .../bindings/memory-controllers/exynos-srom.txt | 81 +++++++ MAINTAINERS | 1 + arch/arm/mach-exynos/Kconfig | 2 + arch/arm/mach-exynos/exynos.c | 17 -- arch/arm/mach-exynos/include/mach/map.h | 3 - arch/arm/mach-exynos/regs-srom.h | 53 ----- arch/arm/mach-exynos/suspend.c | 20 +- arch/arm/plat-samsung/include/plat/map-s5p.h | 1 - drivers/memory/Kconfig | 1 + drivers/memory/Makefile | 1 + drivers/memory/samsung/Kconfig | 12 ++ drivers/memory/samsung/Makefile | 1 + drivers/memory/samsung/exynos-srom.c | 232 +++++++++++++++++++++ drivers/memory/samsung/exynos-srom.h | 51 +++++ 14 files changed, 384 insertions(+), 92 deletions(-) create mode 100644 Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt delete mode 100644 arch/arm/mach-exynos/regs-srom.h create mode 100644 drivers/memory/samsung/Kconfig create mode 100644 drivers/memory/samsung/Makefile create mode 100644 drivers/memory/samsung/exynos-srom.c create mode 100644 drivers/memory/samsung/exynos-srom.h -- 2.4.5
[toc] | [next] | [standalone]
| From | Pankaj Dubey <pankaj.dubey@samsung.com> |
|---|---|
| Date | 2016-02-25 09:40 +0100 |
| Subject | [RESPIN 5/6] dt-bindings: EXYNOS: Describe SROMc configuration |
| Message-ID | <r5ZCQ-15Z-33@gated-at.bofh.it> |
| In reply to | #1342972 |
From: Pavel Fedin <p.fedin@samsung.com>
Add documentation for new subnode properties, allowing bank configuration.
Based on u-boot implementation, but heavily reworked.
Also, fix size of SROMc mapping in the example.
CC: devicetree@vger.kernel.org
Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
.../bindings/memory-controllers/exynos-srom.txt | 73 +++++++++++++++++++++-
1 file changed, 71 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt b/Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt
index 33886d5..e5c18df 100644
--- a/Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt
+++ b/Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt
@@ -5,8 +5,77 @@ Required properties:
- reg: offset and length of the register set
-Example:
+Optional properties:
+The SROM controller can be used to attach external peripherals. In this case
+extra properties, describing the bus behind it, should be specified as below:
+
+- #address-cells: Must be set to 2 to allow device address translation.
+ Address is specified as (bank#, offset).
+
+- #size-cells: Must be set to 1 to allow device size passing
+
+- ranges: Must be set up to reflect the memory layout with four integer values
+ per bank:
+ <bank-number> 0 <parent address of bank> <size>
+
+Sub-nodes:
+The actual device nodes should be added as subnodes to the SROMc node. These
+subnodes, except regular device specification, should contain the following
+properties, describing configuration of the relevant SROM bank:
+
+Required properties:
+- reg: bank number, base address (relative to start of the bank) and size of
+ the memory mapped for the device. Note that base address will be
+ typically 0 as this is the start of the bank.
+
+- samsung,srom-timing : array of 6 integers, specifying bank timings in the
+ following order: Tacp, Tcah, Tcoh, Tacc, Tcos, Tacs.
+ Each value is specified in cycles and has the following
+ meaning and valid range:
+ Tacp : Page mode access cycle at Page mode (0 - 15)
+ Tcah : Address holding time after CSn (0 - 15)
+ Tcoh : Chip selection hold on OEn (0 - 15)
+ Tacc : Access cycle (0 - 31, the actual time is N + 1)
+ Tcos : Chip selection set-up before OEn (0 - 15)
+ Tacs : Address set-up before CSn (0 - 15)
+
+Optional properties:
+- reg-io-width : data width in bytes (1 or 2). If omitted, default of 1 is used.
+
+- samsung,srom-page-mode : page mode configuration for the bank:
+ 0 - normal (one data)
+ 1 - four data
+ If omitted, default of 0 is used.
+
+Example: basic definition, no banks are configured
+ sromc@12570000 {
+ compatible = "samsung,exynos-srom";
+ reg = <0x12570000 0x14>;
+ };
+
+Example: SROMc with SMSC911x ethernet chip on bank 3
sromc@12570000 {
+ #address-cells = <2>;
+ #size-cells = <1>;
+ ranges = <0 0 0x04000000 0x20000 // Bank0
+ 1 0 0x05000000 0x20000 // Bank1
+ 2 0 0x06000000 0x20000 // Bank2
+ 3 0 0x07000000 0x20000>; // Bank3
+
compatible = "samsung,exynos-srom";
- reg = <0x12570000 0x10>;
+ reg = <0x12570000 0x14>;
+
+ ethernet@3,0 {
+ compatible = "smsc,lan9115";
+ reg = <3 0 0x10000>; // Bank 3, offset = 0
+ phy-mode = "mii";
+ interrupt-parent = <&gpx0>;
+ interrupts = <5 8>;
+ reg-io-width = <2>;
+ smsc,irq-push-pull;
+ smsc,force-internal-phy;
+
+ samsung,srom-page-mode = <1>;
+ samsung,srom-timing = <9 12 1 9 1 1>;
+ };
};
--
2.4.5
[toc] | [prev] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2016-03-02 19:00 +0100 |
| Subject | Re: [RESPIN 5/6] dt-bindings: EXYNOS: Describe SROMc configuration |
| Message-ID | <r8je4-2XE-29@gated-at.bofh.it> |
| In reply to | #1342974 |
On Thu, Feb 25, 2016 at 02:03:41PM +0530, Pankaj Dubey wrote: > From: Pavel Fedin <p.fedin@samsung.com> > > Add documentation for new subnode properties, allowing bank configuration. > Based on u-boot implementation, but heavily reworked. > > Also, fix size of SROMc mapping in the example. Fix it in the previous patch. > CC: devicetree@vger.kernel.org > Signed-off-by: Pavel Fedin <p.fedin@samsung.com> > Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com> > Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> > Acked-by: Rob Herring <robh@kernel.org> > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> > --- > .../bindings/memory-controllers/exynos-srom.txt | 73 +++++++++++++++++++++- > 1 file changed, 71 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt b/Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt > index 33886d5..e5c18df 100644 > --- a/Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt > +++ b/Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt > @@ -5,8 +5,77 @@ Required properties: > > - reg: offset and length of the register set > > -Example: > +Optional properties: > +The SROM controller can be used to attach external peripherals. In this case > +extra properties, describing the bus behind it, should be specified as below: > + > +- #address-cells: Must be set to 2 to allow device address translation. > + Address is specified as (bank#, offset). > + > +- #size-cells: Must be set to 1 to allow device size passing > + > +- ranges: Must be set up to reflect the memory layout with four integer values > + per bank: > + <bank-number> 0 <parent address of bank> <size> > + > +Sub-nodes: > +The actual device nodes should be added as subnodes to the SROMc node. These > +subnodes, except regular device specification, should contain the following s/except/in addition to/ > +properties, describing configuration of the relevant SROM bank: > + > +Required properties: > +- reg: bank number, base address (relative to start of the bank) and size of > + the memory mapped for the device. Note that base address will be > + typically 0 as this is the start of the bank. > + > +- samsung,srom-timing : array of 6 integers, specifying bank timings in the > + following order: Tacp, Tcah, Tcoh, Tacc, Tcos, Tacs. > + Each value is specified in cycles and has the following > + meaning and valid range: > + Tacp : Page mode access cycle at Page mode (0 - 15) > + Tcah : Address holding time after CSn (0 - 15) > + Tcoh : Chip selection hold on OEn (0 - 15) > + Tacc : Access cycle (0 - 31, the actual time is N + 1) > + Tcos : Chip selection set-up before OEn (0 - 15) > + Tacs : Address set-up before CSn (0 - 15) > + > +Optional properties: > +- reg-io-width : data width in bytes (1 or 2). If omitted, default of 1 is used. > + > +- samsung,srom-page-mode : page mode configuration for the bank: > + 0 - normal (one data) > + 1 - four data > + If omitted, default of 0 is used. Make this a bool instead. Rob
[toc] | [prev] | [next] | [standalone]
| From | Pankaj Dubey <pankaj.dubey@samsung.com> |
|---|---|
| Date | 2016-02-25 09:40 +0100 |
| Subject | [RESPIN 3/6] MAINTAINERS: Add maintainers entry for drivers/memory/samsung |
| Message-ID | <r5ZCQ-15Z-35@gated-at.bofh.it> |
| In reply to | #1342972 |
This patch adds maintainers entry for new driver folder drivers/memory/samsung Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com> --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index a6f927c..3a05c6b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1493,6 +1493,7 @@ F: arch/arm/mach-s5p*/ F: arch/arm/mach-exynos*/ F: drivers/*/*s3c2410* F: drivers/*/*/*s3c2410* +F: drivers/memory/samsung/* F: drivers/soc/samsung/* F: drivers/spi/spi-s3c* F: sound/soc/samsung/* -- 2.4.5
[toc] | [prev] | [next] | [standalone]
| From | Pankaj Dubey <pankaj.dubey@samsung.com> |
|---|---|
| Date | 2016-02-25 09:40 +0100 |
| Subject | [RESPIN 1/6] dt-bindings: EXYNOS: Add exynos-srom device tree binding |
| Message-ID | <r5ZCQ-15Z-39@gated-at.bofh.it> |
| In reply to | #1342972 |
This patch adds exynos-srom binding information for SROM Controller
driver on Exynos SoCs.
CC: Rob Herring <robh+dt@kernel.org>
CC: Mark Rutland <mark.rutland@arm.com>
CC: Ian Campbell <ijc+devicetree@hellion.org.uk>
CC: devicetree@vger.kernel.org
Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
.../devicetree/bindings/memory-controllers/exynos-srom.txt | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt
diff --git a/Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt b/Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt
new file mode 100644
index 0000000..33886d5
--- /dev/null
+++ b/Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt
@@ -0,0 +1,12 @@
+SAMSUNG Exynos SoCs SROM Controller driver.
+
+Required properties:
+- compatible : Should contain "samsung,exynos-srom".
+
+- reg: offset and length of the register set
+
+Example:
+ sromc@12570000 {
+ compatible = "samsung,exynos-srom";
+ reg = <0x12570000 0x10>;
+ };
--
2.4.5
[toc] | [prev] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2016-03-02 19:00 +0100 |
| Subject | Re: [RESPIN 1/6] dt-bindings: EXYNOS: Add exynos-srom device tree binding |
| Message-ID | <r8je2-2XE-1@gated-at.bofh.it> |
| In reply to | #1342977 |
On Thu, Feb 25, 2016 at 02:03:37PM +0530, Pankaj Dubey wrote:
> This patch adds exynos-srom binding information for SROM Controller
> driver on Exynos SoCs.
>
> CC: Rob Herring <robh+dt@kernel.org>
> CC: Mark Rutland <mark.rutland@arm.com>
> CC: Ian Campbell <ijc+devicetree@hellion.org.uk>
> CC: devicetree@vger.kernel.org
> Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> Signed-off-by: Kukjin Kim <kgene@kernel.org>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> ---
> .../devicetree/bindings/memory-controllers/exynos-srom.txt | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt
>
> diff --git a/Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt b/Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt
> new file mode 100644
> index 0000000..33886d5
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/memory-controllers/exynos-srom.txt
> @@ -0,0 +1,12 @@
> +SAMSUNG Exynos SoCs SROM Controller driver.
> +
> +Required properties:
> +- compatible : Should contain "samsung,exynos-srom".
There should be SoC specific compatible strings in addition to this.
> +
> +- reg: offset and length of the register set
> +
> +Example:
> + sromc@12570000 {
This should be memory-controller@...
> + compatible = "samsung,exynos-srom";
> + reg = <0x12570000 0x10>;
The next patch changes the size to 0x14?
BTW, you could just combine both patches. I guess you didn't to maintain
authorship?
Rob
[toc] | [prev] | [next] | [standalone]
| From | Pankaj Dubey <pankaj.dubey@samsung.com> |
|---|---|
| Date | 2016-02-25 09:40 +0100 |
| Subject | [RESPIN 6/6] drivers: memory: exynos-srom: Add support for bank configuration |
| Message-ID | <r5ZCQ-15Z-45@gated-at.bofh.it> |
| In reply to | #1342972 |
From: Pavel Fedin <p.fedin@samsung.com>
Implement handling properties in subnodes and adding child devices to the
system. Child devices will not be added if configuration fails.
Since the driver now does more than suspend-resume support, dependency on
CONFIG_PM is removed.
Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
arch/arm/mach-exynos/Kconfig | 2 +-
drivers/memory/samsung/Kconfig | 2 +-
drivers/memory/samsung/exynos-srom.c | 61 ++++++++++++++++++++++++++++++++++--
3 files changed, 61 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 8da01d1..eb386b3 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -18,7 +18,7 @@ menuconfig ARCH_EXYNOS
select COMMON_CLK_SAMSUNG
select EXYNOS_THERMAL
select EXYNOS_PMU
- select EXYNOS_SROM if PM
+ select EXYNOS_SROM
select HAVE_ARM_SCU if SMP
select HAVE_S3C2410_I2C if I2C
select HAVE_S3C2410_WATCHDOG if WATCHDOG
diff --git a/drivers/memory/samsung/Kconfig b/drivers/memory/samsung/Kconfig
index c2cd45e..ca17a27 100644
--- a/drivers/memory/samsung/Kconfig
+++ b/drivers/memory/samsung/Kconfig
@@ -8,5 +8,5 @@ config SAMSUNG_MC
config EXYNOS_SROM
bool
- depends on (ARM && ARCH_EXYNOS && PM) || ((ARM || ARM64) && COMPILE_TEST)
+ depends on (ARM && ARCH_EXYNOS) || ((ARM || ARM64) && COMPILE_TEST)
diff --git a/drivers/memory/samsung/exynos-srom.c b/drivers/memory/samsung/exynos-srom.c
index 57a232d..a4cf547 100644
--- a/drivers/memory/samsung/exynos-srom.c
+++ b/drivers/memory/samsung/exynos-srom.c
@@ -14,6 +14,7 @@
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_address.h>
+#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
@@ -67,11 +68,51 @@ static struct exynos_srom_reg_dump *exynos_srom_alloc_reg_dump(
return rd;
}
+static int exynos_srom_configure_bank(struct exynos_srom *srom,
+ struct device_node *np)
+{
+ u32 bank, width, pmc;
+ u32 timing[6];
+ u32 cs, bw;
+
+ if (of_property_read_u32(np, "reg", &bank))
+ return -EINVAL;
+ if (of_property_read_u32(np, "reg-io-width", &width))
+ width = 1;
+ if (of_property_read_u32(np, "samsung,srom-page-mode", &pmc))
+ pmc = 0;
+ if (of_property_read_u32_array(np, "samsung,srom-timing", timing,
+ ARRAY_SIZE(timing)))
+ return -EINVAL;
+
+ bank *= 4; /* Convert bank into shift/offset */
+
+ cs = 1 << EXYNOS_SROM_BW__BYTEENABLE__SHIFT;
+ if (width == 2)
+ cs |= 1 << EXYNOS_SROM_BW__DATAWIDTH__SHIFT;
+
+ bw = __raw_readl(srom->reg_base + EXYNOS_SROM_BW);
+ bw = (bw & ~(EXYNOS_SROM_BW__CS_MASK << bank)) | (cs << bank);
+ __raw_writel(bw, srom->reg_base + EXYNOS_SROM_BW);
+
+ __raw_writel((pmc << EXYNOS_SROM_BCX__PMC__SHIFT) |
+ (timing[0] << EXYNOS_SROM_BCX__TACP__SHIFT) |
+ (timing[1] << EXYNOS_SROM_BCX__TCAH__SHIFT) |
+ (timing[2] << EXYNOS_SROM_BCX__TCOH__SHIFT) |
+ (timing[3] << EXYNOS_SROM_BCX__TACC__SHIFT) |
+ (timing[4] << EXYNOS_SROM_BCX__TCOS__SHIFT) |
+ (timing[5] << EXYNOS_SROM_BCX__TACS__SHIFT),
+ srom->reg_base + EXYNOS_SROM_BC0 + bank);
+
+ return 0;
+}
+
static int exynos_srom_probe(struct platform_device *pdev)
{
- struct device_node *np;
+ struct device_node *np, *child;
struct exynos_srom *srom;
struct device *dev = &pdev->dev;
+ bool bad_bank_config = false;
np = dev->of_node;
if (!np) {
@@ -100,7 +141,23 @@ static int exynos_srom_probe(struct platform_device *pdev)
return -ENOMEM;
}
- return 0;
+ for_each_child_of_node(np, child) {
+ if (exynos_srom_configure_bank(srom, child)) {
+ dev_err(dev,
+ "Could not decode bank configuration for %s\n",
+ child->name);
+ bad_bank_config = true;
+ }
+ }
+
+ /*
+ * If any bank failed to configure, we still provide suspend/resume,
+ * but do not probe child devices
+ */
+ if (bad_bank_config)
+ return 0;
+
+ return of_platform_populate(np, NULL, NULL, dev);
}
static int exynos_srom_remove(struct platform_device *pdev)
--
2.4.5
[toc] | [prev] | [next] | [standalone]
| From | Krzysztof Kozlowski <k.kozlowski@samsung.com> |
|---|---|
| Date | 2016-02-26 09:00 +0100 |
| Message-ID | <r6ltF-8lP-7@gated-at.bofh.it> |
| In reply to | #1342972 |
On 25.02.2016 17:33, Pankaj Dubey wrote: > This series is collection of patches already reviewed and merged in > maintainer's tree, but could not make it thorugh main linus tree, due > to last moment suggestion of proper location of driver should be > "drivers/memory" instead of "drivers/soc". I have rebased all the patches > and moved into "drivers/memory/samsung". > > As this is just a movement without changing actual driver code, > I have not removed "Reviewed-By", "Tested-By" or "Acked-By". > > To make sure everything is fine, I have again tested it on Exynos5880 based > Chromebook for normal boot, S2R functionality and its working fine. > > This series has been prepared on top of next-soc branch of Krzysztof's tree. > > Changes w.r.t. original merged patches: > - Moved exynos-srom driver into "drivers/memory/samsung" > - Moved DT binding documentation into "bindings/memory-controller" > - Added new patch for entry of new directory in MAINTAINERS file. > - Added new CONFIG as SAMSUNG_MC for grouping Samsung's memory controller drivers. > - Added my Signed-off-by for patch 5/6 and 6/6 for touching it. > > Pankaj Dubey (4): > dt-bindings: EXYNOS: Add exynos-srom device tree binding > drivers: memory: Add support for exynos SROM driver > MAINTAINERS: Add maintainers entry for drivers/memory/samsung > ARM: EXYNOS: Remove SROM related register settings from mach-exynos > > Pavel Fedin (2): > dt-bindings: EXYNOS: Describe SROMc configuration > drivers: memory: exynos-srom: Add support for bank configuration Thanks! The driver was put under samsung subdirectory of drivers/memory because Pankaj has a plan to add more stuff there. This way we can avoid unnecessary movements of files (making history reading more difficult). I applied (with fixes mentioned in my comments) everything and pushed here so everyone could play with it: https://git.kernel.org/cgit/linux/kernel/git/krzk/linux.git/log/?h=for-v4.6/drivers-soc-exynos-srom-2 It is also included in for-next. If there is no comments then I will send it in pull request for v4.6. Best regards, Krzysztof
[toc] | [prev] | [next] | [standalone]
| From | Pavel Fedin <p.fedin@samsung.com> |
|---|---|
| Date | 2016-02-26 09:40 +0100 |
| Message-ID | <r6m6l-q0-7@gated-at.bofh.it> |
| In reply to | #1343885 |
Hello! > I applied (with fixes mentioned in my comments) everything and pushed > here so everyone could play with it: > https://git.kernel.org/cgit/linux/kernel/git/krzk/linux.git/log/?h=for-v4.6/drivers-soc- > exynos-srom-2 I see the last patch (adding Ethernet chip to DT) is missing. Is it intentional, so that it goes later? Kind regards, Pavel Fedin Senior Engineer Samsung Electronics Research center Russia
[toc] | [prev] | [next] | [standalone]
| From | Krzysztof Kozlowski <k.kozlowski@samsung.com> |
|---|---|
| Date | 2016-02-26 12:00 +0100 |
| Message-ID | <r6ohQ-1Wt-19@gated-at.bofh.it> |
| In reply to | #1343908 |
2016-02-26 17:33 GMT+09:00 Pavel Fedin <p.fedin@samsung.com>: > Hello! > >> I applied (with fixes mentioned in my comments) everything and pushed >> here so everyone could play with it: >> https://git.kernel.org/cgit/linux/kernel/git/krzk/linux.git/log/?h=for-v4.6/drivers-soc- >> exynos-srom-2 > > I see the last patch (adding Ethernet chip to DT) is missing. Is it intentional, so that it goes later? > It was already merged into arm-soc: https://git.kernel.org/cgit/linux/kernel/git/arm/arm-soc.git/commit/?h=next/dt&id=a090435727f6ccf0c5e77793ca48681122e5b950 All DT changes (SROM, PMU) were accepted by arm-soc maintainers. Best regards, Krzysztof
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web