From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030414AbbJ3S3u (ORCPT ); Fri, 30 Oct 2015 14:29:50 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:37555 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760481AbbJ3S3s (ORCPT ); Fri, 30 Oct 2015 14:29:48 -0400 Date: Fri, 30 Oct 2015 18:29:41 +0000 From: Lee Jones To: Richard Fitzgerald 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 Message-ID: <20151030182941.GI4058@x1> References: <1445264027-7357-1-git-send-email-rf@opensource.wolfsonmicro.com> <1445264027-7357-2-git-send-email-rf@opensource.wolfsonmicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1445264027-7357-2-git-send-email-rf@opensource.wolfsonmicro.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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 > + * > + * 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