Re: [PATCH v2 2/9] aspeed/smc: Add AST1030 support

2022-03-31 Thread Jamin Lin
The 03/31/2022 15:59, Cédric Le Goater wrote: > Hello Jamin, > > On 3/31/22 10:15, Jamin Lin wrote: > > From: Steven Lee > > > > AST1030 spi controller's address decoding unit is 1MB that is identical > > to ast2600, but fmc address decoding unit is 512kb. > > Introduce seg_to_reg and reg_to_seg

Re: [PATCH v2 2/9] aspeed/smc: Add AST1030 support

2022-03-31 Thread Cédric Le Goater
Hello Jamin, On 3/31/22 10:15, Jamin Lin wrote: From: Steven Lee AST1030 spi controller's address decoding unit is 1MB that is identical to ast2600, but fmc address decoding unit is 512kb. Introduce seg_to_reg and reg_to_seg handlers for ast1030 fmc controller. In addition, add ast1030 fmc, sp

[PATCH v2 2/9] aspeed/smc: Add AST1030 support

2022-03-31 Thread Jamin Lin
From: Steven Lee AST1030 spi controller's address decoding unit is 1MB that is identical to ast2600, but fmc address decoding unit is 512kb. Introduce seg_to_reg and reg_to_seg handlers for ast1030 fmc controller. In addition, add ast1030 fmc, spi1, and spi2 class init handler. Signed-off-by: Tr