[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190212162859.20743-1-narmstrong@baylibre.com>
Date: Tue, 12 Feb 2019 17:28:57 +0100
From: Neil Armstrong <narmstrong@...libre.com>
To: jbrunet@...libre.com
Cc: Neil Armstrong <narmstrong@...libre.com>,
linux-clk@...r.kernel.org, linux-amlogic@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] clk: meson: Add G12A AO Clock + Reset Controller
This patchset add support for the Amlogic G12A SoC family Always-On
clock and reset controller.
This adds support for clocks on the Always-On domain like :
- Always-On UARTS & I2C Controllers
- CEC Controllers
- SARADC source and bus clock
- Infrared Decoder/Encoder bus clock
- USB 32K reference clock
This also adds resets lines for :
- Always-On UARTS & I2C Controllers
- SARADC, Infrared Decoder/Encoder
This patchset depends on the ("clk: meson: rework drivers dependencies")
from Jerome Brunet at [1].
Changes from v1 at [2]:
- Moved unused bindings ID out of the dt-bindings header
- Added comment about CLK_IGNORE_UNUSED
[1] https://lkml.kernel.org/r/20190201125841.26785-1-jbrunet@baylibre.com
[2] https://lkml.kernel.org/r/20190204091331.9298-1-narmstrong@baylibre.com
Neil Armstrong (2):
dt-bindings: clk: add G12A AO Clock and Reset Bindings
clk: meson: Add G12A AO Clock + Reset Controller
.../bindings/clock/amlogic,gxbb-aoclkc.txt | 1 +
drivers/clk/meson/Kconfig | 2 +
drivers/clk/meson/Makefile | 2 +-
drivers/clk/meson/g12a-aoclk.c | 454 ++++++++++++++++++
drivers/clk/meson/g12a-aoclk.h | 34 ++
include/dt-bindings/clock/g12a-aoclkc.h | 34 ++
include/dt-bindings/reset/g12a-aoclkc.h | 18 +
7 files changed, 544 insertions(+), 1 deletion(-)
create mode 100644 drivers/clk/meson/g12a-aoclk.c
create mode 100644 drivers/clk/meson/g12a-aoclk.h
create mode 100644 include/dt-bindings/clock/g12a-aoclkc.h
create mode 100644 include/dt-bindings/reset/g12a-aoclkc.h
--
2.20.1
Powered by blists - more mailing lists