[U-Boot] [PATCH] MIPS: Kconfig: use decimal number for all i/d-cache line-size.

2016-06-06 Thread Purna Chandra Mandal
Instead of using mix of hex and decimal numbering for i/d-cache size and line-size use unified decimal integer only. Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com> Cc: Paul Burton <paul.bur...@imgtec.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com>

[U-Boot] [PATCH] spi: pic32_spi: add SPI master driver for PIC32 SoC.

2016-06-02 Thread Purna Chandra Mandal
: Jagan Teki <jt...@openedev.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- drivers/spi/Kconfig | 8 + drivers/spi/Makefile| 1 + drivers/spi/pic32_spi.c | 448 3 files changed, 457 insertions(+)

[U-Boot] [PATCH] MIPS: bootm: Add fixup of '/memory' node.

2016-04-18 Thread Purna Chandra Mandal
/bootm.c inline with ARM arch. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com> --- arch/mips/lib/bootm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/mips/lib/bootm.c b/arch/mips

Re: [U-Boot] [PATCH] mips: fix DTC unit warnings

2016-04-18 Thread Purna Chandra Mandal
On 04/15/2016 08:53 PM, Andreas Färber wrote: > Am 15.04.2016 um 12:59 schrieb Heiko Schocher: >> Fix following warnings for all mips based boards: >> mips: + pic32mzdask >> +Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, >> but no unit name >> +Warning

Re: [U-Boot] [PATCH] mips: fix DTC unit warnings

2016-04-15 Thread Purna Chandra Mandal
ps,mips14kc"; > }; > }; > diff --git a/arch/mips/dts/skeleton.dtsi b/arch/mips/dts/skeleton.dtsi > index 24ee6c3..643996c 100644 > --- a/arch/mips/dts/skeleton.dtsi > +++ b/arch/mips/dts/skeleton.dtsi > @@ -16,7 +16,7 @@ > aliases { > };

Re: [U-Boot] [PATCH V3 1/6] dm: gpio: add a default gpio xlate routine

2016-04-11 Thread Purna Chandra Mandal
its' own xlate > routine. > > This will allow removal of the driver-specific versions in a > handful of drivers and simplify the addition of new drivers. > > Signed-off-by: Eric Nelson <e...@nelint.com> > Acked-by: Stephen Warren <swar...@wwwdotorg.org> Revi

Re: [U-Boot] [PATCH V2 4/6] gpio: pic32: remove gpio_xlate routine

2016-04-11 Thread Purna Chandra Mandal
On 04/11/2016 10:30 PM, Eric Nelson wrote: > With the addition of GPIO_ACTIVE_LOW parsing in gpio-uclass, > the pic32 gpio driver doesn't need a custom xlate routine. > > Signed-off-by: Eric Nelson <e...@nelint.com> > Acked-by: Simon Glass <s...@chromium.org> Review

Re: [U-Boot] [PATCH v5 1/4] arm: add missing writes[bwql], reads[bwql].

2016-03-21 Thread Purna Chandra Mandal
On 03/21/2016 05:09 PM, Marek Vasut wrote: > On 03/21/2016 12:19 PM, Purna Chandra Mandal wrote: >> On 03/21/2016 04:49 PM, Marek Vasut wrote: >> >>> On 03/21/2016 08:35 AM, Purna Chandra Mandal wrote: >>>> ARM defines __raw_writes[bwql], __raw_reads[bwql] in ar

Re: [U-Boot] [PATCH v5 1/4] arm: add missing writes[bwql], reads[bwql].

2016-03-21 Thread Purna Chandra Mandal
On 03/21/2016 04:49 PM, Marek Vasut wrote: > On 03/21/2016 08:35 AM, Purna Chandra Mandal wrote: >> ARM defines __raw_writes[bwql], __raw_reads[bwql] in arch io.h >> but not the writes[bwql], reads[bwql] needed by some drivers. >> >> Signed-off-by: Purna Chandra Mandal

[U-Boot] [PATCH v5 4/4] board: pic32mzda: enable USB-host, USB-storage support.

2016-03-21 Thread Purna Chandra Mandal
Enable MUSB host and USB storage support for Microchip PIC32MZ[DA] Starter Kit. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v5: None Changes in v4: - dts: add USB clock to musb node - add missing CONFIG_PIC32_USB in defconfig Changes in v3: - ad

[U-Boot] [PATCH v5 3/4] drivers: musb-new: Add USB DRC driver for Microchip PIC32 OTG controller.

2016-03-21 Thread Purna Chandra Mandal
This driver adds support of PIC32 MUSB OTG controller as dual role device. It implements platform specific glue to reuse musb core. Signed-off-by: Cristian Birsan <cristian.bir...@microchip.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v5: -

[U-Boot] [PATCH v5 2/4] drivers: remove writes{b, w, l, q} and reads{b, w, l, q}.

2016-03-21 Thread Purna Chandra Mandal
Definition of writes{bwlq}, reads{bwlq} are now added into arch specific asm/io.h. So removing them from driver to fix re-definition error Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2

[U-Boot] [PATCH v5 0/4] This series add MUSB support on PIC32MZDA Starter Kit.

2016-03-21 Thread Purna Chandra Mandal
seperated - compilation fix in drivers/gadget/f_mass_storage.c seperated Purna Chandra Mandal (4): arm: add missing writes[bwql], reads[bwql]. drivers: remove writes{b,w,l,q} and reads{b,w,l,q}. drivers: musb-new: Add USB DRC driver for Microchip PIC32 OTG controller. board: pic32mzda

