Re: [PATCH v6 4/7] clk: Add Microchip PolarFire SoC clock driver

2020-12-20 Thread Padmarao Begari
Hi Simon, On Sat, Dec 19, 2020 at 7:58 AM Simon Glass wrote: > Hi Padmarao, > > On Mon, 14 Dec 2020 at 04:09, Padmarao Begari > wrote: > > > > Add clock driver code for the Microchip PolarFire SoC. This driver > > handles reset and clock control of the

[PATCH v7 1/7] riscv: Add DMA 64-bit address support

2020-12-22 Thread Padmarao Begari
dma_addr_t holds any valid DMA address. If the DMA API only uses 32/64-bit addresses, dma_addr_t need only be 32/64 bits wide. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng --- arch/riscv/Kconfig | 4 arch/riscv/include/asm/types.h | 4 2

[PATCH v7 0/7] Microchip PolarFire SoC support

2020-12-22 Thread Padmarao Begari
Update doc for the U-Boot logs are on UART0 - Move clock and reset index source into patch4 - Remove "dma_addr_r" type in the macb driver - Add lower_32_bits() for 32-bit address in the macb driver - Add set_rate() returns the new clock rate in the clock driver Padmarao Begari (7): ris

[PATCH v7 2/7] net: macb: Add DMA 64-bit address support for macb

2020-12-22 Thread Padmarao Begari
not 32-bit So 64-bit DMA is enabled for the Microchip PolarFire SoC GEM. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Tested-by: Bin Meng --- drivers/net/macb.c | 131 +++-- drivers/net/macb.h | 6 +++ 2 files changed, 120 insertions(+), 17

[PATCH v7 4/7] clk: Add Microchip PolarFire SoC clock driver

2020-12-22 Thread Padmarao Begari
Add clock driver code for the Microchip PolarFire SoC. This driver handles reset and clock control of the Microchip PolarFire SoC device. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Tested-by: Bin Meng --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile

[PATCH v7 3/7] net: macb: Add phy address to read it from device tree

2020-12-22 Thread Padmarao Begari
Read phy address from device tree and use it to find the phy device if not found then search in the range of 0 to 31. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng Tested-by: Bin Meng --- drivers/net/macb.c | 13 + 1 file changed, 13 insertions

[PATCH v7 6/7] riscv: Add Microchip MPFS Icicle Kit support

2020-12-22 Thread Padmarao Begari
+ OpenSBI. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng Tested-by: Bin Meng --- board/microchip/mpfs_icicle/Kconfig | 23 ++ board/microchip/mpfs_icicle/mpfs_icicle.c | 99 ++- configs/microchip_mpfs_icicle_defconfig | 9 ++- include

[PATCH v7 7/7] doc: board: Add Microchip MPFS Icicle Kit doc

2020-12-22 Thread Padmarao Begari
This doc describes the procedure to build, flash and boot Linux using U-boot on Microchip MPFS Icicle Kit. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng --- doc/board/index.rst | 1 + doc/board/microchip/index.rst | 9 + doc/board

[PATCH v7 5/7] riscv: dts: Add device tree for Microchip Icicle Kit

2020-12-22 Thread Padmarao Begari
Add device tree for Microchip PolarFire SoC Icicle Kit. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng --- arch/riscv/dts/Makefile | 1 + .../dts/microchip-mpfs-icicle-kit-u-boot.dtsi | 14 + arch/riscv/dts/microchip-mpfs-icicle-kit.dts

Re: [PATCH v7 7/7] doc: board: Add Microchip MPFS Icicle Kit doc

2021-01-10 Thread Padmarao Begari
Hi Rick, On Mon, Jan 11, 2021 at 8:26 AM Rick Chen wrote: > Hi Padmarao > > > From: Padmarao Begari [mailto:padmarao.beg...@microchip.com] > > Sent: Tuesday, December 22, 2020 9:12 PM > > To: u-boot@lists.denx.de; bmeng...@gmail.com; Rick Jian-Zhi Chen(陳建志); >

[PATCH v8 3/7] net: macb: Add phy address to read it from device tree

2021-01-12 Thread Padmarao Begari
Read phy address from device tree and use it to find the phy device if not found then search in the range of 0 to 31. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng Tested-by: Bin Meng --- drivers/net/macb.c | 13 + 1 file changed, 13 insertions

[PATCH v8 2/7] net: macb: Add DMA 64-bit address support for macb

2021-01-12 Thread Padmarao Begari
not 32-bit So 64-bit DMA is enabled for the Microchip PolarFire SoC GEM. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Tested-by: Bin Meng --- drivers/net/macb.c | 131 +++-- drivers/net/macb.h | 6 +++ 2 files changed, 120 insertions(+), 17

[PATCH v8 1/7] riscv: Add DMA 64-bit address support

2021-01-12 Thread Padmarao Begari
dma_addr_t holds any valid DMA address. If the DMA API only uses 32/64-bit addresses, dma_addr_t need only be 32/64 bits wide. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng Reviewed-by: Rick Chen --- arch/riscv/Kconfig | 4 arch/riscv/include

[PATCH v8 0/7] Microchip PolarFire SoC support

2021-01-12 Thread Padmarao Begari
r - Add lower_32_bits() for 32-bit address in the macb driver - Add set_rate() returns the new clock rate in the clock driver Padmarao Begari (7): riscv: Add DMA 64-bit address support net: macb: Add DMA 64-bit address support for macb net: macb: Add phy address to read it from device tree

