On 01/06/2016 02:32 AM, Daniel Schwierzeck wrote:
> [...]
> +
> +static int _pic32eth_init(struct pic32eth_device *pedev, u8 *macaddr)
> +{
> + int ret;
> +
> + /* configure controller */
> + _eth_ctrl_reset(pedev);
> +
> + /* reset mac_regs */
> + _mac_reset(pedev);
On 01/06/2016 02:13 AM, Daniel Schwierzeck wrote:
> 2016-01-04 15:01 GMT+01:00 Purna Chandra Mandal :
>> PIC32 has ten independently programmable ports and each with multiple pins.
>> These pins can be configured and used as GPIO, if not use by any other
>> peripherals.
>&
On 01/06/2016 02:08 AM, Daniel Schwierzeck wrote:
> 2016-01-04 15:01 GMT+01:00 Purna Chandra Mandal :
>> PIC32 architecture has in-built SDHCI controller. This driver implements
>> platform specific glue to use common SDHCI functionality.
>>
>> Signed-off-by: Andrei
On 01/06/2016 02:06 AM, Daniel Schwierzeck wrote:
> 2016-01-04 15:01 GMT+01:00 Purna Chandra Mandal :
>> This adds support for Microchip PIC32MZ[DA] Starter Kit board
>> based on a PIC32MZ[DA] family of microcontroller.
>>
>> Signed-off-by: Purna Chandra Mandal
&g
On 01/06/2016 01:53 AM, Daniel Schwierzeck wrote:
> 2016-01-04 15:01 GMT+01:00 Purna Chandra Mandal :
>> Signed-off-by: Purna Chandra Mandal
>>
>> ---
>>
>> Changes in v2:
>> - drop unnecessary board_early_init_f()
>> - use LEAF(), END() macros
On 01/06/2016 01:29 AM, Daniel Schwierzeck wrote:
> 2016-01-04 15:00 GMT+01:00 Purna Chandra Mandal :
>> Signed-off-by: Paul Thacker
>> Signed-off-by: Purna Chandra Mandal
>>
>> ---
>>
>> Changes in v2:
>> - fix missing or corrupted chars during ba
On 01/06/2016 01:01 AM, Daniel Schwierzeck wrote:
> 2016-01-04 15:00 GMT+01:00 Purna Chandra Mandal :
>> Signed-off-by: Purna Chandra Mandal
>>
>> ---
>>
>> Changes in v2:
>> - add get clock rate for mpll clock
>>
>> .../clock/microchip,pic3
On 01/06/2016 12:50 AM, Daniel Schwierzeck wrote:
> 2016-01-04 15:00 GMT+01:00 Purna Chandra Mandal :
>> Signed-off-by: Purna Chandra Mandal
>>
>> ---
>>
>> Changes in v2:
>> - move PIC32 specific headers to arch/mips/mach-pic32/include/mach/
>>
temp, LOAD_MODE_CMD | (RL << 28) | (2 <<
>> 24),
>> + tMRD_TCK * tCK);
>> +
>> + /* issue precharge all command */
>> + host_load_cmd(ctrl, 0x18, 4, PRECH_ALL_CMD, tRP + tCK);
>> +
>> + /* issue refre
Add SMSC LAN8740 Phy support required for PIC32MZ[DA] devices.
Signed-off-by: Purna Chandra Mandal
---
Changes in v2: None
drivers/net/phy/smsc.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c
index bfd9815..34986a2 100644
--- a
This driver implements MAC and MII layer of PIC32 ethernet controller.
This controller is capable of handling 100/10mbps full/half duplex
ethernet communication. Network data transfer is handled by internal
DMA engine.
Signed-off-by: Purna Chandra Mandal
---
Changes in v2: None
drivers/net
Signed-off-by: Purna Chandra Mandal
---
Changes in v2:
- replace unbounded loop with wait_for_bit()
- replace register access as readl/writel(base + offset)
- translate (dts provided) physical address to MIPS kseg1 address before use
arch/mips/dts/pic32mzda.dtsi | 93
PIC32 has ten independently programmable ports and each with multiple pins.
These pins can be configured and used as GPIO, if not use by any other
peripherals.
Signed-off-by: Purna Chandra Mandal
---
Changes in v2: None
drivers/gpio/Kconfig | 7 ++
drivers/gpio/Makefile | 2
PIC32 architecture has in-built SDHCI controller. This driver implements
platform specific glue to use common SDHCI functionality.
Signed-off-by: Andrei Pistirica
Signed-off-by: Sandeep Sheriker Mallikarjun
Signed-off-by: Purna Chandra Mandal
---
Changes in v2:
- drop SDHCI shared bus
Added custom environment variables and rules to locate and load
files (from uSD card) in order to boot Linux.
Signed-off-by: Purna Chandra Mandal
---
Changes in v2: None
arch/mips/dts/pic32mzda.dtsi | 13 +
arch/mips/dts/pic32mzda_sk.dts | 7 +
configs/pic32mzdask_defconfig
This adds support for Microchip PIC32MZ[DA] Starter Kit board
based on a PIC32MZ[DA] family of microcontroller.
Signed-off-by: Purna Chandra Mandal
---
Changes in v2:
- move CONFIG_SYS_TEXT_BASE (from board/<>/config.mk) to
include/configs/.h
arch/mips/dts/Makefile
Signed-off-by: Purna Chandra Mandal
---
Changes in v2:
- drop unnecessary board_early_init_f()
- use LEAF(), END() macros for lowlevel_init
- move initialization of board_init_f() argument to common start.S
- move initdram() from board/microchip/ to mach-pic32/cpu.c
- remove MIPS virtual
Signed-off-by: Paul Thacker
Signed-off-by: Purna Chandra Mandal
---
Changes in v2:
- move ddr2 initialization from board/microchip/ to drivers/ddr/microchip
arch/mips/mach-pic32/include/mach/ddr.h | 32
drivers/Makefile| 1 +
drivers/ddr/microchip/Makefile
Signed-off-by: Paul Thacker
Signed-off-by: Purna Chandra Mandal
---
Changes in v2:
- fix missing or corrupted chars during baud rate change
- remove loop until any new char is available in _getc()
.../serial/microchip,pic32-uart.txt| 5 +
drivers/serial/Kconfig
Signed-off-by: Purna Chandra Mandal
---
Changes in v2:
- add routine to configure pin properties
drivers/pinctrl/Kconfig | 6 +
drivers/pinctrl/Makefile| 1 +
drivers/pinctrl/pinctrl_pic32.c | 284
3 files changed, 291 insertions
Signed-off-by: Purna Chandra Mandal
---
Changes in v2:
- add get clock rate for mpll clock
.../clock/microchip,pic32-clock.txt| 28 ++
drivers/clk/Makefile | 1 +
drivers/clk/clk-pic32.c| 427
Signed-off-by: Purna Chandra Mandal
---
Changes in v2:
- move PIC32 specific headers to arch/mips/mach-pic32/include/mach/
- define register-base as physical address in header file
- add trivial ioremap support to convert physical address to MIPS KSEG1 address
- drop
rochip PIC32 UART controller.
Purna Chandra Mandal (11):
MIPS: initial infrastructure for Microchip PIC32 architecture
drivers: clk: Add clock driver for Microchip PIC32 Microcontroller.
drivers: pinctrl: Add pinctrl driver for Microchip PIC32.
drivers: ddr: Add DDR2 SDRAM controller driv
2 UART controller.
Purna Chandra Mandal (11):
MIPS: initial infrastructure for Microchip PIC32 architecture
drivers: clk: Add clock driver for Microchip PIC32 Microcontroller.
drivers: pinctrl: Add pinctrl driver for Microchip PIC32.
drivers: ddr: Add DDR2 SDRAM controller driver for Microchip
On 12/17/2015 11:28 PM, Marek Vasut wrote:
> On Thursday, December 17, 2015 at 06:30:38 PM, Purna Chandra Mandal wrote:
> [...]
>
>> diff --git a/board/microchip/pic32mzda/config.mk
>> b/board/microchip/pic32mzda/config.mk new file mode 100644
>> index 000..a12e71
On 12/21/2015 10:31 PM, Daniel Schwierzeck wrote:
>
> Am 17.12.2015 um 18:28 schrieb Purna Chandra Mandal:
>> Signed-off-by: Purna Chandra Mandal
>> ---
>>
>> arch/mips/Kconfig| 5 ++
>> arch/mips/Makefile |
On 12/20/2015 04:49 AM, Daniel Schwierzeck wrote:
>
> Am 17.12.2015 um 18:28 schrieb Purna Chandra Mandal:
>> Signed-off-by: Purna Chandra Mandal
>> ---
>>
>> arch/mips/Kconfig| 5 ++
>> arch/mips/Makefile |
On 12/20/2015 05:25 AM, Daniel Schwierzeck wrote:
>
> Am 17.12.2015 um 18:30 schrieb Purna Chandra Mandal:
>> Signed-off-by: Purna Chandra Mandal
>> ---
>>
>> arch/mips/dts/pic32mzda.dtsi | 59 +++
>> arch/mips/include/asm/arch-pic3
On 12/20/2015 04:49 AM, Daniel Schwierzeck wrote:
>
> Am 17.12.2015 um 18:28 schrieb Purna Chandra Mandal:
>> Signed-off-by: Purna Chandra Mandal
>> ---
>>
>> arch/mips/Kconfig| 5 ++
>> arch/mips/Makefile |
On 12/20/2015 03:52 AM, Daniel Schwierzeck wrote:
>
> Am 17.12.2015 um 18:28 schrieb Purna Chandra Mandal:
>> Signed-off-by: Purna Chandra Mandal
> if you send patches from other people, you should not remove their
> Author or Signed-off-by. I already prepared a cleaned
On 12/17/2015 11:22 PM, Marek Vasut wrote:
> On Thursday, December 17, 2015 at 06:29:32 PM, Purna Chandra Mandal wrote:
>
> Hi!
>
> Minor nits below.
>
> btw do we expect MIPS to become maintained in U-Boot? That's nice :)
>
> [...]
>
>> diff --git a
On 12/17/2015 11:17 PM, Marek Vasut wrote:
> On Thursday, December 17, 2015 at 06:28:08 PM, Purna Chandra Mandal wrote:
>> Signed-off-by: Purna Chandra Mandal
>> ---
>>
>> arch/Kconfig | 1 +
>> arch/mips/config.mk | 3
Add custom environment variables and commands to help boot
from micro-SD card and/or from network (TFTP protocol).
Signed-off-by: Purna Chandra Mandal
---
include/configs/pic32mzdask.h | 43 +++
1 file changed, 43 insertions(+)
diff --git a/include
Add SDHCI and file system (FAT, EXT2, EXT4) support to enable
OS (Linux) boot from micro-SD card.
Signed-off-by: Purna Chandra Mandal
---
arch/mips/dts/pic32mzda.dtsi | 11 +++
arch/mips/dts/pic32mzda_sk.dts | 7 +++
configs/pic32mzdask_defconfig | 2 ++
include/configs
changes are available at [0].
[0] https://github.com/purna-mandal/u-boot/tree/pic32-upstream-v1
Cristian Birsan (1):
MIPS: pic32: Add driver for Microchip PIC32 internal flash controller.
Paul Thacker (1):
drivers: serial: add driver for Microchip PIC32 UART controller.
Purna Chandra Mandal (14
CardDetectTestLevel bit in SDHC HostControl register.
Signed-off-by: Sandeep Sheriker Mallikarjun
Signed-off-by: Purna Chandra Mandal
---
drivers/mmc/sdhci.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
index 02d71b9..f32fe67 100644
--- a
From: Andrei Pistirica
This driver implements platform specific glue and fix-ups for SDHCI host
controller.
Signed-off-by: Andrei Pistirica
Signed-off-by: Purna Chandra Mandal
---
drivers/mmc/Kconfig | 6 +++
drivers/mmc/Makefile | 2 +-
drivers/mmc/pic32_sdhci.c | 110
Add GPIO and network (DHCP. BOOTP, TFTP protocol) support.
Signed-off-by: Purna Chandra Mandal
---
arch/mips/dts/pic32mzda.dtsi | 92 ++
arch/mips/dts/pic32mzda_sk.dts | 5 +++
configs/pic32mzdask_defconfig | 9 +
include/configs/pic32mzdask.h
This driver implements MAC and MII layer of PIC32 ethernet controller.
This controller is capable of handling 100/10mbps full/half duplex
ethernet communication. Network data transfer is handled by internal DMA engine.
Signed-off-by: Purna Chandra Mandal
---
drivers/net/Kconfig | 7
PIC32 has ten independently programmable ports and each one with 16 pins.
These pins can be configured and used as GPIO, if they are not used by
any other peripherals.
Signed-off-by: Purna Chandra Mandal
---
drivers/gpio/Kconfig | 7 ++
drivers/gpio/Makefile | 2 +-
drivers/gpio
Add SMSC LAN8740 Phy support required for PIC32MZ[DA] devices.
Signed-off-by: Purna Chandra Mandal
---
drivers/net/phy/smsc.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c
index bfd9815..34986a2 100644
--- a/drivers/net/phy
With CONFIG_CMD_GPIO compilation reports error.
common/cmd_gpio.c:13:22: fatal error: asm/gpio.h: No such file or directory
#include
^
Signed-off-by: Purna Chandra Mandal
---
arch/mips/include/asm/gpio.h | 1 +
1 file changed, 1 insertion(+)
create mode 100644 arch
Add flash chip information and environment location (for environment in flash).
Signed-off-by: Purna Chandra Mandal
---
include/configs/pic32mzdask.h | 18 --
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/include/configs/pic32mzdask.h b/include/configs
This adds support for Microchip PIC32MZ[DA] Starter Kit board
based on a PIC32MZ[DA] family of microcontrollers.
Signed-off-by: Purna Chandra Mandal
---
arch/mips/dts/Makefile| 2 +-
arch/mips/dts/pic32mzda_sk.dts| 38
arch/mips/mach-pic32/Kconfig | 7
From: Cristian Birsan
Signed-off-by: Cristian Birsan
Signed-off-by: Purna Chandra Mandal
---
arch/mips/mach-pic32/Makefile | 5 +-
arch/mips/mach-pic32/flash.c | 471 ++
include/flash.h | 5 +-
3 files changed, 479 insertions(+), 2
Signed-off-by: Purna Chandra Mandal
---
arch/mips/dts/pic32mzda.dtsi | 59 +++
arch/mips/include/asm/arch-pic32/pic32.h | 3 +
arch/mips/mach-pic32/Kconfig | 16 +++-
arch/mips/mach-pic32/Makefile| 2 +-
arch/mips/mach-pic32/cpu.c
From: Paul Thacker
Signed-off-by: Paul Thacker
Signed-off-by: Purna Chandra Mandal
---
drivers/serial/Kconfig| 13 +++
drivers/serial/Makefile | 1 +
drivers/serial/serial_pic32.c | 220 ++
3 files changed, 234 insertions(+)
create
This driver implements basic clock modules found in PIC32MZ[DA]
family processors.
Signed-off-by: Purna Chandra Mandal
---
drivers/clk/Makefile| 1 +
drivers/clk/clk-pic32.c | 413
2 files changed, 414 insertions(+)
create mode 100644
Signed-off-by: Purna Chandra Mandal
---
drivers/pinctrl/Kconfig | 6 ++
drivers/pinctrl/Makefile| 1 +
drivers/pinctrl/pinctrl_pic32.c | 173
3 files changed, 180 insertions(+)
create mode 100644 drivers/pinctrl/pinctrl_pic32.c
Signed-off-by: Purna Chandra Mandal
---
arch/mips/Kconfig| 5 ++
arch/mips/Makefile | 1 +
arch/mips/include/asm/arch-pic32/clock.h | 31 +++
arch/mips/include/asm/arch-pic32/pic32.h | 145 +++
arch/mips/mach
Signed-off-by: Purna Chandra Mandal
---
arch/Kconfig | 1 +
arch/mips/config.mk | 3 +++
arch/mips/dts/.gitignore | 1 +
arch/mips/dts/Makefile| 16
arch/mips/dts/include/dt-bindings | 1 +
arch/mips/dts/skeleton.dtsi
This driver implements basic clock modules available in PIC32MZ[DA]
platforms.
Signed-off-by: Purna Chandra Mandal
---
drivers/clk/Makefile| 1 +
drivers/clk/clk-pic32.c | 413
2 files changed, 414 insertions(+)
create mode 100644 drivers
changes are available at [0].
[0] https://github.com/purna-mandal/u-boot/tree/pic32-upstream-v1
Cristian Birsan (1):
MIPS: pic32: Add driver for Microchip PIC32 internal flash controller.
Purna Chandra Mandal (11):
drivers: clk: Add clock driver for Microchip PIC32 Microcontroller.
MIPS: Add
101 - 153 of 153 matches
Mail list logo