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 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 12/30] clk: renesas: Deduplicate gen3_clk_get_rate64() PLL handling

2021-05-20 Thread Lad, Prabhakar
Z/G2{EHMN} boards 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 49ab9134af..7b42e28e83 100644 > --- a/drivers/clk/renesas/clk-rcar-gen3.c > +++ b/drivers/clk/renesas/clk-rcar-gen3.c &g

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

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

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

[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

[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 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 0/2] pinctrl: renesas: trivial fixes and enhancements

2020-11-28 Thread Lad Prabhakar
Hi All, This patch series includes trivial fixes and enhancements to renesas pfc driver. Cheers, Prabhakar v3->v4 * Avoided pin to be re-muxed for the same device. v2->v3 * Patch 1/2 print a warning message if the current pin is being overwritten before abort as suggested by Marek. * P

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

2020-11-18 Thread Prabhakar Mahadev Lad
Hi Marek, > -Original Message- > From: Lad Prabhakar > Sent: 18 November 2020 11:29 > To: Marek Vasut ; u-boot@lists.denx.de > Cc: Biju Das ; Prabhakar > ; Prabhakar Mahadev > Lad > Subject: [PATCH 4/8] M: dts: r8a77950-u-boot: Remove leading 0x from rpc n

[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 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 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 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 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 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 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 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 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] 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 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 0/2] pinctrl: renesas: trivial fixes and enhancements

2020-11-15 Thread Lad Prabhakar
Hi All, This patch series includes trivial fixes and enhancements to renesas pfc driver. Oops sorry to miss the u-boot ML earlier resent a V3 again. Cheers, Prabhakar v2->v3 * Patch 1/2 print a warning message if the current pin is being overwritten before abort as suggested by Ma