[U-Boot] [PATCH v5 1/4] arm: add missing writes[bwql], reads[bwql].

2016-03-21 Thread Purna Chandra Mandal
ARM defines __raw_writes[bwql], __raw_reads[bwql] in arch io.h but not the writes[bwql], reads[bwql] needed by some drivers. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/inclu

Re: [U-Boot] [PATCH v3 3/4] drivers: musb-new: Add USB DRC driver for Microchip PIC32 OTG controller.

2016-03-19 Thread Purna Chandra Mandal
On 03/16/2016 09:18 PM, Marek Vasut wrote: > On 03/16/2016 10:58 AM, Purna Chandra Mandal wrote: >> On 03/15/2016 11:49 PM, Marek Vasut wrote: >> >>> On 03/15/2016 01:44 PM, Purna Chandra Mandal wrote: >>>> This driver adds support of PIC32 MUS

[U-Boot] [PATCH v3 2/2] drivers: mtd: add Microchip PIC32 internal non-CFI flash driver.

2016-03-19 Thread Purna Chandra Mandal
to prefetch and cache contents to improve execution performance. These flash can also be used to store user data (like environment). Flash erase and programming are handled by on-chip NVM controller. Driver implemented driver model but MTD is not really support. Signed-off-by: Purna Chandra Mandal

[U-Boot] [PATCH v4 4/4] board: pic32mzda: enable USB-host, USB-storage support.

2016-03-19 Thread Purna Chandra Mandal
Enable MUSB host and USB storage support for Microchip PIC32MZ[DA] Starter Kit. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v4: - dts: add USB clock to musb node - add missing CONFIG_PIC32_USB in defconfig Changes in v3: - add arch specific read

[U-Boot] [PATCH v4 1/4] arm: add missing writes[bwql], reads[bwql].

2016-03-19 Thread Purna Chandra Mandal
ARM defines __raw_writes[bwql], __raw_reads[bwql] in arch io.h but not the writes[bwql], reads[bwql] needed by some drivers. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/include/asm/io.h | 7

[U-Boot] [PATCH v4 0/4] This series add MUSB support on PIC32MZDA Starter Kit.

2016-03-19 Thread Purna Chandra Mandal
seperated Purna Chandra Mandal (4): arm: add missing writes[bwql], reads[bwql]. drivers: remove writes{b,w,l,q} and reads{b,w,l,q}. drivers: musb-new: Add USB DRC driver for Microchip PIC32 OTG controller. board: pic32mzda: enable USB-host, USB-storage support. arch/arm/include/asm/io.h

[U-Boot] [PATCH v4 3/4] drivers: musb-new: Add USB DRC driver for Microchip PIC32 OTG controller.

2016-03-19 Thread Purna Chandra Mandal
This driver adds support of PIC32 MUSB OTG controller as dual role device. It implements platform specific glue to reuse musb core. Signed-off-by: Cristian Birsan <cristian.bir...@microchip.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v4: -

[U-Boot] [PATCH v4 2/4] drivers: remove writes{b, w, l, q} and reads{b, w, l, q}.

2016-03-18 Thread Purna Chandra Mandal
Definition of writes{bwlq}, reads{bwlq} are now added into arch specific asm/io.h. So removing them from drivers to fix re-definition error Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/mt

[U-Boot] [PATCH v3 1/2] flash: add device ID for Microchip PIC32 internal flash.

2016-03-18 Thread Purna Chandra Mandal
Microchip PIC32 has internal parallel flash (non-CFI compliant). These flash devices do not support any identifier command so no standard IDs. Added unique IDs to seperate these flash devices from others supported by U-Boot. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.

Re: [U-Boot] [PATCH] drivers: mtd: add Microchip PIC32 internal non-CFI flash driver.

2016-03-16 Thread Purna Chandra Mandal
On 03/15/2016 05:35 PM, Jagan Teki wrote: > On 14 March 2016 at 19:37, Purna Chandra Mandal > <purna.man...@microchip.com> wrote: >> Jagan. >> >> On 03/14/2016 07:16 PM, Jagan Teki wrote: >> >>> On Monday 14 March 2016 07:00 PM, Purna Chandra Mand

Re: [U-Boot] [PATCH v3 3/4] drivers: musb-new: Add USB DRC driver for Microchip PIC32 OTG controller.

2016-03-16 Thread Purna Chandra Mandal
On 03/15/2016 11:49 PM, Marek Vasut wrote: > On 03/15/2016 01:44 PM, Purna Chandra Mandal wrote: >> This driver adds support of PIC32 MUSB OTG controller as dual role device. >> It implements platform specific glue to reuse musb core. >> >> Signed-off-by: Cr

Re: [U-Boot] [PATCH v3 2/4] drivers: musb-new: remove writes{bwlq} and reads{bwlq}.

2016-03-16 Thread Purna Chandra Mandal
On 03/15/2016 11:40 PM, Marek Vasut wrote: > On 03/15/2016 01:44 PM, Purna Chandra Mandal wrote: >> Moved definition of writes{bwlq} and reads{bwlq} into arch. >> There is no need of having arch specific wrapper in driver. > And so the patch does ... what exactly ? I cannot

[U-Boot] [PATCH v3 4/4] board: pic32mzda: enable USB-host, USB-storage support.