[PATCH v8 4/7] clk: Add Microchip PolarFire SoC clock driver

2021-01-12 Thread Padmarao Begari
Add clock driver code for the Microchip PolarFire SoC. This driver handles reset and clock control of the Microchip PolarFire SoC device. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Tested-by: Bin Meng --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile

[PATCH v8 5/7] riscv: dts: Add device tree for Microchip Icicle Kit

2021-01-12 Thread Padmarao Begari
Add device tree for Microchip PolarFire SoC Icicle Kit. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng --- arch/riscv/dts/Makefile | 1 + .../dts/microchip-mpfs-icicle-kit-u-boot.dtsi | 14 + arch/riscv/dts/microchip-mpfs-icicle-kit.dts

[PATCH v8 6/7] riscv: Add Microchip MPFS Icicle Kit support

2021-01-12 Thread Padmarao Begari
+ OpenSBI. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng Tested-by: Bin Meng --- board/microchip/mpfs_icicle/Kconfig | 23 ++ board/microchip/mpfs_icicle/mpfs_icicle.c | 99 ++- configs/microchip_mpfs_icicle_defconfig | 9 ++- include

[PATCH v8 7/7] doc: board: Add Microchip MPFS Icicle Kit doc

2021-01-12 Thread Padmarao Begari
This doc describes the procedure to build, flash and boot Linux using U-boot on Microchip MPFS Icicle Kit. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng --- doc/board/index.rst | 1 + doc/board/microchip/index.rst | 9 + doc/board

Re: Pull request: u-boot-riscv/master

2021-01-14 Thread Padmarao Begari
Hi Tom, On Thu, Jan 14, 2021 at 1:31 AM Tom Rini wrote: > On Wed, Jan 13, 2021 at 01:34:55PM +0800, ub...@andestech.com wrote: > > > Hi Tom, > > > > Please pull some riscv updates: > > > > - Update qemu-riscv.rst build instructions. > > - Add support for SPI on Kendryte K210. > > - Add Microchip

Re: [PATCH 1/6] net: macb: use dummy descriptor for RBQP

2021-01-14 Thread Padmarao Begari
Hi Eugen, On Thu, Jan 14, 2021 at 4:50 PM wrote: > On 17.12.2020 07:22, Padmarao Begari - I30397 wrote: > > Hi Eugen, > > > > This series of patches break my side of work(patches) so you need to > > create patches after my patches are going into master branch because

[PATCH v9 0/7] Microchip PolarFire SoC support

2021-01-14 Thread Padmarao Begari
te doc for the U-Boot logs are on UART0 - Move clock and reset index source into patch4 - Remove "dma_addr_r" type in the macb driver - Add lower_32_bits() for 32-bit address in the macb driver - Add set_rate() returns the new clock rate in the clock driver Padmarao Begari (7): riscv:

[PATCH v9 5/7] riscv: dts: Add device tree for Microchip Icicle Kit

2021-01-14 Thread Padmarao Begari
Add device tree for Microchip PolarFire SoC Icicle Kit. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng --- arch/riscv/dts/Makefile | 1 + .../dts/microchip-mpfs-icicle-kit-u-boot.dtsi | 14 + arch/riscv/dts/microchip-mpfs-icicle-kit.dts

[PATCH v9 3/7] net: macb: Add phy address to read it from device tree

2021-01-14 Thread Padmarao Begari
Read phy address from device tree and use it to find the phy device if not found then search in the range of 0 to 31. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng Tested-by: Bin Meng --- drivers/net/macb.c | 13 + 1 file changed, 13 insertions

[PATCH v9 2/7] net: macb: Add DMA 64-bit address support for macb

2021-01-14 Thread Padmarao Begari
not 32-bit So 64-bit DMA is enabled for the Microchip PolarFire SoC GEM. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Tested-by: Bin Meng --- drivers/net/macb.c | 131 +++-- drivers/net/macb.h | 6 +++ 2 files changed, 120 insertions(+), 17

[PATCH v9 4/7] clk: Add Microchip PolarFire SoC clock driver

2021-01-14 Thread Padmarao Begari
Add clock driver code for the Microchip PolarFire SoC. This driver handles reset and clock control of the Microchip PolarFire SoC device. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Tested-by: Bin Meng --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile

[PATCH v9 1/7] riscv: Add DMA 64-bit address support

2021-01-14 Thread Padmarao Begari
dma_addr_t holds any valid DMA address. If the DMA API only uses 32/64-bit addresses, dma_addr_t need only be 32/64 bits wide. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng Reviewed-by: Rick Chen --- arch/riscv/Kconfig | 4 arch/riscv/include

[PATCH v9 7/7] doc: board: Add Microchip MPFS Icicle Kit doc

2021-01-14 Thread Padmarao Begari
This doc describes the procedure to build, flash and boot Linux using U-boot on Microchip MPFS Icicle Kit. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng --- doc/board/index.rst | 1 + doc/board/microchip/index.rst | 9 + doc/board

[PATCH v9 6/7] riscv: Add Microchip MPFS Icicle Kit support

2021-01-14 Thread Padmarao Begari
+ OpenSBI. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng Tested-by: Bin Meng --- board/microchip/mpfs_icicle/Kconfig | 23 ++ board/microchip/mpfs_icicle/mpfs_icicle.c | 99 ++- configs/microchip_mpfs_icicle_defconfig | 9 ++- include

