From patchwork Tue Mar 19 17:49:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Thomson X-Patchwork-Id: 10860105 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 8F5D513B5 for ; Tue, 19 Mar 2019 17:51:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A7E727031 for ; Tue, 19 Mar 2019 17:51:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5E8AB28462; Tue, 19 Mar 2019 17:51:31 +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 9977727031 for ; Tue, 19 Mar 2019 17:51:30 +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 A353F87C; Tue, 19 Mar 2019 18:50:38 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A353F87C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1553017888; bh=QiUFuVK50V8z/CJQxfi1p8/Soi1ChWmcF46BRA7J7y4=; h=In-Reply-To:References:From:Date:To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ZSwnQ4EihTU3EPMi0LVbMDLCoCGVLsjmvGuTqbIBBBZioT+Fh6n7aYHsIRal1W99D Np5nJC/npswOpsmxIRnS1Pz+d3DtNZdRIEGK4Wu8gyeJn+ZVaPz/BKRTNye9nnUe28 BnsNTLMmqp2QeQtpzMyGi7pUechF+XlOYzPkq3U0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 76EDFF896FD; Tue, 19 Mar 2019 18:49:40 +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 78907F896B7; Tue, 19 Mar 2019 18:49:37 +0100 (CET) Received: from mail1.bemta25.messagelabs.com (mail1.bemta25.messagelabs.com [195.245.230.66]) (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 3958DF80792 for ; Tue, 19 Mar 2019 18:49:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3958DF80792 Received: from [46.226.52.200] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-2.bemta.az-b.eu-west-1.aws.symcld.net id F5/90-14990-CAB219C5; Tue, 19 Mar 2019 17:49:32 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEKsWRWlGSWpSXmKPExsVy8IPnUd012hN jDN5947U41bKH3eLKxUNMFlMfPmGzmH/kHKvFtysdTBaXd81hs1h6/SKTReeuflaL1r1H2C02 fF/L6MDlseFzE5tH66W/bB5r5q1h9Ng56y67x6ZVnWwe+94uY/NYv+Uqi8fnTXIBHFGsmXlJ+ RUJrBnLJ/sWTOWpePSplaWBcTVXFyMXh5DAekaJN3O7WbsYOYCcCoktzZpdjJwcvAKZEr3njr KC2JwC7hLb7/axgNhCAm4SP24cYQKx2QQsJCafeMAGYrMIqEqcWHKUHWSMsECIxLy/ASDjRQQ uMUrMffWWEaSGWWAvo8TKV1IQ8wUlTs58wgIRl5A4+OIFM8R8A4nTCxrB4hIC9hLT319lBpkp IaAv0XgsFiJsKPF91jeoEnOJzce2s0xgFJyFZOosJFMXMDKtYrRIKspMzyjJTczM0TU0MNA1N DTSNbQ00zU0M9ZLrNJN0kst1S1PLS7RNdRLLC/WK67MTc5J0ctLLdnECIyrlIIji3cwvlqefo hRkoNJSZTXSWtijBBfUn5KZUZicUZ8UWlOavEhRhkODiUJXlmQnGBRanpqRVpmDjDCYdISHDx KIrwPNIHSvMUFibnFmekQqVOMilLivM9AEgIgiYzSPLg2WFK5xCgrJczLyMDAIMRTkFqUm1mC Kv+KUZyDUUmYVxpkO09mXgnc9FdAi5mAFq+b1w+yuCQRISXVwJjnueq5+/O8xNXib75lHY948 HpnYLHCm2yVI9kzHm07+knsqNSfU9L97wSEX8SzHtU/VPBvg/HShu/fi7sX3wk8cmXBx8wSqz DVPdcjq2xWvm4Xlds+f2WinFXedOWPlr+Wn69h4ZNIeSYz9Qb35z6BfOOdc2ZsfnK8/1izwaM lMkXfZkn/eh6kxFKckWioxVxUnAgAYKZfSSUDAAA= X-Env-Sender: Adam.Thomson.Opensource@diasemi.com X-Msg-Ref: server-15.tower-288.messagelabs.com!1553017771!4862358!2 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 14907 invoked from network); 19 Mar 2019 17:49:32 -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:32 -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:30 +0000 Received: by swsrvapps-01.diasemi.com (Postfix, from userid 22379) id B64E43FBE9; Tue, 19 Mar 2019 17:49:30 +0000 (GMT) Message-ID: In-Reply-To: References: From: Adam Thomson Date: Tue, 19 Mar 2019 17:49:30 +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 1/3] ASoC: da7219: Update DAI clock binding info to cover WCLK/BCLK 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 With the need to expose WCLK and BCLK as separate clocks, the 'clock-cells' and 'clock-output-names' descriptions need to be updated as now the codec is providing 2 clocks. The example is also updated accordingly. Signed-off-by: Adam Thomson --- Documentation/devicetree/bindings/sound/da7219.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/da7219.txt b/Documentation/devicetree/bindings/sound/da7219.txt index e9d0bae..add1caf 100644 --- a/Documentation/devicetree/bindings/sound/da7219.txt +++ b/Documentation/devicetree/bindings/sound/da7219.txt @@ -23,8 +23,8 @@ Optional properties: interrupt is to be used to wake system, otherwise "irq" should be used. - wakeup-source: Flag to indicate this device can wake system (suspend/resume). -- #clock-cells : Should be set to '<0>', only one clock source provided; -- clock-output-names : Name given for DAI clocks output; +- #clock-cells : Should be set to '<1>', two clock sources provided; +- clock-output-names : Names given for DAI clock outputs (WCLK & BCLK); - clocks : phandle and clock specifier for codec MCLK. - clock-names : Clock name string for 'clocks' attribute, should be "mclk". @@ -84,8 +84,8 @@ Example: VDDMIC-supply = <®_audio>; VDDIO-supply = <®_audio>; - #clock-cells = <0>; - clock-output-names = "dai-clks"; + #clock-cells = <1>; + clock-output-names = "dai-wclk", "dai-bclk"; clocks = <&clks 201>; clock-names = "mclk";