; properties
from device tree
Changes since v1:
- pinctrl description removed from DT binding
- unit and label on DT binding renamed to mmc
Sergio Prado (2):
dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller
mmc: host: s3cmci: allow probing from device tree
.../devicetree/b
Adds the device tree bindings description for Samsung S3C24XX
MMC/SD/SDIO controller, used as a connectivity interface with external
MMC, SD and SDIO storage mediums.
Acked-by: Rob Herring <r...@kernel.org>
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
.../devicetree/
Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device
tree.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
drivers/mmc/host/s3cmci.c | 257 +++---
1 file changed, 126 insertions(+), 131 deletions(-)
diff --git a/d
; properties
from device tree
Changes since v1:
- pinctrl description removed from DT binding
- unit and label on DT binding renamed to mmc
Sergio Prado (2):
dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller
mmc: host: s3cmci: allow probing from device tree
.../devicetree/b
Adds the device tree bindings description for Samsung S3C24XX
MMC/SD/SDIO controller, used as a connectivity interface with external
MMC, SD and SDIO storage mediums.
Acked-by: Rob Herring
Signed-off-by: Sergio Prado
---
.../devicetree/bindings/mmc/samsung,s3cmci.txt | 42
Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device
tree.
Signed-off-by: Sergio Prado
---
drivers/mmc/host/s3cmci.c | 257 +++---
1 file changed, 126 insertions(+), 131 deletions(-)
diff --git a/drivers/mmc/host/s3cmci.c b/drivers
On Fri, Mar 31, 2017 at 01:11:59PM +0200, Ulf Hansson wrote:
> On 31 March 2017 at 09:25, Arnd Bergmann <a...@arndb.de> wrote:
> > On Sat, Mar 18, 2017 at 2:13 AM, Sergio Prado
> > <sergio.pr...@e-labworks.com> wrote:
> >
> >>
> >>
On Fri, Mar 31, 2017 at 01:11:59PM +0200, Ulf Hansson wrote:
> On 31 March 2017 at 09:25, Arnd Bergmann wrote:
> > On Sat, Mar 18, 2017 at 2:13 AM, Sergio Prado
> > wrote:
> >
> >>
> >> +static const struct of_device_id s3cmci_dt_match[] = {
> >
Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device
tree.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
drivers/mmc/host/s3cmci.c | 257 +++---
1 file changed, 126 insertions(+), 131 deletions(-)
diff --git a/d
Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device
tree.
Signed-off-by: Sergio Prado
---
drivers/mmc/host/s3cmci.c | 257 +++---
1 file changed, 126 insertions(+), 131 deletions(-)
diff --git a/drivers/mmc/host/s3cmci.c b/drivers
f only its member so
it will be easier to extend the information in the future
- using mmc_of_parse() to read "cd-gpios" and "wp-gpios" properties
from device tree
Changes since v1:
- pinctrl description removed from DT binding
- unit and label on DT binding renamed to mmc
S
Adds the device tree bindings description for Samsung S3C24XX
MMC/SD/SDIO controller, used as a connectivity interface with external
MMC, SD and SDIO storage mediums.
Acked-by: Rob Herring <r...@kernel.org>
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
.../devicetree/
f only its member so
it will be easier to extend the information in the future
- using mmc_of_parse() to read "cd-gpios" and "wp-gpios" properties
from device tree
Changes since v1:
- pinctrl description removed from DT binding
- unit and label on DT binding renamed to mmc
S
Adds the device tree bindings description for Samsung S3C24XX
MMC/SD/SDIO controller, used as a connectivity interface with external
MMC, SD and SDIO storage mediums.
Acked-by: Rob Herring
Signed-off-by: Sergio Prado
---
.../devicetree/bindings/mmc/samsung,s3cmci.txt | 42
;pinctrl: samsung: Add the support the multiple
> IORESOURCE_MEM for one pin-bank")
> Cc: <sta...@vger.kernel.org>
>
OK.
> > Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
> > ---
> > drivers/pinctrl/samsung/pinctrl-s3c24xx.c | 4 ++--
> &g
;pinctrl: samsung: Add the support the multiple
> IORESOURCE_MEM for one pin-bank")
> Cc:
>
OK.
> > Signed-off-by: Sergio Prado
> > ---
> > drivers/pinctrl/samsung/pinctrl-s3c24xx.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> &
On Fri, Mar 03, 2017 at 11:14:29AM +0900, Jaehoon Chung wrote:
> On 03/02/2017 10:18 AM, Sergio Prado wrote:
> > Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device
> > tree.
> >
> > Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com&
On Fri, Mar 03, 2017 at 11:14:29AM +0900, Jaehoon Chung wrote:
> On 03/02/2017 10:18 AM, Sergio Prado wrote:
> > Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device
> > tree.
> >
> > Signed-off-by: Sergio Prado
> > ---
>
Tested on FriendlyARM mini2440.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
drivers/pinctrl/samsung/pinctrl-s3c24xx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pinctrl/samsung/pinctrl-s3c24xx.c
b/drivers/pinctrl/samsung/pinctrl-s3c
Tested on FriendlyARM mini2440.
Signed-off-by: Sergio Prado
---
drivers/pinctrl/samsung/pinctrl-s3c24xx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pinctrl/samsung/pinctrl-s3c24xx.c
b/drivers/pinctrl/samsung/pinctrl-s3c24xx.c
index b82a003546ae..1b8d887796e8
pios" properties
from device tree
Changes since v1:
- pinctrl description removed from DT binding
- unit and label on DT binding renamed to mmc
Sergio Prado (2):
dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller
mmc: host: s3cmci: allow probing from device tr
pios" properties
from device tree
Changes since v1:
- pinctrl description removed from DT binding
- unit and label on DT binding renamed to mmc
Sergio Prado (2):
dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller
mmc: host: s3cmci: allow probing from device tr
Adds the device tree bindings description for Samsung S3C24XX
MMC/SD/SDIO controller, used as a connectivity interface with external
MMC, SD and SDIO storage mediums.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
.../devicetree/bindings/mmc/samsung,s3cmci.txt
Adds the device tree bindings description for Samsung S3C24XX
MMC/SD/SDIO controller, used as a connectivity interface with external
MMC, SD and SDIO storage mediums.
Signed-off-by: Sergio Prado
---
.../devicetree/bindings/mmc/samsung,s3cmci.txt | 42 ++
1 file changed
Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device
tree.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
drivers/mmc/host/s3cmci.c | 298 --
drivers/mmc/host/s3cmci.h | 3 +-
2 files changed, 158 insertions(+
Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device
tree.
Signed-off-by: Sergio Prado
---
drivers/mmc/host/s3cmci.c | 298 --
drivers/mmc/host/s3cmci.h | 3 +-
2 files changed, 158 insertions(+), 143 deletions(-)
diff --git
On Wed, Jan 18, 2017 at 04:38:16PM -0600, Rob Herring wrote:
> On Fri, Jan 13, 2017 at 01:05:52PM -0200, Sergio Prado wrote:
> > +This file documents differences between the core mmc properties described
> > by
> > +mmc.txt and the properties used by the Samsun
On Wed, Jan 18, 2017 at 04:38:16PM -0600, Rob Herring wrote:
> On Fri, Jan 13, 2017 at 01:05:52PM -0200, Sergio Prado wrote:
> > +This file documents differences between the core mmc properties described
> > by
> > +mmc.txt and the properties used by the Samsun
On Wed, Jan 18, 2017 at 02:08:45PM -0600, Rob Herring wrote:
> On Wed, Jan 11, 2017 at 08:02:29PM -0200, Sergio Prado wrote:
> > + - clocks: Should reference the bus and host clocks
> > + - clock-names: Should contain two strings
> > + "uclk" for the USB
On Wed, Jan 18, 2017 at 02:08:45PM -0600, Rob Herring wrote:
> On Wed, Jan 11, 2017 at 08:02:29PM -0200, Sergio Prado wrote:
> > + - clocks: Should reference the bus and host clocks
> > + - clock-names: Should contain two strings
> > + "uclk" for the USB
f only its member so
it will be easier to extend the information in the future
- using mmc_of_parse() to read "cd-gpios" and "wp-gpios" properties
from device tree
Changes since v1:
- pinctrl description removed from DT binding
- unit and label on DT binding renamed to mmc
Serg
f only its member so
it will be easier to extend the information in the future
- using mmc_of_parse() to read "cd-gpios" and "wp-gpios" properties
from device tree
Changes since v1:
- pinctrl description removed from DT binding
- unit and label on DT binding renamed to mmc
Serg
Adds the device tree bindings description for Samsung S3C24XX
MMC/SD/SDIO controller, used as a connectivity interface with external
MMC, SD and SDIO storage mediums.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
.../devicetree/bindings/mmc/samsung,s3cmci.txt
Adds the device tree bindings description for Samsung S3C24XX
MMC/SD/SDIO controller, used as a connectivity interface with external
MMC, SD and SDIO storage mediums.
Signed-off-by: Sergio Prado
---
.../devicetree/bindings/mmc/samsung,s3cmci.txt | 34 ++
1 file changed
Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device
tree.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
drivers/mmc/host/s3cmci.c | 298 --
drivers/mmc/host/s3cmci.h | 3 +-
2 files changed, 158 insertions(+
Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device
tree.
Signed-off-by: Sergio Prado
---
drivers/mmc/host/s3cmci.c | 298 --
drivers/mmc/host/s3cmci.h | 3 +-
2 files changed, 158 insertions(+), 143 deletions(-)
diff --git
Allows configuring Samsung's s3c2410 and compatible USB device
controller using a devicetree.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
drivers/usb/gadget/udc/s3c2410_udc.c | 144 +--
drivers/usb/gadget/udc/s3c2410_udc.h | 4 +
2
ve samsung,vbus-gpio optional property description
- specify the active state in the GPIOs properties
Sergio Prado (2):
dt-bindings: usb: add DT binding for s3c2410 USB device controller
usb: gadget: s3c2410: allow probing from device tree
.../devicetree/bindings/usb/s3c2410-usb.txt
Allows configuring Samsung's s3c2410 and compatible USB device
controller using a devicetree.
Signed-off-by: Sergio Prado
---
drivers/usb/gadget/udc/s3c2410_udc.c | 144 +--
drivers/usb/gadget/udc/s3c2410_udc.h | 4 +
2 files changed, 124 insertions(+), 24
ve samsung,vbus-gpio optional property description
- specify the active state in the GPIOs properties
Sergio Prado (2):
dt-bindings: usb: add DT binding for s3c2410 USB device controller
usb: gadget: s3c2410: allow probing from device tree
.../devicetree/bindings/usb/s3c2410-usb.txt
Adds the device tree bindings description for Samsung S3C2410 and
compatible USB device controller.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
.../devicetree/bindings/usb/s3c2410-usb.txt| 28 ++
1 file changed, 28 insertions(+)
diff
Adds the device tree bindings description for Samsung S3C2410 and
compatible USB device controller.
Signed-off-by: Sergio Prado
---
.../devicetree/bindings/usb/s3c2410-usb.txt| 28 ++
1 file changed, 28 insertions(+)
diff --git a/Documentation/devicetree/bindings
ompatible = "samsung,s3c2440-udc";
> > + reg = <0x5200 0x10>;
> > + interrupts = <0 0 25 3>;
> > + clocks = < UCLK>, < HCLK_USBD>;
> > + clock-names = "usb-bus-gadget", "usb-device";
> > + samsung,pullup-gpio = < 5 GPIO_ACTIVE_HIGH>;
> > +};
> > --
> > 1.9.1
> >
Best regards,
--
Sergio Prado
Embedded Labworks
ompatible = "samsung,s3c2440-udc";
> > + reg = <0x5200 0x10>;
> > + interrupts = <0 0 25 3>;
> > + clocks = < UCLK>, < HCLK_USBD>;
> > + clock-names = "usb-bus-gadget", "usb-device";
> > + samsung,pullup-gpio = < 5 GPIO_ACTIVE_HIGH>;
> > +};
> > --
> > 1.9.1
> >
Best regards,
--
Sergio Prado
Embedded Labworks
This series adds support for configuring Samsung's s3c2410 and
compatible USB device controller via devicetree.
Tested on FriendlyARM mini2440, based on s3c2440 SoC.
Sergio Prado (2):
dt-bindings: usb: add DT binding for s3c2410 USB device controller
usb: gadget: s3c2410: allow probing from
Allows configuring Samsung's s3c2410 and compatible USB device
controller using a devicetree.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
drivers/usb/gadget/udc/s3c2410_udc.c | 142 +--
drivers/usb/gadget/udc/s3c2410_udc.h | 4 +
2
Adds the device tree bindings description for Samsung S3C2410 and
compatible USB device controller.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
.../devicetree/bindings/usb/s3c2410-usb.txt| 28 ++
1 file changed, 28 insertions(+)
diff
This series adds support for configuring Samsung's s3c2410 and
compatible USB device controller via devicetree.
Tested on FriendlyARM mini2440, based on s3c2440 SoC.
Sergio Prado (2):
dt-bindings: usb: add DT binding for s3c2410 USB device controller
usb: gadget: s3c2410: allow probing from
Allows configuring Samsung's s3c2410 and compatible USB device
controller using a devicetree.
Signed-off-by: Sergio Prado
---
drivers/usb/gadget/udc/s3c2410_udc.c | 142 +--
drivers/usb/gadget/udc/s3c2410_udc.h | 4 +
2 files changed, 123 insertions(+), 23
Adds the device tree bindings description for Samsung S3C2410 and
compatible USB device controller.
Signed-off-by: Sergio Prado
---
.../devicetree/bindings/usb/s3c2410-usb.txt| 28 ++
1 file changed, 28 insertions(+)
diff --git a/Documentation/devicetree/bindings
Adds the device tree bindings description for Samsung S3C24XX
MMC/SD/SDIO controller, used as a connectivity interface with external
MMC, SD and SDIO storage mediums.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
Acked-by: Rob Herring <r...@kernel.org>
---
.../devicetree/
This series adds support for configuring Samsung's S3C24XX MMC/SD/SDIO
controller via device tree.
Tested on FriendlyARM mini2440, based on s3c2440 SoC.
Changes since v1:
- pinctrl description removed from DT binding
- unit and label on DT binding renamed to mmc
Sergio Prado (2):
dt-bindings
Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device
tree.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
drivers/mmc/host/s3cmci.c | 155 +++---
1 file changed, 131 insertions(+), 24 deletions(-)
diff --git a/d
Adds the device tree bindings description for Samsung S3C24XX
MMC/SD/SDIO controller, used as a connectivity interface with external
MMC, SD and SDIO storage mediums.
Signed-off-by: Sergio Prado
Acked-by: Rob Herring
---
.../devicetree/bindings/mmc/samsung,s3cmci.txt | 34
This series adds support for configuring Samsung's S3C24XX MMC/SD/SDIO
controller via device tree.
Tested on FriendlyARM mini2440, based on s3c2440 SoC.
Changes since v1:
- pinctrl description removed from DT binding
- unit and label on DT binding renamed to mmc
Sergio Prado (2):
dt-bindings
Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device
tree.
Signed-off-by: Sergio Prado
---
drivers/mmc/host/s3cmci.c | 155 +++---
1 file changed, 131 insertions(+), 24 deletions(-)
diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc
Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device
tree.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
drivers/mmc/host/s3cmci.c | 155 +++---
1 file changed, 131 insertions(+), 24 deletions(-)
diff --git a/d
Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device
tree.
Signed-off-by: Sergio Prado
---
drivers/mmc/host/s3cmci.c | 155 +++---
1 file changed, 131 insertions(+), 24 deletions(-)
diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc
This series adds support for configuring Samsung's S3C24XX MMC/SD/SDIO
controller via device tree.
Tested on FriendlyARM mini2440, based on s3c2440 SoC.
Sergio Prado (2):
dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller
mmc: host: s3cmci: allow probing from device tree
Adds the device tree bindings description for Samsung S3C24XX
MMC/SD/SDIO controller, used as a connectivity interface with external
MMC, SD and SDIO storage mediums.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
.../devicetree/bindings/mmc/samsung,s3cmci.txt
This series adds support for configuring Samsung's S3C24XX MMC/SD/SDIO
controller via device tree.
Tested on FriendlyARM mini2440, based on s3c2440 SoC.
Sergio Prado (2):
dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller
mmc: host: s3cmci: allow probing from device tree
Adds the device tree bindings description for Samsung S3C24XX
MMC/SD/SDIO controller, used as a connectivity interface with external
MMC, SD and SDIO storage mediums.
Signed-off-by: Sergio Prado
---
.../devicetree/bindings/mmc/samsung,s3cmci.txt | 38 ++
1 file changed
Allows configuring Samsung's s3c2410 USB OHCI controller using a
devicetree.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
drivers/usb/host/ohci-s3c2410.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/usb/host/ohci-s3c2410.c b/drivers/usb/host/ohci-s3c
Allows configuring Samsung's s3c2410 USB OHCI controller using a
devicetree.
Signed-off-by: Sergio Prado
---
drivers/usb/host/ohci-s3c2410.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/usb/host/ohci-s3c2410.c b/drivers/usb/host/ohci-s3c2410.c
index 7a1919ca543a
This series adds support for configuring Samsung's s3c2410 and
compatible USB OHCI controller via devicetree.
Tested on FriendlyARM mini2440, based on s3c2440 SoC.
Sergio Prado (2):
dt-bindings: usb: add DT binding for s3c2410 USB OHCI controller
usb: ohci: s3c2410: allow probing from device
This series adds support for configuring Samsung's s3c2410 and
compatible USB OHCI controller via devicetree.
Tested on FriendlyARM mini2440, based on s3c2440 SoC.
Sergio Prado (2):
dt-bindings: usb: add DT binding for s3c2410 USB OHCI controller
usb: ohci: s3c2410: allow probing from device
Adds the device tree bindings description for Samsung S3C2410 and
compatible USB OHCI controller.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
.../devicetree/bindings/usb/s3c2410-usb.txt| 22 ++
1 file changed, 22 insertions(+)
create mode
Adds the device tree bindings description for Samsung S3C2410 and
compatible USB OHCI controller.
Signed-off-by: Sergio Prado
---
.../devicetree/bindings/usb/s3c2410-usb.txt| 22 ++
1 file changed, 22 insertions(+)
create mode 100644 Documentation/devicetree
Adds the device tree bindings description for Samsung S3C2410 and
compatible NAND flash controller.
Acked-by: Rob Herring <r...@kernel.org>
Acked-by: Krzysztof Kozlowski <k...@kernel.org>
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
.../devicetree/bindings/m
Adds the device tree bindings description for Samsung S3C2410 and
compatible NAND flash controller.
Acked-by: Rob Herring
Acked-by: Krzysztof Kozlowski
Signed-off-by: Sergio Prado
---
.../devicetree/bindings/mtd/samsung-s3c2410.txt| 56 ++
1 file changed, 56 insertions
refcount, since we
maintain a reference to it and its name field
- using of_device_get_match_data() instead of of_match_device()
to make the code simpler
- remove CONFIG_MTD_NAND_S3C2410_HWECC compile option so we can
select ECC mode using nand-ecc-mode property in the device tree
Sergio Prado
Allows configuring Samsung's s3c2410 memory controller using a
devicetree.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
drivers/mtd/nand/s3c2410.c | 158 ++---
include/linux/platform_data/mtd-nand-s3c2410.h | 1 +
2 files change
refcount, since we
maintain a reference to it and its name field
- using of_device_get_match_data() instead of of_match_device()
to make the code simpler
- remove CONFIG_MTD_NAND_S3C2410_HWECC compile option so we can
select ECC mode using nand-ecc-mode property in the device tree
Sergio Prado
Allows configuring Samsung's s3c2410 memory controller using a
devicetree.
Signed-off-by: Sergio Prado
---
drivers/mtd/nand/s3c2410.c | 158 ++---
include/linux/platform_data/mtd-nand-s3c2410.h | 1 +
2 files changed, 143 insertions(+), 16 deletions
.
Acked-by: Krzysztof Kozlowski <k...@kernel.org>
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
arch/arm/mach-s3c24xx/common-smdk.c| 1 +
arch/arm/mach-s3c24xx/mach-anubis.c| 1 +
arch/arm/mach-s3c24xx/mach-at2440evb.c | 1 +
arch/arm/
.
Acked-by: Krzysztof Kozlowski
Signed-off-by: Sergio Prado
---
arch/arm/mach-s3c24xx/common-smdk.c| 1 +
arch/arm/mach-s3c24xx/mach-anubis.c| 1 +
arch/arm/mach-s3c24xx/mach-at2440evb.c | 1 +
arch/arm/mach-s3c24xx/mach-bast.c | 1 +
arch/arm/mach
but the core can change
> timings at runtime (this is what happens each time you reset the chip).
>
> To support that you have 2 options:
> - apply the timings in ->select_chip()
> - apply the timings here
Right. As far as I understood, ->setup_data_interface() will be called
when MTD core change timings at runtime, so it is enough to apply the
timings in the end of ->setup_data_interface()?
Thanks,
Sergio Prado
but the core can change
> timings at runtime (this is what happens each time you reset the chip).
>
> To support that you have 2 options:
> - apply the timings in ->select_chip()
> - apply the timings here
Right. As far as I understood, ->setup_data_interface() will be called
when MTD core change timings at runtime, so it is enough to apply the
timings in the end of ->setup_data_interface()?
Thanks,
Sergio Prado
reviewing and acking my patches.
Best regards,
Sergio Prado
--
Sergio Prado
Embedded Labworks
Office: +55 11 2628-3461
Mobile: +55 11 97123-3420
reviewing and acking my patches.
Best regards,
Sergio Prado
--
Sergio Prado
Embedded Labworks
Office: +55 11 2628-3461
Mobile: +55 11 97123-3420
Allows configuring Samsung's s3c2410 memory controller using a
devicetree.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
drivers/mtd/nand/s3c2410.c | 158 ++---
include/linux/platform_data/mtd-nand-s3c2410.h | 1 +
2 files change
Allows configuring Samsung's s3c2410 memory controller using a
devicetree.
Signed-off-by: Sergio Prado
---
drivers/mtd/nand/s3c2410.c | 158 ++---
include/linux/platform_data/mtd-nand-s3c2410.h | 1 +
2 files changed, 143 insertions(+), 16 deletions
.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
arch/arm/mach-s3c24xx/common-smdk.c| 1 +
arch/arm/mach-s3c24xx/mach-anubis.c| 1 +
arch/arm/mach-s3c24xx/mach-at2440evb.c | 1 +
arch/arm/mach-s3c24xx/mach-bast.c | 1 +
arch/ar
.
Signed-off-by: Sergio Prado
---
arch/arm/mach-s3c24xx/common-smdk.c| 1 +
arch/arm/mach-s3c24xx/mach-anubis.c| 1 +
arch/arm/mach-s3c24xx/mach-at2440evb.c | 1 +
arch/arm/mach-s3c24xx/mach-bast.c | 1 +
arch/arm/mach-s3c24xx/mach-gta02.c
Adds the device tree bindings description for Samsung S3C2410 and
compatible NAND flash controller.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
.../devicetree/bindings/mtd/samsung-s3c2410.txt| 56 ++
1 file changed, 56 insertions(+)
create mode
Adds the device tree bindings description for Samsung S3C2410 and
compatible NAND flash controller.
Signed-off-by: Sergio Prado
---
.../devicetree/bindings/mtd/samsung-s3c2410.txt| 56 ++
1 file changed, 56 insertions(+)
create mode 100644 Documentation/devicetree
the code simpler
- remove CONFIG_MTD_NAND_S3C2410_HWECC compile option so we can
select ECC mode using nand-ecc-mode property in the device tree
Sergio Prado (3):
mtd: s3c2410: make ecc mode configurable via platform data
dt-bindings: mtd: add DT binding for s3c2410 flash controller
mtd
the code simpler
- remove CONFIG_MTD_NAND_S3C2410_HWECC compile option so we can
select ECC mode using nand-ecc-mode property in the device tree
Sergio Prado (3):
mtd: s3c2410: make ecc mode configurable via platform data
dt-bindings: mtd: add DT binding for s3c2410 flash controller
mtd
Adds the device tree bindings description for Samsung S3C2410 and
compatible NAND flash controller.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
.../devicetree/bindings/mtd/samsung-s3c2410.txt| 56 ++
1 file changed, 56 insertions(+)
create mode
Adds the device tree bindings description for Samsung S3C2410 and
compatible NAND flash controller.
Signed-off-by: Sergio Prado
---
.../devicetree/bindings/mtd/samsung-s3c2410.txt| 56 ++
1 file changed, 56 insertions(+)
create mode 100644 Documentation/devicetree
Allows configuring Samsung's s3c2410 memory controller using a
devicetree.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
drivers/mtd/nand/s3c2410.c | 155 ++---
include/linux/platform_data/mtd-nand-s3c2410.h | 1 +
2 files change
Allows configuring Samsung's s3c2410 memory controller using a
devicetree.
Signed-off-by: Sergio Prado
---
drivers/mtd/nand/s3c2410.c | 155 ++---
include/linux/platform_data/mtd-nand-s3c2410.h | 1 +
2 files changed, 140 insertions(+), 16 deletions
.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
arch/arm/mach-s3c24xx/common-smdk.c| 1 +
arch/arm/mach-s3c24xx/mach-anubis.c| 1 +
arch/arm/mach-s3c24xx/mach-at2440evb.c | 1 +
arch/arm/mach-s3c24xx/mach-bast.c | 1 +
arch/ar
.
Signed-off-by: Sergio Prado
---
arch/arm/mach-s3c24xx/common-smdk.c| 1 +
arch/arm/mach-s3c24xx/mach-anubis.c| 1 +
arch/arm/mach-s3c24xx/mach-at2440evb.c | 1 +
arch/arm/mach-s3c24xx/mach-bast.c | 1 +
arch/arm/mach-s3c24xx/mach-gta02.c
e device tree
Sergio Prado (3):
mtd: s3c2410: make ecc mode configurable via platform data
dt-bindings: mtd: add DT binding for s3c2410 flash controller
mtd: s3c2410: parse the device configuration from OF node
.../devicetree/bindings/mtd/samsung-s3c2410.txt| 56 +
arch/arm/mach-s
e device tree
Sergio Prado (3):
mtd: s3c2410: make ecc mode configurable via platform data
dt-bindings: mtd: add DT binding for s3c2410 flash controller
mtd: s3c2410: parse the device configuration from OF node
.../devicetree/bindings/mtd/samsung-s3c2410.txt| 56 +
arch/arm/mach-s
400-nand compatible.
> Just use existing one.
>
> Best regards,
> Krzysztof
You are right. I'll review and send V2.
Best regards,
Sergio Prado
400-nand compatible.
> Just use existing one.
>
> Best regards,
> Krzysztof
You are right. I'll review and send V2.
Best regards,
Sergio Prado
Allows configuring Samsung's s3c2410 memory controller using a
devicetree.
Signed-off-by: Sergio Prado <sergio.pr...@e-labworks.com>
---
drivers/mtd/nand/s3c2410.c | 171 ++---
include/linux/platform_data/mtd-nand-s3c2410.h | 1 +
2 files change
rty in the device tree
Sergio Prado (3):
mtd: s3c2410: make ecc mode configurable via platform data
dt-bindings: mtd: add DT binding for s3c2410 flash controller
mtd: s3c2410: parse the device configuration from OF node
.../devicetree/bindings/mtd/samsung-s3c2410.txt| 57 +
arch/
1 - 100 of 136 matches
Mail list logo