From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754613AbbKYOYi (ORCPT ); Wed, 25 Nov 2015 09:24:38 -0500 Received: from mail1.bemta3.messagelabs.com ([195.245.230.173]:21552 "EHLO mail1.bemta3.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753048AbbKYOYg (ORCPT ); Wed, 25 Nov 2015 09:24:36 -0500 X-Env-Sender: Adam.Thomson.Opensource@diasemi.com X-Msg-Ref: server-13.tower-38.messagelabs.com!1448461472!7511573!1 X-Originating-IP: [87.137.64.195] X-StarScan-Received: X-StarScan-Version: 7.19.2; banners=-,-,- X-VirusChecked: Checked Message-ID: From: Adam Thomson Date: Wed, 25 Nov 2015 14:24:26 +0000 Subject: [PATCH v4 0/2] ASoC: Add support for DA7217 and DA7218 audio codecs To: Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala CC: , , , Support Opensource MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: 8d172408-bd6a-42b1-8e53-daaedf35a5af Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set adds DT and ASoC codec driver support for DA7217 and DA7218. Changes are based against v4.4-rc2 kernel version. Changes in v4: - DT binding updates for unit suffixes (hz, us) at Rob Herring's request. Changes in v3: - At request of Rob Herring, added units suffix to applicable binding names. - Add changes for codec Kconfig and Makefile which were somehow missed from previous patches. Changes in v2: - Removed Internal LDO voltage selection from DT - BiQuad filter coefficients removed from DT, no programmed using mixer controls. - ALC calibration no longer bypasses regmap cache and instead saves & restores registers around procedure, to avoid issues with concurrent regmap access. - Removed all unnecessary default settings for mixers in probe. - Reporting of mic level detection event to user-space, through input VOICECOMMAND key event, removed as not intended for this purpose. Alternative solution required as follow up. Event masked off until solution in place. - Additional error checking & loggin around mclk usage, in sysclk and bias_level functions. Adam Thomson (2): ASoC: da7218: Add bindings documentation for DA7218 audio codec ASoC: codecs: Add da7218 codec driver Documentation/devicetree/bindings/sound/da7218.txt | 104 + include/sound/da7218.h | 109 + sound/soc/codecs/Kconfig | 4 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/da7218.c | 3305 ++++++++++++++++++++ sound/soc/codecs/da7218.h | 1414 +++++++++ 6 files changed, 4938 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/da7218.txt create mode 100644 include/sound/da7218.h create mode 100644 sound/soc/codecs/da7218.c create mode 100644 sound/soc/codecs/da7218.h -- 1.9.3