[PATCH v6 0/2] mmc: host: s3cmci: add device tree support

2017-03-31 Thread Sergio Prado
; 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

[PATCH v6 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2017-03-31 Thread Sergio Prado
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/

[PATCH v6 2/2] mmc: host: s3cmci: allow probing from device tree

2017-03-31 Thread Sergio Prado
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

[PATCH v6 0/2] mmc: host: s3cmci: add device tree support

2017-03-31 Thread Sergio Prado
; 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

[PATCH v6 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2017-03-31 Thread Sergio Prado
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

[PATCH v6 2/2] mmc: host: s3cmci: allow probing from device tree

2017-03-31 Thread Sergio Prado
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

Re: [PATCH v5 2/2] mmc: host: s3cmci: allow probing from device tree

2017-03-31 Thread Sergio Prado
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: > > > >> > >>

Re: [PATCH v5 2/2] mmc: host: s3cmci: allow probing from device tree

2017-03-31 Thread Sergio Prado
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[] = { > >

[PATCH v5 2/2] mmc: host: s3cmci: allow probing from device tree

2017-03-17 Thread Sergio Prado
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

[PATCH v5 2/2] mmc: host: s3cmci: allow probing from device tree

2017-03-17 Thread Sergio Prado
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

[PATCH v5 0/2] mmc: host: s3cmci: add device tree support

2017-03-17 Thread Sergio Prado
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

[PATCH v5 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2017-03-17 Thread Sergio Prado
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/

[PATCH v5 0/2] mmc: host: s3cmci: add device tree support

2017-03-17 Thread Sergio Prado
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

[PATCH v5 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2017-03-17 Thread Sergio Prado
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

Re: [PATCH] pinctrl: samsung: fix segfault when using external interrupts on s3c24xx

2017-03-06 Thread Sergio Prado
;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

Re: [PATCH] pinctrl: samsung: fix segfault when using external interrupts on s3c24xx

2017-03-06 Thread Sergio Prado
;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(-) > > > &

Re: [PATCH v4 2/2] mmc: host: s3cmci: allow probing from device tree

2017-03-03 Thread Sergio Prado
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&

Re: [PATCH v4 2/2] mmc: host: s3cmci: allow probing from device tree

2017-03-03 Thread Sergio Prado
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 > > --- >

[PATCH] pinctrl: samsung: fix segfault when using external interrupts on s3c24xx

2017-03-02 Thread 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

[PATCH] pinctrl: samsung: fix segfault when using external interrupts on s3c24xx

2017-03-02 Thread Sergio Prado
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

[PATCH v4 0/2] mmc: host: s3cmci: add device tree support

2017-03-01 Thread Sergio Prado
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

[PATCH v4 0/2] mmc: host: s3cmci: add device tree support

2017-03-01 Thread Sergio Prado
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

[PATCH v4 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2017-03-01 Thread Sergio Prado
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

[PATCH v4 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2017-03-01 Thread Sergio Prado
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

[PATCH v4 2/2] mmc: host: s3cmci: allow probing from device tree

2017-03-01 Thread Sergio Prado
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(+

[PATCH v4 2/2] mmc: host: s3cmci: allow probing from device tree

2017-03-01 Thread Sergio Prado
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

Re: [PATCH v3 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2017-01-24 Thread Sergio Prado
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

Re: [PATCH v3 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2017-01-24 Thread Sergio Prado
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

Re: [PATCH v2 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller

2017-01-24 Thread Sergio Prado
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

Re: [PATCH v2 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller

2017-01-24 Thread Sergio Prado
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

[PATCH v3 0/2] mmc: host: s3cmci: add device tree support

2017-01-13 Thread Sergio Prado
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

[PATCH v3 0/2] mmc: host: s3cmci: add device tree support

2017-01-13 Thread Sergio Prado
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

[PATCH v3 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2017-01-13 Thread Sergio Prado
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

[PATCH v3 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2017-01-13 Thread Sergio Prado
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

[PATCH v3 2/2] mmc: host: s3cmci: allow probing from device tree

2017-01-13 Thread Sergio Prado
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(+

[PATCH v3 2/2] mmc: host: s3cmci: allow probing from device tree

2017-01-13 Thread Sergio Prado
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

[PATCH v2 2/2] usb: gadget: s3c2410: allow probing from device tree

2017-01-11 Thread Sergio Prado
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

[PATCH v2 0/2] usb: gadget: s3c2410: add device tree support

2017-01-11 Thread Sergio Prado
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

[PATCH v2 2/2] usb: gadget: s3c2410: allow probing from device tree

2017-01-11 Thread Sergio Prado
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

[PATCH v2 0/2] usb: gadget: s3c2410: add device tree support

2017-01-11 Thread Sergio Prado
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

[PATCH v2 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller

2017-01-11 Thread Sergio Prado
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

[PATCH v2 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller

2017-01-11 Thread Sergio Prado
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

Re: [PATCH 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller

2016-12-17 Thread Sergio Prado
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

Re: [PATCH 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller

2016-12-17 Thread Sergio Prado
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

[PATCH 0/2] usb: gadget: s3c2410: add device tree support

2016-12-09 Thread Sergio Prado
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

[PATCH 2/2] usb: gadget: s3c2410: allow probing from device tree

2016-12-09 Thread Sergio Prado
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

[PATCH 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller

2016-12-09 Thread Sergio Prado
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

[PATCH 0/2] usb: gadget: s3c2410: add device tree support

2016-12-09 Thread Sergio Prado
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

[PATCH 2/2] usb: gadget: s3c2410: allow probing from device tree

2016-12-09 Thread Sergio Prado
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

[PATCH 1/2] dt-bindings: usb: add DT binding for s3c2410 USB device controller

2016-12-09 Thread Sergio Prado
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

[PATCH v2 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2016-12-09 Thread Sergio Prado
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/

[PATCH v2 0/2] mmc: host: s3cmci: add device tree support

2016-12-09 Thread Sergio Prado
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

[PATCH v2 2/2] mmc: host: s3cmci: allow probing from device tree

2016-12-09 Thread Sergio Prado
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

[PATCH v2 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2016-12-09 Thread Sergio Prado
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

[PATCH v2 0/2] mmc: host: s3cmci: add device tree support

2016-12-09 Thread Sergio Prado
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

[PATCH v2 2/2] mmc: host: s3cmci: allow probing from device tree

2016-12-09 Thread Sergio Prado
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

[PATCH 2/2] mmc: host: s3cmci: allow probing from device tree

2016-12-01 Thread Sergio Prado
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

[PATCH 2/2] mmc: host: s3cmci: allow probing from device tree

2016-12-01 Thread Sergio Prado
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

[PATCH 0/2] mmc: host: s3cmci: add device tree support

2016-12-01 Thread Sergio Prado
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

[PATCH 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2016-12-01 Thread Sergio Prado
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

[PATCH 0/2] mmc: host: s3cmci: add device tree support

2016-12-01 Thread Sergio Prado
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

[PATCH 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2016-12-01 Thread Sergio Prado
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

[PATCH 2/2] usb: ohci: s3c2410: allow probing from device tree

2016-11-25 Thread Sergio Prado
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

[PATCH 2/2] usb: ohci: s3c2410: allow probing from device tree

2016-11-25 Thread Sergio Prado
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

[PATCH 0/2] usb: ohci: s3c2410: add device tree support

2016-11-25 Thread Sergio Prado
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

[PATCH 0/2] usb: ohci: s3c2410: add device tree support

2016-11-25 Thread Sergio Prado
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

[PATCH 1/2] dt-bindings: usb: add DT binding for s3c2410 USB OHCI controller

2016-11-25 Thread Sergio Prado
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

[PATCH 1/2] dt-bindings: usb: add DT binding for s3c2410 USB OHCI controller

2016-11-25 Thread Sergio Prado
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

[PATCH v4 2/3] dt-bindings: mtd: add DT binding for s3c2410 flash controller

2016-10-26 Thread Sergio Prado
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

[PATCH v4 2/3] dt-bindings: mtd: add DT binding for s3c2410 flash controller

2016-10-26 Thread Sergio Prado
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

[PATCH v4 0/3] mtd: s3c2410: add device tree support

2016-10-26 Thread Sergio Prado
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

[PATCH v4 3/3] mtd: s3c2410: parse the device configuration from OF node

2016-10-26 Thread 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

[PATCH v4 0/3] mtd: s3c2410: add device tree support

2016-10-26 Thread Sergio Prado
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

[PATCH v4 3/3] mtd: s3c2410: parse the device configuration from OF node

2016-10-26 Thread 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

[PATCH v4 1/3] mtd: s3c2410: make ecc mode configurable via platform data

2016-10-26 Thread Sergio Prado
. 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/

[PATCH v4 1/3] mtd: s3c2410: make ecc mode configurable via platform data

2016-10-26 Thread Sergio Prado
. 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

Re: [PATCH v3 3/3] mtd: s3c2410: parse the device configuration from OF node

2016-10-24 Thread 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

Re: [PATCH v3 3/3] mtd: s3c2410: parse the device configuration from OF node

2016-10-24 Thread 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

Re: [PATCH v3 1/3] mtd: s3c2410: make ecc mode configurable via platform data

2016-10-21 Thread 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

Re: [PATCH v3 1/3] mtd: s3c2410: make ecc mode configurable via platform data

2016-10-21 Thread 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

[PATCH v3 3/3] mtd: s3c2410: parse the device configuration from OF node

2016-10-20 Thread 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

[PATCH v3 3/3] mtd: s3c2410: parse the device configuration from OF node

2016-10-20 Thread 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

[PATCH v3 1/3] mtd: s3c2410: make ecc mode configurable via platform data

2016-10-20 Thread Sergio Prado
. 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

[PATCH v3 1/3] mtd: s3c2410: make ecc mode configurable via platform data

2016-10-20 Thread Sergio Prado
. 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

[PATCH v3 2/3] dt-bindings: mtd: add DT binding for s3c2410 flash controller

2016-10-20 Thread Sergio Prado
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

[PATCH v3 2/3] dt-bindings: mtd: add DT binding for s3c2410 flash controller

2016-10-20 Thread Sergio Prado
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

[PATCH v3 0/3] mtd: s3c2410: add device tree support

2016-10-20 Thread Sergio Prado
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

[PATCH v3 0/3] mtd: s3c2410: add device tree support

2016-10-20 Thread Sergio Prado
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

[PATCH v2 2/3] dt-bindings: mtd: add DT binding for s3c2410 flash controller

2016-10-19 Thread Sergio Prado
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

[PATCH v2 2/3] dt-bindings: mtd: add DT binding for s3c2410 flash controller

2016-10-19 Thread Sergio Prado
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

[PATCH v2 3/3] mtd: s3c2410: parse the device configuration from OF node

2016-10-19 Thread 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 | 155 ++--- include/linux/platform_data/mtd-nand-s3c2410.h | 1 + 2 files change

[PATCH v2 3/3] mtd: s3c2410: parse the device configuration from OF node

2016-10-19 Thread Sergio Prado
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

[PATCH v2 1/3] mtd: s3c2410: make ecc mode configurable via platform data

2016-10-19 Thread Sergio Prado
. 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

[PATCH v2 1/3] mtd: s3c2410: make ecc mode configurable via platform data

2016-10-19 Thread Sergio Prado
. 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

[PATCH v2 0/3] mtd: s3c2410: add device tree support

2016-10-19 Thread Sergio Prado
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

[PATCH v2 0/3] mtd: s3c2410: add device tree support

2016-10-19 Thread Sergio Prado
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

Re: [PATCH 3/3] mtd: s3c2410: parse the device configuration from OF node

2016-10-10 Thread 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

Re: [PATCH 3/3] mtd: s3c2410: parse the device configuration from OF node

2016-10-10 Thread 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

[PATCH 3/3] mtd: s3c2410: parse the device configuration from OF node

2016-10-05 Thread 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

[PATCH 0/3] mtd: s3c2410: add device tree support

2016-10-05 Thread Sergio Prado
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   2   >