linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/25] RDA8810PL Clock, RTC and MMC driver
@ 2025-09-16 20:24 Dang Huynh via B4 Relay
  2025-09-16 20:24 ` [PATCH 01/25] ARM: dts: unisoc: rda8810pl: Add label to GPIO nodes Dang Huynh via B4 Relay
                   ` (25 more replies)
  0 siblings, 26 replies; 44+ messages in thread
From: Dang Huynh via B4 Relay @ 2025-09-16 20:24 UTC (permalink / raw)
  To: Manivannan Sadhasivam, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Linus Walleij, Bartosz Golaszewski,
	Alexandre Belloni, Michael Turquette, Stephen Boyd, Philipp Zabel,
	Sebastian Reichel, Vinod Koul, Kees Cook, Gustavo A. R. Silva,
	Ulf Hansson
  Cc: linux-arm-kernel, linux-unisoc, devicetree, linux-kernel,
	linux-gpio, linux-rtc, linux-clk, linux-pm, dmaengine,
	linux-hardening, linux-mmc, Dang Huynh

This patch series aims to add support for Clock/Reset, Real-Time Clock and
SDMMC on the RDA Micro RDA8810PL platform.

It also adds Intelligent Flow Controller (IOW, a DMA controller) which is
important for working with this MMC IP.

Tested on the Orange Pi 2G-IOT.

Signed-off-by: Dang Huynh <dang.huynh@mainlining.org>
---
Dang Huynh (25):
      ARM: dts: unisoc: rda8810pl: Add label to GPIO nodes
      drivers: gpio: rda: Make IRQ optional
      dt-bindings: gpio: rda: Make interrupts optional
      rtc: Add timestamp for the end of 2127
      dt-bindings: rtc: Add RDA Micro RDA8810PL RTC
      rtc: Add driver for RDA Micro SoC
      ARM: dts: unisoc: rda8810pl: Enable Real-Time Clock
      ARM: dts: unisoc: rda8810pl: Enable ARM PMU
      dt-bindings: clock: Add RDA Micro RDA8810PL clock/reset controller
      drivers: clk: Add Clock and Reset Driver for RDA Micro RDA8810PL SoC
      dts: unisoc: rda8810pl: Enable clock/reset driver
      dts: unisoc: rda8810pl: Add OPP for CPU and define L2 cache
      dts: unisoc: orangepi: Disable UART with no users
      dt-bindings: power: reset: Add RDA Micro Modem Reset
      power: reset: Add basic power reset driver for RDA8810PL
      dts: unisoc: rda8810pl: Enable modem reset
      drivers: gpio: rda: Make direction register unreadable
      dt-bindings: dma: Add RDA IFC DMA
      dmaengine: Add RDA IFC driver
      dts: unisoc: rda8810pl: Enable IFC
      dt-bindings: mmc: Add RDA SDMMC controller
      mmc: host: Add RDA Micro SD/MMC driver
      dts: unisoc: rda8810pl: Add SDMMC controllers
      dts: unisoc: orangepi-2g: Enable SD Card
      dts: unisoc: orangepi-i96: Enable SD Card

 .../bindings/clock/rda,8810pl-apsyscon.yaml        |  44 ++
 Documentation/devicetree/bindings/dma/rda,ifc.yaml |  42 +
 .../devicetree/bindings/gpio/gpio-rda.yaml         |   3 -
 Documentation/devicetree/bindings/mmc/rda,mmc.yaml |  91 +++
 .../bindings/power/reset/rda,md-reset.yaml         |  36 +
 .../devicetree/bindings/rtc/rda,8810pl-rtc.yaml    |  30 +
 MAINTAINERS                                        |  30 +
 .../boot/dts/unisoc/rda8810pl-orangepi-2g-iot.dts  |  24 +-
 .../arm/boot/dts/unisoc/rda8810pl-orangepi-i96.dts |  24 +-
 arch/arm/boot/dts/unisoc/rda8810pl.dtsi            | 115 ++-
 drivers/clk/Kconfig                                |   1 +
 drivers/clk/Makefile                               |   1 +
 drivers/clk/rda/Kconfig                            |  14 +
 drivers/clk/rda/Makefile                           |   2 +
 drivers/clk/rda/clk-rda8810.c                      | 770 +++++++++++++++++++
 drivers/dma/Kconfig                                |  10 +
 drivers/dma/Makefile                               |   1 +
 drivers/dma/rda-ifc.c                              | 450 +++++++++++
 drivers/gpio/gpio-rda.c                            |   4 +-
 drivers/mmc/host/Kconfig                           |  12 +
 drivers/mmc/host/Makefile                          |   1 +
 drivers/mmc/host/rda-mmc.c                         | 853 +++++++++++++++++++++
 drivers/power/reset/Kconfig                        |   9 +
 drivers/power/reset/Makefile                       |   1 +
 drivers/power/reset/rda-reboot.c                   |  58 ++
 drivers/rtc/Kconfig                                |  11 +
 drivers/rtc/Makefile                               |   1 +
 drivers/rtc/rtc-rda.c                              | 356 +++++++++
 include/dt-bindings/clock/rda,8810pl-apclk.h       |  79 ++
 include/dt-bindings/dma/rda-ifc.h                  |  28 +
 include/linux/rtc.h                                |   1 +
 31 files changed, 3079 insertions(+), 23 deletions(-)