[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

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

2020-11-15 Thread Prabhakar Mahadev Lad
Hi Marek, Thank you for the review. > -Original Message- > From: Marek Vasut > Sent: 15 November 2020 13:18 > To: Prabhakar Mahadev Lad ; Simon > Glass ; > Masahiro Yamada ; u-boot@lists.denx.de > Cc: Adam Ford ; Tom Rini ; Prabhakar > ; Biju Das > Subject:

[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

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

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

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

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

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

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

[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

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

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

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

2020-09-17 Thread Prabhakar Mahadev Lad
Hi Marek, > -Original Message- > From: Prabhakar Mahadev Lad > Sent: 17 September 2020 21:43 > To: 'Marek Vasut' ; Simon Glass ; > u-boot@lists.denx.de > Cc: Biju Das ; Prabhakar > > Subject: RE: [PATCH] pinctrl: renesas: pfc-r8a77990: Import PFC table >

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

2020-09-17 Thread Prabhakar Mahadev Lad
Hi Marek, Thank you for the review. > -Original Message- > From: Marek Vasut > Sent: 17 September 2020 21:38 > To: Prabhakar Mahadev Lad ; Simon > Glass ; u-boot@lists.denx.de > Cc: Biju Das ; Prabhakar > > Subject: Re: [PATCH] pinctrl: renesas: pfc-r8

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

Re: [U-Boot] [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver model

2019-09-13 Thread Prabhakar Kushwaha
> -Original Message- > From: Jagan Teki > Sent: Friday, September 13, 2019 7:58 AM > To: Prabhakar Kushwaha > Cc: Xiaowei Bao ; Priyanka Jain > ; w...@denx.de; Shengzhou Liu > ; Ruchika Gupta ; > s...@chromium.org; Chuanhua Han ; Jagdish > Gediya ;

Re: [U-Boot] [PATCH] MAINTAINERS: Change fsl-qoriq, mpc86xx, mpc85xx maintainers

2019-09-09 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Prabhakar > Kushwaha > Sent: Monday, September 9, 2019 4:55 PM > To: u-boot@lists.denx.de > Cc: tr...@konsulko.com; York Sun ; Priyanka Jain > > Subject: [U-Boot] [PATCH] MAINTAINERS: Change fsl-qoriq, mpc86x

[U-Boot] [PATCH] MAINTAINERS: Change fsl-qoriq, mpc86xx, mpc85xx maintainers

2019-09-09 Thread Prabhakar Kushwaha
: Maintained T: git https://gitlab.denx.de/u-boot/custodians/u-boot-freebsd.git FREESCALE QORIQ -M: Prabhakar Kushwaha +M: Priyanka Jain S: Maintained T: git https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq.git F: drivers/watchdog/sp805_wdt.c @@ -723,13 +723,13 @@ F

Re: [U-Boot] [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver model

2019-09-09 Thread Prabhakar Kushwaha
> -Original Message- > From: Jagan Teki > Sent: Monday, September 9, 2019 11:37 AM > To: Xiaowei Bao > Cc: Prabhakar Kushwaha ; w...@denx.de; > Shengzhou Liu ; Ruchika Gupta > ; s...@chromium.org; Chuanhua Han > ; Jagdish Gediya ; > bmeng...@gmail.com; u-b

Re: [U-Boot] [PATCHv2 00/47] powerpc: Enable PCIe DM drvier for some platforms

2019-08-28 Thread Prabhakar Kushwaha
> -Original Message- > From: Z.q. Hou > Sent: Tuesday, August 27, 2019 4:33 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > ; w...@denx.de; Priyanka Jain > ; Shengzhou Liu ; > bmeng...@gmail.com > Cc: Z.q. Hou > Subject: [PATCHv2 00/47] powerpc: Ena

Re: [U-Boot] [PATCHv3 0/3] dm: pcie_fsl: Fix some issues

2019-08-28 Thread Prabhakar Kushwaha
> -Original Message- > From: Z.q. Hou > Sent: Tuesday, August 27, 2019 3:44 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > ; bmeng...@gmail.com > Cc: Z.q. Hou > Subject: [PATCHv3 0/3] dm: pcie_fsl: Fix some issues > > From: Hou Zhiqiang > >

[U-Boot] pull request: u-boot-mpc85xx/master

2019-08-28 Thread Prabhakar Kushwaha
(prabhakar: prabhu_kush) - The following changes since commit e4b8dd9b34021241cd05d5cc9d24b4ae34657830: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xx

Re: [U-Boot] [PATCH v1 6/7] mmc: fsl_esdhc: Add emmc hs200 support

2019-08-27 Thread Prabhakar Kushwaha
Hi Peng > -Original Message- > From: U-Boot On Behalf Of Yinbo Zhu > Sent: Tuesday, July 16, 2019 12:39 PM > To: York Sun ; u-boot@lists.denx.de > Cc: Jiafei Pan ; Yinbo Zhu ; Xiaobo > Xie > Subject: [U-Boot] [PATCH v1 6/7] mmc: fsl_esdhc: Add emmc hs200 support > > Add eMMC hs200 mode

Re: [U-Boot] [PATCHv2 00/14] powerpc: Enable device tree support

2019-08-27 Thread Prabhakar Kushwaha
> -Original Message- > From: Hou Zhiqiang > Sent: Tuesday, August 20, 2019 3:05 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > ; w...@denx.de; Shengzhou Liu > ; Priyanka Jain ; > s...@chromium.org; marek.vasut+rene...@gmail.com; s...@denx.de; Jagdish > Ged

Re: [U-Boot] [PATCH v2] ddr, fsl: add DM_I2C support

2019-08-27 Thread Prabhakar Kushwaha
> -Original Message- > From: Heiko Schocher > Sent: Monday, August 26, 2019 8:59 PM > To: u-boot@lists.denx.de > Cc: Heiko Schocher ; Chuanhua Han ; > Mario Six ; Prabhakar Kushwaha > ; York Sun > Subject: [PATCH v2] ddr, fsl: add DM_I2C support > > add

[U-Boot] pull request: u-boot-mpc85xx/master

2019-08-27 Thread Prabhakar Kushwaha
. Travis-CI: https://travis-ci.org/prabhukush/u-boot/builds/576892818 --pk (prabhakar: prabhu_kush) --- The following changes since commit

Re: [U-Boot] [PATCHv2 1/3] dm: pcie_fsl: Fix workaround of P4080 erratum A003

2019-08-27 Thread Prabhakar Kushwaha
Thanks Bin Let me integrate his patch-set. > -Original Message- > From: Bin Meng > Sent: Tuesday, August 27, 2019 10:32 AM > To: Prabhakar Kushwaha > Cc: Z.q. Hou ; u-boot@lists.denx.de > Subject: Re: [PATCHv2 1/3] dm: pcie_fsl: Fix workaround of P4080 erratum A003

Re: [U-Boot] [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver model

2019-08-26 Thread Prabhakar Kushwaha
Dear Jagan, > -Original Message- > From: Xiaowei Bao > Sent: Monday, August 26, 2019 2:55 PM > To: w...@denx.de; Shengzhou Liu ; Ruchika Gupta > ; ja...@amarulasolutions.com; s...@chromium.org; > Prabhakar Kushwaha ; Chuanhua Han > ; Jagdish Gediya ; > bm

Re: [U-Boot] [PATCHv2 1/3] dm: pcie_fsl: Fix workaround of P4080 erratum A003

2019-08-26 Thread Prabhakar Kushwaha
Dear Bin, > -Original Message- > From: Bin Meng > Sent: Monday, August 26, 2019 2:21 PM > To: Z.q. Hou > Cc: u-boot@lists.denx.de; Prabhakar Kushwaha > > Subject: Re: [PATCHv2 1/3] dm: pcie_fsl: Fix workaround of P4080 erratum A003 > > Hi Zhiqiang, > >

Re: [U-Boot] [PATCH v1] ddr, fsl: add DM_I2C support

2019-08-26 Thread Prabhakar Kushwaha
Dear Heiko, > -Original Message- > From: Heiko Schocher > Sent: Monday, August 26, 2019 11:08 AM > To: Prabhakar Kushwaha > Cc: u-boot@lists.denx.de; York Sun ; Chuanhua Han > > Subject: Re: [U-Boot] [PATCH v1] ddr, fsl: add DM_I2C support > > Hello Prabhaka

Re: [U-Boot] [PATCH v4 2/4] armv8: ls2088aqds: The ls2088aqds board supports the I2C driver model.

2019-08-23 Thread Prabhakar Kushwaha
++ Xiaowei Bao (he is taking over from Chuanhua) > -Original Message- > From: Wolfgang Denk > Sent: Friday, August 23, 2019 3:05 PM > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Prabhakar Kushwaha > ; Priyanka Jain ; > Rajesh Bhagat ; u-boot@lists.denx.de

Re: [U-Boot] [PATCH v4 1/4] rtc: ds3232/ds3231: Add support to generate 32KHz output for driver module

2019-08-23 Thread Prabhakar Kushwaha
++ Xiaowei Bao (he is taking over from Chuanhua) > -Original Message- > From: Wolfgang Denk > Sent: Friday, August 23, 2019 2:53 PM > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Prabhakar Kushwaha > ; Priyanka Jain ; > Rajesh Bhagat ; u-boot@lists.denx.de

Re: [U-Boot] [PATCH v1] pci: add DM based mpc85xx driver

2019-08-22 Thread Prabhakar Kushwaha
Horatiu Vultur ; > Z.q. Hou ; Krzysztof Kozlowski ; > Liviu Dudau ; Marek Vasut > ; Mario Six ; Michal Simek > ; Neil Armstrong ; > Prabhakar Kushwaha ; Ryder Lee > ; Simon Glass ; Stefan > Roese > Subject: [PATCH v1] pci: add DM based mpc85xx driver > > add DM based PCI Co

Re: [U-Boot] [PATCH v1] ddr, fsl: add DM_I2C support

2019-08-22 Thread Prabhakar Kushwaha
Dear Heiko, > -Original Message- > From: U-Boot On Behalf Of Heiko Schocher > Sent: Tuesday, July 16, 2019 9:29 AM > To: u-boot@lists.denx.de > Cc: York Sun > Subject: [U-Boot] [PATCH v1] ddr, fsl: add DM_I2C support > > add DM_I2C support for this driver. > > Signed-off-by: Heiko

Re: [U-Boot] [PATCH v4 1/4] armv8: ls1028a: The ls1028a platform supports the I2C driver model

2019-08-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Alex Marginean > Sent: Friday, July 12, 2019 5:17 PM > To: Chuanhua Han ; albert.u.b...@aribaud.net; > Sudhanshu Gupta ; Harninder Rai > ; Rajesh Bhagat ; Andy > Tang ; Prabhakar Kushwaha > > Cc: u-boot@lists.denx.de > Subje

Re: [U-Boot] [PATCH v4] drivers: net: mc: Report extra memory to Linux

2019-08-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Meenakshi Aggarwal > Sent: Thursday, May 23, 2019 3:14 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > > Cc: Meenakshi Aggarwal > Subject: [PATCH v4] drivers: net: mc: Report extra memory to Linux > > MC firmware need to be

Re: [U-Boot] [PATCH v4 3/7] drivers: i2c: mxc: Solve the compiler error when using i2c dm mode

2019-08-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Chuanhua Han > Sent: Wednesday, July 10, 2019 6:30 PM > To: albert.u.b...@aribaud.net; Priyanka Jain ; Udit > Agarwal ; h...@denx.de; Prabhakar Kushwaha > > Cc: u-boot@lists.denx.de; Chuanhua Han > Subject: [PATCH v4 3/7]

Re: [U-Boot] [PATCH v4 2/4] armv8: ls2088aqds: The ls2088aqds board supports the I2C driver model.

2019-08-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Chuanhua Han > Sent: Friday, July 26, 2019 4:54 PM > To: albert.u.b...@aribaud.net; Prabhakar Kushwaha > ; Priyanka Jain ; > Rajesh Bhagat > Cc: u-boot@lists.denx.de; w...@denx.de; lu...@denx.de; > tr...@konsulko.com; Chuanhua Han

Re: [U-Boot] [PATCH 1/4] armv8: ls1028aqds: Remove the definition of CONFIG_SYS_I2C_EARLY_INIT

2019-08-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Alex Marginean > Sent: Monday, July 15, 2019 12:44 PM > To: Chuanhua Han ; Prabhakar Kushwaha > ; albert.u.b...@aribaud.net; Andy Tang > ; Sudhanshu Gupta ; > Harninder Rai ; Rajesh Bhagat > > Cc: u-boot@lists.denx.de > Su

Re: [U-Boot] [PATCH v4 2/4] gpio: do not include on ARCH_LS1028A

2019-08-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Alex Marginean > Sent: Friday, July 12, 2019 5:18 PM > To: Chuanhua Han ; albert.u.b...@aribaud.net; > Sudhanshu Gupta ; Harninder Rai > ; Rajesh Bhagat ; Andy > Tang ; Prabhakar Kushwaha > > Cc: u-boot@lists.denx.de > Subje

Re: [U-Boot] [PATCH v3 1/5] armv8: ls2088a: The ls2088a platform supports the I2C driver model.

2019-08-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Chuanhua Han > Sent: Monday, July 22, 2019 2:07 PM > To: albert.u.b...@aribaud.net; Prabhakar Kushwaha > ; Priyanka Jain ; > Rajesh Bhagat > Cc: u-boot@lists.denx.de; Chuanhua Han > Subject: [PATCH v3 1/5] armv8: ls2088a: The l

Re: [U-Boot] [PATCH v2] common: qixis: make the qixis compatible with new soc

2019-08-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Yuantian Tang > Sent: Wednesday, June 19, 2019 12:09 PM > To: Prabhakar Kushwaha > Cc: u-boot@lists.denx.de; Andy Tang ; Ashish Kumar > > Subject: [PATCH v2] common: qixis: make the qixis compatible with new soc > > This driver

Re: [U-Boot] [PATCH] armv8: ls1028aqds: define ARCH_MISC_INIT to handle mux

2019-08-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Pankaj Bansal > Sent: Tuesday, July 23, 2019 12:52 PM > To: Albert Aribaud ; Jiafei Pan > ; Prabhakar Kushwaha > > Cc: u-boot@lists.denx.de > Subject: [PATCH] armv8: ls1028aqds: define ARCH_MISC_INIT to handle mux > > define

Re: [U-Boot] [PATCH v2] board/fsl/lx2160ardb: enable flexcan

2019-08-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Pankaj Bansal > Sent: Wednesday, July 17, 2019 3:05 PM > To: Prabhakar Kushwaha ; Meenakshi > Aggarwal ; Bin Meng > > Cc: Varun Sethi ; u-boot@lists.denx.de; Pankaj Bansal > > Subject: [PATCH v2] board/fsl/lx2160ardb:

Re: [U-Boot] [PATCH v4 1/7] armv8: lx2160a: The lx2160a platform supports the I2C driver model.

2019-08-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Chuanhua Han > Sent: Wednesday, July 10, 2019 6:30 PM > To: albert.u.b...@aribaud.net; Priyanka Jain ; Udit > Agarwal ; h...@denx.de; Prabhakar Kushwaha > > Cc: u-boot@lists.denx.de; Chuanhua Han > Subject: [PATCH v4 1/7] arm

  1   2   3   4   5   6   7   8   9   10   >