Re: [PATCH 1/6] net: macb: use dummy descriptor for RBQP

2021-01-15 Thread Padmarao Begari
Hi Eugen, On Fri, Jan 15, 2021 at 1:34 PM wrote: > On 15.01.2021 06:02, Padmarao Begari wrote: > > Hi Eugen, > > > > On Thu, Jan 14, 2021 at 4:50 PM > <mailto:eugen.hris...@microchip.com>> wrote: > > > > On 17.12.2020 07:22, Padmar

Re: [PATCH] doc: icicle: Fix incorrect board name in HSS docs

2021-03-15 Thread Padmarao Begari
Hi Sean, On Thu, Mar 11, 2021 at 7:18 AM Sean Anderson wrote: > The HSS source uses an "mpfs" prefix with the icicle board name. Change our > documentation to match. > Signed-off-by: Sean Anderson > --- > > doc/board/microchip/mpfs_icicle.rst | 6 +++--- > 1 file changed, 3 insertions(+), 3 de

Re: [PATCH] doc: icicle: Fix incorrect board name in HSS docs

2021-03-15 Thread Padmarao Begari
Hi Sean, On Tue, Mar 16, 2021 at 9:52 AM Sean Anderson wrote: > On 3/16/21 12:05 AM, Padmarao Begari wrote: > > Hi Sean, > > > > On Thu, Mar 11, 2021 at 7:18 AM Sean Anderson <mailto:sean...@gmail.com>> wrote: > > > > The HSS source uses a

Re: [PATCH 1/3] riscv: mpfs-icicle-kit: Increase SYS_MALLOC_F_LEN

2021-04-06 Thread Padmarao Begari
+++ b/configs/microchip_mpfs_icicle_defconfig > @@ -1,4 +1,5 @@ > CONFIG_RISCV=y > +CONFIG_SYS_MALLOC_F_LEN=0x2000 > CONFIG_ENV_SIZE=0x2000 > CONFIG_DEFAULT_DEVICE_TREE="microchip-mpfs-icicle-kit" > CONFIG_TARGET_MICROCHIP_ICICLE=y > -- > 2.25.1 > > Reviewed-by: Padmarao Begari Tested-by: Padmarao Begari

Re: [PATCH 2/3] clk: mpfs_clk: Enable DM_FLAG_PRE_RELOC flag

2021-04-06 Thread Padmarao Begari
; .probe = mpfs_clk_probe, > .priv_auto = sizeof(struct clk), > + .flags = DM_FLAG_PRE_RELOC, > }; > -- > 2.25.1 > > Reviewed-by: Padmarao Begari Tested-by: Padmarao Begari

Re: [PATCH 3/3] riscv: dts: mpfs-icicle-kit: Drop 'clock-frequency' in the uart nodes

2021-04-06 Thread Padmarao Begari
fg CLK_MMUART2>; > status = "okay"; > }; > @@ -316,7 +313,6 @@ > reg-shift = <2>; > interrupt-parent = <&plic>; > interrupts = <93>; > - clock-frequency = <15000>; > clocks = <&clkcfg CLK_MMUART3>; > status = "okay"; > }; > -- > 2.25.1 > > Reviewed-by: Padmarao Begari Tested-by: Padmarao Begari

[PATCH 0/4] Update Microchip PolarFire SoC

2022-10-19 Thread Padmarao Begari
FPGA reference design and a small 4MB reservation is made at the end of 32-bit DDR to provide some memory for the HSS to use, add Microchip QSPI driver. Padmarao Begari (4): riscv: dts: update memory configuration riscv: dts: Add QSPI NAND device node riscv: Update Microchip MPFS Icicle Kit

[PATCH 1/4] riscv: dts: update memory configuration

2022-10-19 Thread Padmarao Begari
context. Signed-off-by: Padmarao Begari Signed-off-by: Conor Dooley --- arch/riscv/dts/microchip-mpfs-icicle-kit.dts | 70 1 file changed, 14 insertions(+), 56 deletions(-) diff --git a/arch/riscv/dts/microchip-mpfs-icicle-kit.dts b/arch/riscv/dts/microchip-mpfs-icicle

[PATCH 2/4] riscv: dts: Add QSPI NAND device node

2022-10-19 Thread Padmarao Begari
Add QSPI NAND device node to the Microchip PolarFire SoC Icicle kit device tree Signed-off-by: Padmarao Begari --- arch/riscv/dts/microchip-mpfs-icicle-kit.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/riscv/dts/microchip-mpfs-icicle-kit.dts b/arch/riscv/dts

[PATCH 3/4] riscv: Update Microchip MPFS Icicle Kit support

2022-10-19 Thread Padmarao Begari
This patch updates Microchip MPFS Icicle Kit support. For now, add Microchip QSPI driver and a small 4MB reservation is made at the end of 32-bit DDR to provide some memory for the HSS to use. Signed-off-by: Padmarao Begari --- board/microchip/mpfs_icicle/Kconfig | 7 +++ configs

[PATCH 4/4] spi: Add Microchip PolarFire SoC QSPI driver

2022-10-19 Thread Padmarao Begari
Add QSPI driver code for the Microchip PolarFire SoC. This driver supports the qspi standard, dual and quad mode interfaces. Signed-off-by: Padmarao Begari Signed-off-by: Naga Sureshkumar Relli --- drivers/spi/Kconfig | 6 + drivers/spi/Makefile | 1 + drivers/spi

