public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/7] Add i2c and reset support for Renesas RZ/G2L
@ 2024-02-26 15:05 Paul Barker
  2024-02-26 15:05 ` [PATCH v2 1/7] clk: renesas: Confirm all clock & reset changes on RZ/G2L Paul Barker
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Paul Barker @ 2024-02-26 15:05 UTC (permalink / raw)
  To: Marek Vasut, Nobuhiro Iwamatsu; +Cc: Paul Barker, u-boot

This patch series extends the support for the Renesas RZ/G2L SMARC EVK
board (based on the R9A07G044L2 SoC) to include the following new
features:

  * I2C bus support, including automatic deblocking if SDA is stuck low
    due to another device on the board.

  * Basic PMIC support, with the ability to read, write & dump PMIC
    registers.

  * Support for requesting system reset (SYSRESET_COLD or
    SYSRESET_POWER) via the PMIC.

Along the way we fix the CPG driver to confirm all clock & reset changes
before returning, and update the device tree to align with Linux 6.7.

This series has been tested on RZ/G2L hardware, and the full u-boot
GitLab CI pipeline has been executed in our internal GitLab instance.

Changes from v1:
  * Rebased on U-Boot v2024.04-rc2 and re-tested.
  * Sync with Linux v6.7 instead of v6.6.
  * Add raa215300_bind() as a stub in patch 4.
  * Split up the addition of sysreset support into 3 patches: patch 5
    adds the driver, patch 6 binds it with the pmic driver and patch 7
    enables sysreset for the RZ/G2L.

Paul Barker (7):
  clk: renesas: Confirm all clock & reset changes on RZ/G2L
  arm: dts: rzg2l: Sync with Linux v6.7
  i2c: rzg2l: Add I2C driver for RZ/G2L family
  pmic: Add Renesas RAA215300 PMIC driver
  sysreset: Support reset via Renesas RAA215300 PMIC
  pmic: raa215300: Bind sysreset driver
  board: rzg2l: Support reset via Renesas RAA215300 PMIC

 arch/arm/dts/r9a07g044.dtsi               |  16 +-
 arch/arm/dts/r9a07g044l2-smarc.dts        |  21 +
 arch/arm/dts/rz-smarc-common.dtsi         |  18 +-
 arch/arm/dts/rzg2l-smarc-pinfunction.dtsi |  20 +
 arch/arm/dts/rzg2l-smarc-som.dtsi         |  22 +-
 arch/arm/dts/rzg2l-smarc.dtsi             |  43 +-
 arch/arm/mach-rmobile/Kconfig             |   1 +
 board/renesas/rzg2l/rzg2l.c               |   8 -
 configs/renesas_rzg2l_smarc_defconfig     |   7 +
 drivers/clk/renesas/rzg2l-cpg.c           |  17 +-
 drivers/i2c/Kconfig                       |   7 +
 drivers/i2c/Makefile                      |   1 +
 drivers/i2c/rz_riic.c                     | 624 ++++++++++++++++++++++
 drivers/power/pmic/Kconfig                |   9 +
 drivers/power/pmic/Makefile               |   1 +
 drivers/power/pmic/raa215300.c            |  50 ++
 drivers/sysreset/Kconfig                  |   6 +
 drivers/sysreset/Makefile                 |   1 +
 drivers/sysreset/sysreset_raa215300.c     |  58 ++
 19 files changed, 896 insertions(+), 34 deletions(-)
 create mode 100644 drivers/i2c/rz_riic.c
 create mode 100644 drivers/power/pmic/raa215300.c
 create mode 100644 drivers/sysreset/sysreset_raa215300.c


base-commit: 37345abb97ef0dd9c50a03b2a72617612dcae585
-- 
2.43.2


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-02-27 15:59 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-26 15:05 [PATCH v2 0/7] Add i2c and reset support for Renesas RZ/G2L Paul Barker
2024-02-26 15:05 ` [PATCH v2 1/7] clk: renesas: Confirm all clock & reset changes on RZ/G2L Paul Barker
2024-02-26 15:05 ` [PATCH v2 2/7] arm: dts: rzg2l: Sync with Linux v6.7 Paul Barker
2024-02-26 15:05 ` [PATCH v2 3/7] i2c: rzg2l: Add I2C driver for RZ/G2L family Paul Barker
2024-02-26 17:43   ` Biju Das
2024-02-26 20:55     ` Paul Barker
2024-02-27 15:59   ` Marek Vasut
2024-02-26 15:05 ` [PATCH v2 4/7] pmic: Add Renesas RAA215300 PMIC driver Paul Barker
2024-02-27 15:57   ` Marek Vasut
2024-02-26 15:05 ` [PATCH v2 5/7] sysreset: Support reset via Renesas RAA215300 PMIC Paul Barker
2024-02-27 15:55   ` Marek Vasut
2024-02-26 15:05 ` [PATCH v2 6/7] pmic: raa215300: Bind sysreset driver Paul Barker
2024-02-27 15:55   ` Marek Vasut
2024-02-27 15:56   ` Marek Vasut
2024-02-26 15:05 ` [PATCH v2 7/7] board: rzg2l: Support reset via Renesas RAA215300 PMIC Paul Barker
2024-02-27 15:56   ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox