From: Lee Jones <lee.jones@linaro.org>
To: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Cc: linus.walleij@linaro.org, broonie@kernel.org,
patches@opensource.wolfsonmicro.com,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-gpio@vger.kernel.org, alsa-devel@alsa-project.org
Subject: Re: [PATCH v2 1/3] mfd: arizona: Support Cirrus Logic CS47L24 and WM1831
Date: Fri, 30 Oct 2015 18:29:41 +0000 [thread overview]
Message-ID: <20151030182941.GI4058@x1> (raw)
In-Reply-To: <1445264027-7357-2-git-send-email-rf@opensource.wolfsonmicro.com>
On Mon, 19 Oct 2015, Richard Fitzgerald wrote:
> This patch adds the regmap configuration tables and
> core MFD handling for the CS47L24 and WM1831 codecs.
>
> Note that compared to the other Arizona codecs, these devices
> do not have an LDO1 or micsupp regulators, extcon driver, or
> the DCVDD isolation control.
>
> Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> ---
> Documentation/devicetree/bindings/mfd/arizona.txt | 4 +-
Separate patch please.
> drivers/mfd/Kconfig | 19 +-
> drivers/mfd/Makefile | 3 +
> drivers/mfd/arizona-core.c | 74 +-
> drivers/mfd/arizona-irq.c | 40 +-
> drivers/mfd/arizona-spi.c | 7 +
> drivers/mfd/arizona.h | 4 +
> drivers/mfd/cs47l24-tables.c | 1629 +++++++++++++++++++++
> include/linux/mfd/arizona/core.h | 3 +
> 9 files changed, 1757 insertions(+), 26 deletions(-)
> create mode 100644 drivers/mfd/cs47l24-tables.c
>
> diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt
> index a8fee60..73f28fa 100644
> --- a/Documentation/devicetree/bindings/mfd/arizona.txt
> +++ b/Documentation/devicetree/bindings/mfd/arizona.txt
> @@ -1,4 +1,4 @@
> -Wolfson Arizona class audio SoCs
> +Cirrus Logic/Wolfson Microelectronics Arizona class audio SoCs
>
> These devices are audio SoCs with extensive digital capabilites and a range
> of analogue I/O.
> @@ -12,6 +12,8 @@ Required properties:
> "wlf,wm8997"
> "wlf,wm8998"
> "wlf,wm1814"
> + "wlf,wm1831"
> + "cirrus,cs47l24"
>
> - reg : I2C slave address when connected using I2C, chip select number when
> using SPI.
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 4d92df6..d25bbb3 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -1370,24 +1370,24 @@ config MFD_ARIZONA
> bool
>
> config MFD_ARIZONA_I2C
> - tristate "Wolfson Microelectronics Arizona platform with I2C"
> + tristate "Cirrus Logic/Wolfson Microelectronics Arizona platform with I2C"
> select MFD_ARIZONA
> select MFD_CORE
> select REGMAP_I2C
> depends on I2C
> help
> - Support for the Wolfson Microelectronics Arizona platform audio SoC
> - core functionality controlled via I2C.
> + Support for the Cirrus Logic/Wolfson Microelectronics Arizona platform
> + audio SoC core functionality controlled via I2C.
>
> config MFD_ARIZONA_SPI
> - tristate "Wolfson Microelectronics Arizona platform with SPI"
> + tristate "Cirrus Logic/Wolfson Microelectronics Arizona platform with SPI"
> select MFD_ARIZONA
> select MFD_CORE
> select REGMAP_SPI
> depends on SPI_MASTER
> help
> - Support for the Wolfson Microelectronics Arizona platform audio SoC
> - core functionality controlled via I2C.
> + Support for the Cirrus Logic/Wolfson Microelectronics Arizona platform
> + audio SoC core functionality controlled via I2C.
>
> config MFD_WM5102
> bool "Wolfson Microelectronics WM5102"
> @@ -1414,6 +1414,13 @@ config MFD_WM8998
> help
> Support for Wolfson Microelectronics WM8998 low power audio SoC
>
> +config MFD_CS47L24
> + bool "Cirrus Logic CS47L24 and WM1831"
> + depends on MFD_ARIZONA
> + help
> + Support for Cirrus Logic CS47L24 and WM1831 low power audio SoC
> +
> +
Superflous '\n'.
[...]
> diff --git a/drivers/mfd/cs47l24-tables.c b/drivers/mfd/cs47l24-tables.c
> new file mode 100644
> index 0000000..f877586
> --- /dev/null
> +++ b/drivers/mfd/cs47l24-tables.c
> @@ -0,0 +1,1629 @@
> +/*
> + * cs47l24-tables.c -- data tables for CS47L24 codec
Please remove this filename.
They have a habit of becoming unaligned.
> + * Copyright 2015 Cirrus Logic, Inc.
> + *
> + * Author: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> + */
[...]
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
next prev parent reply other threads:[~2015-10-30 18:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-19 14:13 [PATCH v2 0/3] Add support for Cirrus Logic CS47L24 and WM1831 codecs Richard Fitzgerald
2015-10-19 14:13 ` [PATCH v2 1/3] mfd: arizona: Support Cirrus Logic CS47L24 and WM1831 Richard Fitzgerald
2015-10-30 18:29 ` Lee Jones [this message]
2015-10-19 14:13 ` [PATCH v2 2/3] gpio: " Richard Fitzgerald
2015-10-27 9:58 ` Linus Walleij
2015-10-28 11:42 ` Lee Jones
2015-10-29 14:29 ` Linus Walleij
2015-10-19 14:13 ` [PATCH v2 3/3] ASoC: cs47l24: Add driver for Cirrus Logic CS47L24 and WM1831 codecs Richard Fitzgerald
2015-10-22 12:40 ` Mark Brown
2015-10-19 14:52 ` [alsa-devel] [PATCH v2 0/3] Add support " Caleb Crome
2015-10-19 15:04 ` Richard Fitzgerald
2015-10-19 15:10 ` Caleb Crome
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=20151030182941.GI4058@x1 \
--to=lee.jones@linaro.org \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patches@opensource.wolfsonmicro.com \
--cc=rf@opensource.wolfsonmicro.com \
/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).