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

2017-03-31 Thread Sergio Prado
gpios" 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 .../de

[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 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 --- 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
instead of 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

[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: > 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 > > --- >

[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 1

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

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

[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 --- drivers/mmc/host/s3cmci.c | 298 -- drivers/mmc/host/s3cmci.h | 3 +- 2 files changed, 158 insertions(+), 143 deletions(-) diff --git a

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

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

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

[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 --- drivers/mmc/host/s3cmci.c | 298 -- drivers/mmc/host/s3cmci.h | 3 +- 2 files changed, 158 insertions(+), 143 deletions(-) diff --git a

[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(+

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

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

[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
usb1: udc@5200 { > > + compatible = "samsung,s3c2440-udc"; > > + reg = <0x5200 0x10>; > > + interrupts = <0 0 25 3>; > > + clocks = <&clocks UCLK>, <&clocks HCLK_USBD>; > > + clock-names = "usb-bus-gadget", "usb-device"; > > + samsung,pullup-gpio = <&gpc 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

[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(+

[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 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-bin

[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 --- 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

[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 --- 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 7a1919c

[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 d

[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 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
node 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 P

[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 dele

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

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

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

2016-10-24 Thread Sergio Prado
t 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
ng your time to 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 --- drivers/mtd/nand/s3c2410.c | 158 ++--- include/linux/platform_data/mtd-nand-s3c2410.h | 1 + 2 files changed, 143 insertions(+), 16 dele

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

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

[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
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 (3): mtd: s3c2410: make ecc mode configurable via platform data dt-bindings: mtd: add DT binding for s3c2410 flash controller mt

[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 --- drivers/mtd/nand/s3c2410.c | 155 ++--- include/linux/platform_data/mtd-nand-s3c2410.h | 1 + 2 files changed, 140 insertions(+), 16 dele

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

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

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

2016-10-19 Thread Sergio Prado
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| 56 + arch/arm/m

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 --- drivers/mtd/nand/s3c2410.c | 171 ++--- include/linux/platform_data/mtd-nand-s3c2410.h | 1 + 2 files changed, 156 insertions(+), 16 dele

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

2016-10-05 Thread Sergio Prado
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: s3c2410: parse the device configuration from OF node .../devicetree/bindings/mtd/samsung-s3c2410.txt| 57 +

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

2016-10-05 Thread Sergio Prado
abled. 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-gt

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

2016-10-05 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| 57 ++ 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree

Re: [PATCH] mtd: s3c2410: add device tree support

2016-09-25 Thread Sergio Prado
the menuconfig. Looks like this config option should be removed so we can select ECC mode using nand-ecc-mode property in the device tree. But this would break current boards that are not using a device tree. So it would be necessary to add a ecc_mode field in the platform_data of these boards and set them all to the default ECC mode (NAND_ECC_SOFT). Is this the right approach? Thanks! -- Sergio Prado Embedded Labworks Office: +55 11 2628-3461 Mobile: +55 11 97123-3420

Re: [PATCH] mtd: s3c2410: add device tree support

2016-09-19 Thread Sergio Prado
On Mon, Sep 19, 2016 at 12:44:07PM +0200, Sylwester Nawrocki wrote: > On 09/17/2016 05:22 PM, Sergio Prado wrote: > > +static int s3c24xx_nand_probe_dt(struct platform_device *pdev) > > +{ > > + const struct s3c24XX_nand_devtype_data *devtype_data; > > + struct s

Re: [PATCH] mtd: s3c2410: add device tree support

2016-09-19 Thread Sergio Prado
On Mon, Sep 19, 2016 at 10:11:55AM +0100, Mark Rutland wrote: > On Sat, Sep 17, 2016 at 12:22:40PM -0300, Sergio Prado wrote: > > Tested on FriendlyARM Mini2440 > > > > Signed-off-by: Sergio Prado > > --- > > .../devicetree/bindings/mtd/samsung-s3c2410.txt|

Re: [PATCH] mtd: s3c2410: add device tree support

2016-09-19 Thread Sergio Prado
On Sat, Sep 17, 2016 at 07:31:23PM +0200, Boris Brezillon wrote: > Hi Sergio, > > On Sat, 17 Sep 2016 12:22:40 -0300 > Sergio Prado wrote: > > > Tested on FriendlyARM Mini2440 > > > > Signed-off-by: Sergio Prado > > --- > > .../devicet

[PATCH] mtd: s3c2410: add device tree support

2016-09-17 Thread Sergio Prado
Tested on FriendlyARM Mini2440 Signed-off-by: Sergio Prado --- .../devicetree/bindings/mtd/samsung-s3c2410.txt| 70 +++ drivers/mtd/nand/s3c2410.c | 129 - include/linux/platform_data/mtd-nand-s3c2410.h | 1 + 3 files changed, 195

[PATCH v4] ARM: dts: imx6: Add dts for Embest MarS Board

2016-04-26 Thread Sergio Prado
Embest MarS Board [1] is a multi-core platform based on Freescale i.MX6 Cortex-A9 Dual Core, running up to 1GHz with 1 GB of RAM, 4GB of eMMC and with a 4MB SPI flash. [1] http://www.embest-tech.com/shop/star/marsboard.html Signed-off-by: Sergio Prado --- Changes v3 -> v4: - nodes sor

[PATCH v3] ARM: dts: imx6: Add dts for Embest MarS Board

2016-04-20 Thread Sergio Prado
Embest MarS Board [1] is a multi-core platform based on Freescale i.MX6 Cortex-A9 Dual Core, running up to 1GHz with 1 GB of RAM, 4GB of eMMC and with a 4MB SPI flash. [1] http://www.embest-tech.com/shop/star/marsboard.html Signed-off-by: Sergio Prado --- Changes v2 -> v3: - change bo

Re: [PATCH v2] ARM: dts: imx6: Add dts for Embest MarS Board

2016-04-20 Thread Sergio Prado
Hi Fabio, On 19-04-2016 08:34, Fabio Estevam wrote: On Mon, Apr 11, 2016 at 9:25 PM, Sergio Prado wrote: +&fec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet>; + phy-mode = "rgmii"; + phy-reset-gpios = <&gpio3 31

Re: [PATCH v2] ARM: dts: imx6: Add dts for Embest MarS Board

2016-04-13 Thread Sergio Prado
Hi Fabio, On 11-04-2016 22:04, Fabio Estevam wrote: Hi Sergio, On Mon, Apr 11, 2016 at 9:25 PM, Sergio Prado wrote: Embest MarS Board [1] is a multi-core platform based on Freescale i.MX6 Cortex-A9 Dual Core, running up to 1GHz with 1 GB of RAM, 4GB of eMMC and with a 4MB SPI flash. [1

[PATCH v2] ARM: dts: imx6: Add dts for Embest MarS Board

2016-04-11 Thread Sergio Prado
Embest MarS Board [1] is a multi-core platform based on Freescale i.MX6 Cortex-A9 Dual Core, running up to 1GHz with 1 GB of RAM, 4GB of eMMC and with a 4MB SPI flash. [1] http://www.embest-tech.com/shop/star/marsboard.html Signed-off-by: Sergio Prado --- Changes v1 -> v2: - Makefile en

[PATCH] of: Add vendor prefix for Shenzhen Embest Technology

2016-04-09 Thread Sergio Prado
Signed-off-by: Sergio Prado --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index e52cc8a6b2ae..3d08bafd5669 100644 --- a

[PATCH] ARM: dts: imx6: Add dts for Embest MarS Board

2016-04-09 Thread Sergio Prado
Embest MarS Board [1] is a multi-core platform based on Freescale i.MX6 Cortex-A9 Dual Core, running up to 1GHz with 1 GB of RAM, 4GB of eMMC and with a 4MB SPI flash. [1] http://www.embest-tech.com/shop/star/marsboard.html Signed-off-by: Sergio Prado --- arch/arm/boot/dts/imx6q-marsboard.dts

[PATCH net-next,V2] net: macb: make magic-packet property generic

2016-02-16 Thread Sergio Prado
As requested by Rob Herring on patch https://patchwork.ozlabs.org/patch/580862/. This is a new property that it's still in net-next and has never been used in production, so we are not breaking anything with the incompatible binding change. Signed-off-by: Sergio Prado --- Changes v1 ->

[PATCH net-next] net: macb: make magic-packet property generic

2016-02-15 Thread Sergio Prado
Signed-off-by: Sergio Prado --- As requested by Rob Herring on patch https://patchwork.ozlabs.org/patch/580862/ --- Documentation/devicetree/bindings/net/macb.txt | 2 +- drivers/net/ethernet/cadence/macb.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a

[PATCH net-next] net: macb: add wake-on-lan support via magic packet

2016-02-09 Thread Sergio Prado
Tested on Acqua A5 SoM (http://www.acmesystems.it/acqua). Signed-off-by: Sergio Prado --- Documentation/devicetree/bindings/net/macb.txt | 2 + drivers/net/ethernet/cadence/macb.c| 67 +++--- drivers/net/ethernet/cadence/macb.h| 4 ++ 3 files