2016-03-15 Thread Purna Chandra Mandal
Enable MUSB host and USB storage support for Microchip PIC32MZ[DA] Starter Kit. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v3: - add arch specific reads{bwlq}, writes{bwlq} in respective arch io.h - remove reads{bwlq}, writes{bwlq} in musb-new

[U-Boot] [PATCH v3 3/4] drivers: musb-new: Add USB DRC driver for Microchip PIC32 OTG controller.

2016-03-15 Thread Purna Chandra Mandal
This driver adds support of PIC32 MUSB OTG controller as dual role device. It implements platform specific glue to reuse musb core. Signed-off-by: Cristian Birsan <cristian.bir...@microchip.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v3:

[U-Boot] [PATCH v3 1/4] arm: add missing writes{bwql}, reads{bwql}.

2016-03-15 Thread Purna Chandra Mandal
-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v3: None Changes in v2: None arch/arm/include/asm/io.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index 75773bd..9d185a6 100644 --- a/arch/arm/includ

[U-Boot] [PATCH v3 2/4] drivers: musb-new: remove writes{bwlq} and reads{bwlq}.

2016-03-15 Thread Purna Chandra Mandal
Moved definition of writes{bwlq} and reads{bwlq} into arch. There is no need of having arch specific wrapper in driver. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v3: None Changes in v2: None drivers/usb/musb-new/linux-compat.h | 7 --- 1 file c

[U-Boot] [PATCH v2 2/2] drivers: mtd: add Microchip PIC32 internal non-CFI flash driver.

2016-03-15 Thread Purna Chandra Mandal
to prefetch and cache contents to improve execution performance. These flash can also be used to store user data (like environment). Flash erase and programming are handled by on-chip NVM controller. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v2: - kconfi

[U-Boot] [PATCH v2 1/2] flash: add device ID for Microchip PIC32 internal flash.

2016-03-15 Thread Purna Chandra Mandal
Microchip PIC32 has internal parallel flash (non-CFI compliant). These flash devices do not support any identifier command so no standard IDs. Added unique IDs to seperate these flash devices from others supported by U-Boot. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.

Re: [U-Boot] [PATCH] drivers: mtd: add Microchip PIC32 internal non-CFI flash driver.

2016-03-14 Thread Purna Chandra Mandal
Jagan. On 03/14/2016 07:16 PM, Jagan Teki wrote: > On Monday 14 March 2016 07:00 PM, Purna Chandra Mandal wrote: >> On 03/14/2016 06:13 PM, Daniel Schwierzeck wrote: >>> 2016-03-10 14:12 GMT+01:00 Purna Chandra Mandal >>> <purna.man...@microchip.com>: >>&

Re: [U-Boot] [PATCH] drivers: mtd: add Microchip PIC32 internal non-CFI flash driver.

2016-03-14 Thread Purna Chandra Mandal
On 03/14/2016 06:13 PM, Daniel Schwierzeck wrote: > 2016-03-10 14:12 GMT+01:00 Purna Chandra Mandal <purna.man...@microchip.com>: >> PIC32 embedded flash banks are memory mapped, directly read by CPU, >> and programming (erase followed by write) operation on them are >

Re: [U-Boot] [PATCH] drivers: mtd: add Microchip PIC32 internal non-CFI flash driver.

2016-03-11 Thread Purna Chandra Mandal
On 03/10/2016 07:11 PM, Jagan Teki wrote: > On Thursday 10 March 2016 06:42 PM, Purna Chandra Mandal wrote: >> PIC32 embedded flash banks are memory mapped, directly read by CPU, >> and programming (erase followed by write) operation on them are >> handled by on-chip NVM co

[U-Boot] [PATCH] drivers: mtd: add Microchip PIC32 internal non-CFI flash driver.

2016-03-10 Thread Purna Chandra Mandal
PIC32 embedded flash banks are memory mapped, directly read by CPU, and programming (erase followed by write) operation on them are handled by on-chip NVM controller. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- drivers/mtd/Kconfig | 6 + drivers/mtd/Ma

Re: [U-Boot] [PATCH v2 1/4] drivers: musb-new: fix compilation error for MIPS.

2016-03-10 Thread Purna Chandra Mandal
On 03/07/2016 09:18 PM, Daniel Schwierzeck wrote: > 2016-03-07 14:19 GMT+01:00 Purna Chandra Mandal <purna.man...@microchip.com>: >> MIPS arch implements writes{b,w,l,q}, reads{b,w,l,q} >> whereas other archs implement __raw version of them. >> So defining macro wri

Re: [U-Boot] [PATCH] MIPS: pic32mzdask: use CONFIG_USE_PRIVATE_LIBGCC=y

2016-03-09 Thread Purna Chandra Mandal
ibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_ashldi3.o) > /work/git-trees/u-boot-mips/Makefile:1171: recipe for target 'u-boot' failed > > One example for a failing build is Travis CI. > > Signed-off-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com> Reviewed-by: Purn

[U-Boot] [PATCH v2 3/4] drivers: musb-new: Add USB DRC driver for Microchip PIC32 OTG controller.

2016-03-07 Thread Purna Chandra Mandal
This driver adds support of PIC32 MUSB OTG controller as dual role device. It implements platform specific glue to reuse musb core. Signed-off-by: Cristian Birsan <cristian.bir...@microchip.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v2: No

