From patchwork Fri Mar 3 10:04:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Leitner X-Patchwork-Id: 63856 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp332714wrd; Fri, 3 Mar 2023 02:19:39 -0800 (PST) X-Google-Smtp-Source: AK7set9EbRWc2TGz/0BSFOUNAlB5yHumvyZymx/MbNrLiX5QPhrhfTjL3tdG7s9k+7E35b2q0WJi X-Received: by 2002:a17:906:948:b0:87f:5d0a:c610 with SMTP id j8-20020a170906094800b0087f5d0ac610mr1101372ejd.32.1677838779547; Fri, 03 Mar 2023 02:19:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677838779; cv=none; d=google.com; s=arc-20160816; b=ySMO1Srl0Ev0zgcK59nrzonqFe84HACLgiTTd01eqdX4rtGD+bxUnSZP9vO4O2glth oqoWvGR9yFKhs0R7h0e3UdA/EIqV0dUHM36wqSR3qjHsF6jC48MWn9ITPCPNxttVc+8I T7Bk38UhTpQU1PnJjJeKMagG4t5GLXGStRALPe5GkAdryOqo6Qz/Dcx8IFZxATAPeOSO zSJJiNnL4D6bEwz5BSZYRXmzXjA7HIbMg/0wbrHUp0YAacNSasNlwdCql8vXUvmU8lvh G05mWq5T+Cy74zJKW5HyvpJUT+aC26Vfw2/QbXcZkQv5jvxGjKS0fXWB6TE+KXQW9vrT P7rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=hcYJmRGskfPRmhAdzc8S9FcZG/yfwAAq4mWaDd/Lugo=; b=NsvDA7n15ym1Zdd5FBi8UjtrEkYMCM7BOVEy6BBhxbQOCfzcV1DiryHHQHXLHi4Vgo pQDLgajLHPSVQP7ZzMjdIvVZWoOrG0zaKWU9oy4KGnR1EMjipFpDOL4xXpULxaobQp+1 FqUy99tDRTwDk3042K3SCoXnpar1Cj0HsM5Lq935IY6GGWFQiDLI3a52NMf2mnYbcozV WyOBnABcDLneausFM6CbXQOctZrzUNWuBe6HDzUbAANCXkyQ9TpfkHOkWHHs6D6uSEht sYQ+PYAuBFYWqHgzmx7Xa+jfnR8HSV9oGxJERCO+RNNNrUcRFCYnK0vm1Irqb1jd6hpw AwQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=rd7E5pCy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w12-20020aa7dccc000000b004aab62d6c68si2130473edu.495.2023.03.03.02.19.16; Fri, 03 Mar 2023 02:19:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=rd7E5pCy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230404AbjCCKEX (ORCPT + 99 others); Fri, 3 Mar 2023 05:04:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230230AbjCCKEQ (ORCPT ); Fri, 3 Mar 2023 05:04:16 -0500 Received: from out-6.mta1.migadu.com (out-6.mta1.migadu.com [IPv6:2001:41d0:203:375::6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42709136C3 for ; Fri, 3 Mar 2023 02:04:13 -0800 (PST) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1677837852; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hcYJmRGskfPRmhAdzc8S9FcZG/yfwAAq4mWaDd/Lugo=; b=rd7E5pCyZo37krxzehhlmD8gXrWZwmbdUMFvbrp5i9bDxMKlI0Kc5NyoCp1VzrEkLFV+sX zrFtUmqhONVRfp0Kf/fkeivHwOZWJbvgacU9S9x8tZsfZrwS6e/SKi7nwAczGrUORuoXge vJplx83DQ7aWwI3+pCGEmXnybm7CFIE= From: richard.leitner@linux.dev Date: Fri, 03 Mar 2023 11:04:02 +0100 Subject: [PATCH v2 2/3] ASoC: dt-bindings: maxim,max9867: add clocks property MIME-Version: 1.0 Message-Id: <20230302-max9867-v2-2-fd2036d5e825@skidata.com> References: <20230302-max9867-v2-0-fd2036d5e825@skidata.com> In-Reply-To: <20230302-max9867-v2-0-fd2036d5e825@skidata.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Ladislav Michl , Jaroslav Kysela , Takashi Iwai , Benjamin Bara Cc: Benjamin Bara , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Richard Leitner X-Developer-Signature: v=1; a=openpgp-sha256; l=1121; i=richard.leitner@skidata.com; h=from:subject:message-id; bh=Iw/3nRyv551zpvZ9GVbHR0uIwA0KwrzA9i3bmK0aYNU=; b=owGbwMvMwCX2R2KahkXN7wuMp9WSGFIYj0k9KNl0Scd945wXUcxPbVI3u8f7HnqVNbO4qWraz02s E8PbOkpZGMS4GGTFFFnsjbna3XPL3lcq6uTCzGFlAhnCwMUpABMpn8PIsOXiWQPl98q7PjyZs2PFzN fb/574dlby0Qol92zDb/7KGW0M/x36pip5rDGsn5FlEb95gul5/Ys/05V2Xjp0x9njZei9XzwA X-Developer-Key: i=richard.leitner@skidata.com; a=openpgp; fpr=3F330A87476D76EF79212C6DFC189628387CFBD0 X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759341118527386713?= X-GMAIL-MSGID: =?utf-8?q?1759341476129335675?= From: Richard Leitner Add clocks property to require a "mclk" definition for the maxim,max9867 codec. Signed-off-by: Richard Leitner --- Documentation/devicetree/bindings/sound/maxim,max9867.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/maxim,max9867.yaml b/Documentation/devicetree/bindings/sound/maxim,max9867.yaml index 74cd163546ec..6f27029b137d 100644 --- a/Documentation/devicetree/bindings/sound/maxim,max9867.yaml +++ b/Documentation/devicetree/bindings/sound/maxim,max9867.yaml @@ -35,9 +35,13 @@ properties: reg: maxItems: 1 + clocks: + maxItems: 1 + required: - compatible - reg + - clocks additionalProperties: false @@ -50,6 +54,13 @@ examples: compatible = "maxim,max9867"; #sound-dai-cells = <0>; reg = <0x18>; + clocks = <&codec_clk>; }; }; + + codec_clk: clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <12288000>; + }; ...