All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/17] Basical Allwinner R329 support
@ 2021-08-02  6:21 ` Icenowy Zheng
  0 siblings, 0 replies; 112+ messages in thread
From: Icenowy Zheng @ 2021-08-02  6:21 UTC (permalink / raw)
  To: Rob Herring, Maxime Ripard, Chen-Yu Tsai, Jernej Skrabec,
	Ulf Hansson, Linus Walleij, Alexandre Belloni, Andre Przywara,
	Samuel Holland
  Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel, Icenowy Zheng

This patchset tries to add basical support for Allwinner R329 SoC to the
Linux kernel, including clock/pintrl driver and MMC support.

Three patches from the H616 patchset, which are used to support the RTC
with linear day, are attached into this patchset. Other RTC-related
patches of that patchset is not included, because the binding of the
clock part there is still under discussion.

Then I added RTC binding and support (which is now only a struct
addition). I added RTC into this patchset, with the same reason that
H616 patchset contains RTC, which is to make the clock tree correct at
the first inclusion.

After RTC, main basical SoC-specific part, pinctrl and CCU, come. The
R329 CCU is something special because PLLs are in R-CCU, no main CCU.

MMC support is added here because it's also a simple struct addition
work, no main driver code change needed.

Finally it comes the DT part. The DT binding of MaixSense, the device
that I am working on now, is added. Then the DTSI for R329 SoC, the DTSI
file for Sipeed Maix IIA SoM (which is utilized on MaixSense) and the
main DT file for MaixSense are added.

Andre Przywara (3):
  rtc: sun6i: Fix time overflow handling
  rtc: sun6i: Add support for linear day storage
  rtc: sun6i: Add support for broken-down alarm registers

Icenowy Zheng (14):
  dt-bindings: rtc: sun6i: add compatible string for R329 RTC
  rtc: sun6i: add support for R329 RTC
  dt-bindings: pinctrl: document Allwinner R329 PIO and R-PIO
  pinctrl: sunxi: add support for R329 CPUX pin controller
  pinctrl: sunxi: add support for R329 R-PIO pin controller
  dt-bindings: clock: sunxi-ng: add compatibles for R329 CCUs
  clk: sunxi=ng: add support for R329 R-CCU
  clk: sunxi-ng: add support for Allwinner R329 CCU
  dt-bindings: mmc: sunxi-mmc: add R329 MMC compatible string
  mmc: sunxi: add support for R329 MMC controllers
  dt-bindings: arm: sunxi: add compatible strings for Sipeed MaixSense
  arm64: allwinner: dts: add DTSI file for R329 SoC
  arm64: allwinner: dts: r329: add DTSI file for Sipeed Maix IIA
  arm64: allwinner: dts: r329: add support for Sipeed MaixSense

 .../devicetree/bindings/arm/sunxi.yaml        |   6 +
 .../clock/allwinner,sun4i-a10-ccu.yaml        |   4 +
 .../bindings/mmc/allwinner,sun4i-a10-mmc.yaml |   1 +
 .../pinctrl/allwinner,sun4i-a10-pinctrl.yaml  |   4 +
 .../bindings/rtc/allwinner,sun6i-a31-rtc.yaml |   6 +-
 arch/arm64/boot/dts/allwinner/Makefile        |   1 +
 .../dts/allwinner/sun50i-r329-maix-iia.dtsi   |  34 ++
 .../dts/allwinner/sun50i-r329-maixsense.dts   |  37 ++
 .../arm64/boot/dts/allwinner/sun50i-r329.dtsi | 244 ++++++++
 drivers/clk/sunxi-ng/Kconfig                  |  10 +
 drivers/clk/sunxi-ng/Makefile                 |   2 +
 drivers/clk/sunxi-ng/ccu-sun50i-r329-r.c      | 374 +++++++++++++
 drivers/clk/sunxi-ng/ccu-sun50i-r329-r.h      |  33 ++
 drivers/clk/sunxi-ng/ccu-sun50i-r329.c        | 526 ++++++++++++++++++
 drivers/clk/sunxi-ng/ccu-sun50i-r329.h        |  32 ++
 drivers/mmc/host/sunxi-mmc.c                  |  10 +
 drivers/pinctrl/sunxi/Kconfig                 |  10 +
 drivers/pinctrl/sunxi/Makefile                |   2 +
 drivers/pinctrl/sunxi/pinctrl-sun50i-r329-r.c | 292 ++++++++++
 drivers/pinctrl/sunxi/pinctrl-sun50i-r329.c   | 410 ++++++++++++++
 drivers/rtc/rtc-sun6i.c                       | 154 +++--
 include/dt-bindings/clock/sun50i-r329-ccu.h   |  73 +++
 include/dt-bindings/clock/sun50i-r329-r-ccu.h |  33 ++
 include/dt-bindings/reset/sun50i-r329-ccu.h   |  45 ++
 include/dt-bindings/reset/sun50i-r329-r-ccu.h |  24 +
 25 files changed, 2320 insertions(+), 47 deletions(-)
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-r329-maix-iia.dtsi
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-r329-maixsense.dts
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-r329.dtsi
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun50i-r329-r.c
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun50i-r329-r.h
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun50i-r329.c
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun50i-r329.h
 create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun50i-r329-r.c
 create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun50i-r329.c
 create mode 100644 include/dt-bindings/clock/sun50i-r329-ccu.h
 create mode 100644 include/dt-bindings/clock/sun50i-r329-r-ccu.h
 create mode 100644 include/dt-bindings/reset/sun50i-r329-ccu.h
 create mode 100644 include/dt-bindings/reset/sun50i-r329-r-ccu.h

-- 
2.30.2


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

end of thread, other threads:[~2021-08-26  0:24 UTC | newest]

Thread overview: 112+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02  6:21 [PATCH 00/17] Basical Allwinner R329 support Icenowy Zheng
2021-08-02  6:21 ` Icenowy Zheng
2021-08-02  6:21 ` [PATCH 01/17] rtc: sun6i: Fix time overflow handling Icenowy Zheng
2021-08-02  6:21   ` Icenowy Zheng
2021-08-02  6:21 ` [PATCH 02/17] rtc: sun6i: Add support for linear day storage Icenowy Zheng
2021-08-02  6:21   ` Icenowy Zheng
2021-08-02  6:21 ` [PATCH 03/17] rtc: sun6i: Add support for broken-down alarm registers Icenowy Zheng
2021-08-02  6:21   ` Icenowy Zheng
2021-08-02  6:21 ` [PATCH 04/17] dt-bindings: rtc: sun6i: add compatible string for R329 RTC Icenowy Zheng
2021-08-02  6:21   ` Icenowy Zheng
2021-08-06 21:39   ` Rob Herring
2021-08-06 21:39     ` Rob Herring
2021-08-02  6:22 ` [PATCH 05/17] rtc: sun6i: add support " Icenowy Zheng
2021-08-02  6:22   ` Icenowy Zheng
2021-08-02  6:22 ` [PATCH 06/17] dt-bindings: pinctrl: document Allwinner R329 PIO and R-PIO Icenowy Zheng
2021-08-02  6:22   ` Icenowy Zheng
2021-08-06 21:40   ` Rob Herring
2021-08-06 21:40     ` Rob Herring
2021-08-18  8:48   ` Maxime Ripard
2021-08-18  8:48     ` Maxime Ripard
2021-08-19  2:40   ` Samuel Holland
2021-08-19  2:40     ` Samuel Holland
2021-08-02  6:22 ` [PATCH 07/17] pinctrl: sunxi: add support for R329 CPUX pin controller Icenowy Zheng
2021-08-02  6:22   ` Icenowy Zheng
2021-08-11  9:23   ` Linus Walleij
2021-08-11  9:23     ` Linus Walleij
2021-08-11  9:23     ` Linus Walleij
2021-08-18  8:48   ` Maxime Ripard
2021-08-18  8:48     ` Maxime Ripard
2021-08-19  3:09   ` Samuel Holland
2021-08-19  3:09     ` Samuel Holland
2021-08-02  6:22 ` [PATCH 08/17] pinctrl: sunxi: add support for R329 R-PIO " Icenowy Zheng
2021-08-02  6:22   ` Icenowy Zheng
2021-08-18  8:52   ` Maxime Ripard
2021-08-18  8:52     ` Maxime Ripard
2021-08-19  3:22   ` Samuel Holland
2021-08-19  3:22     ` Samuel Holland
2021-08-02  6:22 ` [PATCH 09/17] dt-bindings: clock: sunxi-ng: add compatibles for R329 CCUs Icenowy Zheng
2021-08-02  6:22   ` Icenowy Zheng
2021-08-06 21:41   ` Rob Herring
2021-08-06 21:41     ` Rob Herring
2021-08-02  6:22 ` [PATCH 10/17] clk: sunxi=ng: add support for R329 R-CCU Icenowy Zheng
2021-08-02  6:22   ` Icenowy Zheng
2021-08-02  9:03   ` Icenowy Zheng
2021-08-02  9:03     ` Icenowy Zheng
2021-08-02  9:52   ` Icenowy Zheng
2021-08-02  9:52     ` Icenowy Zheng
2021-08-06 21:42   ` Rob Herring
2021-08-06 21:42     ` Rob Herring
2021-08-18  8:50   ` Maxime Ripard
2021-08-18  8:50     ` Maxime Ripard
2021-08-20  0:55   ` Samuel Holland
2021-08-20  0:55     ` Samuel Holland
2021-08-20  4:34     ` Jernej Škrabec
2021-08-20  4:34       ` Jernej Škrabec
2021-08-25 14:50       ` Maxime Ripard
2021-08-25 14:50         ` Maxime Ripard
2021-08-25 15:03         ` Jernej Škrabec
2021-08-25 15:03           ` Jernej Škrabec
2021-08-25 15:37           ` Maxime Ripard
2021-08-25 15:37             ` Maxime Ripard
2021-08-26  0:20       ` Samuel Holland
2021-08-26  0:20         ` Samuel Holland
2021-08-02  6:22 ` [PATCH 11/17] clk: sunxi-ng: add support for Allwinner R329 CCU Icenowy Zheng
2021-08-02  6:22   ` Icenowy Zheng
2021-08-06 21:42   ` Rob Herring
2021-08-06 21:42     ` Rob Herring
2021-08-20  2:41   ` Samuel Holland
2021-08-20  2:41     ` Samuel Holland
2021-08-20  3:52     ` Icenowy Zheng
2021-08-20  3:52       ` Icenowy Zheng
2021-08-25 14:54     ` Maxime Ripard
2021-08-25 14:54       ` Maxime Ripard
2021-08-02  6:22 ` [PATCH 12/17] dt-bindings: mmc: sunxi-mmc: add R329 MMC compatible string Icenowy Zheng
2021-08-02  6:22   ` Icenowy Zheng
2021-08-06 21:42   ` Rob Herring
2021-08-06 21:42     ` Rob Herring
2021-08-18  8:47   ` Maxime Ripard
2021-08-18  8:47     ` Maxime Ripard
2021-08-02  6:22 ` [PATCH 13/17] mmc: sunxi: add support for R329 MMC controllers Icenowy Zheng
2021-08-02  6:22   ` Icenowy Zheng
2021-08-18  8:47   ` Maxime Ripard
2021-08-18  8:47     ` Maxime Ripard
2021-08-20  2:43   ` Samuel Holland
2021-08-20  2:43     ` Samuel Holland
2021-08-02  6:22 ` [PATCH 14/17] dt-bindings: arm: sunxi: add compatible strings for Sipeed MaixSense Icenowy Zheng
2021-08-02  6:22   ` Icenowy Zheng
2021-08-06 21:43   ` Rob Herring
2021-08-06 21:43     ` Rob Herring
2021-08-18  9:03   ` Maxime Ripard
2021-08-18  9:03     ` Maxime Ripard
2021-08-02  6:22 ` [PATCH 15/17] arm64: allwinner: dts: add DTSI file for R329 SoC Icenowy Zheng
2021-08-02  6:22   ` Icenowy Zheng
2021-08-18  9:01   ` Maxime Ripard
2021-08-18  9:01     ` Maxime Ripard
2021-08-18  9:15     ` Icenowy Zheng
2021-08-18  9:15       ` Icenowy Zheng
2021-08-19  2:32       ` Samuel Holland
2021-08-19  2:32         ` Samuel Holland
2021-08-20  3:06         ` Samuel Holland
2021-08-20  3:06           ` Samuel Holland
2021-08-25 15:00           ` Maxime Ripard
2021-08-25 15:00             ` Maxime Ripard
2021-08-20  2:59   ` Samuel Holland
2021-08-20  2:59     ` Samuel Holland
2021-08-02  6:22 ` [PATCH 16/17] arm64: allwinner: dts: r329: add DTSI file for Sipeed Maix IIA Icenowy Zheng
2021-08-02  6:22   ` Icenowy Zheng
2021-08-02  6:22 ` [PATCH 17/17] arm64: allwinner: dts: r329: add support for Sipeed MaixSense Icenowy Zheng
2021-08-02  6:22   ` Icenowy Zheng
2021-08-10 11:04 ` [PATCH 00/17] Basical Allwinner R329 support Ulf Hansson
2021-08-10 11:04   ` Ulf Hansson
2021-08-10 11:04   ` Ulf Hansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.