Skip to content

Add Mule NVRAM/ROM support

Farouk Bouabid linux-arm-kernel linux-devicetree linux-rockchip lkml 1 version New

Get series with b4
b4 am [email protected] change-id 20240531-nvmem-fd2902430de5

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4arm64: dts: rockchip: add mule nvram/rom to rk3399-pumaarch/arm64/boot/dts/rockchip/rk3399-puma.dtsi+45 -00 replies
2/4arm64: dts: rockchip: add mule nvram/rom to px30-ringneckarch/arm64/boot/dts/rockchip/px30-ringneck.dtsi+45 -00 replies
3/4arm64: dts: rockchip: add mule nvram/rom to rk3588-tigerarch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi+45 -00 replies
4/4arm64: dts: rockchip: add mule nvram/rom to rk3588-jaguararch/arm64/boot/dts/rockchip/rk3588-jaguar.dts+45 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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/[email protected]/

---
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,

Signature · 1 line
Farouk Bouabid <[email protected]>