Message ID | 20230302-max9867-v1-2-aa9f7f25db5e@skidata.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp4193094wrd; Thu, 2 Mar 2023 04:00:37 -0800 (PST) X-Google-Smtp-Source: AK7set+7G1tsi5Yw0rIUPv8LqZNvG4jtwrrWoXxlNOAaVJTbXPCP7VS7rx70FjEN8SiA3Zf2T6l6 X-Received: by 2002:a62:3304:0:b0:5a9:cb6b:7843 with SMTP id z4-20020a623304000000b005a9cb6b7843mr9029041pfz.27.1677758437136; Thu, 02 Mar 2023 04:00:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677758437; cv=none; d=google.com; s=arc-20160816; b=ijgHiGqK6U9YIR0PeWh3P+7YlwVcMW/N2LCR97PUWwXXqrSZ8ylXYp7SsoC1Qi343o Wpni9X1fpdTcNhrbbECcFR+dYFrNBmpR5pGvPfMvdCytXgOUu0o3o/T7TaP0m/kbSfhr 7p6AGjvOa7EQDp+Jsx151fDZGJ0cEF2pyYmP/Hf8vrWHvudN+R3sjao/ulJP3hbyL0Qg HGu3ncpLO8+94FivEVzdqQCar1yG8+c8jeT6563gbkVX7kcrTk0z5yY4iOZ5wwTvsFXg WTarwYFmoK4JdFQYMqDZmd5yYmG5RchND/U/hKWKqLhNn+85QRhEFhavASPFETvNrBmF tMIA== 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=AR5vfcbTzXg9GS9xts3Lxqv5/GJy7ozqxusymEf3afo=; b=NkUqooWjNchxUNiz5OmSea0ifas/l7um36p0cLppPKoKykZAz4xF/uc2f5VkxVmEJe 2r0RnTB+UAsEAQvgYjdhw0bf069QgieJslE89t0KEDflGxbAv8OWNURslwLIyCX8U/5y c0s/l2G0fU6j/q4rBYJ2+de4gMwFolUPoxPwxiuGRSuW2lYMy1RnCanotssRP9VxZw2O PhltEzohpjQohTeLHUa8uEMJ2Jz0h7MBWEq4qsSS9HOuG8T1d5q7ZXfve8gdPEDr6s/8 01+wOJz/dNrsCvfjlgWRKR13ZlrJVUWE9qNzLfCf7CINN6s8ei9h8wHX4Xms+LAr+T1K K1FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=xEL5Mwbq; 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 k15-20020aa788cf000000b0058e01069f69si16873362pff.115.2023.03.02.04.00.24; Thu, 02 Mar 2023 04:00:37 -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=xEL5Mwbq; 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 S229889AbjCBL5g (ORCPT <rfc822;davidbtadokoro@gmail.com> + 99 others); Thu, 2 Mar 2023 06:57:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229851AbjCBL50 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 2 Mar 2023 06:57:26 -0500 Received: from out-23.mta1.migadu.com (out-23.mta1.migadu.com [IPv6:2001:41d0:203:375::17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCC1834007 for <linux-kernel@vger.kernel.org>; Thu, 2 Mar 2023 03:57:22 -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=1677758241; 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=AR5vfcbTzXg9GS9xts3Lxqv5/GJy7ozqxusymEf3afo=; b=xEL5MwbqhEW/vkHHggpCjUihFiwwscme7Ym7cn7njoh9i5up9Qq5IN3roJUWuLzSrwAafy 6nuRb4mUGB2rYjivL9tVTqWqY5tLYIXPLoUSW9Vz2vB7CDL6bQzXpkO3bkIBiZEbAM1xoJ yA+F9n/NbDz/Uhp8IWXq03+Y4rYqF+M= From: richard.leitner@linux.dev Date: Thu, 02 Mar 2023 12:55:02 +0100 Subject: [PATCH 2/3] ASoC: dt-bindings: maxim,max9867: add "mclk" property MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230302-max9867-v1-2-aa9f7f25db5e@skidata.com> References: <20230302-max9867-v1-0-aa9f7f25db5e@skidata.com> In-Reply-To: <20230302-max9867-v1-0-aa9f7f25db5e@skidata.com> To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Ladislav Michl <ladis@linux-mips.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Benjamin Bara <benjamin.bara@skidata.com> Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Richard Leitner <richard.leitner@skidata.com> X-Developer-Signature: v=1; a=openpgp-sha256; l=1153; i=richard.leitner@skidata.com; h=from:subject:message-id; bh=bMNg7GqHmP3qmoCg4huIjZzqkxCE2jKo6J6fNpJ+8ks=; b=owGbwMvMwCX2R2KahkXN7wuMp9WSGFIY+uUZl4XzaBlcvvyYkbF0S63p1x1bTl9f5Xlnb0Dkcb27 GZ9+dJSyMIhxMciKKbLYG3O1u+eWva9U1MmFmcPKBDKEgYtTACYiu47hv/fyK+tYfm98tmiN8OOAnI qsGz/bv/7fPXeyr52E2+cH6rqMDGt92Cs2bOXVTyg35Ih2NQlPrZJ1vR6+MKpgV/9tVg45DgA= 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759257230883362696?= X-GMAIL-MSGID: =?utf-8?q?1759257230883362696?= |
Series |
Add "mclk" support for maxim,max9867
|
|
Commit Message
Richard Leitner
March 2, 2023, 11:55 a.m. UTC
From: Richard Leitner <richard.leitner@skidata.com> Add clocks and clock-names properties to require a "mclk" definition for the maxim,max9867 codec. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> --- Documentation/devicetree/bindings/sound/maxim,max9867.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+)
Comments
On 02/03/2023 12:55, richard.leitner@linux.dev wrote: > From: Richard Leitner <richard.leitner@skidata.com> > > Add clocks and clock-names properties to require a "mclk" definition for > the maxim,max9867 codec. > > Signed-off-by: Richard Leitner <richard.leitner@skidata.com> > --- > Documentation/devicetree/bindings/sound/maxim,max9867.yaml | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/maxim,max9867.yaml b/Documentation/devicetree/bindings/sound/maxim,max9867.yaml > index cefa43c3d34e..152340fe9cc7 100644 > --- a/Documentation/devicetree/bindings/sound/maxim,max9867.yaml > +++ b/Documentation/devicetree/bindings/sound/maxim,max9867.yaml > @@ -35,9 +35,17 @@ properties: > reg: > maxItems: 1 > > + clocks: > + maxItems: 1 > + > + clock-names: > + const: "mclk" Drop entire property, you do not need it for one clock. Best regards, Krzysztof
On Thu, Mar 02, 2023 at 02:31:45PM +0100, Krzysztof Kozlowski wrote: > On 02/03/2023 12:55, richard.leitner@linux.dev wrote: > > From: Richard Leitner <richard.leitner@skidata.com> > > > > Add clocks and clock-names properties to require a "mclk" definition for > > the maxim,max9867 codec. > > > > Signed-off-by: Richard Leitner <richard.leitner@skidata.com> > > --- > > Documentation/devicetree/bindings/sound/maxim,max9867.yaml | 10 ++++++++++ > > 1 file changed, 10 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/sound/maxim,max9867.yaml b/Documentation/devicetree/bindings/sound/maxim,max9867.yaml > > index cefa43c3d34e..152340fe9cc7 100644 > > --- a/Documentation/devicetree/bindings/sound/maxim,max9867.yaml > > +++ b/Documentation/devicetree/bindings/sound/maxim,max9867.yaml > > @@ -35,9 +35,17 @@ properties: > > reg: > > maxItems: 1 > > > > + clocks: > > + maxItems: 1 > > + > > + clock-names: > > + const: "mclk" > > Drop entire property, you do not need it for one clock. Thanks. Will fix that in v2. > > Best regards, > Krzysztof > regards;rl
diff --git a/Documentation/devicetree/bindings/sound/maxim,max9867.yaml b/Documentation/devicetree/bindings/sound/maxim,max9867.yaml index cefa43c3d34e..152340fe9cc7 100644 --- a/Documentation/devicetree/bindings/sound/maxim,max9867.yaml +++ b/Documentation/devicetree/bindings/sound/maxim,max9867.yaml @@ -35,9 +35,17 @@ properties: reg: maxItems: 1 + clocks: + maxItems: 1 + + clock-names: + const: "mclk" + required: - compatible - reg + - clocks + - clock-names examples: - | @@ -46,6 +54,8 @@ examples: compatible = "maxim,max9867"; #sound-dai-cells = <0>; reg = <0x18>; + clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_SAI3_MCLK1>; + clock-names = "mclk"; }; }; ...