[PATCH v2 0/4] initial support for yosemite v4

Alexander Hansen posted 4 patches 1 week, 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260505154410.230969-1-alexander.hansen@9elements.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, 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>, Kane Chen <kane_chen@aspeedtech.com>, Andrew Jeffery <andrew@codeconstruct.com.au>, Joel Stanley <joel@jms.id.au>, "Philippe Mathieu-Daudé" <philmd@linaro.org>
There is a newer version of this series
hw/arm/Kconfig                           |   3 +
hw/arm/aspeed_ast2600_fby4.c             | 289 +++++++++++++
hw/arm/meson.build                       |   1 +
hw/sensor/Kconfig                        |  12 +
hw/sensor/adc128d818.c                   | 414 +++++++++++++++++++
hw/sensor/max11615.c                     | 202 +++++++++
hw/sensor/max31790.c                     | 499 +++++++++++++++++++++++
hw/sensor/meson.build                    |   3 +
hw/sensor/trace-events                   |  24 ++
include/hw/sensor/adc128d818.h           |  20 +
include/hw/sensor/max11615.h             |  20 +
include/hw/sensor/max31790.h             |   7 +
tests/functional/arm/meson.build         |   2 +
tests/functional/arm/test_aspeed_fby4.py |  44 ++
14 files changed, 1540 insertions(+)
create mode 100644 hw/arm/aspeed_ast2600_fby4.c
create mode 100644 hw/sensor/adc128d818.c
create mode 100644 hw/sensor/max11615.c
create mode 100644 hw/sensor/max31790.c
create mode 100644 include/hw/sensor/adc128d818.h
create mode 100644 include/hw/sensor/max11615.h
create mode 100644 include/hw/sensor/max31790.h
create mode 100755 tests/functional/arm/test_aspeed_fby4.py
[PATCH v2 0/4] initial support for yosemite v4
Posted by Alexander Hansen 1 week, 1 day ago
Add initial and incomplete support for yosemite v4 BMC-side emulation.

As part of this effort 3 new sensor ICs are added.

Alexander Hansen (4):
  hw/sensor: MAX31790 support
  hw/sensor: support MAX11615
  hw/sensor: support Texas Instruments ADC128D818
  ast2600: yosemite4 initial support

 hw/arm/Kconfig                           |   3 +
 hw/arm/aspeed_ast2600_fby4.c             | 289 +++++++++++++
 hw/arm/meson.build                       |   1 +
 hw/sensor/Kconfig                        |  12 +
 hw/sensor/adc128d818.c                   | 414 +++++++++++++++++++
 hw/sensor/max11615.c                     | 202 +++++++++
 hw/sensor/max31790.c                     | 499 +++++++++++++++++++++++
 hw/sensor/meson.build                    |   3 +
 hw/sensor/trace-events                   |  24 ++
 include/hw/sensor/adc128d818.h           |  20 +
 include/hw/sensor/max11615.h             |  20 +
 include/hw/sensor/max31790.h             |   7 +
 tests/functional/arm/meson.build         |   2 +
 tests/functional/arm/test_aspeed_fby4.py |  44 ++
 14 files changed, 1540 insertions(+)
 create mode 100644 hw/arm/aspeed_ast2600_fby4.c
 create mode 100644 hw/sensor/adc128d818.c
 create mode 100644 hw/sensor/max11615.c
 create mode 100644 hw/sensor/max31790.c
 create mode 100644 include/hw/sensor/adc128d818.h
 create mode 100644 include/hw/sensor/max11615.h
 create mode 100644 include/hw/sensor/max31790.h
 create mode 100755 tests/functional/arm/test_aspeed_fby4.py

-- 
2.54.0
Re: [PATCH v2 0/4] initial support for yosemite v4
Posted by Cédric Le Goater 4 days, 1 hour ago
Hi,

On 5/5/26 17:42, Alexander Hansen wrote:
> Add initial and incomplete support for yosemite v4 BMC-side emulation.
> 
> As part of this effort 3 new sensor ICs are added.
> 
> Alexander Hansen (4):
>    hw/sensor: MAX31790 support
>    hw/sensor: support MAX11615
>    hw/sensor: support Texas Instruments ADC128D818
>    ast2600: yosemite4 initial support
> 
>   hw/arm/Kconfig                           |   3 +
>   hw/arm/aspeed_ast2600_fby4.c             | 289 +++++++++++++
>   hw/arm/meson.build                       |   1 +
>   hw/sensor/Kconfig                        |  12 +
>   hw/sensor/adc128d818.c                   | 414 +++++++++++++++++++
>   hw/sensor/max11615.c                     | 202 +++++++++
>   hw/sensor/max31790.c                     | 499 +++++++++++++++++++++++
>   hw/sensor/meson.build                    |   3 +
>   hw/sensor/trace-events                   |  24 ++
>   include/hw/sensor/adc128d818.h           |  20 +
>   include/hw/sensor/max11615.h             |  20 +
>   include/hw/sensor/max31790.h             |   7 +
>   tests/functional/arm/meson.build         |   2 +
>   tests/functional/arm/test_aspeed_fby4.py |  44 ++
>   14 files changed, 1540 insertions(+)
>   create mode 100644 hw/arm/aspeed_ast2600_fby4.c
>   create mode 100644 hw/sensor/adc128d818.c
>   create mode 100644 hw/sensor/max11615.c
>   create mode 100644 hw/sensor/max31790.c
>   create mode 100644 include/hw/sensor/adc128d818.h
>   create mode 100644 include/hw/sensor/max11615.h
>   create mode 100644 include/hw/sensor/max31790.h
>   create mode 100755 tests/functional/arm/test_aspeed_fby4.py
> 

I would organized the series as :

1: Introduce new machine xyz
2: Add functional test for machine xyz
3: Introduce new sensor1 model (and possibly unit test)
4: Integrate sensor1 sensors in machine xyz, extend machine test.
5: Repeat 3-4 for each new sensor model

Thanks,

C.