Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2931270ybl; Sun, 25 Aug 2019 05:19:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqyiMkZhhOyG47yWusvnQEIWCAerABq/elIol9Ok80F+QSlUkddJQ094EGfVU+3ivdiLomtT X-Received: by 2002:a62:144f:: with SMTP id 76mr15048045pfu.62.1566735571713; Sun, 25 Aug 2019 05:19:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566735571; cv=none; d=google.com; s=arc-20160816; b=VIUbM7weMpC7262MaSSyt6toL49c7sQYsO7qdfsYBddf0JbU8Hbyn2Ppee9Km3z+FZ 6OoqbO6LRMFzMHYfZtUeIIvlBKEolVLxo9ZHWSOUJ7PjiozERx57zLTSvzE72YhK78b5 jhUpKu94BMytt4JJTePIpgi8Nq4AFeoL92d0sdRR3K+/o7F75ssN9cKcfQ0qYAToY3t1 JZgu78NfD1c9eJwT6ZUqeOjsjO30tqTexaj6KYCX2mhBlDwp3eLMOSEqy6kBJHABE0qt 8KU7nKJKRndXPsRuvleDLI9uNmiE3Z/AzU17uBjgDvTRbZ37BWETZhtklU3apwtsuUqN UJUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:content-transfer-encoding :mime-version:subject:from:message-id:date:dkim-signature; bh=yZ0kwRrxm6Kia0NeLBjW8XY2UJ4SY80iopnzs8zP+xY=; b=rHTsbhFz/uE7+z81xwi9SYyJIYAiev3ghJQBxeZ+78COn99BT4mxgc5lBSGdOZdrYF WYnWCJ/pqwug5jq/SAjgk+RxaWn36vUK9wLpNKGExTsaamas6OV7ndztlXnOSYdF1Q5B hgN6JG7ChPfUOWhUJd5Swcfs6zFVg1ES77Z5p7uM+2760FLXueaOuTk1yqtHqVX6hRd+ rhjRAOLQgkZzJsgAD2uNOft4tMba+ZXcI44cn3KWwneQpWD9CqS7SC4SsXc6+esn/3Lk ZYHQiKsrelqA8oDvVJQl3iFp4W20oU46lJAE6PLt7qVyarlrbGrz/tvTsPOO0dgQm2Gl gEKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b="eauM8c1/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2si7189968pll.378.2019.08.25.05.18.59; Sun, 25 Aug 2019 05:19:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b="eauM8c1/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727056AbfHYMRh (ORCPT + 99 others); Sun, 25 Aug 2019 08:17:37 -0400 Received: from rere.qmqm.pl ([91.227.64.183]:61446 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726511AbfHYMRg (ORCPT ); Sun, 25 Aug 2019 08:17:36 -0400 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 46GYy30s3Vz55; Sun, 25 Aug 2019 14:15:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1566735358; bh=midx80iUy3avtT/Mo/OB+mMlAmfHoL2kDdpN3DL3rD8=; h=Date:From:Subject:To:Cc:From; b=eauM8c1/MyDyDyTQkcK2LHoYBiaBO2oi7tltzy+B3oKUvTdU7jf2D3eAGtrOJgUDb agOVBJfxzwopF+7o3MXULCFvrXUwKhsSQCnjmn5/P+YIQZzWG3LgGV5x9Q/8TeThkt uRswhsbFHFStN3YzbTU4qZUnu0oLiVkv4ude3S9Yz9YZL0vAjaImIIBgvQocCsVQ5I cJAf0aAjFSHAoflws+z/SIOF7XHXbUenP8C8u4RqkJp2Qjxr2RWKMLD9Qc4rLqzsLZ 3soSE+Q01tFJl4y9Hoa8ZrA61vnG+P561zUNpudqou0DPwsqYw//n/WIGE05Cbj73/ xO1ZgVPYLvOtQ== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.101.2 at mail Date: Sun, 25 Aug 2019 14:17:30 +0200 Message-Id: From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= Subject: [PATCH v2 0/4] wm8904: adapt driver for use with audio-graph-card MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: alsa-devel@alsa-project.org, patches@opensource.cirrus.com Cc: Alexandre Belloni , Allison Randal , Anders Roxell , Annaliese McDermond , Charles Keepax , Codrin Ciubotariu , Enrico Weigelt , Greg Kroah-Hartman , Jaroslav Kysela , Jerome Brunet , Kate Stewart , Kirill Marinushkin , Kuninori Morimoto , Liam Girdwood , Ludovic Desroches , Mark Brown , Maxime Jourdan , Nariman Poushin , Nicolas Ferre , Nikesh Oswal , Paul Cercueil , Piotr Stankiewicz , Randy Dunlap , Richard Fitzgerald , Srinivas Kandagatla , Takashi Iwai , Thomas Gleixner , zhong jiang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series allows to use WM8904 codec as audio-graph-card component. It starts with rework of FLL handling in the codec's driver, and as an example includes (untested) rework for codec with similar FLL: WM8994. Series based on tiwai/sound/for-next tree. You can also pull from: https://rere.qmqm.pl/git/linux branch: wm8904 (branch includes two fixes already sent to alsa-devel, but not merged yet). Michał Mirosław (4): ASoC: wm_fll: extract common code for Wolfson FLLs ASoC: wm8904: use common FLL code ASoC: wm8904: automatically choose clock source [RFT] ASoC: wm8994: use common FLL code sound/soc/atmel/atmel_wm8904.c | 11 +- sound/soc/codecs/Kconfig | 9 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/wm8904.c | 516 +++++++++++--------------------- sound/soc/codecs/wm8904.h | 5 - sound/soc/codecs/wm8994.c | 281 +++++------------- sound/soc/codecs/wm8994.h | 4 +- sound/soc/codecs/wm_fll.c | 518 +++++++++++++++++++++++++++++++++ sound/soc/codecs/wm_fll.h | 60 ++++ 9 files changed, 849 insertions(+), 557 deletions(-) create mode 100644 sound/soc/codecs/wm_fll.c create mode 100644 sound/soc/codecs/wm_fll.h -- 2.20.1