[U-Boot] [PATCH v2 4/4] board: pic32mzda: enable USB-host, USB-storage support.

2016-03-07 Thread Purna Chandra Mandal
Enable MUSB host and USB storage support for Microchip PIC32MZ[DA] Starter Kit. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v2: - compilation fix in drivers/usb/musb-new/linux-compat.h seperated - compilation fix in drivers/gadget/f_mass_storage.c sep

[U-Boot] [PATCH v2 2/4] gadget: f_mass_storge: fix compilation error for MIPS.

2016-03-07 Thread Purna Chandra Mandal
/bitops.h:370:24: note: previous definition of 'clear_bit' was here static __inline__ void clear_bit(int nr, volatile void * addr) - Fixed it by allowing default implementation of set_bit(), clear_bit() for non MIPS. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.

[U-Boot] [PATCH v2 1/4] drivers: musb-new: fix compilation error for MIPS.

2016-03-07 Thread Purna Chandra Mandal
MIPS arch implements writes{b,w,l,q}, reads{b,w,l,q} whereas other archs implement __raw version of them. So defining macro writes{bwlq}() to __raw_writes{bwlq}() (and similarly for reads{bwlq}) is not necessary for MIPS. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.

[U-Boot] [PATCH v1 1/2] drivers: musb-new: Add USB DRC driver for Microchip PIC32 OTG controller.

2016-02-09 Thread Purna Chandra Mandal
From: Cristian Birsan <cristian.bir...@microchip.com> This driver adds support of PIC32 MUSB OTG controller as dual role device. It implements platform specific glue to reuse musb core. Signed-off-by: Cristian Birsan <cristian.bir...@microchip.com> Signed-off-by: Purna Chandra Manda

[U-Boot] [PATCH v1 2/2] board: pic32mzda: enable USB-host, USB-storage support.

2016-02-09 Thread Purna Chandra Mandal
Enable MUSB host and USB storage support for Microchip PIC32MZ[DA] Starter Kit. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- arch/mips/dts/pic32mzda.dtsi | 10 ++ arch/mips/dts/pic32mzda_sk.dts | 4 configs/pic32mzdask_defconfig | 6 +- i

Re: [U-Boot] [PATCH v1 1/2] drivers: musb-new: Add USB DRC driver for Microchip PIC32 OTG controller.

2016-02-09 Thread Purna Chandra Mandal
On 02/09/2016 06:48 PM, Marek Vasut wrote: > On Tuesday, February 09, 2016 at 01:02:49 PM, Purna Chandra Mandal wrote: >> From: Cristian Birsan <cristian.bir...@microchip.com> >> >> This driver adds support of PIC32 MUSB OTG controller as dual role device. >> It

Re: [U-Boot] [PATCH v4 08/13] board: Add Microchip PIC32MZ[DA]-Starter-Kit board.

2016-02-01 Thread Purna Chandra Mandal
On 01/29/2016 08:42 PM, Daniel Schwierzeck wrote: > > Am 28.01.2016 um 11:00 schrieb Purna Chandra Mandal: >> This adds support for Microchip PIC32MZ[DA] StarterKit board >> based on a PIC32MZ[DA] family of microcontroller. >> >> Signed-off-by: Purna Chandra Mand

[U-Boot] [PATCH v4 12/13] drivers: net: Add ethernet driver for Microchip PIC32.

2016-01-28 Thread Purna Chandra Mandal
This driver implements MAC and MII layer of the ethernet controller. Network data transfer is handled by controller internal DMA engine. Ethernet controller is configurable through device-tree file. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v4:

[U-Boot] [PATCH v4 13/13] board: Enable ethernet, tftpboot support to pic32mzdask board.

2016-01-28 Thread Purna Chandra Mandal
This adds ethernet, TFTP support for PIC32MZ[DA] Starter Kit. Also custom environment variables/scripts are added to help boot from network. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v4: None Changes in v3: None Changes in v2: - replace unbounde

[U-Boot] [PATCH v4 11/13] drivers: net: phy: add SMSC LAN8740 Phy support.

2016-01-28 Thread Purna Chandra Mandal
Add SMSC LAN8740 Phy support required for PIC32MZDA devices. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Reviewed-by: Tom Rini <tr...@konsulko.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com> --- Changes in v4: None Changes in v3: None C

[U-Boot] [PATCH v4 09/13] drivers: mmc: add driver for Microchip PIC32 SDHCI controller.

2016-01-28 Thread Purna Chandra Mandal
eriker.mallikar...@microchip.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Reviewed-by: Tom Rini <tr...@konsulko.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com> --- Changes in v4: - update Kconfig help message - add CD errata under SDHCI_

[U-Boot] [PATCH v4 06/13] drivers: ddr: Add DDR2 SDRAM controller driver for Microchip PIC32.

2016-01-28 Thread Purna Chandra Mandal
This driver initializes PIC32 DDR2 SDRAM controller and internal DDR2 Phy module. DDR2 controller operates in half-rate mode (upto 533MHZ frequency). Signed-off-by: Paul Thacker <paul.thac...@microchip.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Reviewe

[U-Boot] [PATCH v4 07/13] MIPS: Add support for Microchip PIC32MZ[DA] SoC family.

