diff mbox series

[v2,07/11] mtd: spi: renesas: Add R8A779H0 V4M support

Message ID 20240128155458.56712-7-marek.vasut+renesas@mailbox.org
State Accepted
Commit c49f9364554893d8e90fa4e9cdfc49014358f334
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series [v2,01/11] dt-bindings: clock: Add R8A779H0 V4M CPG Core Clock Definitions | expand

Commit Message

Marek Vasut Jan. 28, 2024, 3:52 p.m. UTC
From: Hai Pham <hai.pham.ud@renesas.com>

Support RPC SPI on R8A779H0 V4M SoC.

Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
---
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Paul Barker <paul.barker.ct@bp.renesas.com>
---
V2: - Move the patch after PRR ID patch to satisfy macro dependency
    - Add RB from Paul
---
 drivers/spi/renesas_rpc_spi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Jagan Teki Jan. 29, 2024, 11:52 a.m. UTC | #1
On Sun, Jan 28, 2024 at 9:25 PM Marek Vasut
<marek.vasut+renesas@mailbox.org> wrote:
>
> From: Hai Pham <hai.pham.ud@renesas.com>
>
> Support RPC SPI on R8A779H0 V4M SoC.
>
> Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
> Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
> ---
> Cc: Jagan Teki <jagan@amarulasolutions.com>
> Cc: Paul Barker <paul.barker.ct@bp.renesas.com>
> ---

Applied to u-boot-spi/master
Marek Vasut Jan. 29, 2024, 1:27 p.m. UTC | #2
On 1/29/24 12:52, Jagan Teki wrote:
> On Sun, Jan 28, 2024 at 9:25 PM Marek Vasut
> <marek.vasut+renesas@mailbox.org> wrote:
>>
>> From: Hai Pham <hai.pham.ud@renesas.com>
>>
>> Support RPC SPI on R8A779H0 V4M SoC.
>>
>> Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
>> Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
>> ---
>> Cc: Jagan Teki <jagan@amarulasolutions.com>
>> Cc: Paul Barker <paul.barker.ct@bp.renesas.com>
>> ---
> 
> Applied to u-boot-spi/master

I don't think this will build without 06/11 macro addition, so I'll pull 
this via u-boot-sh tree if that's OK with you ?

I could use a RB though .
Jagan Teki Jan. 29, 2024, 1:30 p.m. UTC | #3
On Mon, Jan 29, 2024 at 6:57 PM Marek Vasut <marek.vasut@mailbox.org> wrote:
>
> On 1/29/24 12:52, Jagan Teki wrote:
> > On Sun, Jan 28, 2024 at 9:25 PM Marek Vasut
> > <marek.vasut+renesas@mailbox.org> wrote:
> >>
> >> From: Hai Pham <hai.pham.ud@renesas.com>
> >>
> >> Support RPC SPI on R8A779H0 V4M SoC.
> >>
> >> Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
> >> Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
> >> ---
> >> Cc: Jagan Teki <jagan@amarulasolutions.com>
> >> Cc: Paul Barker <paul.barker.ct@bp.renesas.com>
> >> ---
> >
> > Applied to u-boot-spi/master
>
> I don't think this will build without 06/11 macro addition, so I'll pull
> this via u-boot-sh tree if that's OK with you ?
>
> I could use a RB though .

Yeah. Got the runner failure. Please proceed to pick this vi -sh

Thanks,
Jagan.
Marek Vasut Jan. 29, 2024, 1:43 p.m. UTC | #4
On 1/29/24 14:30, Jagan Teki wrote:
> On Mon, Jan 29, 2024 at 6:57 PM Marek Vasut <marek.vasut@mailbox.org> wrote:
>>
>> On 1/29/24 12:52, Jagan Teki wrote:
>>> On Sun, Jan 28, 2024 at 9:25 PM Marek Vasut
>>> <marek.vasut+renesas@mailbox.org> wrote:
>>>>
>>>> From: Hai Pham <hai.pham.ud@renesas.com>
>>>>
>>>> Support RPC SPI on R8A779H0 V4M SoC.
>>>>
>>>> Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
>>>> Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
>>>> ---
>>>> Cc: Jagan Teki <jagan@amarulasolutions.com>
>>>> Cc: Paul Barker <paul.barker.ct@bp.renesas.com>
>>>> ---
>>>
>>> Applied to u-boot-spi/master
>>
>> I don't think this will build without 06/11 macro addition, so I'll pull
>> this via u-boot-sh tree if that's OK with you ?
>>
>> I could use a RB though .
> 
> Yeah. Got the runner failure. Please proceed to pick this vi -sh

Can you provide an RB ?

Thanks
Jagan Teki Jan. 29, 2024, 2:03 p.m. UTC | #5
On Sun, Jan 28, 2024 at 9:25 PM Marek Vasut
<marek.vasut+renesas@mailbox.org> wrote:
>
> From: Hai Pham <hai.pham.ud@renesas.com>
>
> Support RPC SPI on R8A779H0 V4M SoC.
>
> Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
> Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
> ---
> Cc: Jagan Teki <jagan@amarulasolutions.com>
> Cc: Paul Barker <paul.barker.ct@bp.renesas.com>
> ---

Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
diff mbox series

Patch

diff --git a/drivers/spi/renesas_rpc_spi.c b/drivers/spi/renesas_rpc_spi.c
index 51c37d72eb6..3eb14061c81 100644
--- a/drivers/spi/renesas_rpc_spi.c
+++ b/drivers/spi/renesas_rpc_spi.c
@@ -215,7 +215,8 @@  static u32 rpc_spi_get_strobe_delay(void)
 	if (cpu_type == RMOBILE_CPU_TYPE_R8A7796 && rmobile_get_cpu_rev_integer() == 1)
 		return RPC_PHYCNT_STRTIM(6);
 	else if (cpu_type == RMOBILE_CPU_TYPE_R8A779F0 ||
-		 cpu_type == RMOBILE_CPU_TYPE_R8A779G0)
+		 cpu_type == RMOBILE_CPU_TYPE_R8A779G0 ||
+		 cpu_type == RMOBILE_CPU_TYPE_R8A779H0)
 		return RPC_PHYCNT_STRTIM2(15);
 	else
 #endif