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

2022-10-27 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 3/4] spi: Add Microchip PolarFire SoC QSPI driver

2022-10-27 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 2/4] riscv: dts: Add QSPI NAND device node

2022-10-27 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 1/4] riscv: dts: Update memory configuration

2022-10-27 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 0/4] Update Microchip PolarFire SoC

2022-10-27 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 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 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 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 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 0/4] Update Microchip PolarFire SoC

2022-10-21 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 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 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 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 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 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

Re: [PATCH v1 4/5] net: macb: Compatible as per device tree

2021-11-12 Thread Padmarao Begari
Hi Bin, On Fri, Nov 12, 2021 at 6:58 AM Bin Meng wrote: > On Thu, Nov 11, 2021 at 9:17 PM wrote: > > > > > I agree with Bin here. You shouldn't introduce a new compatible just > for > > > u-boot. If you need one, please to it first in linux and get an ACK > there. > > > Or at least there

Re: [PATCH v1 4/5] net: macb: Compatible as per device tree

2021-11-11 Thread Padmarao Begari
Hi Bin, On Thu, Nov 11, 2021 at 1:37 PM Bin Meng wrote: > Hi Padmarao, > > On Thu, Nov 11, 2021 at 2:11 PM wrote: > > > > Hi Bin, > > > > > > > > Do we need to upstream Linux kernel bindings for Microchip MACB > compatible if there is no change in Linux MACB driver? > > > > Are the Linux

Re: [PATCH v1 4/5] net: macb: Compatible as per device tree

2021-11-03 Thread Padmarao Begari
Hi Bin, On Wed, Nov 3, 2021 at 5:17 PM Padmarao Begari wrote: > Hi Bin, > > On Tue, Nov 2, 2021 at 6:16 PM Bin Meng wrote: > >> Hi Padmarao, >> >> On Tue, Nov 2, 2021 at 7:03 PM Padmarao Begari >> wrote: >> > >> > Hi Bin, &g

Re: [PATCH v1 4/5] net: macb: Compatible as per device tree

2021-11-03 Thread Padmarao Begari
Hi Bin, On Tue, Nov 2, 2021 at 6:16 PM Bin Meng wrote: > Hi Padmarao, > > On Tue, Nov 2, 2021 at 7:03 PM Padmarao Begari > wrote: > > > > Hi Bin, > > > > On Mon, Nov 1, 2021 at 2:15 PM Bin Meng wrote: > >> > >> On Fri, Oct 22, 2021 at 4:5

Re: [PATCH v1 5/5] doc: board: Update Microchip MPFS Icicle Kit doc

2021-11-02 Thread Padmarao Begari
Hi Bin, On Mon, Nov 1, 2021 at 2:16 PM Bin Meng wrote: > On Fri, Oct 22, 2021 at 4:58 PM Padmarao Begari > wrote: > > > > UART1 uses for U-BOOT and Linux console instead of UART0 and > > nits: s/U-BOOT/U-Boot > > ok > > UART0 is reserved for Hart Softwa

Re: [PATCH v1 4/5] net: macb: Compatible as per device tree

2021-11-02 Thread Padmarao Begari
Hi Bin, On Mon, Nov 1, 2021 at 2:15 PM Bin Meng wrote: > On Fri, Oct 22, 2021 at 4:58 PM Padmarao Begari > wrote: > > > > Update compatible as per Microchip PolarFire SoC ethernet > > device node. > > > > Signed-off-by: Padmarao Begari > > ---

Re: [PATCH v1 2/5] riscv: Update Microchip MPFS Icicle Kit support

2021-11-02 Thread Padmarao Begari
On Mon, Nov 1, 2021 at 2:13 PM Bin Meng wrote: > On Fri, Oct 22, 2021 at 4:58 PM Padmarao Begari > wrote: > > > > This patch updates Microchip MPFS Icicle Kit support. For now, > > add Microchip I2C driver, set environment variables for > > mac addesses

Re: [PATCH v1 1/5] riscv: dts: Split Microchip device tree

2021-11-02 Thread Padmarao Begari
Hi Bin, On Mon, Nov 1, 2021 at 2:11 PM Bin Meng wrote: > Hi Padmarao, > > On Fri, Oct 22, 2021 at 4:58 PM Padmarao Begari > wrote: > > > > The device tree split into .dtsi and .dts files, common > > device node for eMMC/SD, enable I2C1, UART1 for console > &

[PATCH v1 3/5] i2c: Add Microchip PolarFire SoC I2C driver

2021-10-22 Thread Padmarao Begari
Add I2C driver code for the Microchip PolarFire SoC. This driver supports I2C data transfer and probe for I2C slave addresses. Signed-off-by: Padmarao Begari --- drivers/i2c/Kconfig | 6 + drivers/i2c/Makefile| 1 + drivers/i2c/i2c-microchip.c | 482

[PATCH v1 1/5] riscv: dts: Split Microchip device tree

2021-10-22 Thread Padmarao Begari
The device tree split into .dtsi and .dts files, common device node for eMMC/SD, enable I2C1, UART1 for console instead of UART0, enable the DDR 2GB memory and in that 288MB memory is reserved for fabric buffer. Signed-off-by: Padmarao Begari --- arch/riscv/dts/microchip-mpfs-icicle-kit.dts

[PATCH v1 4/5] net: macb: Compatible as per device tree

2021-10-22 Thread Padmarao Begari
Update compatible as per Microchip PolarFire SoC ethernet device node. Signed-off-by: Padmarao Begari --- drivers/net/macb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 8c6461e717..1b867bd5c2 100644 --- a/drivers/net/macb.c

[PATCH v1 2/5] riscv: Update Microchip MPFS Icicle Kit support

2021-10-22 Thread Padmarao Begari
This patch updates Microchip MPFS Icicle Kit support. For now, add Microchip I2C driver, set environment variables for mac addesses and default build for SBI_V02. Signed-off-by: Padmarao Begari --- board/microchip/mpfs_icicle/Kconfig | 5 + board/microchip/mpfs_icicle/mpfs_icicle.c

[PATCH v1 5/5] doc: board: Update Microchip MPFS Icicle Kit doc

2021-10-22 Thread Padmarao Begari
UART1 uses for U-BOOT and Linux console instead of UART0 and UART0 is reserved for Hart Software Services(HSS). Signed-off-by: Padmarao Begari --- doc/board/microchip/mpfs_icicle.rst | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/board/microchip

[PATCH v1 0/5] Update Microchip PolarFire SoC support

2021-10-22 Thread Padmarao Begari
instead of UART0, UART0 is reserved for Hart Software Services, common device node for eMMC/SD, add Microchip I2C driver and default build for SBI_V02. Padmarao Begari (5): riscv: dts: Split Microchip device tree riscv: Update Microchip MPFS Icicle Kit support i2c: Add Microchip PolarFire SoC

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

2021-04-06 Thread Padmarao Begari
;okay"; > }; > @@ -316,7 +313,6 @@ > reg-shift = <2>; > interrupt-parent = <>; > interrupts = <93>; > - clock-frequency = <15000>; > clocks = < CLK_MMUART3>; > status = "okay"; > }; > -- > 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 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] 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] 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

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

[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

[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 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 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 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 0/7] Microchip PolarFire SoC support

2021-01-14 Thread Padmarao Begari
s 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: Add DMA 64-bit address suppor

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

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

[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

[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 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 0/7] Microchip PolarFire SoC support

2021-01-12 Thread Padmarao Begari
r 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 Microchip PolarFire

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

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

[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 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 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 0/7] Microchip PolarFire SoC support

2020-12-22 Thread Padmarao Begari
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: Add DM

[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

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

[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 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 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 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 0/7] Microchip PolarFire SoC support

2020-12-14 Thread Padmarao Begari
_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 Microc

[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

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

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

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 drive

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 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 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 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(陳建志); >

[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

[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 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 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 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 0/7] Microchip PolarFire SoC support

2020-12-02 Thread Padmarao Begari
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 SoC clock d

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

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

[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

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

  1   2   >