2016-01-28 Thread Purna Chandra Mandal
Add Microchip PIC32MZ[DA] SoC family support. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v4: - drop forcing DM_SERIAL, PIC32_SERIAL, PIC32_PINCTRL in mach-pic32/Kconfig - drop extra include - rename clock compatible to "pic32mzda-clk" fro

[U-Boot] [PATCH v4 08/13] board: Add Microchip PIC32MZ[DA]-Starter-Kit board.

2016-01-28 Thread Purna Chandra Mandal
This adds support for Microchip PIC32MZ[DA] StarterKit board based on a PIC32MZ[DA] family of microcontroller. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v4: - create defconfig by 'make savedefconfig' - drop explicit SYS_BAUDRATE_TABLE in favor of d

[U-Boot] [PATCH v4 04/13] drivers: gpio: add driver for Microchip PIC32 GPIO controller.

2016-01-28 Thread Purna Chandra Mandal
In PIC32 GPIO controller is part of PIC32 pin controller. PIC32 has ten independently programmable ports and each with multiple pins. Each of these pins can be configured and used as GPIO, provided they are not in use for other peripherals. Signed-off-by: Purna Chandra Mandal <purna.

[U-Boot] [PATCH v4 10/13] board: add SDHCI support for PIC32MZDASK board.

2016-01-28 Thread Purna Chandra Mandal
Enable MMC, SDHCI, FAT_FS support for PIC32MZ[DA] StarterKit. Also add custom scripts, rules to boot Linux from microSD card. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v4: None Changes in v3: - use distro boot commands from config_distro_boo

[U-Boot] [PATCH v4 00/13] Initial Microchip PIC32MZ[DA] Support

2016-01-28 Thread Purna Chandra Mandal
seg1 address before use Andrei Pistirica (1): drivers: mmc: add driver for Microchip PIC32 SDHCI controller. Paul Thacker (1): drivers: serial: add driver for Microchip PIC32 UART controller. Purna Chandra Mandal (11): MIPS: initial infrastructure for Microchip PIC32 architecture drivers

[U-Boot] [PATCH v4 01/13] MIPS: initial infrastructure for Microchip PIC32 architecture

2016-01-28 Thread Purna Chandra Mandal
Create initial directory, Kconfigs needed for PIC32 architecture support. Also add PIC32 specific register definition required for drivers. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com> Reviewed-by:

[U-Boot] [PATCH v4 03/13] drivers: pinctrl: Add pinctrl driver for Microchip PIC32.

2016-01-28 Thread Purna Chandra Mandal
peripherals have default pins assigned thus require no muxing. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Reviewed-by: Tom Rini <tr...@konsulko.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com> Reviewed-by: Simon Glass <s...@chromium.org&

[U-Boot] [PATCH v4 02/13] drivers: clk: Add clock driver for Microchip PIC32 Microcontroller.

2016-01-28 Thread Purna Chandra Mandal
PIC32 clock module consists of multiple oscillators, PLLs, mutiplexers and dividers capable of supplying clock to various controllers on or off-chip. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Reviewed-by: Simon Glass <s...@chromium.org> Reviewed-by: Daniel

[U-Boot] [PATCH v4 05/13] drivers: serial: add driver for Microchip PIC32 UART controller.

2016-01-28 Thread Purna Chandra Mandal
From: Paul Thacker <paul.thac...@microchip.com> This adds PIC32 UART controller support based on driver model. Signed-off-by: Paul Thacker <paul.thac...@microchip.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Reviewed-by: Daniel Schwierzeck <daniel.

[U-Boot] [PATCH v2] MIPS: initialize board_init_f() argument to zero.

2016-01-21 Thread Purna Chandra Mandal
Argument boot_flags of board_init_f() should be set to 0 as $a0 may be utilized in lowlevel_init() or mips_cache_reset() or previous stage boot-loader. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v2: - add comment in same line as of the asm instruction

[U-Boot] [PATCH] bootm: fix size arg of flush_cache() in bootm_load_os().

2016-01-20 Thread Purna Chandra Mandal
architecture by using compressed(gzip, lzma) and uncompressed uImage. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- common/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bootm.c b/common/bootm.c index 58936ca..99d574d 100644 --- a/

Re: [U-Boot] [PATCH v3 11/14] board: add SDHCI support for PIC32MZDASK board.

2016-01-14 Thread Purna Chandra Mandal
On 01/13/2016 08:26 PM, Tom Rini wrote: > On Tue, Jan 12, 2016 at 03:48:26PM +0530, Purna Chandra Mandal wrote: > >> Enable MMC, SDHCI, FAT FS, EXT4 FS support for PIC32MZ[DA] StarterKit. >> Also add custom scripts, rules to boot Linux from microSD card. >> >> Signe

Re: [U-Boot] [PATCH v3 09/14] board: Add Microchip PIC32MZ[DA]-Starter-Kit board.

2016-01-14 Thread Purna Chandra Mandal
On 01/13/2016 08:33 PM, Daniel Schwierzeck wrote: > Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: >> This adds support for Microchip PIC32MZ[DA] StarterKit board >> based on a PIC32MZ[DA] family of microcontroller. >> >> Signed-off-by: Purn

Re: [U-Boot] [PATCH v3 05/14] drivers: gpio: add driver for Microchip PIC32 GPIO controller.

2016-01-14 Thread Purna Chandra Mandal
On 01/14/2016 01:40 AM, Simon Glass wrote: > Hi Puma, > > On 12 January 2016 at 03:18, Purna Chandra Mandal > <purna.man...@microchip.com> wrote: >> In PIC32 GPIO controller is part of PIC32 pin controller. >> PIC32 has ten independently programmable ports and ea

Re: [U-Boot] [PATCH v3 13/14] drivers: net: Add ethernet driver for Microchip PIC32.

2016-01-14 Thread Purna Chandra Mandal
On 01/13/2016 09:07 PM, Daniel Schwierzeck wrote: > Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: >> This driver implements MAC and MII layer of the ethernet controller. >> Network data transfer is handled by controller internal DMA engine. >>

Re: [U-Boot] [PATCH v3 13/14] drivers: net: Add ethernet driver for Microchip PIC32.

2016-01-14 Thread Purna Chandra Mandal
On 01/13/2016 08:26 PM, Tom Rini wrote: > On Tue, Jan 12, 2016 at 03:48:28PM +0530, Purna Chandra Mandal wrote: > >> This driver implements MAC and MII layer of the ethernet controller. >> Network data transfer is handled by controller internal DMA engine. >> Ethernet co

Re: [U-Boot] [PATCH v3 10/14] drivers: mmc: add driver for Microchip PIC32 SDHCI controller.

2016-01-14 Thread Purna Chandra Mandal
On 01/13/2016 08:45 PM, Daniel Schwierzeck wrote: > Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: >> From: Andrei Pistirica <andrei.pistir...@microchip.com> >> >> This driver implements platform specific glue and fixups for >> PIC32 intern

Re: [U-Boot] [PATCH v3 03/14] drivers: clk: Add clock driver for Microchip PIC32 Microcontroller.

2016-01-13 Thread Purna Chandra Mandal
On 01/13/2016 07:08 PM, Daniel Schwierzeck wrote: > Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: >> PIC32 clock module consists of multiple oscillators, PLLs, >> mutiplexers >> and dividers capable of supplying clock to various controllers >> o

Re: [U-Boot] [PATCH v3 03/14] drivers: clk: Add clock driver for Microchip PIC32 Microcontroller.

2016-01-13 Thread Purna Chandra Mandal
On 01/13/2016 08:25 PM, Tom Rini wrote: > On Tue, Jan 12, 2016 at 03:48:18PM +0530, Purna Chandra Mandal wrote: > >> PIC32 clock module consists of multiple oscillators, PLLs, mutiplexers >> and dividers capable of supplying clock to various controllers >> on or off-chip.

Re: [U-Boot] [PATCH v3 01/14] MIPS: initialize board_init_f() argument to zero.

2016-01-13 Thread Purna Chandra Mandal
On 01/12/2016 05:59 PM, Daniel Schwierzeck wrote: > 2016-01-12 11:18 GMT+01:00 Purna Chandra Mandal <purna.man...@microchip.com>: >> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> >> --- >> >> Changes in v3: None >> Changes in v2: N

Re: [U-Boot] [PATCH v3 08/14] MIPS: Add support for Microchip PIC32MZ[DA] SoC family.

2016-01-13 Thread Purna Chandra Mandal
On 01/13/2016 08:19 PM, Daniel Schwierzeck wrote: > Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra Mandal: >> Add Microchip PIC32MZ[DA] SoC family support. >> >> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> >> >> ---

Re: [U-Boot] [PATCH v3 06/14] drivers: serial: add driver for Microchip PIC32 UART controller.

2016-01-13 Thread Purna Chandra Mandal
On 01/14/2016 01:39 AM, Simon Glass wrote: > Hi Purna, > > On 12 January 2016 at 03:18, Purna Chandra Mandal > <purna.man...@microchip.com> wrote: >> From: Paul Thacker <paul.thac...@microchip.com> >> >> This adds PIC32 UART controller support based

Re: [U-Boot] [PATCH v3 05/14] drivers: gpio: add driver for Microchip PIC32 GPIO controller.

2016-01-13 Thread Purna Chandra Mandal
On 01/13/2016 07:38 PM, Daniel Schwierzeck wrote: > Am Mittwoch, den 13.01.2016, 14:46 +0100 schrieb Daniel Schwierzeck: >> Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra >> Mandal: >>> In PIC32 GPIO controller is part of PIC32 pin controller. >>

Re: [U-Boot] [PATCH v3 06/14] drivers: serial: add driver for Microchip PIC32 UART controller.

2016-01-13 Thread Purna Chandra Mandal
On 01/13/2016 07:33 PM, Daniel Schwierzeck wrote: > Am Mittwoch, den 13.01.2016, 14:49 +0100 schrieb Daniel Schwierzeck: >> Am Dienstag, den 12.01.2016, 15:48 +0530 schrieb Purna Chandra >> Mandal: >>> From: Paul Thacker <paul.thac...@microchip.com> >>> >

Re: [U-Boot] [PATCH v3 09/14] board: Add Microchip PIC32MZ[DA]-Starter-Kit board.

2016-01-13 Thread Purna Chandra Mandal
On 01/13/2016 08:26 PM, Tom Rini wrote: > On Tue, Jan 12, 2016 at 03:48:24PM +0530, Purna Chandra Mandal wrote: > >> This adds support for Microchip PIC32MZ[DA] StarterKit board >> based on a PIC32MZ[DA] family of microcontroller. >> >> Signed-off-by: P

[U-Boot] [PATCH v3 04/14] drivers: pinctrl: Add pinctrl driver for Microchip PIC32.