[PATCH v2 0/4] Update Microchip PolarFire SoC

2022-10-20 Thread Padmarao Begari
with microchip-coreqspi - Add microchip,coreqspi-rtl-v2 to the compatible list - Use MICROCHIP_COREQSPI instead of MICROCHIP_QSPI in kconfig Padmarao Begari (4): riscv: dts: Update memory configuration riscv: dts: Add QSPI NAND device node spi: Add Microchip PolarFire SoC QSPI driver riscv

[PATCH v2 1/4] riscv: dts: Update memory configuration

2022-10-21 Thread Padmarao Begari
context. Co-developed-by: Conor Dooley Signed-off-by: Conor Dooley Signed-off-by: Padmarao Begari Reviewed-by: Conor Dooley --- arch/riscv/dts/microchip-mpfs-icicle-kit.dts | 70 1 file changed, 14 insertions(+), 56 deletions(-) diff --git a/arch/riscv/dts/microchip-mpfs

[PATCH v2 2/4] riscv: dts: Add QSPI NAND device node

2022-10-21 Thread Padmarao Begari
Add QSPI NAND device node to the Microchip PolarFire SoC Icicle kit device tree. The Winbond NAND flash memory can be connected to the Icicle Kit by using the Mikroe Flash 5 click board and the Pi 3 Click shield. Signed-off-by: Padmarao Begari --- arch/riscv/dts/microchip-mpfs-icicle-kit.dts

[PATCH v2 3/4] spi: Add Microchip PolarFire SoC QSPI driver

2022-10-21 Thread Padmarao Begari
Add QSPI driver code for the Microchip PolarFire SoC. This driver supports the QSPI standard, dual and quad mode interfaces. Co-developed-by: Naga Sureshkumar Relli Signed-off-by: Naga Sureshkumar Relli Signed-off-by: Padmarao Begari --- drivers/spi/Kconfig | 6 + drivers/spi

[PATCH v2 4/4] riscv: Update Microchip MPFS Icicle Kit support

2022-10-21 Thread Padmarao Begari
This patch updates Microchip MPFS Icicle Kit support. For now, add Microchip QSPI driver and a small 4MB reservation is made at the end of 32-bit DDR to provide some memory for the HSS to use. Signed-off-by: Padmarao Begari Reviewed-by: Conor Dooley --- board/microchip/mpfs_icicle/Kconfig

[PATCH v3 0/4] Update Microchip PolarFire SoC

