[PATCH v1 00/15] support ADC and I2C for AST2700

Jamin Lin via posted 15 patches 1 month, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240718064925.1846074-1-jamin._5Flin@aspeedtech.com
Maintainers: Alistair Francis <alistair@alistair23.me>, Peter Maydell <peter.maydell@linaro.org>, "Cédric Le Goater" <clg@kaod.org>, Steven Lee <steven_lee@aspeedtech.com>, Troy Lee <leetroy@gmail.com>, Jamin Lin <jamin_lin@aspeedtech.com>, Andrew Jeffery <andrew@codeconstruct.com.au>, Joel Stanley <joel@jms.id.au>
hw/adc/aspeed_adc.c         |  16 ++
hw/arm/aspeed.c             |  31 +++-
hw/arm/aspeed_ast27x0.c     |  65 +++++++
hw/i2c/aspeed_i2c.c         | 340 ++++++++++++++++++++++++++++++------
include/hw/adc/aspeed_adc.h |   1 +
include/hw/i2c/aspeed_i2c.h |  34 ++--
6 files changed, 418 insertions(+), 69 deletions(-)
[PATCH v1 00/15] support ADC and I2C for AST2700
Posted by Jamin Lin via 1 month, 3 weeks ago
v1: 
1. support ADC for AST2700
2. support I2C for AST2700

Jamin Lin (15):
  aspeed/adc: Add AST2700 support
  aspeed/soc: support ADC for AST2700
  hw/i2c/aspeed: support to set the different memory size
  hw/i2c/aspeed: support discontinuous register memory region of I2C bus
  hw/i2c/aspeed: rename the I2C class pool attribute to share_pool
  hw/i2c/aspeed: introduce a new bus pool buffer attribute in
    AspeedI2Cbus
  hw/i2c/aspeed: support discontinuous poll buffer memory region of I2C
    bus
  hw/i2c/aspeed: introduce a new dma_dram_offset attribute in
    AspeedI2Cbus
  hw/i2c/aspeed: Add AST2700 support
  hw/i2c/aspeed: support Tx/Rx buffer 64 bits address
  hw/i2c/aspeed: support high part dram offset for DMA 64 bits
  aspeed/soc: introduce a new API to get the INTC orgate information
  aspeed/soc: support I2C for AST2700
  aspeed: fix coding style
  aspeed: add tmp105 in i2c bus 0 for AST2700

 hw/adc/aspeed_adc.c         |  16 ++
 hw/arm/aspeed.c             |  31 +++-
 hw/arm/aspeed_ast27x0.c     |  65 +++++++
 hw/i2c/aspeed_i2c.c         | 340 ++++++++++++++++++++++++++++++------
 include/hw/adc/aspeed_adc.h |   1 +
 include/hw/i2c/aspeed_i2c.h |  34 ++--
 6 files changed, 418 insertions(+), 69 deletions(-)

-- 
2.34.1
Re: [PATCH v1 00/15] support ADC and I2C for AST2700
Posted by Cédric Le Goater 1 month, 3 weeks ago
On 7/18/24 08:49, Jamin Lin wrote:
> v1:
> 1. support ADC for AST2700
> 2. support I2C for AST2700
> 
> Jamin Lin (15):
>    aspeed/adc: Add AST2700 support
>    aspeed/soc: support ADC for AST2700
>    hw/i2c/aspeed: support to set the different memory size
>    hw/i2c/aspeed: support discontinuous register memory region of I2C bus
>    hw/i2c/aspeed: rename the I2C class pool attribute to share_pool
>    hw/i2c/aspeed: introduce a new bus pool buffer attribute in
>      AspeedI2Cbus
>    hw/i2c/aspeed: support discontinuous poll buffer memory region of I2C
>      bus
>    hw/i2c/aspeed: introduce a new dma_dram_offset attribute in
>      AspeedI2Cbus
>    hw/i2c/aspeed: Add AST2700 support
>    hw/i2c/aspeed: support Tx/Rx buffer 64 bits address
>    hw/i2c/aspeed: support high part dram offset for DMA 64 bits
>    aspeed/soc: introduce a new API to get the INTC orgate information
>    aspeed/soc: support I2C for AST2700
>    aspeed: fix coding style
>    aspeed: add tmp105 in i2c bus 0 for AST2700
> 
>   hw/adc/aspeed_adc.c         |  16 ++
>   hw/arm/aspeed.c             |  31 +++-
>   hw/arm/aspeed_ast27x0.c     |  65 +++++++
>   hw/i2c/aspeed_i2c.c         | 340 ++++++++++++++++++++++++++++++------
>   include/hw/adc/aspeed_adc.h |   1 +
>   include/hw/i2c/aspeed_i2c.h |  34 ++--
>   6 files changed, 418 insertions(+), 69 deletions(-)
> 



Applied 1-2 to aspeed-next.

Thanks,

C.
Re: [PATCH v1 00/15] support ADC and I2C for AST2700
Posted by Cédric Le Goater 1 month, 2 weeks ago
On 7/18/24 18:18, Cédric Le Goater wrote:
> On 7/18/24 08:49, Jamin Lin wrote:
>> v1:
>> 1. support ADC for AST2700
>> 2. support I2C for AST2700
>>
>> Jamin Lin (15):
>>    aspeed/adc: Add AST2700 support
>>    aspeed/soc: support ADC for AST2700
>>    hw/i2c/aspeed: support to set the different memory size
>>    hw/i2c/aspeed: support discontinuous register memory region of I2C bus
>>    hw/i2c/aspeed: rename the I2C class pool attribute to share_pool
>>    hw/i2c/aspeed: introduce a new bus pool buffer attribute in
>>      AspeedI2Cbus
>>    hw/i2c/aspeed: support discontinuous poll buffer memory region of I2C
>>      bus
>>    hw/i2c/aspeed: introduce a new dma_dram_offset attribute in
>>      AspeedI2Cbus
>>    hw/i2c/aspeed: Add AST2700 support
>>    hw/i2c/aspeed: support Tx/Rx buffer 64 bits address
>>    hw/i2c/aspeed: support high part dram offset for DMA 64 bits
>>    aspeed/soc: introduce a new API to get the INTC orgate information
>>    aspeed/soc: support I2C for AST2700
>>    aspeed: fix coding style
>>    aspeed: add tmp105 in i2c bus 0 for AST2700
>>
>>   hw/adc/aspeed_adc.c         |  16 ++
>>   hw/arm/aspeed.c             |  31 +++-
>>   hw/arm/aspeed_ast27x0.c     |  65 +++++++
>>   hw/i2c/aspeed_i2c.c         | 340 ++++++++++++++++++++++++++++++------
>>   include/hw/adc/aspeed_adc.h |   1 +
>>   include/hw/i2c/aspeed_i2c.h |  34 ++--
>>   6 files changed, 418 insertions(+), 69 deletions(-)
>>
> 
> 
> 
> Applied 1-2 to aspeed-next.


Applied 3,5,6,14 to aspeed-next.

Thanks,

C.