2016-01-12 Thread Purna Chandra Mandal
peripherals have default pins assigned thus require no muxing. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v3: - read register base from device-tree - add/update comments to explain how pinctrl'r works. - replace pic32_ioremap() with ioremap(). Changes in v2:

[U-Boot] [PATCH v3 05/14] drivers: gpio: add driver for Microchip PIC32 GPIO controller.

2016-01-12 Thread Purna Chandra Mandal
In PIC32 GPIO controller is part of PIC32 pin controller. PIC32 has ten independently programmable ports and each with multiple pins. Each of these pins can be configured and used as GPIO, provided they are not in use for other peripherals. Signed-off-by: Purna Chandra Mandal <purna.

[U-Boot] [PATCH v3 07/14] drivers: ddr: Add DDR2 SDRAM controller driver for Microchip PIC32.

2016-01-12 Thread Purna Chandra Mandal
This driver initializes PIC32 DDR2 SDRAM controller and internal DDR2 Phy module. DDR2 controller operates in half-rate mode (upto 533MHZ frequency). Signed-off-by: Paul Thacker <paul.thac...@microchip.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- C

[U-Boot] [PATCH v3 03/14] drivers: clk: Add clock driver for Microchip PIC32 Microcontroller.

2016-01-12 Thread Purna Chandra Mandal
PIC32 clock module consists of multiple oscillators, PLLs, mutiplexers and dividers capable of supplying clock to various controllers on or off-chip. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> Reviewed-by: Simon Glass <s...@chromium.org> --- Changes in v3:

[U-Boot] [PATCH v3 01/14] MIPS: initialize board_init_f() argument to zero.

2016-01-12 Thread Purna Chandra Mandal
Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v3: None Changes in v2: None arch/mips/cpu/start.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/cpu/start.S b/arch/mips/cpu/start.S index e95cdca..35d9650 100644 --- a/arch/mips/cpu/start.S

[U-Boot] [PATCH v3 06/14] drivers: serial: add driver for Microchip PIC32 UART controller.

2016-01-12 Thread Purna Chandra Mandal
From: Paul Thacker <paul.thac...@microchip.com> This adds PIC32 UART controller support based on driver model. Signed-off-by: Paul Thacker <paul.thac...@microchip.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v3: - remove ofdata_to_pla

[U-Boot] [PATCH v3 02/14] MIPS: initial infrastructure for Microchip PIC32 architecture

2016-01-12 Thread Purna Chandra Mandal
Create initial directory, Kconfigs needed for PIC32 architecture support. Also add PIC32 specific register definition required for drivers. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v3: - drop empty choices in mach-pic32/Kconfig - add pic32_get_syscf

[U-Boot] [PATCH v3 00/14] Initial Microchip PIC32MZ[DA] Support

2016-01-12 Thread Purna Chandra Mandal
PIC32 UART controller. Purna Chandra Mandal (12): MIPS: initialize board_init_f() argument to zero. MIPS: initial infrastructure for Microchip PIC32 architecture drivers: clk: Add clock driver for Microchip PIC32 Microcontroller. drivers: pinctrl: Add pinctrl driver for Microchip PIC32

[U-Boot] [PATCH v3 14/14] board: Enable ethernet, tftpboot support to pic32mzdask board.

2016-01-12 Thread Purna Chandra Mandal
This adds ethernet, TFTP support for PIC32MZ[DA] Starter Kit. Also custom environment variables/scripts are added to help boot from network. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v3: None Changes in v2: - replace unbounded loop with wait_f

[U-Boot] [PATCH v3 13/14] drivers: net: Add ethernet driver for Microchip PIC32.

2016-01-12 Thread Purna Chandra Mandal
This driver implements MAC and MII layer of the ethernet controller. Network data transfer is handled by controller internal DMA engine. Ethernet controller is configurable through device-tree file. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v3: -

[U-Boot] [PATCH v3 12/14] drivers: net: phy: add SMSC LAN8740 Phy support.

2016-01-12 Thread Purna Chandra Mandal
Add SMSC LAN8740 Phy support required for PIC32MZDA devices. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v3: None Changes in v2: None drivers/net/phy/smsc.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/phy/smsc.c b/drive

[U-Boot] [PATCH v3 09/14] board: Add Microchip PIC32MZ[DA]-Starter-Kit board.

2016-01-12 Thread Purna Chandra Mandal
This adds support for Microchip PIC32MZ[DA] StarterKit board based on a PIC32MZ[DA] family of microcontroller. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v3: - drop SKIP_LOWLEVEL_INIT, GBL_DATA_OFFSET from config header - move CMD_MEMTEST, CMD_M

[U-Boot] [PATCH v3 10/14] drivers: mmc: add driver for Microchip PIC32 SDHCI controller.

