[PATCH 0/4] Add Mule NVRAM/ROM support

Farouk Bouabid farouk.bouabid at cherry.de
Tue Jun 4 09:23:50 PDT 2024


Mule is an MCU that emulates a set of I2C devices which are reachable
through an I2C-mux that is implemented in a different patch-series[1].

Device #2 on the mux is an emulation of NVRAM (PCF8570 I2C interface)
with a size of 8 bytes.

Device #3 on the mux is an emulation of a read-only NVRAM (PCF8570 I2C
interface) with a size of 32 bytes. This memory contains information
relevant to the Mule firmware.

      +-----------------------------------------------+
      |  Mule                                         |
      |        +---------------+                      |
    ----+----->|Config register|                      |
      | |      +--------|------+                      |
      | |               |                             |
      | |               V                             |
      | |               __           +--------------+ |
      | |              |   \-------->| amc6821      | |
      | |              |   |         +--------------+ |
      | |              | M |-------->| PWM over I2C | |
      | +------------->| U |         +--------------+ |
      |                | X |-------->| NVRAM        | |
      |                |   |         +--------------+ |
      |                |   /-------->| ROM          | |
      |                |__/          +--------------+ |
      +-----------------------------------------------+

This patch-series adds support for the NVRAM and ROM on rk3399-puma-haikou,
px30-ringneck-haikou, rk3588-tiger-haikou and rk3588-jaguar boards.

This patch-series can only be merged after [1].

[1] https://lore.kernel.org/lkml/20240506-dev-mule-i2c-mux-v2-0-a91c954f65d7@cherry.de/

Signed-off-by: Farouk Bouabid <farouk.bouabid at cherry.de>
---
Farouk Bouabid (4):
      arm64: dts: rockchip: add mule nvram/rom to rk3399-puma
      arm64: dts: rockchip: add mule nvram/rom to px30-ringneck
      arm64: dts: rockchip: add mule nvram/rom to rk3588-tiger
      arm64: dts: rockchip: add mule nvram/rom to rk3588-jaguar

 arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi | 45 +++++++++++++++++++++++++
 arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi   | 45 +++++++++++++++++++++++++
 arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts  | 45 +++++++++++++++++++++++++
 arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi  | 45 +++++++++++++++++++++++++
 4 files changed, 180 insertions(+)
---
base-commit: 2917aef27decdfc367f37f599a613255c98c2c26
change-id: 20240531-nvmem-fd2902430de5

Best regards,
-- 
Farouk Bouabid <farouk.bouabid at cherry.de>




More information about the linux-arm-kernel mailing list