RE: [PATCH v3 07/13] irqchip/renesas-rzv2h: Add struct rzv2h_hw_info with t_offs variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Geert,

Thanks for the feedback.

> -----Original Message-----
> From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Sent: 28 January 2025 15:19
> Subject: Re: [PATCH v3 07/13] irqchip/renesas-rzv2h: Add struct rzv2h_hw_info with t_offs variable
> 
> Hi Biju,
> 
> Thanks for your patch!
> 
> On Tue, 28 Jan 2025 at 11:47, Biju Das <biju.das.jz@xxxxxxxxxxxxxx> wrote:
> > The ICU block on the RZ/G3E SoC is almost identical to the one found
> > on the RZ/V2H SoC, with the following differences:
> >  - The TINT register offset starts at 0x830 instead of 0x30.
> 
> The first TINT register is at offset 0x820 vs. 0x20.
> Perhaps:
> 
>    - The TINT register base offset is 0x800 instead of zero.
> 
> which matches what the actual code does (.t_offs = 0).

Agreed.

> 
> >  - The number of GPIO interrupts for TINT selection is 141 instead of 86.
> >  - The pin index and TINT selection index are not in the 1:1 map
> >  - The number of TSSR registers is 15 instead of 8
> 
> 16 (oh, also in the first patch)

Ok.

> 
> >  - Each TSSR register can program 2 TINTs instead of 4 TINTs
> >
> > Introduce struct rzv2h_hw_info to handle these differences and add
> > t_offs variable to take care of the TINT register offset difference
> > between RZ/G3E and RZ/V2H.
> >
> > Refactor the code by moving rzv2h_icu_init() into
> > rzv2h_icu_init_common() and pass the varable containing hw difference to support both these SoCs.
> 
> variable

Will fix this in next version.

Cheers,
Biju




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux