Re: [PATCH v1 6/9] aspeed/scu: Add AST1030 support

2022-03-23 Thread Cédric Le Goater
On 3/22/22 03:51, Jamin Lin wrote: From: Steven Lee Per ast1030_v07.pdf, AST1030 SOC doesn't have SCU300, the pclk divider selection is defined in SCU310[11:8]. Add a get_apb_freq function and a class init handler for ast1030. Signed-off-by: Troy Lee Signed-off-by: Jamin Lin Signed-off-by: S

[PATCH v1 6/9] aspeed/scu: Add AST1030 support

2022-03-21 Thread Jamin Lin
From: Steven Lee Per ast1030_v07.pdf, AST1030 SOC doesn't have SCU300, the pclk divider selection is defined in SCU310[11:8]. Add a get_apb_freq function and a class init handler for ast1030. Signed-off-by: Troy Lee Signed-off-by: Jamin Lin Signed-off-by: Steven Lee --- hw/misc/aspeed_scu.c