Re: [PATCH v4 11/16] aspeed/intc: Add AST2700 support

2024-06-03 Thread Cédric Le Goater
+static void aspeed_2700_intc_class_init(ObjectClass *klass, void +*data) { +DeviceClass *dc = DEVICE_CLASS(klass); +AspeedINTCClass *aic = ASPEED_INTC_CLASS(klass); + +dc->desc = "ASPEED 2700 INTC Controller"; +aic->num_lines = 32; +aic->num_ints = 9; Use

RE: [PATCH v4 11/16] aspeed/intc: Add AST2700 support

2024-06-02 Thread Jamin Lin
Hi Cedric, > From: Cédric Le Goater > Subject: Re: [PATCH v4 11/16] aspeed/intc: Add AST2700 support > > On 5/27/24 10:02, Jamin Lin wrote: > > AST2700 interrupt controller(INTC) provides hardware interrupt > > interfaces to interrupt of processors PSP, SSP and TSP. In

Re: [PATCH v4 11/16] aspeed/intc: Add AST2700 support

2024-05-28 Thread Cédric Le Goater
On 5/27/24 10:02, Jamin Lin wrote: AST2700 interrupt controller(INTC) provides hardware interrupt interfaces to interrupt of processors PSP, SSP and TSP. In INTC, each interrupt of INT 128 to INT136 combines 32 interrupts. Introduce a new aspeed_intc class with instance_init and realize