From patchwork Fri Jun 28 06:17:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Kochetkov X-Patchwork-Id: 13715511 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7C84FC3064D for ; Fri, 28 Jun 2024 06:22:39 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 5BF14227D; Fri, 28 Jun 2024 08:22:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5BF14227D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1719555757; bh=CCYJOjVFV72eQ++meXn+5CmTr90D7pypumqlYRG0TRU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=vr4KQvxv9aVu1GqoO1m1LrOkCrtqK7EpJE8fSUb086VddLA5vg0oMWiY+y1s5QKWU 8K7UgqXpIlXLSxnozltaoG1DHSEghxpmzexJLqlLdQ8dAhEh02faoEHWbLqsaJeDu0 mkOvXHflfv28s+ArF5F6uVblh+ZZ5F7+Kr2kDTIE= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 75356F805F0; Fri, 28 Jun 2024 08:21:56 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id D0DF6F805CB; Fri, 28 Jun 2024 08:21:55 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 32975F805C8; Fri, 28 Jun 2024 08:21:49 +0200 (CEST) Received: from smtp51.i.mail.ru (smtp51.i.mail.ru [95.163.41.87]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 8E5DAF805BD for ; Fri, 28 Jun 2024 08:18:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8E5DAF805BD Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=inbox.ru header.i=@inbox.ru header.a=rsa-sha256 header.s=mail4 header.b=WFmviI+3 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail4; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:From:Sender:Reply-To:To:Cc:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive: X-Cloud-Ids:Disposition-Notification-To; bh=tYxOvltrA30hHNMLKHjnacM9wzigGdQlst2vhd5Nm7Q=; t=1719555522; x=1719645522; b=WFmviI+37jzORc0BfvFahZfx0ccVGpO4nixwwNC0TLm/XJ0qU2QZE2AWJvNSMgnxpUdMncHLfGD pgCM0ud6HqLg9qJHkNt3TdCuQPHhZyuk0Ga2DcrFZy0wtTHwXxmYsar3YIkmIiI3suBugSmtZ5yKD mYrNvJX/ypxFt/ecybrobTqE84tBgN3mZv+uZx3GMrpZM+/EWIFj50LzIZ8ADlIn/ENvSWB4zKMON 2rqhToQNIW1+sD12Jy7AJCFNabjjRdn3gEAGcJDVgHG1XT9n1xiBYTBkZGhd11NVDWKcu/oKQHz0T SCM2Key60irNOQUjE8sYABznV4z7ja8e/mfQ==; Received: by smtp51.i.mail.ru with esmtpa (envelope-from ) id 1sN4wR-0000000DKRj-3wLX; Fri, 28 Jun 2024 09:18:40 +0300 From: Maxim Kochetkov To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , John Hsu Cc: Maxim Kochetkov , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH v2 2/2] ASoC: dt-bindings: nau8824: Add master clock handling Date: Fri, 28 Jun 2024 09:17:47 +0300 Message-ID: <20240628061750.11141-3-fido_max@inbox.ru> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240628061750.11141-1-fido_max@inbox.ru> References: <20240628061750.11141-1-fido_max@inbox.ru> MIME-Version: 1.0 Authentication-Results: smtp51.i.mail.ru; auth=pass smtp.auth=fido_max@inbox.ru smtp.mailfrom=fido_max@inbox.ru X-Mailru-Src: smtp X-7564579A: EEAE043A70213CC8 X-77F55803: 4F1203BC0FB41BD97C71CE65BD8BD11AB987BBA14BC810777131E0DE46F93A6A182A05F5380850404C228DA9ACA6FE277E4FD14EAA9CF763AC8EDD30083ED68EE8D89A78EEC7F1AD7BD3776DDB6887745ACDA9D15A5ECDEF X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE78CB87876C5D626D4EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006378F586D843116CFB2EA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38B043BF0FB74779F369DF47D8099E7136A597DE0F6DDF699C87966859F48BF75331DF9E95F17B0083B26EA987F6312C9EC9ECD01F8117BC8BEA471835C12D1D9774AD6D5ED66289B5278DA827A17800CE7D9442B0B5983000E8941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B6D07623A0E6354027CC7F00164DA146DA6F5DAA56C3B73B237318B6A418E8EAB86D1867E19FE14079C09775C1D3CA48CF3D321E7403792E342EB15956EA79C166176DF2183F8FC7C04E672349037D5FA5725E5C173C3A84C3335407143AA9223635872C767BF85DA2F004C90652538430E4A6367B16DE6309 X-C1DE0DAB: 0D63561A33F958A511E423A653B73F435002B1117B3ED6967C74CCF4891D97EB886DC9BC01168B20823CB91A9FED034534781492E4B8EEAD05E80F4396618BB2C79554A2A72441328621D336A7BC284946AD531847A6065A17B107DEF921CE79BDAD6C7F3747799A X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF77DD89D51EBB7742D3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF1BCF54096E4D919572604C5F68A978C0FD4CF48868B73570872E01B69C5F633A80C7DAD1783D929B44A12D68860EECB7F9916180378C5D0D896C0CB3C25AE39F55BFE451C82EF709146D90F64BF3396102C26D483E81D6BEEB84411BD425175970A7FB4ED9620804ADE12199CE9660BE X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojOl9CAQoHe3k171cwe9KjCA== X-Mailru-Sender: 689FA8AB762F7393C6D0B12EA33CAA9B23491F84E0F7D155A12365E67D9B78B7823688C44C93D6BA90DE4A6105A3658D481B2AED7BCCC0A49AE3A01A4DD0D55C6C99E19F044156F45FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok Message-ID-Hash: SOXM5LFKKOSJ3B2SF7DC4JHQDUT6ZWM6 X-Message-ID-Hash: SOXM5LFKKOSJ3B2SF7DC4JHQDUT6ZWM6 X-MailFrom: fido_max@inbox.ru X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Use master clock "mclk" if provided through device tree. Signed-off-by: Maxim Kochetkov Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/sound/nuvoton,nau8824.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/nuvoton,nau8824.yaml b/Documentation/devicetree/bindings/sound/nuvoton,nau8824.yaml index 3dbf438c3841..232dc16a94a3 100644 --- a/Documentation/devicetree/bindings/sound/nuvoton,nau8824.yaml +++ b/Documentation/devicetree/bindings/sound/nuvoton,nau8824.yaml @@ -23,6 +23,14 @@ properties: '#sound-dai-cells': const: 0 + clocks: + items: + - description: The phandle of the master clock to the CODEC + + clock-names: + items: + - const: mclk + interrupts: maxItems: 1