From: Chen-Yu Tsai <wens@csie.org>
To: Mark Brown <broonie@kernel.org>, Lee Jones <lee.jones@linaro.org>,
Alessandro Zummo <a.zummo@towertech.it>,
Alexandre Belloni <alexandre.belloni@free-electrons.com>,
Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
Maxime Ripard <maxime.ripard@free-electrons.com>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@codeaurora.org>
Cc: Chen-Yu Tsai <wens@csie.org>,
rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-clk@vger.kernel.org
Subject: [PATCH 00/10] mfd: ac100: Add support for X-Powers AC100 audio codec / RTC combo IC
Date: Tue, 14 Jun 2016 10:17:47 +0800 [thread overview]
Message-ID: <1465870678-30128-1-git-send-email-wens@csie.org> (raw)
Hi everyone,
This series adds support for X-Powers' AC100 audio codec / RTC combo IC.
This chip is found on Allwinner A80 SoC based boards, and is also part
of the AXP813/AXP818 PMIC found with Allwinner A83T SoCs.
The series focuses on the RTC side of the chip. The audio codec will
be done later, once the digital audio interface of the SoC is supported.
Patch 1 adds bulk write support for regmaps without raw formatting.
This is used in the RTC driver to write out the date and time in one
call.
Patch 2 adds device tree bindings for the AC100.
Patch 3 adds the mfd driver for the AC100.
Patch 4 adds the RTC driver for the AC100.
Patch 5 adds RTC clk output support to the RTC driver.
This is a separate patch as the clk code is over 300 LoC. Having a
separate patch should make it easier for the clk maintainers to review.
Patch 6 adds the AC100 device nodes to the A80 Optimus board dts.
Patch 7 adds the AC100 device nodes to the Cubieboard4 board dts.
Patch 8 fixes the order of device nodes in the A80 Optimus board dts.
Patch 9 fixes the order of device nodes in the Cubieboard4 board dts.
Patch 10 changes the fixed osc_32k clk to a fixed factor clk,
representing the 32k clk input pin on the SoC, and also hooks up the
ac100 rtc clk output to this clk in the board dts files.
I'm hoping we can merge the driver bits (patches 2~5) through the
mfd tree, with acks from the rtc and clk maintainers for patches
4 and 5.
Regards
ChenYu
Chen-Yu Tsai (10):
regmap: Support bulk writes for devices without raw formatting
mfd: ac100: Add device tree bindings for X-Powers AC100 codec/RTC
combo IC
mfd: ac100: Add driver for X-Powers AC100 audio codec / RTC combo IC
rtc: ac100: Add RTC driver for X-Powers AC100
rtc: ac100: Add clk output support
ARM: dts: sun9i: a80-optimus: Add device node for AC100
ARM: dts: sun9i: cubieboard4: Add device node for AC100
ARM: dts: sun9i: cubieboard4: Order nodes by alphabetical order
ARM: dts: sun9i: a80-optimus: Order nodes by alphabetical order
ARM: dts: sun9i: Switch to the AC100 RTC clock outputs for osc32k
Documentation/devicetree/bindings/mfd/ac100.txt | 42 ++
arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 58 +-
arch/arm/boot/dts/sun9i-a80-optimus.dts | 76 ++-
arch/arm/boot/dts/sun9i-a80.dtsi | 9 +-
drivers/base/regmap/regmap.c | 31 +-
drivers/mfd/Kconfig | 10 +
drivers/mfd/Makefile | 2 +
drivers/mfd/ac100.c | 135 +++++
drivers/rtc/Kconfig | 10 +
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-ac100.c | 686 ++++++++++++++++++++++++
include/linux/mfd/ac100.h | 176 ++++++
12 files changed, 1186 insertions(+), 50 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mfd/ac100.txt
create mode 100644 drivers/mfd/ac100.c
create mode 100644 drivers/rtc/rtc-ac100.c
create mode 100644 include/linux/mfd/ac100.h
--
2.8.1
next reply other threads:[~2016-06-14 2:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-14 2:17 Chen-Yu Tsai [this message]
2016-06-14 2:17 ` [PATCH 01/10] regmap: Support bulk writes for devices without raw formatting Chen-Yu Tsai
2016-06-29 18:48 ` Applied "regmap: Support bulk writes for devices without raw formatting" to the regmap tree Mark Brown
2016-06-14 2:17 ` [PATCH 02/10] mfd: ac100: Add device tree bindings for X-Powers AC100 codec/RTC combo IC Chen-Yu Tsai
2016-06-14 2:17 ` [PATCH 03/10] mfd: ac100: Add driver for X-Powers AC100 audio codec / RTC " Chen-Yu Tsai
2016-06-14 2:17 ` [PATCH 03/10] mfd: " Chen-Yu Tsai
2016-06-14 2:20 ` Chen-Yu Tsai
2016-06-14 2:17 ` [PATCH 04/10] rtc: ac100: Add RTC driver for X-Powers AC100 Chen-Yu Tsai
2016-06-14 2:17 ` [PATCH 05/10] rtc: ac100: Add clk output support Chen-Yu Tsai
2016-06-14 2:17 ` [PATCH 06/10] ARM: dts: sun9i: a80-optimus: Add device node for AC100 Chen-Yu Tsai
2016-06-14 2:17 ` [PATCH 07/10] ARM: dts: sun9i: cubieboard4: " Chen-Yu Tsai
2016-06-14 2:17 ` [PATCH 08/10] ARM: dts: sun9i: cubieboard4: Order nodes by alphabetical order Chen-Yu Tsai
2016-06-14 2:17 ` [PATCH 09/10] ARM: dts: sun9i: a80-optimus: " Chen-Yu Tsai
2016-06-14 2:17 ` [PATCH 10/10] ARM: dts: sun9i: Switch to the AC100 RTC clock outputs for osc32k Chen-Yu Tsai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1465870678-30128-1-git-send-email-wens@csie.org \
--to=wens@csie.org \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@free-electrons.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=maxime.ripard@free-electrons.com \
--cc=mturquette@baylibre.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=rtc-linux@googlegroups.com \
--cc=sboyd@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).