[PATCH v8 0/5] initial support for yosemite 4

alexander.hansen@9elements.com posted 5 patches 1 month, 1 week ago
Failed in applying to current master (apply log)
MAINTAINERS                              |   2 +
docs/system/arm/aspeed.rst               |   5 +-
hw/arm/Kconfig                           |   2 +
hw/arm/aspeed_ast2600_fby4.c             | 292 +++++++++++++
hw/arm/meson.build                       |   1 +
hw/i2c/i2c_mux_pca954x.c                 |  88 +++-
hw/sensor/Kconfig                        |   8 +
hw/sensor/max1161x.c                     | 314 ++++++++++++++
hw/sensor/max31790.c                     | 508 +++++++++++++++++++++++
hw/sensor/meson.build                    |   2 +
hw/sensor/trace-events                   |  22 +
include/hw/i2c/i2c_mux_pca954x.h         |   1 +
include/hw/sensor/max1161x.h             |   7 +
include/hw/sensor/max31790.h             |   7 +
tests/functional/arm/meson.build         |   2 +
tests/functional/arm/test_aspeed_fby4.py | 101 +++++
16 files changed, 1349 insertions(+), 13 deletions(-)
create mode 100644 hw/arm/aspeed_ast2600_fby4.c
create mode 100644 hw/sensor/max1161x.c
create mode 100644 hw/sensor/max31790.c
create mode 100644 include/hw/sensor/max1161x.h
create mode 100644 include/hw/sensor/max31790.h
create mode 100755 tests/functional/arm/test_aspeed_fby4.py
[PATCH v8 0/5] initial support for yosemite 4
Posted by alexander.hansen@9elements.com 1 month, 1 week ago
From: Alexander Hansen <alexander.hansen@9elements.com>

compared to v7, there is now also partial support for PCA9544, which was
needed since it's apparently in front of the FRU eeproms [1]. Previous
versions of this series did not account for that because testing was
done with a downstream image which had patches still applied [2].

This updated version should line up with the dts [1] and work with an
unmodified yv4 image.

References:
[1] https://github.com/torvalds/linux/blob/24a19b953e2a3d0ea5a8c4951a0ab8f32720c907/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts#L597
[2] https://discordapp.com/channels/775381525260664832/867820390406422538/1541811213988528128

Alexander Hansen (5):
  hw/i2c: support PCA9544
  ast2600: yosemite4 initial support
  ast2600: yosemite4 functional test
  hw/sensor: MAX31790 support
  hw/sensor: support MAX11615

 MAINTAINERS                              |   2 +
 docs/system/arm/aspeed.rst               |   5 +-
 hw/arm/Kconfig                           |   2 +
 hw/arm/aspeed_ast2600_fby4.c             | 292 +++++++++++++
 hw/arm/meson.build                       |   1 +
 hw/i2c/i2c_mux_pca954x.c                 |  88 +++-
 hw/sensor/Kconfig                        |   8 +
 hw/sensor/max1161x.c                     | 314 ++++++++++++++
 hw/sensor/max31790.c                     | 508 +++++++++++++++++++++++
 hw/sensor/meson.build                    |   2 +
 hw/sensor/trace-events                   |  22 +
 include/hw/i2c/i2c_mux_pca954x.h         |   1 +
 include/hw/sensor/max1161x.h             |   7 +
 include/hw/sensor/max31790.h             |   7 +
 tests/functional/arm/meson.build         |   2 +
 tests/functional/arm/test_aspeed_fby4.py | 101 +++++
 16 files changed, 1349 insertions(+), 13 deletions(-)
 create mode 100644 hw/arm/aspeed_ast2600_fby4.c
 create mode 100644 hw/sensor/max1161x.c
 create mode 100644 hw/sensor/max31790.c
 create mode 100644 include/hw/sensor/max1161x.h
 create mode 100644 include/hw/sensor/max31790.h
 create mode 100755 tests/functional/arm/test_aspeed_fby4.py

-- 
2.56.0
Re: [PATCH v8 0/5] initial support for yosemite 4
Posted by Cédric Le Goater 2 weeks, 3 days ago
Alexander,

On 10/13/26 14:46, alexander.hansen@9elements.com wrote:
> From: Alexander Hansen <alexander.hansen@9elements.com>
> 
> compared to v7, there is now also partial support for PCA9544, which was
> needed since it's apparently in front of the FRU eeproms [1]. Previous
> versions of this series did not account for that because testing was
> done with a downstream image which had patches still applied [2].
> 
> This updated version should line up with the dts [1] and work with an
> unmodified yv4 image.
> 
> References:
> [1] https://github.com/torvalds/linux/blob/24a19b953e2a3d0ea5a8c4951a0ab8f32720c907/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts#L597
> [2] https://discordapp.com/channels/775381525260664832/867820390406422538/1541811213988528128
> 
> Alexander Hansen (5):
>    hw/i2c: support PCA9544
>    ast2600: yosemite4 initial support
>    ast2600: yosemite4 functional test
>    hw/sensor: MAX31790 support
>    hw/sensor: support MAX11615
> 
>   MAINTAINERS                              |   2 +
>   docs/system/arm/aspeed.rst               |   5 +-
>   hw/arm/Kconfig                           |   2 +
>   hw/arm/aspeed_ast2600_fby4.c             | 292 +++++++++++++
>   hw/arm/meson.build                       |   1 +
>   hw/i2c/i2c_mux_pca954x.c                 |  88 +++-
>   hw/sensor/Kconfig                        |   8 +
>   hw/sensor/max1161x.c                     | 314 ++++++++++++++
>   hw/sensor/max31790.c                     | 508 +++++++++++++++++++++++
>   hw/sensor/meson.build                    |   2 +
>   hw/sensor/trace-events                   |  22 +
>   include/hw/i2c/i2c_mux_pca954x.h         |   1 +
>   include/hw/sensor/max1161x.h             |   7 +
>   include/hw/sensor/max31790.h             |   7 +
>   tests/functional/arm/meson.build         |   2 +
>   tests/functional/arm/test_aspeed_fby4.py | 101 +++++
>   16 files changed, 1349 insertions(+), 13 deletions(-)
>   create mode 100644 hw/arm/aspeed_ast2600_fby4.c
>   create mode 100644 hw/sensor/max1161x.c
>   create mode 100644 hw/sensor/max31790.c
>   create mode 100644 include/hw/sensor/max1161x.h
>   create mode 100644 include/hw/sensor/max31790.h
>   create mode 100755 tests/functional/arm/test_aspeed_fby4.py
> 

Since the device modelsare rather complex, please separate the changes
in two (or more) series for the reviews :

  1 - sensors
  2 - machines

There is not much point in adding new machines types (we have tons
already) without the sensors and tests. So sensor should be reviewed
first.

Thanks,

C.