From patchwork Tue Mar 19 17:49:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Thomson X-Patchwork-Id: 10860103 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DCA111708 for ; Tue, 19 Mar 2019 17:50:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B5F9B27031 for ; Tue, 19 Mar 2019 17:50:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A9B8D27F8F; Tue, 19 Mar 2019 17:50:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FROM_WORDY,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D92A6296C2 for ; Tue, 19 Mar 2019 17:50:31 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 62BE1860; Tue, 19 Mar 2019 18:49:39 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 62BE1860 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1553017829; bh=MYGSXtF/toYuOsx5WAkGcWVqTHSkP7eSt64kMRqZOpQ=; h=From:Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=umbuYhMWSaIGuEu4ZAseBD7XjKqyqGgwecZLnolmK3dqoYCCMx8PrlU6OIxqZ11gI tCBm8AjLScXfhI9RrIgQvrsEEhV+rQmcAPBYBMJCkBP0YlpeC0JaVO8ZFSFwL7lgAK G7kme5WM3omcqXmTDMC0YcB/6gc0uPBB2w9wwrSk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 91636F8968A; Tue, 19 Mar 2019 18:49:38 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 44246F896B9; Tue, 19 Mar 2019 18:49:37 +0100 (CET) Received: from mail1.bemta25.messagelabs.com (mail1.bemta25.messagelabs.com [195.245.230.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 580F2F80791 for ; Tue, 19 Mar 2019 18:49:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 580F2F80791 Received: from [46.226.52.200] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-3.bemta.az-b.eu-west-1.aws.symcld.net id 7E/E2-11025-CAB219C5; Tue, 19 Mar 2019 17:49:32 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrNIsWRWlGSWpSXmKPExsVy8IPnUd012hN jDCYnWZxq2cNuceXiISaLqQ+fsFnMP3KO1eLblQ4mi8u75rBZLL1+kcmic1c/q0Xr3iPsFhu+ r2V04PLY8LmJzaP10l82jzXz1jB67Jx1l91j06pONo99b5exeazfcpXF4/MmuQCOKNbMvKT8i gTWjJsXzrIUPGCraDh5haWB8S9LFyMXh5DAekaJwxO+sHcxcgI5FRL35u9l7mLk4OAVcJM4fU QEJMwmYCEx+cQDNhCbRUBVYsfV34wgtrCAv8TJI6cYQeaICFxilJj76i1YgllgL6PEyldSIDa vgKDEyZlPWCDiEhIHX7xghthlIHF6QSNYXELAXmL6+6tgeyUE9CUaj8VChA0lvs/6BlViLrH5 2HaWCYz8s5BMnYVk6gJGplWMFklFmekZJbmJmTm6hgYGuoaGRrqGlma6RoZmeolVukl6qaW65 anFJbqGeonlxXrFlbnJOSl6eaklmxiBkZJScOTGDsYvy9MPMUpyMCmJ8jppTYwR4kvKT6nMSC zOiC8qzUktPsQow8GhJMErC5ITLEpNT61Iy8wBxixMWoKDR0mE94EmUJq3uCAxtzgzHSJ1ilF RSpz3GUhCACSRUZoH1wZLE5cYZaWEeRkZGBiEeApSi3IzS1DlXzGKczAqCfNKg2znycwrgZv+ CmgxE9DidfP6QRaXJCKkpBoYS199PP+y8vSWd31tU+d37n9t/CHutQL7s6/XeifFLT8TYGCcN FWH98yc608PcORtO2r96tLOA4kRrr4fj25v2yNwQutD0ZWzTt5pTDrpWdr6zNcf7Bd7nin90a D71o2YZb7HRI65LlZX3hH7UXBG/L73L4VO3eRaw2NltG27vN02HtOjd5k5G5VYijMSDbWYi4o TAe5zGDYOAwAA X-Env-Sender: Adam.Thomson.Opensource@diasemi.com X-Msg-Ref: server-15.tower-288.messagelabs.com!1553017771!4862358!1 X-Originating-IP: [193.240.73.197] X-SYMC-ESS-Client-Auth: outbound-route-from=pass X-StarScan-Received: X-StarScan-Version: 9.31.5; banners=-,-,- X-VirusChecked: Checked Received: (qmail 14763 invoked from network); 19 Mar 2019 17:49:31 -0000 Received: from unknown (HELO sw-ex-cashub01.diasemi.com) (193.240.73.197) by server-15.tower-288.messagelabs.com with AES128-SHA256 encrypted SMTP; 19 Mar 2019 17:49:31 -0000 Received: from swsrvapps-01.diasemi.com (10.20.28.141) by SW-EX-CASHUB01.diasemi.com (10.20.16.140) with Microsoft SMTP Server id 14.3.408.0; Tue, 19 Mar 2019 17:49:29 +0000 Received: by swsrvapps-01.diasemi.com (Postfix, from userid 22379) id B32C73FB15; Tue, 19 Mar 2019 17:49:29 +0000 (GMT) Message-ID: From: Adam Thomson Date: Tue, 19 Mar 2019 17:49:29 +0000 To: Mark Brown , Liam Girdwood , Takashi Iwai , Jaroslav Kysela , Rob Herring , Mark Rutland MIME-Version: 1.0 X-KSE-AttachmentFiltering-Interceptor-Info: protection disabled X-KSE-ServerInfo: sw-ex-cashub01.diasemi.com, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 19/03/2019 15:22:00 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Support Opensource , Akshu Agrawal Subject: [alsa-devel] [PATCH 0/3] ASoC: da7219: Extend CCF support to allow WCLK/BCLK config X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" X-Virus-Scanned: ClamAV using ClamSMTP This patch set extends the existing CCF support in the DA7219 codec driver by splitting the DAI clock gate into clocks to cover WCLK and BCLK, to enable the configuration of these clocks from audio machine drivers when this codec is the clock master of the DAI. Adam Thomson (3): ASoC: da7219: Update DAI clock binding info to cover WCLK/BCLK ASoC: da7219: Expose BCLK and WCLK control through CCF ASoC: AMD: Update DA7219 DAI clock name to align with codec updates Documentation/devicetree/bindings/sound/da7219.txt | 8 +- include/sound/da7219.h | 8 +- sound/soc/amd/acp-da7219-max98357a.c | 2 +- sound/soc/codecs/da7219.c | 523 ++++++++++++++++----- sound/soc/codecs/da7219.h | 6 +- 5 files changed, 412 insertions(+), 135 deletions(-)