Re: [PATCH v2] Add support for Realtek RTL838x/RTL839x switch SoCs

2020-12-27 Thread Marc Zyngier
Bert, On Sat, 26 Dec 2020 15:02:21 +, Bert Vermeulen wrote: > > On 12/23/20 5:18 PM, Marc Zyngier wrote: > >> + /* Set up interrupt routing */ > >> + writel(RTL8380_IRR0_SETTING, REG(RTL8380_IRR0)); > >> + writel(RTL8380_IRR1_SETTING, REG(RTL8380_IRR1)); > >> + writel(RTL8380_IRR2_SETTIN

Re: [PATCH v2] Add support for Realtek RTL838x/RTL839x switch SoCs

2020-12-26 Thread Bert Vermeulen
On 12/23/20 5:18 PM, Marc Zyngier wrote: Marc, Thanks for reviewing. We will rework as needed, however: On Wed, 23 Dec 2020 15:06:24 +, Bert Vermeulen wrote: [...] +/* Interrupt numbers/bits */ +#define RTL8380_IRQ_UART0 31 +#define RTL8380_IRQ_UART1 30 +#defi

Re: [PATCH v2] Add support for Realtek RTL838x/RTL839x switch SoCs

2020-12-23 Thread Marc Zyngier
On Wed, 23 Dec 2020 15:06:24 +, Bert Vermeulen wrote: > > This adds basic system support for the Realtek RTL838x/RTL839x switch > SoCs. These are used in many inexpensive switches. > > This patch also paves the way for the RTL930x/RTL931x series. > > Signed-off-by: Bert Vermeulen > --- > v