|
|
Log in / Subscribe / Register

clk: sunxi-ng: Introduce support for A23 and A33 CCUs

From:  Maxime Ripard <maxime.ripard-AT-free-electrons.com>
To:  Mike Turquette <mturquette-AT-baylibre.com>, Stephen Boyd <sboyd-AT-codeaurora.org>, Chen-Yu Tsai <wens-AT-csie.org>
Subject:  [PATCH 0/6] clk: sunxi-ng: Introduce support for A23 and A33 CCUs
Date:  Thu, 1 Sep 2016 16:16:11 +0200
Message-ID:  <20160901141617.9777-1-maxime.ripard@free-electrons.com>
Cc:  Hans de Goede <hdegoede-AT-redhat.com>, Mylene Josserand <mylene.josserand-AT-free-electrons.com>, linux-clk-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-arm-kernel-AT-lists.infradead.org, linux-kernel-AT-vger.kernel.org, Thomas Petazzoni <thomas.petazzoni-AT-free-electrons.com>, Maxime Ripard <maxime.ripard-AT-free-electrons.com>

Hi everyone,

Here is the migration for the A23 and A33 clocks to the sunxi-ng
framework.

It has been tested on SinA33 board, and I made sure that everything
was reported at the exact same rate, that the MMC was still working in
DDR, etc.

This has also been tested to implement the DRM driver, so I'm
confident things will work just fine.

Let me know what you think,
Maxime

Maxime Ripard (6):
  clk: sunxi-ng: div: Add mux table macros
  clk: sunxi-ng: mux: Add mux table macro
  clk: sunxi-ng: Add N-class clocks support
  clk: sunxi-ng: Add A33 CCU support
  clk: sunxi-ng: Add A23 CCU
  ARM: sun8i: Convert the A23 and A33 to the CCU

 .../devicetree/bindings/clock/sunxi-ccu.txt        |   2 +
 arch/arm/boot/dts/sun8i-a23-a33.dtsi               | 257 ++-----
 arch/arm/boot/dts/sun8i-a23.dtsi                   |  51 +-
 arch/arm/boot/dts/sun8i-a33.dtsi                   |  73 +-
 drivers/clk/sunxi-ng/Kconfig                       |  28 +
 drivers/clk/sunxi-ng/Makefile                      |   3 +
 drivers/clk/sunxi-ng/ccu-sun8i-a23-a33.h           |  63 ++
 drivers/clk/sunxi-ng/ccu-sun8i-a23.c               | 723 +++++++++++++++++++
 drivers/clk/sunxi-ng/ccu-sun8i-a33.c               | 772 +++++++++++++++++++++
 drivers/clk/sunxi-ng/ccu_div.h                     |  28 +-
 drivers/clk/sunxi-ng/ccu_mult.c                    | 133 ++++
 drivers/clk/sunxi-ng/ccu_mult.h                    |  35 +
 drivers/clk/sunxi-ng/ccu_mux.h                     |  26 +-
 include/dt-bindings/clock/sun8i-a23-a33-ccu.h      | 127 ++++
 include/dt-bindings/reset/sun8i-a23-a33-ccu.h      |  87 +++
 15 files changed, 2082 insertions(+), 326 deletions(-)
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun8i-a23-a33.h
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun8i-a23.c
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun8i-a33.c
 create mode 100644 drivers/clk/sunxi-ng/ccu_mult.c
 create mode 100644 include/dt-bindings/clock/sun8i-a23-a33-ccu.h
 create mode 100644 include/dt-bindings/reset/sun8i-a23-a33-ccu.h

-- 
2.9.2



Copyright © 2016, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds