mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Farouk Bouabid <farouk.bouabid@cherry.de>
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	Heiko Stuebner <heiko@sntech.de>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	 linux-rockchip@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	 Farouk Bouabid <farouk.bouabid@cherry.de>,
	quentin.schulz@cherry.de
Subject: [PATCH 0/4] Add Mule NVRAM/ROM support
Date: Tue, 04 Jun 2024 18:23:50 +0200	[thread overview]
Message-ID: <20240604-nvmem-v1-0-b784260a36a6@cherry.de> (raw)

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@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@cherry.de>


             reply	other threads:[~2024-06-04 16:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-04 16:23 Farouk Bouabid [this message]
2024-06-04 16:23 ` [PATCH 1/4] arm64: dts: rockchip: add mule nvram/rom to rk3399-puma Farouk Bouabid
2024-06-04 16:23 ` [PATCH 2/4] arm64: dts: rockchip: add mule nvram/rom to px30-ringneck Farouk Bouabid
2024-06-04 16:23 ` [PATCH 3/4] arm64: dts: rockchip: add mule nvram/rom to rk3588-tiger Farouk Bouabid
2024-06-04 16:23 ` [PATCH 4/4] arm64: dts: rockchip: add mule nvram/rom to rk3588-jaguar Farouk Bouabid

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240604-nvmem-v1-0-b784260a36a6@cherry.de \
    --to=farouk.bouabid@cherry.de \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=quentin.schulz@cherry.de \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®