---
base-commit: 590b221ed4256fd6c34d3dea77aa5bd6e741bbc1
change-id: 20250916-rda8810pl-drivers-9a5271452635

Best regards,
-- 
Dang Huynh <dang.huynh@mainlining.org>



^ permalink raw reply	[flat|nested] 44+ messages in thread
* [PATCH 00/25] RDA8810PL Clock, RTC and MMC driver
@ 2025-09-16 20:07 Dang Huynh
  2025-09-16 20:26 ` Alexandre Belloni
  0 siblings, 1 reply; 44+ messages in thread
From: Dang Huynh @ 2025-09-16 20:07 UTC (permalink / raw)
  To: Manivannan Sadhasivam, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Linus Walleij, Bartosz Golaszewski,
	Alexandre Belloni, Michael Turquette, Stephen Boyd, Philipp Zabel,
	Sebastian Reichel, Vinod Koul, Kees Cook, Gustavo A. R. Silva,
	Ulf Hansson
  Cc: linux-arm-kernel, linux-unisoc, devicetree, linux-kernel,
	linux-gpio, linux-rtc, linux-clk, linux-pm, dmaengine,
	linux-hardening, linux-mmc, Dang Huynh

This patch series aims to add support for Clock/Reset, Real-Time Clock and
SDMMC on the RDA Micro RDA8810PL platform.

It also adds Intelligent Flow Controller (IOW, a DMA controller) which is
important for working with this MMC IP.

Tested on the Orange Pi 2G-IOT.

Signed-off-by: Dang Huynh <dang.huynh@mainlining.org>
---
Dang Huynh (25):
      ARM: dts: unisoc: rda8810pl: Add label to GPIO nodes
      drivers: gpio: rda: Make IRQ optional
      dt-bindings: gpio: rda: Make interrupts optional
      rtc: Add timestamp for the end of 2127
      dt-bindings: rtc: Add RDA Micro RDA8810PL RTC
      rtc: Add driver for RDA Micro SoC
      ARM: dts: unisoc: rda8810pl: Enable Real-Time Clock
      ARM: dts: unisoc: rda8810pl: Enable ARM PMU
      dt-bindings: clock: Add RDA Micro RDA8810PL clock/reset controller
      drivers: clk: Add Clock and Reset Driver for RDA Micro RDA8810PL SoC
      dts: unisoc: rda8810pl: Enable clock/reset driver
      dts: unisoc: rda8810pl: Add OPP for CPU and define L2 cache
      dts: unisoc: orangepi: Disable UART with no users
      dt-bindings: power: reset: Add RDA Micro Modem Reset
      power: reset: Add basic power reset driver for RDA8810PL
      dts: unisoc: rda8810pl: Enable modem reset
      drivers: gpio: rda: Make direction register unreadable
      dt-bindings: dma: Add RDA IFC DMA
      dmaengine: Add RDA IFC driver
      dts: unisoc: rda8810pl: Enable IFC
      dt-bindings: mmc: Add RDA SDMMC controller
      mmc: host: Add RDA Micro SD/MMC driver
      dts: unisoc: rda8810pl: Add SDMMC controllers
      dts: unisoc: orangepi-2g: Enable SD Card
      dts: unisoc: orangepi-i96: Enable SD Card

 .../bindings/clock/rda,8810pl-apsyscon.yaml        |  44 ++
 Documentation/devicetree/bindings/dma/rda,ifc.yaml |  42 +
 .../devicetree/bindings/gpio/gpio-rda.yaml         |   3 -
 Documentation/devicetree/bindings/mmc/rda,mmc.yaml |  91 +++
 .../bindings/power/reset/rda,md-reset.yaml         |  36 +
 .../devicetree/bindings/rtc/rda,8810pl-rtc.yaml    |  30 +
 MAINTAINERS                                        |  30 +
 .../boot/dts/unisoc/rda8810pl-orangepi-2g-iot.dts  |  24 +-
 .../arm/boot/dts/unisoc/rda8810pl-orangepi-i96.dts |  24 +-
 arch/arm/boot/dts/unisoc/rda8810pl.dtsi            | 115 ++-
 drivers/clk/Kconfig                                |   1 +
 drivers/clk/Makefile                               |   1 +
 drivers/clk/rda/Kconfig                            |  14 +
 drivers/clk/rda/Makefile                           |   2 +
 drivers/clk/rda/clk-rda8810.c                      | 770 +++++++++++++++++++
 drivers/dma/Kconfig                                |  10 +
 drivers/dma/Makefile                               |   1 +
 drivers/dma/rda-ifc.c                              | 450 +++++++++++
 drivers/gpio/gpio-rda.c                            |   4 +-
 drivers/mmc/host/Kconfig                           |  12 +
 drivers/mmc/host/Makefile                          |   1 +
 drivers/mmc/host/rda-mmc.c                         | 853 +++++++++++++++++++++
 drivers/power/reset/Kconfig                        |   9 +
 drivers/power/reset/Makefile                       |   1 +
 drivers/power/reset/rda-reboot.c                   |  58 ++
 drivers/rtc/Kconfig                                |  11 +
 drivers/rtc/Makefile                               |   1 +
 drivers/rtc/rtc-rda.c                              | 356 +++++++++
 include/dt-bindings/clock/rda,8810pl-apclk.h       |  79 ++
 include/dt-bindings/dma/rda-ifc.h                  |  28 +
 include/linux/rtc.h                                |   1 +
 31 files changed, 3079 insertions(+), 23 deletions(-)
---
base-commit: 590b221ed4256fd6c34d3dea77aa5bd6e741bbc1
change-id: 20250916-rda8810pl-drivers-9a5271452635

Best regards,
-- 
Dang Huynh <dang.huynh@mainlining.org>


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

end of thread, other threads:[~2025-11-06 22:43 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-16 20:24 [PATCH 00/25] RDA8810PL Clock, RTC and MMC driver Dang Huynh via B4 Relay
2025-09-16 20:24 ` [PATCH 01/25] ARM: dts: unisoc: rda8810pl: Add label to GPIO nodes Dang Huynh via B4 Relay
2025-09-17  0:39   ` Krzysztof Kozlowski
2025-09-16 20:24 ` [PATCH 02/25] drivers: gpio: rda: Make IRQ optional Dang Huynh via B4 Relay
2025-09-16 20:25 ` [PATCH 03/25] dt-bindings: gpio: rda: Make interrupts optional Dang Huynh via B4 Relay
2025-09-16 20:25 ` [PATCH 04/25] rtc: Add timestamp for the end of 2127 Dang Huynh via B4 Relay
2025-09-16 20:25 ` [PATCH 05/25] dt-bindings: rtc: Add RDA Micro RDA8810PL RTC Dang Huynh via B4 Relay
2025-09-16 20:25 ` [PATCH 06/25] rtc: Add driver for RDA Micro SoC Dang Huynh via B4 Relay
2025-09-19 13:59   ` kernel test robot
2025-11-06 22:42   ` Alexandre Belloni
2025-09-16 20:25 ` [PATCH 07/25] ARM: dts: unisoc: rda8810pl: Enable Real-Time Clock Dang Huynh via B4 Relay
2025-09-17  0:40   ` Krzysztof Kozlowski
2025-09-16 20:25 ` [PATCH 08/25] ARM: dts: unisoc: rda8810pl: Enable ARM PMU Dang Huynh via B4 Relay
2025-09-16 20:25 ` [PATCH 09/25] dt-bindings: clock: Add RDA Micro RDA8810PL clock/reset controller Dang Huynh via B4 Relay
2025-09-17  0:43   ` Krzysztof Kozlowski
2025-09-16 20:25 ` [PATCH 10/25] drivers: clk: Add Clock and Reset Driver for RDA Micro RDA8810PL SoC Dang Huynh via B4 Relay
2025-09-20  4:50   ` Stephen Boyd
2025-09-16 20:25 ` [PATCH 11/25] dts: unisoc: rda8810pl: Enable clock/reset driver Dang Huynh via B4 Relay
2025-09-17  0:41   ` Krzysztof Kozlowski
2025-09-16 20:25 ` [PATCH 12/25] dts: unisoc: rda8810pl: Add OPP for CPU and define L2 cache Dang Huynh via B4 Relay
2025-09-16 20:25 ` [PATCH 13/25] dts: unisoc: orangepi: Disable UART with no users Dang Huynh via B4 Relay
2025-09-16 20:25 ` [PATCH 14/25] dt-bindings: power: reset: Add RDA Micro Modem Reset Dang Huynh via B4 Relay
2025-09-17  0:44   ` Krzysztof Kozlowski
2025-09-16 20:25 ` [PATCH 15/25] power: reset: Add basic power reset driver for RDA8810PL Dang Huynh via B4 Relay
2025-09-17  0:45   ` Krzysztof Kozlowski
2025-09-16 20:25 ` [PATCH 16/25] dts: unisoc: rda8810pl: Enable modem reset Dang Huynh via B4 Relay
2025-09-17  0:46   ` Krzysztof Kozlowski
2025-09-16 20:25 ` [PATCH 17/25] drivers: gpio: rda: Make direction register unreadable Dang Huynh via B4 Relay
2025-09-17  8:00   ` Bartosz Golaszewski
2025-09-16 20:25 ` [PATCH 18/25] dt-bindings: dma: Add RDA IFC DMA Dang Huynh via B4 Relay
2025-09-16 20:25 ` [PATCH 19/25] dmaengine: Add RDA IFC driver Dang Huynh via B4 Relay
2025-09-16 20:25 ` [PATCH 20/25] dts: unisoc: rda8810pl: Enable IFC Dang Huynh via B4 Relay
2025-09-16 20:25 ` [PATCH 21/25] dt-bindings: mmc: Add RDA SDMMC controller Dang Huynh via B4 Relay
2025-09-17  0:00   ` Krzysztof Kozlowski
2025-09-16 20:25 ` [PATCH 22/25] mmc: host: Add RDA Micro SD/MMC driver Dang Huynh via B4 Relay
2025-09-17  0:48   ` Krzysztof Kozlowski
2025-09-16 20:25 ` [PATCH 23/25] dts: unisoc: rda8810pl: Add SDMMC controllers Dang Huynh via B4 Relay
2025-09-16 20:25 ` [PATCH 24/25] dts: unisoc: orangepi-2g: Enable SD Card Dang Huynh via B4 Relay
2025-09-16 20:25 ` [PATCH 25/25] dts: unisoc: orangepi-i96: " Dang Huynh via B4 Relay
2025-09-17 10:03 ` [PATCH 00/25] RDA8810PL Clock, RTC and MMC driver Manivannan Sadhasivam
2025-09-18  5:02   ` Dang Huynh
  -- strict thread matches above, loose matches on Subject: below --
2025-09-16 20:07 Dang Huynh
2025-09-16 20:26 ` Alexandre Belloni
2025-09-16 20:33   ` Dang Huynh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).