Re: [U-Boot] [PATCH] Davinci: Utility for MMC boot

2012-06-27 Thread Lad, Prabhakar
Hi Wolfgang, On Wed, Jun 27, 2012 at 03:12:07, Wolfgang Denk wrote: Dear Prabhakar Lad, In message 1340708826-26707-1-git-send-email-prabhakar@ti.com you wrote: From: Alagu Sankar alagusan...@embwise.com This is a Linux command line tool specific to TI's Davinci platforms, for

Re: [U-Boot] Board-specific commands unintentionally linked into SPL?

2012-07-27 Thread Lad, Prabhakar
Hi Tyler/Christian, On Fri, Jul 27, 2012 at 00:24:20, Tyler Olmstead wrote: Hi Christian, On Thu, Jul 26, 2012 at 10:03 AM, Christian Riesch christian.rie...@omicron.at wrote: [cc'd Prabhakar Lad, Tom Rini, and Scott Wood] Tyler, On Thu, Jul 26, 2012 at 5:37 PM, Tyler Olmstead

Re: [U-Boot] [PATCH 1/7] da850/omap-l138: Add MMC support for DA850/OMAP-L138

2012-06-06 Thread Lad, Prabhakar
Hi Tom, On Tue, Jun 05, 2012 at 03:58:03, Rini, Tom wrote: On Fri, Jun 01, 2012 at 08:00:43PM +0530, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com This patch adds support for MMC/SD on DA850/OMAP-L138. [snip] +/* SD/MMC */ +#define CONFIG_MMC +#define

Re: [U-Boot] [PATCH] da850/omap-l138: Enable auto negotiation in RMII mode

2012-06-06 Thread Lad, Prabhakar
negotiation in RMII mode. Without this patch, EMAC initialization takes more time and sometimes tftp fails in RMII mode. Signed-off-by: Rajashekhara, Sudhakar sudhakar@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Hadli, Manjunath manjunath.ha...@ti.com

Re: [U-Boot] [PATCH 7/7] da850/omap-l138: add support for direct NOR boot mode

2012-06-06 Thread Lad, Prabhakar
Hi Tom, On Tue, Jun 05, 2012 at 04:02:01, Rini, Tom wrote: On Fri, Jun 01, 2012 at 08:00:49PM +0530, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com This patch adds support for direct NOR boot mode on da850/omap-l138. Define the CONFIG_DIRECT_NOR_BOOT macro along

Re: [U-Boot] [PATCH 1/7] da850/omap-l138: Add MMC support for DA850/OMAP-L138

2012-06-06 Thread Lad, Prabhakar
Hi Christian, On Tue, Jun 05, 2012 at 15:33:07, Christian Riesch wrote: Hi, On Fri, Jun 1, 2012 at 4:30 PM, Prabhakar Lad prabhakar@ti.com wrote: From: Lad, Prabhakar prabhakar@ti.com This patch adds support for MMC/SD on DA850/OMAP-L138. Signed-off-by: Lad, Prabhakar

Re: [U-Boot] [PATCH] da850/omap-l138: enable SPI flash in RMII mode

2012-06-06 Thread Lad, Prabhakar
Hi Christian, On Tue, Jun 05, 2012 at 15:38:53, Christian Riesch wrote: Hi, On Fri, Jun 1, 2012 at 3:48 PM, Prabhakar Lad prabhakar@ti.com wrote: From: Rajashekhara, Sudhakar sudhakar@ti.com According to DA850/OMAP-L138 schematics, GP2[6] line has to be driven high for RMII

Re: [U-Boot] [PATCH 6/7] da850/omap-l138: Add support for NAND SPL

2012-06-06 Thread Lad, Prabhakar
Hi Christian, On Tue, Jun 05, 2012 at 16:56:01, Christian Riesch wrote: Hi, On Fri, Jun 1, 2012 at 4:30 PM, Prabhakar Lad prabhakar@ti.com wrote: From: Lad, Prabhakar prabhakar@ti.com This patch adds support for NAND SPL on DA850/OMAP-L138. Signed-off-by: Lad, Prabhakar

Re: [U-Boot] [PATCH] da850/omap-l138: Enable auto negotiation in RMII mode

2012-06-06 Thread Lad, Prabhakar
Hi Christian, On Tue, Jun 05, 2012 at 17:04:13, Christian Riesch wrote: Hi, On Fri, Jun 1, 2012 at 3:34 PM, Prabhakar Lad prabhakar@ti.com wrote: From: Rajashekhara, Sudhakar sudhakar@ti.com On DA850/OMAP-L138 it was observed that in RMII mode, auto negotiation

Re: [U-Boot] [PATCH] da850/omap-l138: Enable auto negotiation in RMII mode

2012-06-07 Thread Lad, Prabhakar
Hi Eric, On Wed, Jun 06, 2012 at 22:47:46, Eric Bénard wrote: Hi Prabhakar, Le Fri, 1 Jun 2012 19:04:37 +0530, Prabhakar Lad prabhakar@ti.com a écrit : From: Rajashekhara, Sudhakar sudhakar@ti.com On DA850/OMAP-L138 it was observed that in RMII mode, auto negotiation

Re: [U-Boot] [PATCH v2 3/7] da850/omap-l138: Add support to read u-boot image from MMC/SD

2012-06-18 Thread Lad, Prabhakar
Hi Christian, On Tue, Jun 19, 2012 at 01:09:08, Christian Riesch wrote: Hi, Sorry for the delay, had a lot of other work to do :-/ On Thursday, June 7, 2012, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com javascript:; DA850/OMAP-L138 does

Re: [U-Boot] [PATCH v2 3/7] da850/omap-l138: Add support to read u-boot image from MMC/SD

2012-06-20 Thread Lad, Prabhakar
Hi Christian, On Wed, Jun 20, 2012 at 14:50:41, Christian Riesch wrote: Hi Prabhakar, On Tue, Jun 19, 2012 at 7:06 AM, Lad, Prabhakar prabhakar@ti.com wrote: Hi Christian, On Tue, Jun 19, 2012 at 01:09:08, Christian Riesch wrote: Hi, Sorry for the delay, had a lot of other work

[U-Boot] [PATCH] include/mmc.h: Remove declaration for spl_mmc_load()

2013-12-02 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com The spl_mmc_load() was removed while converting to CONFIG_SPL_FRAMEWORK usage the definition was removed but the declaration was missed. This patch removes this declaration. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- include

Re: [U-Boot] [PATCH 0/3] ARM: remove non-generic boards.

2015-04-09 Thread Lad, Prabhakar
Hi Masahiro, On Wed, Apr 8, 2015 at 10:15 AM, Masahiro Yamada yamada.masah...@socionext.com wrote: In spite of several times alerts, there are still many boards left unconverted. This series removes some of non-generic (=unmaitained) boards. If there is a problem with this series, please

Re: [U-Boot] TI8148 EVM

2015-10-22 Thread Lad, Prabhakar
Hi Tom, Thanks for the quick reply. On Thu, Oct 22, 2015 at 12:22 PM, Tom Rini <tr...@konsulko.com> wrote: > On Thu, Oct 22, 2015 at 12:12:32PM +0100, Lad, Prabhakar wrote: > >> Copy the MLO and u-boot.bin to SD card boot partition which is >> bootable, I see no prints c

[U-Boot] TI8148 EVM

2015-10-22 Thread Lad, Prabhakar
Hi Tom, I was trying the latest master branch for ti8148 evm to boot from SD card, following are the steps which I followed: 1: make ARCH=arm CROSS_COMPILE=arm-cortex_a8-linux-gnueabi- clean distclean 2: make ARCH=arm CROSS_COMPILE=arm-cortex_a8-linux-gnueabi- ti814x_evm_config 3: make ARCH=arm

[U-Boot] [PATCH] spi: zynq_spi: Fix infinite looping while xfer

2016-06-23 Thread Lad, Prabhakar
During spi transfer, for example: sspi 1:1.0 8 ff the rx_len values will be: rx_len = 0 rx_len = 4294967295 This caused a busy looping during xfer, this patch fixes it by adding a check while reading the rx fifo Signed-off-by: Lad, Prabhakar <prabhakar@racelogic.co.uk> Cc: Michal

[U-Boot] sspi on xilinx

2016-05-10 Thread Lad, Prabhakar
Hi Jagannadha, I am working on the zynq board, we have spi0 connected to flash chip, which works fine. The spi1 is connected to display we want to use sspi command to power up the display. I have enabled, the CONFIG_SPI command, but when I use the sspi command I get tx timeouts. Cheers,

[U-Boot] spidev in FDT

2016-05-12 Thread Lad, Prabhakar
Hello, I have a display connected to spi-1, there is no driver for display, we want to use sspi commands to program the display. since there isnt any device node to spi-1 connected and when issued with sspi commands it returns with invalid device 1:0 Cheers, --Prabhakar Lad

Re: [U-Boot] Adding SPI slave devices To DM

2016-05-14 Thread Lad, Prabhakar
Hi Simon, On Sat, May 14, 2016 at 8:34 PM, Simon Glass <s...@chromium.org> wrote: > Hi, > > On 13 May 2016 at 10:58, Lad, Prabhakar <prabhakar.cse...@gmail.com> wrote: >> >> Hello All, >> >> It's quite a long time, since I touched u-boot code, I was

[U-Boot] Adding SPI slave devices To DM

2016-05-13 Thread Lad, Prabhakar
Hello All, It's quite a long time, since I touched u-boot code, I was working on adding a slave SPI device to DM, can anyone point me to a sample driver. Cheers, --Prabhakar Lad ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH v2] spi: zynq_spi: Fix infinite looping while xfer

2016-07-30 Thread Lad Prabhakar
From: "Lad, Prabhakar" <prabhakar.cse...@gmail.com> During spi transfer, for example: sspi 1:1.0 8 ff the rx_len values will be: rx_len = 0 rx_len = 4294967295 This caused a busy looping during xfer, this patch fixes it by adding a check while reading the rx fifo Signed-off-by

Re: [U-Boot] [PATCH] spi: zynq_spi: Fix infinite looping while xfer

2016-07-21 Thread Lad, Prabhakar
On Thu, Jul 21, 2016 at 7:58 AM, Jagan Teki <jagannadh.t...@gmail.com> wrote: > On 23 June 2016 at 19:28, Lad, Prabhakar <prabhakar.cse...@gmail.com> wrote: >> During spi transfer, for example: >> sspi 1:1.0 8 ff >> >> the rx_len values will be: >&g

Re: [U-Boot] [PATCH] spi: zynq_spi: Fix infinite looping while xfer

2016-07-19 Thread Lad, Prabhakar
On Thu, Jun 23, 2016 at 2:58 PM, Lad, Prabhakar <prabhakar.cse...@gmail.com> wrote: > During spi transfer, for example: > sspi 1:1.0 8 ff > > the rx_len values will be: > rx_len = 0 > rx_len = 4294967295 > > This caused a busy looping during xfer, this patch fixe

Re: [U-Boot] [PATCH] spi: zynq_spi: Fix infinite looping while xfer

2016-07-23 Thread Lad, Prabhakar
On Sat, Jul 23, 2016 at 5:19 PM, Jagan Teki <jagannadh.t...@gmail.com> wrote: > > On 23 June 2016 at 19:28, Lad, Prabhakar <prabhakar.cse...@gmail.com> wrote: > > During spi transfer, for example: > > sspi 1:1.0 8 ff > > > > the rx_len values will

Re: [PATCH 0/3] pinctrl: renesas: trivial fixes and enhancements

2020-10-16 Thread Lad, Prabhakar
On Wed, Sep 23, 2020 at 11:27 AM Lad Prabhakar wrote: > > Hi All, > > This patch series includes trivial fixes and enhancements to > renesas pfc driver. > > Cheers, > Prabhakar > > Lad Prabhakar (3): > pinctrl: renesas: Drop unused members from struct sh_pfc_p

[PATCH 2/3] arm: dts: r8a774c0: Import DTS from Linux 5.9

2020-10-16 Thread Lad Prabhakar
Import R8A774C0 (RZ/G2E) SoC DTSI and headers from Linux 5.9 commit bbf5c979011a ("Linux 5.9"). Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- arch/arm/dts/r8a774c0.dtsi| 1960 + include/dt-bindings/clock/r8a774c0-cpg-mssr.h | 61 +

[PATCH 0/3] Renesas R8A774C0 import DTSI and clocks

2020-10-16 Thread Lad Prabhakar
Hi All, This patch series imports DTSI and clocks from Linux 5.9 for R8A774C0 (RZ/G2E) SoC. This series applies on top of [1]. [1] https://github.com/marex/u-boot-sh/tree/next Cheers, Prabhakar Lad Prabhakar (3): arm: renesas: Add config option for R8A774C0 SoC arm: dts: r8a774c0: Import

[PATCH 1/3] arm: renesas: Add config option for R8A774C0 SoC

2020-10-16 Thread Lad Prabhakar
Add config support for RZ/G2E (a.k.a R8A774C0) SoC. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- arch/arm/mach-rmobile/Kconfig.64 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-rmobile/Kconfig.64 b/arch/arm/mach-rmobile/Kconfig.64 index 59cb072096..b80505db26

[PATCH 3/3] clk: renesas: Import R8A774C0 clock tables from Linux 5.9

2020-10-16 Thread Lad Prabhakar
Import RZ/G2E (R8A774C0) clock tables from Linux 5.9 commit bbf5c979011a ("Linux 5.9"). Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- arch/arm/mach-rmobile/Kconfig.64| 1 + drivers/clk/renesas/Kconfig | 6 + drivers/clk/renesas/Makefile

[PATCH v2] cmd: fat: Use do_save() for fatwrite

2020-10-20 Thread Lad Prabhakar
do_save() function defined in fs.c also supports FAT file system re-use the same for fatwrite command. Also fix the FAT test script to match the expected output. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- v1->v2 * Fixed FAT test scripts * Sandbox test results: 655 passed,

[PATCH v3] pinctrl: renesas: pfc-r8a77990: Sync PFC tables with Linux 5.9

2020-10-14 Thread Lad Prabhakar
Sync the R8A77990 SoC PFC tables with Linux 5.9 , commit bbf5c979011a. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- v2->v3 * Synced with Linux 5.9 instead of 5.8. * Updated commit message. v1->v2 * Updated commit message * Synced with Linux 5.8 instead of 5.9.rc4 v1:

Re: [PATCH] mtd: spi-nor-ids: Add Winbond W25M512JV flash entry

2020-10-14 Thread Lad, Prabhakar
On Thu, Sep 17, 2020 at 3:50 PM Lad Prabhakar wrote: > > Add Winbond W25M512JV flash device description. > > Linux already has the flash entry present. A snippet below: > { "w25m512jv", INFO(0xef7119, 0, 64 * 1024, 1024...}, > > Signed-off-by: Lad Pra

[PATCH v2] i2c: rcar_i2c: Fix i2c read/write errors

2020-09-30 Thread Lad Prabhakar
d set to 1 and rcar_i2c_write_common() called rcar_i2c_set_addr() with read set 0. Fixes: 7c8f821e ("i2c: rcar_i2c: Set the slave address from rcar_i2c_xfer") Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- v1->v2 * Incorporated suggestion from Heiko v1: https://patchwork.ozlabs.

Re: [PATCH v2] i2c: rcar_i2c: Fix i2c read/write errors

2020-09-30 Thread Lad, Prabhakar
Hi Marek, Thank you for the review. On Wed, Sep 30, 2020 at 10:57 AM Marek Vasut wrote: > > On 9/30/20 11:16 AM, Lad Prabhakar wrote: > [...] > > diff --git a/drivers/i2c/rcar_i2c.c b/drivers/i2c/rcar_i2c.c > > index 4267bbfa5a..e76201df6b 100644 > > --- a/drive

Re: [PATCH] Revert "i2c: rcar_i2c: Set the slave address from rcar_i2c_xfer"

2020-09-30 Thread Lad, Prabhakar
Hi Heiko, Thank you for the review. On Wed, Sep 30, 2020 at 8:18 AM Heiko Schocher wrote: > > Hello Lad, > > Am 21.09.2020 um 18:33 schrieb Lad Prabhakar: > > This reverts commit 7c8f821e ("i2c: rcar_i2c: Set the > > slave address from rcar_i2c_xfer"), as it bl

[PATCH v3] i2c: rcar_i2c: Fix i2c read/write errors

2020-09-30 Thread Lad Prabhakar
d set to 1 and rcar_i2c_write_common() called rcar_i2c_set_addr() with read set 0. Fixes: 7c8f821e ("i2c: rcar_i2c: Set the slave address from rcar_i2c_xfer") Signed-off-by: Lad Prabhakar --- v2->v3 * Made sure value of read is ether 0/1 as pointed by Marek v1->v2 * Incorporated suggest

[PATCH] usb: xhci-rcar: Add support for R8A774A1 SoC

2020-09-21 Thread Lad Prabhakar
The R8A774A1 is compatible with the generic rcar-gen3-xhci controller. This patch adds the compatibility flag, to support the xHCI controller. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/usb/host/xhci-rcar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb

[PATCH] Revert "i2c: rcar_i2c: Set the slave address from rcar_i2c_xfer"

2020-09-21 Thread Lad Prabhakar
d set to 1 and rcar_i2c_write_common() called rcar_i2c_set_addr() with read set 0. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/i2c/rcar_i2c.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/rcar_i2c.c b/drivers/i2c/rcar_i2c.c index

[PATCH v2] pinctrl: renesas: pfc-r8a77990: Sync PFC tables with Linux 5.8

2020-09-17 Thread Lad Prabhakar
Sync the R8A77990 SoC PFC tables with Linux 5.8 , commit bcf876870b95. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- v1->v2 * Updated commit message * Synced with Linux 5.8 instead of 5.9.rc4 --- drivers/pinctrl/renesas/pfc-r8a77990.c | 57 ++ 1 file chan

[PATCH] cmd: fat: Use do_save() for fatwrite

2020-09-29 Thread Lad Prabhakar
do_save() function defined in fs.c also supports FAT file system re-use the same for fatwrite command. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- cmd/fat.c | 43 +-- 1 file changed, 1 insertion(+), 42 deletions(-) diff --git a/cmd/fat.c b

[PATCH] spi: renesas_rpc_spi: Return -ENOTSUPP if bitlen cannot be handled during xfer

2020-09-23 Thread Lad Prabhakar
Return -ENOTSUPP if bitlen cannot be handled by the controller during xfer. This fixes board reset when sspi command is hit with no arguments where bitlen is passed as 0. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/spi/renesas_rpc_spi.c | 2 +- 1 file changed, 1 insertion

[PATCH 3/3] pinctrl: renesas: Implement get_pin_muxing() callback

2020-09-23 Thread Lad Prabhakar
Implement get_pin_muxing() callback so that pinmux status command can be used on Renesas platforms. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/pinctrl/renesas/pfc.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/pinctrl/renesas

[PATCH 0/3] pinctrl: renesas: trivial fixes and enhancements

2020-09-23 Thread Lad Prabhakar
Hi All, This patch series includes trivial fixes and enhancements to renesas pfc driver. Cheers, Prabhakar Lad Prabhakar (3): pinctrl: renesas: Drop unused members from struct sh_pfc_pinctrl pinctrl: renesas: Make sure the pin type is updated after setting the MUX pinctrl: renesas

[PATCH 1/3] pinctrl: renesas: Drop unused members from struct sh_pfc_pinctrl

2020-09-23 Thread Lad Prabhakar
Drop unused members from struct sh_pfc_pinctrl. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/pinctrl/renesas/pfc.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc.c b/drivers/pinctrl/renesas/pfc.c index f79dc411d8..6cccd33c40 100644

[PATCH 2/3] pinctrl: renesas: Make sure the pin type is updated after setting the MUX

2020-09-23 Thread Lad Prabhakar
Update pin type after every successful call to sh_pfc_config_mux(). This fixes pin functionality from being overwritten. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/pinctrl/renesas/pfc.c | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git

[PATCH] mtd: spi-nor-ids: Add Winbond W25M512JV flash entry

2020-09-17 Thread Lad Prabhakar
Add Winbond W25M512JV flash device description. Linux already has the flash entry present. A snippet below: { "w25m512jv", INFO(0xef7119, 0, 64 * 1024, 1024...}, Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/mtd/spi/spi-nor-ids.c | 1 + 1 file changed, 1 insertio

[PATCH] board: renesas: ebisu: Drop CA57 check in reset_cpu()

2020-09-17 Thread Lad Prabhakar
Renesas Ebisu board is based on R-Car E3 SoC which has dual CA53 and a CR7. This patch drops check for cputype from reset_cpu() and also drops the corresponding CA57 macros. While at it also dropped RST_RSTOUTCR macro which is unused. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das

[PATCH] pinctrl: renesas: pfc-r8a77990: Import PFC table

2020-09-17 Thread Lad Prabhakar
Sync the R8A77990 SoC PFC with mainline linux 5.9-rc4 commit f4d51dffc6c0 ("Linux 5.9-rc4") Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/pinctrl/renesas/pfc-r8a77990.c | 57 ++ 1 file changed, 30 insertions(+), 27 deletions(-) diff --git

[PATCH v4 2/2] pinctrl: renesas: Implement get_pin_muxing() callback

2020-11-28 Thread Lad Prabhakar
Implement get_pin_muxing() callback so that pinmux status command can be used on Renesas platforms. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/pinctrl/renesas/pfc.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/pinctrl/renesas/pfc.c

[PATCH v4 1/2] pinctrl: renesas: Make sure the pin type is updated after setting the MUX

2020-11-28 Thread Lad Prabhakar
early with success in this case as the pin is already muxed. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/pinctrl/renesas/pfc.c | 52 +++ 1 file changed, 47 insertions(+), 5 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc.c b/drivers/pinctrl

[PATCH v4 0/2] pinctrl: renesas: trivial fixes and enhancements

2020-11-28 Thread Lad Prabhakar
atch 2/2 unchanged v1->v2 * Patch 1/2 updated commit message * Patch 2/2 unchanged Lad Prabhakar (2): pinctrl: renesas: Make sure the pin type is updated after setting the MUX pinctrl: renesas: Implement get_pin_muxing() callback drivers/pinctrl/renesas/p

[PATCH v2] ARM: dts: renesas: Remove leading 0x from rpc node

2020-11-29 Thread Lad Prabhakar
Remove the leading "0x" from rpc node to fix the below dtc warning: Warning (simple_bus_reg): Node /soc/rpc@0xee20 simple-bus unit address format error, expected "ee20" Signed-off-by: Lad Prabhakar --- Squashed the changes into single patch. --- arch/arm/dts

Re: [PATCH 4/8] M: dts: r8a77950-u-boot: Remove leading 0x from rpc node

2020-11-29 Thread Lad, Prabhakar
Hi Marek, Thank you for the review. On Sun, Nov 29, 2020 at 1:06 PM Marek Vasut wrote: > > On 11/18/20 12:32 PM, Prabhakar Mahadev Lad wrote: > > [...] > > >> Subject: [PATCH 4/8] M: dts: r8a77950-u-boot: Remove leading 0x from rpc > >> node > >> > > I missed the typo in the subject s/M/ARM

[PATCH 3/8] ARM: dts: 8a77980-u-boot: Remove leading 0x from rpc node

2020-11-18 Thread Lad Prabhakar
Remove the leading "0x" from rpc node to fix the below dtc warning: Warning (simple_bus_reg): Node /soc/rpc@0xee20 simple-bus unit address format error, expected "ee20" Signed-off-by: Lad Prabhakar --- arch/arm/dts/r8a77980-u-boot.dtsi | 2 +- 1 file changed, 1 inse

[PATCH 0/8] Renesas drop leading 0x from rpc nodes

2020-11-18 Thread Lad Prabhakar
Hi All, This patch series drops leading 0x from rpc nodes. Cheers, Prabhakar Lad Prabhakar (8): ARM: dts: r8a77965-u-boot: Remove leading 0x from rpc node ARM: dts: r8a77990-u-boot: Remove leading 0x from rpc node ARM: dts: 8a77980-u-boot: Remove leading 0x from rpc node M: dts

[PATCH 4/8] M: dts: r8a77950-u-boot: Remove leading 0x from rpc node

2020-11-18 Thread Lad Prabhakar
Remove the leading "0x" from rpc node to fix the below dtc warning: Warning (simple_bus_reg): Node /soc/rpc@0xee20 simple-bus unit address format error, expected "ee20" Signed-off-by: Lad Prabhakar --- arch/arm/dts/r8a77950-u-boot.dtsi | 2 +- 1 file changed, 1 inse

[PATCH 1/8] ARM: dts: r8a77965-u-boot: Remove leading 0x from rpc node

2020-11-18 Thread Lad Prabhakar
Remove the leading "0x" from rpc node to fix the below dtc warning: Warning (simple_bus_reg): Node /soc/rpc@0xee20 simple-bus unit address format error, expected "ee20" Signed-off-by: Lad Prabhakar --- arch/arm/dts/r8a77965-u-boot.dtsi | 2 +- 1 file changed, 1 inse

[PATCH 2/8] ARM: dts: r8a77990-u-boot: Remove leading 0x from rpc node

2020-11-18 Thread Lad Prabhakar
Remove the leading "0x" from rpc node to fix the below dtc warning: Warning (simple_bus_reg): Node /soc/rpc@0xee20 simple-bus unit address format error, expected "ee20" Signed-off-by: Lad Prabhakar --- arch/arm/dts/r8a77990-u-boot.dtsi | 2 +- 1 file changed, 1 inse

[PATCH] pinctrl: renesas: Add support for R8A774C0

2020-11-18 Thread Lad Prabhakar
Renesas RZ/G2E (a.k.a. r8a774c0) is pin compatible with R-Car E3 (a.k.a. r8a77990), however it doesn't have several automotive specific peripherals. This patch hooks R8A774C0 SoC with the pfc driver. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- arch/arm/mach-rmobile/Kconfig.64 | 1

[PATCH 6/8] ARM: dts: r8a77995-u-boot: Remove leading 0x from rpc node

2020-11-18 Thread Lad Prabhakar
Remove the leading "0x" from rpc node to fix the below dtc warning: Warning (simple_bus_reg): Node /soc/rpc@0xee20 simple-bus unit address format error, expected "ee20" Signed-off-by: Lad Prabhakar --- arch/arm/dts/r8a77995-u-boot.dtsi | 2 +- 1 file changed, 1 inse

[PATCH 8/8] ARM: dts: r7s72100-gr-peach-u-boot: Remove leading 0x from rpc node

2020-11-18 Thread Lad Prabhakar
Remove the leading "0x" from rpc node to fix the below dtc warning: Warning (simple_bus_reg): Node /soc/rpc@0xee20 simple-bus unit address format error, expected "ee20" Signed-off-by: Lad Prabhakar --- arch/arm/dts/r7s72100-gr-peach-u-boot.dts | 2 +- 1 file change

[PATCH 5/8] ARM: dts: r8a77960-u-boot: Remove leading 0x from rpc node

2020-11-18 Thread Lad Prabhakar
Remove the leading "0x" from rpc node to fix the below dtc warning: Warning (simple_bus_reg): Node /soc/rpc@0xee20 simple-bus unit address format error, expected "ee20" Signed-off-by: Lad Prabhakar --- arch/arm/dts/r8a77960-u-boot.dtsi | 2 +- 1 file changed, 1 inse

[PATCH 7/8] ARM: dts: r8a77970-u-boot: Remove leading 0x from rpc node

2020-11-18 Thread Lad Prabhakar
Remove the leading "0x" from rpc node to fix the below dtc warning: Warning (simple_bus_reg): Node /soc/rpc@0xee20 simple-bus unit address format error, expected "ee20" Signed-off-by: Lad Prabhakar --- arch/arm/dts/r8a77970-u-boot.dtsi | 2 +- 1 file changed, 1 inse

[PATCH v3 0/2] pinctrl: renesas: trivial fixes and enhancements

2020-11-15 Thread Lad Prabhakar
rek. * Patch 2/2 unchanged v1->v2 * Patch 1/2 updated commit message * Patch 2/2 unchanged Lad Prabhakar (2): pinctrl: renesas: Make sure the pin type is updated after setting the MUX pinctrl: renesas: Implement get_pin_muxing() callback drivers/pinctrl/renesas/pfc.

[PATCH v3 1/2] pinctrl: renesas: Make sure the pin type is updated after setting the MUX

2020-11-15 Thread Lad Prabhakar
to sh_pfc_config_mux() and thus fixing from pin functionality to be overwritten. Also a warning message is printed if the current pin is being overwritten before abort. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/pinctrl/renesas/pfc.c | 28 +++- 1 file changed, 23

[PATCH v3 2/2] pinctrl: renesas: Implement get_pin_muxing() callback

2020-11-15 Thread Lad Prabhakar
Implement get_pin_muxing() callback so that pinmux status command can be used on Renesas platforms. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/pinctrl/renesas/pfc.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/pinctrl/renesas

[RESEND PATCH 3/3] pinctrl: renesas: Implement get_pin_muxing() callback

2020-11-04 Thread Lad Prabhakar
Implement get_pin_muxing() callback so that pinmux status command can be used on Renesas platforms. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/pinctrl/renesas/pfc.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/pinctrl/renesas

[RESEND PATCH 2/3] pinctrl: renesas: Make sure the pin type is updated after setting the MUX

2020-11-04 Thread Lad Prabhakar
Update pin type after every successful call to sh_pfc_config_mux(). This fixes pin functionality from being overwritten. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/pinctrl/renesas/pfc.c | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git

[RESEND PATCH 0/3] pinctrl: renesas: trivial fixes and enhancements

2020-11-04 Thread Lad Prabhakar
Hi All, This patch series includes trivial fixes and enhancements to renesas pfc driver. This is exactly the same series posted earlier [1]. [1] https://patchwork.ozlabs.org/project/uboot/list/?series=203651 Cheers, Prabhakar Lad Prabhakar (3): pinctrl: renesas: Drop unused members from

[RESEND PATCH 1/3] pinctrl: renesas: Drop unused members from struct sh_pfc_pinctrl

2020-11-04 Thread Lad Prabhakar
Drop unused members from struct sh_pfc_pinctrl. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/pinctrl/renesas/pfc.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc.c b/drivers/pinctrl/renesas/pfc.c index db0fa9b728..fb811a95bc 100644

Re: [RESEND PATCH 2/3] pinctrl: renesas: Make sure the pin type is updated after setting the MUX

2020-11-05 Thread Lad, Prabhakar
Hi Marek, Thank you for the review. On Wed, Nov 4, 2020 at 7:29 PM Marek Vasut wrote: > > On 11/4/20 6:27 PM, Lad Prabhakar wrote: > > Update pin type after every successful call to sh_pfc_config_mux(). > > > > This fixes pin functionality from being overwritten. > &g

[PATCH v2 1/2] pinctrl: renesas: Make sure the pin type is updated after setting the MUX

2020-11-06 Thread Lad Prabhakar
to sh_pfc_config_mux() and thus fixing from pin functionality to be overwritten. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/pinctrl/renesas/pfc.c | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc.c b/drivers/pinctrl

[PATCH v2 0/2] pinctrl: renesas: trivial fixes and enhancements

2020-11-06 Thread Lad Prabhakar
Hi All, This patch series includes trivial fixes and enhancements to renesas pfc driver. Cheers, Prabhakar v1->v2 * Patch 1/2 updated commit message * patch 2/2 unchanged Lad Prabhakar (2): pinctrl: renesas: Make sure the pin type is updated after setting the MUX pinctrl: rene

[PATCH v2 2/2] pinctrl: renesas: Implement get_pin_muxing() callback

2020-11-06 Thread Lad Prabhakar
Implement get_pin_muxing() callback so that pinmux status command can be used on Renesas platforms. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/pinctrl/renesas/pfc.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/pinctrl/renesas

Re: [PATCH 01/30] clk: renesas: Synchronize RZ/G2 tables with Linux 5.12

2021-05-20 Thread Lad, Prabhakar
4 +- > drivers/clk/renesas/r8a774b1-cpg-mssr.c | 8 > drivers/clk/renesas/r8a774c0-cpg-mssr.c | 9 + > 3 files changed, 26 insertions(+), 5 deletions(-) > Tested on RZ/G2{EMN} boards. Tested-by: Lad Prabhakar Cheers, Prabhakar > diff --git a/driver

Re: [PATCH 07/30] clk: renesas: Add support for RPCD2 clock

2021-05-20 Thread Lad, Prabhakar
Signed-off-by: Hai Pham > Signed-off-by: Marek Vasut > --- > drivers/clk/renesas/clk-rcar-gen3.c | 19 ++- > drivers/clk/renesas/rcar-gen3-cpg.h | 3 +++ > 2 files changed, 17 insertions(+), 5 deletions(-) > Tested on RZ/G2E board Tested-by: Lad Prabhakar Che

Re: [PATCH 05/30] clk: renesas: Fix incorrect return RPC clk_get_rate

2021-05-20 Thread Lad, Prabhakar
vers/clk/renesas/clk-rcar-gen3.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Tested on RZ/G2E board Tested-by: Lad Prabhakar Cheers, Prabhakar > diff --git a/drivers/clk/renesas/clk-rcar-gen3.c > b/drivers/clk/renesas/clk-rcar-gen3.c > index 3223becd75..09d84c44e

Re: [PATCH 08/30] clk: renesas: Make reset controller modemr register offset configurable

2021-05-20 Thread Lad, Prabhakar
7980-cpg-mssr.c | 1 + > drivers/clk/renesas/r8a77990-cpg-mssr.c | 1 + > drivers/clk/renesas/r8a77995-cpg-mssr.c | 1 + > drivers/clk/renesas/rcar-gen2-cpg.h | 2 ++ > drivers/clk/renesas/rcar-gen3-cpg.h | 2 ++ > drivers/clk/renesas/renesas-cpg-mssr.h | 1 + > 20 files cha

Re: [PATCH 11/30] clk: renesas: Add register pointers into struct cpg_mssr_info

2021-05-20 Thread Lad, Prabhakar
2 ++ > 3 files changed, 65 insertions(+), 45 deletions(-) > Tested on RZ/G2{EHMN} board Tested-by: Lad Prabhakar Cheers, Prabhaka > diff --git a/drivers/clk/renesas/clk-rcar-gen3.c > b/drivers/clk/renesas/clk-rcar-gen3.c > index 27939d6318..49ab9134af 1006

Re: [PATCH 12/30] clk: renesas: Deduplicate gen3_clk_get_rate64() PLL handling

2021-05-20 Thread Lad, Prabhakar
ltiplication is fixed factor > or coming from CRx register. Deduplicate the code into a single function. > > Signed-off-by: Marek Vasut > --- > drivers/clk/renesas/clk-rcar-gen3.c | 86 ++--- > 1 file changed, 43 insertions(+), 43 deletions(-) > Tested on R

Re: [PATCH 15/30] gpio: renesas: Pass struct udevice to rcar_gpio_set_direction()

2021-05-20 Thread Lad, Prabhakar
vers/gpio/gpio-rcar.c | 13 ++--- > 1 file changed, 6 insertions(+), 7 deletions(-) > Tested on RZ/G2{EHMN} boards Tested-by: Lad Prabhakar Cheers, Prabhakar > diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c > index daaac5e784..5f1ec39a9b 100644 > --- a/driv

Re: [PATCH 20/30] pinctrl: renesas: Implement unlock register masks

2021-05-20 Thread Lad, Prabhakar
ned-off-by: Marek Vasut > --- > drivers/pinctrl/renesas/pfc.c| 39 > drivers/pinctrl/renesas/sh_pfc.h | 2 +- > 2 files changed, 20 insertions(+), 21 deletions(-) > Tested on RZ/G2{EHMN} boards Tested-by: Lad Prabhakar Cheers, Prabhakar > d

Re: [PATCH] board: hoperun: Enable recovery SPL for HiHope RZ/G2[HMN] boards

2021-03-16 Thread Lad, Prabhakar
Hi Marek, Thank you for the review. On Mon, Mar 15, 2021 at 11:40 PM Marek Vasut wrote: > > On 3/15/21 11:07 PM, Lad Prabhakar wrote: > > Enable building SPL for HiHope RZ/G2[HMN] boards. > > What is the reason for building the SPL ? > To enable support for recovery using

[PATCH] board: hoperun: Enable recovery SPL for HiHope RZ/G2[HMN] boards

2021-03-15 Thread Lad Prabhakar
Enable building SPL for HiHope RZ/G2[HMN] boards. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- board/hoperun/hihope-rzg2/Makefile | 4 configs/hihope_rzg2_defconfig | 2 +- include/configs/rcar-gen3-common.h | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) diff

[PATCH 0/5] Add Silicon Linux EK874 board

2021-03-15 Thread Lad Prabhakar
Hi All, This patch series adds support for Silicon Linux EK874 board support which is based on Renesas R8A774C0 SoC. Cheers, Prabhakar Lad Prabhakar (5): arm: dts: r8a774c0: Resync R8A774C0 SoC DTSI with Linux 5.11 pinctrl: renesas: pfc-r8a77990: Sync PFC tables with Linux 5.11 pinctrl

[PATCH 2/5] pinctrl: renesas: pfc-r8a77990: Sync PFC tables with Linux 5.11

2021-03-15 Thread Lad Prabhakar
Sync the R8A77990 SoC PFC tables with Linux 5.11 , commit f40ddce88593. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- drivers/pinctrl/renesas/pfc-r8a77990.c | 87 +- 1 file changed, 85 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc

[PATCH 3/5] pinctrl: renesas: Add support for R8A774C0

2021-03-15 Thread Lad Prabhakar
Renesas RZ/G2E (a.k.a. r8a774c0) is pin compatible with R-Car E3 (a.k.a. r8a77990), however it doesn't have several automotive specific peripherals. This patch hooks R8A774C0 SoC with the pfc driver. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- arch/arm/mach-rmobile/Kconfig.64 | 1

[PATCH 1/5] arm: dts: r8a774c0: Resync R8A774C0 SoC DTSI with Linux 5.11

2021-03-15 Thread Lad Prabhakar
Resync the R8A774C0 SoC DTSI with Linux kernel 5.11 commit f40ddce88593 ("Linux 5.11"). Signed-off-by: Lad Prabhakar --- arch/arm/dts/r8a774c0.dtsi | 27 +++ 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/r8a774c0.dtsi b/arch/arm/dt

[PATCH 5/5] board: silinux: Enable recovery SPL for EK874 board

2021-03-15 Thread Lad Prabhakar
Enable building SPL for EK874 board which is based on R8A774C0 SoC. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- arch/arm/mach-rmobile/Makefile | 2 +- board/silinux/ek874/Makefile| 4 configs/silinux_ek874_defconfig | 2 +- 3 files changed, 6 insertions(+), 2 deletions

[PATCH 4/5] arm: rmobile: Add Silicon Linux EK874 board support

2021-03-15 Thread Lad Prabhakar
-boot.dtsi have been imported from Linux kernel 5.11 commit f40ddce88593 ("Linux 5.11"). Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- arch/arm/dts/Makefile | 1 + arch/arm/dts/cat875.dtsi | 64 arch/arm/dts/r8a774c0-cat874.dts