2022-10-26 Thread Padmarao Begari
: - Add Co-developed-by with patch - Replace spi-nand with flash in device node - Add board details for QSPI NAND - Rename QSPI driver file with microchip-coreqspi - Add microchip,coreqspi-rtl-v2 to the compatible list - Use MICROCHIP_COREQSPI instead of MICROCHIP_QSPI in kconfig Padmarao Begari (4

[PATCH v3 1/4] riscv: dts: Update memory configuration

2022-10-26 Thread Padmarao Begari
. Co-developed-by: Conor Dooley Signed-off-by: Conor Dooley Signed-off-by: Padmarao Begari Reviewed-by: Conor Dooley --- arch/riscv/dts/microchip-mpfs-icicle-kit.dts | 75 +--- 1 file changed, 17 insertions(+), 58 deletions(-) diff --git a/arch/riscv/dts/microchip-mpfs-icicle

[PATCH v3 2/4] riscv: dts: Add QSPI NAND device node

2022-10-26 Thread Padmarao Begari
Add QSPI NAND device node to the Microchip PolarFire SoC Icicle kit device tree. The Winbond NAND flash memory can be connected to the Icicle Kit by using the Mikroe Flash 5 click board and the Pi 3 Click shield. Signed-off-by: Padmarao Begari Reviewed-by: Conor Dooley --- arch/riscv/dts

[PATCH v3 3/4] spi: Add Microchip PolarFire SoC QSPI driver

2022-10-26 Thread Padmarao Begari
Add QSPI driver code for the Microchip PolarFire SoC. This driver supports the QSPI standard, dual and quad mode interfaces. Co-developed-by: Naga Sureshkumar Relli Signed-off-by: Naga Sureshkumar Relli Signed-off-by: Padmarao Begari Reviewed-by: Conor Dooley --- drivers/spi/Kconfig

[PATCH v3 4/4] riscv: Update Microchip MPFS Icicle Kit support

2022-10-26 Thread Padmarao Begari
This patch updates Microchip MPFS Icicle Kit support. For now, add Microchip QSPI driver and a small 4MB reservation is made at the end of 32-bit DDR to provide some memory for the HSS to use. Signed-off-by: Padmarao Begari Reviewed-by: Conor Dooley --- board/microchip/mpfs_icicle/Kconfig

Re: [PATCH v3 5/7] riscv: dts: Add device tree for Microchip Icicle Kit

2020-11-18 Thread Padmarao Begari
> On 17-Nov-2020, at 7:46 AM, Bin Meng wrote: > > On Tue, Nov 10, 2020 at 6:46 PM Padmarao Begari > wrote: >> >> Add device tree for Microchip PolarFire SoC Icicle Kit. >> >> Signed-off-by: Padmarao Begari >> Reviewed-by: Anu

Re: [PATCH v3 2/7] net: macb: Add DMA 64-bit address support for macb

2020-11-25 Thread Padmarao Begari
ONFIG_DMA_ADDR_T_64BIT. Regards Padmarao On Sun, Nov 15, 2020 at 5:40 PM Anup Patel wrote: > On Tue, Nov 10, 2020 at 4:16 PM Padmarao Begari > wrote: > > > > Enable 32-bit or 64-bit DMA in the macb driver based on the design > > config debug6 register of MACB hardware which sup

Re: [PATCH v3 2/7] net: macb: Add DMA 64-bit address support for macb

2020-11-25 Thread Padmarao Begari
Hi Anup, On Thu, Nov 26, 2020 at 11:08 AM Anup Patel wrote: > On Thu, Nov 26, 2020 at 10:33 AM Padmarao Begari > wrote: > > > > Hi Anup > > > > I have tested the MACB driver patch with the SiFive unleashed board and > it's not working because of the GEM_D

[PATCH v4 0/7] Microchip PolarFire SoC support

2020-11-27 Thread Padmarao Begari
ew clock rate in the clock driver Padmarao Begari (7): riscv: Add DMA 64-bit address support net: macb: Add DMA 64-bit address support for macb net: macb: Add phy address to read it from device tree clk: Add Microchip PolarFire SoC clock driver riscv: dts: Add device tree for Microchip Ici

[PATCH v4 1/7] riscv: Add DMA 64-bit address support

2020-11-27 Thread Padmarao Begari
dma_addr_t holds any valid DMA address. If the DMA API only uses 32/64-bit addresses, dma_addr_t need only be 32/64 bits wide. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- arch/riscv/Kconfig | 4 arch/riscv/include/asm/types.h | 4 2 files changed, 8

[PATCH v4 2/7] net: macb: Add DMA 64-bit address support for macb

2020-11-27 Thread Padmarao Begari
Enable 32-bit or 64-bit DMA in the macb driver based on the macb compatible string of the device tree node. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- drivers/net/macb.c | 131 +++-- drivers/net/macb.h | 6 +++ 2 files changed, 120

[PATCH v4 4/7] clk: Add Microchip PolarFire SoC clock driver

2020-11-27 Thread Padmarao Begari
Add clock driver code for the Microchip PolarFire SoC. This driver handles reset and clock control of the Microchip PolarFire SoC device. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile

[PATCH v4 5/7] riscv: dts: Add device tree for Microchip Icicle Kit

2020-11-27 Thread Padmarao Begari
Add device tree for Microchip PolarFire SoC Icicle Kit. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- arch/riscv/dts/Makefile | 1 + .../dts/microchip-mpfs-icicle-kit-u-boot.dtsi | 14 + arch/riscv/dts/microchip-mpfs-icicle-kit.dts | 421

[PATCH v4 3/7] net: macb: Add phy address to read it from device tree

2020-11-27 Thread Padmarao Begari
Read phy address from device tree and use it to find the phy device if not found then search in the range of 0 to 31. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- drivers/net/macb.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/net/macb.c b/drivers

[PATCH v4 6/7] riscv: Add Microchip MPFS Icicle Kit support

2020-11-27 Thread Padmarao Begari
+ OpenSBI. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- board/microchip/mpfs_icicle/Kconfig | 24 ++ board/microchip/mpfs_icicle/mpfs_icicle.c | 97 ++- configs/microchip_mpfs_icicle_defconfig | 9 ++- include/configs/microchip_mpfs_icicle.h | 60

[PATCH v4 7/7] doc: board: Add Microchip MPFS Icicle Kit doc

2020-11-27 Thread Padmarao Begari
This doc describes the procedure to build, flash and boot Linux using U-boot on Microchip MPFS Icicle Kit. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- doc/board/index.rst | 1 + doc/board/microchip/index.rst | 9 + doc/board/microchip/mpfs_icicle.rst

Re: [PATCH v4 5/7] riscv: dts: Add device tree for Microchip Icicle Kit

2020-12-01 Thread Padmarao Begari
Hi Bin, On Fri, Nov 27, 2020 at 7:13 PM Bin Meng wrote: > Hi Padmarao, > > On Fri, Nov 27, 2020 at 8:18 PM Padmarao Begari > wrote: > > > > Add device tree for Microchip PolarFire SoC Icicle Kit. > > > > Signed-off-by: Padmarao Begari > > Reviewed-b

Re: [PATCH v4 5/7] riscv: dts: Add device tree for Microchip Icicle Kit

2020-12-01 Thread Padmarao Begari
Hi Cyril, On Fri, Nov 27, 2020 at 9:45 PM wrote: > On 11/27/20 1:43 PM, Bin Meng wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know > the content is safe > > > > Hi Padmarao, > > > > On Fri, Nov 27, 2020 at 8:18 PM Padmarao Beg

Re: [PATCH v4 0/7] Microchip PolarFire SoC support

2020-12-01 Thread Padmarao Begari
Hi Cyril, On Fri, Nov 27, 2020 at 9:47 PM wrote: > Hi Padmarao, > > On 11/27/20 12:04 PM, Padmarao Begari wrote: > > This patch set adds Microchip PolarFire SoC Icicle Kit support > > to RISC-V U-Boot. > > > > The patches are based upon latest U-Boot tree >

Re: [PATCH v4 7/7] doc: board: Add Microchip MPFS Icicle Kit doc

2020-12-01 Thread Padmarao Begari
Hi Cyril, On Fri, Nov 27, 2020 at 10:05 PM wrote: > Hi Padmarao, > > On 11/27/20 12:04 PM, Padmarao Begari wrote: > > This doc describes the procedure to build, flash and > > boot Linux using U-boot on Microchip MPFS Icicle Kit. > > > > Signed-off-by: Padma

[PATCH v5 0/7] Microchip PolarFire SoC support

2020-12-02 Thread Padmarao Begari
address in the macb driver - Add set_rate() returns the new clock rate in the clock driver Padmarao Begari (7): riscv: Add DMA 64-bit address support net: macb: Add DMA 64-bit address support for macb net: macb: Add phy address to read it from device tree clk: Add Microchip PolarFire S

[PATCH v5 1/7] riscv: Add DMA 64-bit address support

2020-12-02 Thread Padmarao Begari
dma_addr_t holds any valid DMA address. If the DMA API only uses 32/64-bit addresses, dma_addr_t need only be 32/64 bits wide. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- arch/riscv/Kconfig | 4 arch/riscv/include/asm/types.h | 4 2 files changed, 8

[PATCH v5 4/7] clk: Add Microchip PolarFire SoC clock driver

2020-12-02 Thread Padmarao Begari
Add clock driver code for the Microchip PolarFire SoC. This driver handles reset and clock control of the Microchip PolarFire SoC device. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile

[PATCH v5 2/7] net: macb: Add DMA 64-bit address support for macb

2020-12-02 Thread Padmarao Begari
Enable 32-bit or 64-bit DMA in the macb driver based on the macb compatible string of the device tree node. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- drivers/net/macb.c | 131 +++-- drivers/net/macb.h | 6 +++ 2 files changed, 120

[PATCH v5 3/7] net: macb: Add phy address to read it from device tree

2020-12-02 Thread Padmarao Begari
Read phy address from device tree and use it to find the phy device if not found then search in the range of 0 to 31. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- drivers/net/macb.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/net/macb.c b/drivers

[PATCH v5 6/7] riscv: Add Microchip MPFS Icicle Kit support

2020-12-02 Thread Padmarao Begari
+ OpenSBI. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- board/microchip/mpfs_icicle/Kconfig | 24 ++ board/microchip/mpfs_icicle/mpfs_icicle.c | 97 ++- configs/microchip_mpfs_icicle_defconfig | 9 ++- include/configs/microchip_mpfs_icicle.h | 60

[PATCH v5 5/7] riscv: dts: Add device tree for Microchip Icicle Kit

2020-12-02 Thread Padmarao Begari
Add device tree for Microchip PolarFire SoC Icicle Kit. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- arch/riscv/dts/Makefile | 1 + .../dts/microchip-mpfs-icicle-kit-u-boot.dtsi | 14 + arch/riscv/dts/microchip-mpfs-icicle-kit.dts | 421

[PATCH v5 7/7] doc: board: Add Microchip MPFS Icicle Kit doc

2020-12-02 Thread Padmarao Begari
This doc describes the procedure to build, flash and boot Linux using U-boot on Microchip MPFS Icicle Kit. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- doc/board/index.rst | 1 + doc/board/microchip/index.rst | 9 + doc/board/microchip/mpfs_icicle.rst

Re: [PATCH v5 0/7] Microchip PolarFire SoC support

2020-12-09 Thread Padmarao Begari
Hi Rick, On Thu, Dec 10, 2020 at 8:33 AM Rick Chen wrote: > Hi Padmarao > > > From: Padmarao Begari [mailto:padmarao.beg...@microchip.com] > > Sent: Thursday, December 03, 2020 4:32 AM > > To: u-boot@lists.denx.de; bmeng...@gmail.com; Rick Jian-Zhi Chen(陳建志); >

Re: [PATCH v5 7/7] doc: board: Add Microchip MPFS Icicle Kit doc

2020-12-10 Thread Padmarao Begari
Hi Bin, On Thu, Dec 10, 2020 at 12:08 PM Bin Meng wrote: > Hi Padmarao, > > On Thu, Dec 3, 2020 at 4:44 AM Padmarao Begari > wrote: > > > > This doc describes the procedure to build, flash and > > boot Linux using U-boot on Microchip MPFS Icicle Kit. > >

Re: [PATCH v5 5/7] riscv: dts: Add device tree for Microchip Icicle Kit

2020-12-10 Thread Padmarao Begari
Hi Bin, On Thu, Dec 10, 2020 at 6:48 PM Bin Meng wrote: > Hi Padmarao, > > On Thu, Dec 3, 2020 at 4:44 AM Padmarao Begari > wrote: > > > > Add device tree for Microchip PolarFire SoC Icicle Kit. > > > > Signed-off-by: Padmarao Begari > > Reviewed-b

Re: [PATCH v5 6/7] riscv: Add Microchip MPFS Icicle Kit support

2020-12-10 Thread Padmarao Begari
Hi Bin, On Thu, Dec 10, 2020 at 3:54 PM Bin Meng wrote: > Hi Padmarao, > > On Thu, Dec 3, 2020 at 4:44 AM Padmarao Begari > wrote: > > > > This patch adds Microchip MPFS Icicle Kit support. For now, only > > NS16550 Serial, Microchip clock, Cadence eMMC and MAC

Re: [PATCH v5 4/7] clk: Add Microchip PolarFire SoC clock driver

2020-12-10 Thread Padmarao Begari
Hi Bin, On Thu, Dec 10, 2020 at 4:25 PM Bin Meng wrote: > On Thu, Dec 10, 2020 at 6:04 PM Bin Meng wrote: > > > > On Thu, Dec 3, 2020 at 4:44 AM Padmarao Begari > > wrote: > > > > > > Add clock driver code for the Microchip PolarFire SoC. This driver &

Re: [PATCH v5 1/7] riscv: Add DMA 64-bit address support

2020-12-10 Thread Padmarao Begari
Hi Bin, On Thu, Dec 10, 2020 at 4:11 PM Bin Meng wrote: > Hi Padmarao, > > On Thu, Dec 3, 2020 at 4:43 AM Padmarao Begari > wrote: > > > > dma_addr_t holds any valid DMA address. If the DMA API only uses > 32/64-bit > > addresses, dma_addr_t need only be 32/64

Re: [PATCH v5 1/7] riscv: Add DMA 64-bit address support

2020-12-11 Thread Padmarao Begari
Hi Bin, On Fri, Dec 11, 2020 at 1:22 PM Bin Meng wrote: > Hi Padmarao, > > On Fri, Dec 11, 2020 at 3:10 PM Padmarao Begari > wrote: > > > > Hi Bin, > > > > On Thu, Dec 10, 2020 at 4:11 PM Bin Meng wrote: > >> > >> Hi Padmarao, &g

Re: [PATCH v5 5/7] riscv: dts: Add device tree for Microchip Icicle Kit

2020-12-11 Thread Padmarao Begari
Hi Bin, On Fri, Dec 11, 2020 at 1:31 PM Bin Meng wrote: > Hi Padmarao, > > On Thu, Dec 3, 2020 at 4:44 AM Padmarao Begari > wrote: > > > > Add device tree for Microchip PolarFire SoC Icicle Kit. > > > > Signed-off-by: Padmarao Begari > > Reviewed

Re: [PATCH v5 2/7] net: macb: Add DMA 64-bit address support for macb

2020-12-11 Thread Padmarao Begari
Hi Bin, On Thu, Dec 10, 2020 at 4:08 PM Bin Meng wrote: > Hi Padmarao, > > On Thu, Dec 10, 2020 at 6:33 PM Bin Meng wrote: > > > > Hi Padmarao, > > > > On Thu, Dec 3, 2020 at 4:44 AM Padmarao Begari > > wrote: > > > > > > Enable

Re: [PATCH v5 2/7] net: macb: Add DMA 64-bit address support for macb

2020-12-11 Thread Padmarao Begari
Hi Bin, On Thu, Dec 10, 2020 at 4:08 PM Bin Meng wrote: > Hi Padmarao, > > On Thu, Dec 10, 2020 at 6:33 PM Bin Meng wrote: > > > > Hi Padmarao, > > > > On Thu, Dec 3, 2020 at 4:44 AM Padmarao Begari > > wrote: > > > > > > Enable

Re: [PATCH v5 5/7] riscv: dts: Add device tree for Microchip Icicle Kit

2020-12-11 Thread Padmarao Begari
Hi Bin, On Fri, Dec 11, 2020 at 2:55 PM Bin Meng wrote: > Hi Padmarao, > > On Fri, Dec 11, 2020 at 4:32 PM Padmarao Begari > wrote: > > > > Hi Bin, > > > > On Fri, Dec 11, 2020 at 1:31 PM Bin Meng wrote: > >> > >> Hi Padmarao, &g

Re: [PATCH v5 2/7] net: macb: Add DMA 64-bit address support for macb

2020-12-11 Thread Padmarao Begari
Hi Bin, On Fri, Dec 11, 2020 at 2:59 PM Bin Meng wrote: > Hi Padmarao, > > On Fri, Dec 11, 2020 at 4:49 PM Padmarao Begari > wrote: > > > > Hi Bin, > > > > On Thu, Dec 10, 2020 at 4:08 PM Bin Meng wrote: > >> > >> Hi Padmarao, >

Re: [PATCH v5 1/7] riscv: Add DMA 64-bit address support

2020-12-11 Thread Padmarao Begari
Hi Bin, On Fri, Dec 11, 2020 at 2:57 PM Bin Meng wrote: > HI Padmarao, > > On Fri, Dec 11, 2020 at 4:23 PM Padmarao Begari > wrote: > > > > Hi Bin, > > > > On Fri, Dec 11, 2020 at 1:22 PM Bin Meng wrote: > >> > >> Hi Padmarao, > >>

[PATCH v6 1/7] riscv: Add DMA 64-bit address support

2020-12-14 Thread Padmarao Begari
dma_addr_t holds any valid DMA address. If the DMA API only uses 32/64-bit addresses, dma_addr_t need only be 32/64 bits wide. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- arch/riscv/Kconfig | 4 arch/riscv/include/asm/types.h | 4 2 files changed, 8

[PATCH v6 0/7] Microchip PolarFire SoC support

2020-12-14 Thread Padmarao Begari
d lower_32_bits() for 32-bit address in the macb driver - Add set_rate() returns the new clock rate in the clock driver Padmarao Begari (7): riscv: Add DMA 64-bit address support net: macb: Add DMA 64-bit address support for macb net: macb: Add phy address to read it from device tree clk: Add

[PATCH v6 2/7] net: macb: Add DMA 64-bit address support for macb

2020-12-14 Thread Padmarao Begari
not 32-bit So 64-bit DMA is enabled for the Microchip PolarFire SoC GEM. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- drivers/net/macb.c | 131 +++-- drivers/net/macb.h | 6 +++ 2 files changed, 120 insertions(+), 17 deletions(-) diff --git

[PATCH v6 3/7] net: macb: Add phy address to read it from device tree

2020-12-14 Thread Padmarao Begari
Read phy address from device tree and use it to find the phy device if not found then search in the range of 0 to 31. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng Tested-by: Bin Meng --- drivers/net/macb.c | 13 + 1 file changed, 13 insertions

[PATCH v6 4/7] clk: Add Microchip PolarFire SoC clock driver

2020-12-14 Thread Padmarao Begari
Add clock driver code for the Microchip PolarFire SoC. This driver handles reset and clock control of the Microchip PolarFire SoC device. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile

[PATCH v6 5/7] riscv: dts: Add device tree for Microchip Icicle Kit

2020-12-14 Thread Padmarao Begari
Add device tree for Microchip PolarFire SoC Icicle Kit. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel Reviewed-by: Bin Meng --- arch/riscv/dts/Makefile | 1 + .../dts/microchip-mpfs-icicle-kit-u-boot.dtsi | 14 + arch/riscv/dts/microchip-mpfs-icicle-kit.dts

[PATCH v6 6/7] riscv: Add Microchip MPFS Icicle Kit support

2020-12-14 Thread Padmarao Begari
+ OpenSBI. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- board/microchip/mpfs_icicle/Kconfig | 23 ++ board/microchip/mpfs_icicle/mpfs_icicle.c | 99 ++- configs/microchip_mpfs_icicle_defconfig | 9 ++- include/configs/microchip_mpfs_icicle.h | 60

[PATCH v6 7/7] doc: board: Add Microchip MPFS Icicle Kit doc

2020-12-14 Thread Padmarao Begari
This doc describes the procedure to build, flash and boot Linux using U-boot on Microchip MPFS Icicle Kit. Signed-off-by: Padmarao Begari Reviewed-by: Anup Patel --- doc/board/index.rst | 1 + doc/board/microchip/index.rst | 9 + doc/board/microchip/mpfs_icicle.rst

[U-Boot] [PATCH] riscv:Add Microchip MPFS Icicle Board support

2019-04-17 Thread Padmarao Begari
This patch adds Microchip MPFS Icicle Board support. For now, NS16550 serial driver is only enabled. The Microchip MPFS Icicle defconfig by default builds U-Boot for M-Mode with SMP support. Signed-off-by: Padmarao Begari --- arch/riscv/Kconfig| 4 ++ board/microchip

Re: [U-Boot] [PATCH] riscv:Add Microchip MPFS Icicle Board support

2019-04-23 Thread Padmarao Begari
Hi Bin, On Tue, Apr 23, 2019 at 6:42 PM Bin Meng wrote: > Hi Padmarao, > > On Thu, Apr 18, 2019 at 2:21 AM Padmarao Begari > wrote: > > > > This patch adds Microchip MPFS Icicle Board support. > > nits: Board->board. Please fix the commit message too. > Ok

[U-Boot] [PATCH v2] riscv:Add Microchip MPFS Icicle board support

2019-05-02 Thread Padmarao Begari
This patch adds Microchip MPFS Icicle board support. For now, NS16550 serial driver is only enabled. The Microchip MPFS Icicle defconfig by default builds U-Boot for M-Mode with SMP support. Signed-off-by: Padmarao Begari Changes in v2 - Fix some typos - Rename target board to

Re: [U-Boot] [PATCH v3 00/11] SMP support for RISC-V

2019-03-22 Thread Padmarao Begari
I think, the boot flow explained above is supported the sifive fu540 board default boot mode. if we want to select debug mode, then, does this patches work with the u-boot to TFTP booting(dhcp, bootp) in debug mode? Regards Padmarao On Fri, Mar 22, 2019 at 4:47 AM Atish Patra wrote: > On 3/21/1

Re: [U-Boot] [PATCH v2] riscv:Add Microchip MPFS Icicle board support

2019-05-09 Thread Padmarao Begari
Hi Bin, On Wed, May 8, 2019 at 7:20 PM Bin Meng wrote: > Hi Padmarao, > > On Thu, May 2, 2019 at 2:28 PM Padmarao Begari > wrote: > > > > This patch adds Microchip MPFS Icicle board support. > > For now, NS16550 serial driver is only enabled. > > The Microc

[U-Boot] [PATCH v3] riscv: Add Microchip MPFS Icicle board support

2019-05-13 Thread Padmarao Begari
This patch adds Microchip MPFS Icicle board support. For now, NS16550 serial driver is only enabled. The Microchip MPFS Icicle defconfig by default builds U-Boot for M-Mode with SMP support. Signed-off-by: Padmarao Begari --- Changes in v3 - Fix some typos - Remove CONFIG_DM, CONFIG_DM_SERIAL

Re: [U-Boot] [PATCH v3] riscv: Add Microchip MPFS Icicle board support

2019-05-26 Thread Padmarao Begari
Hi Lukas, On Mon, May 20, 2019 at 5:33 PM Auer, Lukas wrote: > Hi Padmarao, > > On Mon, 2019-05-13 at 16:18 +0530, Padmarao Begari wrote: > > This patch adds Microchip MPFS Icicle board support. > > For now, NS16550 serial driver is only enabled. > > The Microch

  1   2   >