2016-01-12 Thread Purna Chandra Mandal
eriker.mallikar...@microchip.com> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v3: - remove ofdata_to_platdata, and replace platdata with priv - replace pic32_ioremap() with ioremap() Changes in v2: - drop sdhci shared bus configuration (for shared interrupt, c

[U-Boot] [PATCH v3 11/14] board: add SDHCI support for PIC32MZDASK board.

2016-01-12 Thread Purna Chandra Mandal
Enable MMC, SDHCI, FAT FS, EXT4 FS support for PIC32MZ[DA] StarterKit. Also add custom scripts, rules to boot Linux from microSD card. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v3: None Changes in v2: - drop shared bus (shared pin selection) configu

[U-Boot] [PATCH v3 08/14] MIPS: Add support for Microchip PIC32MZ[DA] SoC family.

2016-01-12 Thread Purna Chandra Mandal
Add Microchip PIC32MZ[DA] SoC family support. Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> --- Changes in v3: - drop forcing CONFIG_MIPS_BOOT_* selection in mach-pic32/Kconfig - indent assembly instructions in delay slot - made GPIO-nodes child of pinctrl-node in devi

Re: [U-Boot] [PATCH v1 0/9] MIPS: sync asm header files with linux-4.4

2016-01-11 Thread Purna Chandra Mandal
On 01/09/2016 10:02 PM, Daniel Schwierzeck wrote: > This patch series updates all MIPS asm header files containing > I/O code as well as processor, register and assembly definitions. > The source of the update are the MIPS asm header files of linux-4.4. > > The main goal is to get a complete set

Re: [U-Boot] [PATCH v2 02/13] drivers: clk: Add clock driver for Microchip PIC32 Microcontroller.

2016-01-11 Thread Purna Chandra Mandal
On 01/11/2016 10:27 PM, Simon Glass wrote: > Hi, > > On 4 January 2016 at 07:00, Purna Chandra Mandal > <purna.man...@microchip.com> wrote: >> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> >> > Commit message please. Ack. Will add. &

Re: [U-Boot] [PATCH v2 05/13] drivers: ddr: Add DDR2 SDRAM controller driver for Microchip PIC32.

2016-01-11 Thread Purna Chandra Mandal
On 01/11/2016 10:27 PM, Simon Glass wrote: > Hi, > > On 4 January 2016 at 07:01, Purna Chandra Mandal > <purna.man...@microchip.com> wrote: >> Signed-off-by: Paul Thacker <paul.thac...@microchip.com> >> Signed-off-by: Purna Chandra Mandal <purna.man...@micro

Re: [U-Boot] [PATCH v2 02/13] drivers: clk: Add clock driver for Microchip PIC32 Microcontroller.

2016-01-11 Thread Purna Chandra Mandal
On 01/11/2016 09:46 PM, Daniel Schwierzeck wrote: > Am Montag, den 04.01.2016, 19:30 +0530 schrieb Purna Chandra Mandal: >> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> >> >> --- >> >> Changes in v2: >> - add get clock rate fo

Re: [U-Boot] [PATCH v2 03/13] drivers: pinctrl: Add pinctrl driver for Microchip PIC32 microcontroller

2016-01-11 Thread Purna Chandra Mandal
On 01/11/2016 10:28 PM, Simon Glass wrote: > Hi, > > On 7 January 2016 at 23:46, Purna Chandra Mandal > <purna.man...@microchip.com> wrote: >> On 01/08/2016 09:04 AM, Simon Glass wrote: >> >>> Hi Purna, >>> >>> On 4 January 2016 at 07

Re: [U-Boot] [PATCH v2 4/5] MIPS: add initial infrastructure for device-tree files

2016-01-11 Thread Purna Chandra Mandal
On 12/20/2015 04:13 AM, Daniel Schwierzeck wrote: > Prepare sub-folder for device-tree files. Make support for > device-tree on MIPS available in Kbuild/Kconfig. > > Signed-off-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com> > Signed-off-by: Purna Chandra Mandal <pu

Re: [U-Boot] [PATCH v1 08/18] MIPS: pic32: Add driver for Microchip PIC32 flash controller.

2016-01-08 Thread Purna Chandra Mandal
On 12/21/2015 08:50 PM, Stefan Roese wrote: > On 21.12.2015 15:58, Daniel Schwierzeck wrote: >> >> >> Am 17.12.2015 um 18:30 schrieb Purna Chandra Mandal: >>> From: Cristian Birsan <cristi.bir...@microchip.com> >>> >>> Signed-off-by: Cristi

Re: [U-Boot] [PATCH v2 03/13] drivers: pinctrl: Add pinctrl driver for Microchip PIC32 microcontroller

2016-01-07 Thread Purna Chandra Mandal
On 01/08/2016 09:04 AM, Simon Glass wrote: > Hi Purna, > > On 4 January 2016 at 07:00, Purna Chandra Mandal > <purna.man...@microchip.com> wrote: >> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> >> > Please add a commit message. Ack

Re: [U-Boot] [PATCH v2 06/13] MIPS: Add support for Microchip PIC32MZ[DA] family.

2016-01-06 Thread Purna Chandra Mandal
On 01/06/2016 01:53 AM, Daniel Schwierzeck wrote: > 2016-01-04 15:01 GMT+01:00 Purna Chandra Mandal <purna.man...@microchip.com>: >> Signed-off-by: Purna Chandra Mandal <purna.man...@microchip.com> >> >> --- >> >> Changes in v2: >> - drop un

Re: [U-Boot] [PATCH v2 08/13] drivers: mmc: add driver for Microchip PIC32 SDHCI controller.

2016-01-06 Thread Purna Chandra Mandal
On 01/06/2016 02:08 AM, Daniel Schwierzeck wrote: > 2016-01-04 15:01 GMT+01:00 Purna Chandra Mandal <purna.man...@microchip.com>: >> PIC32 architecture has in-built SDHCI controller. This driver implements >> platform specific glue to use common SDHCI functionality. >&g

  1   2   >