Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp969147rwl; Fri, 24 Mar 2023 04:41:28 -0700 (PDT) X-Google-Smtp-Source: AKy350YmqxxhiLZMxjzNtQiGGzvCgWdNmZRAL7FaWT2S6Q0eou7EoGo0KEtnsNk/fUhunN7gmjqj X-Received: by 2002:a17:907:7631:b0:926:320c:cd98 with SMTP id jy17-20020a170907763100b00926320ccd98mr1840308ejc.36.1679658087870; Fri, 24 Mar 2023 04:41:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679658087; cv=none; d=google.com; s=arc-20160816; b=h398t0JrDwTsjcKRPgLtPT1hQx36IAA61OYyQpDkfkHNZVGRctwzpO3oxS/Xfu165H EJBB3oaZRJeJcY0ESkTYvqiXRUfAJGAhQ6YiWtkSr/4concImeNAffE7jnTJH3xamImG xpKWJP0GGUpkWAOqqo57s+LWZ6Ysd2Aq/UpFlHiwZHqE/L3wOVelJWZDsn9nCwh2hBHT 4QHdNROE+KKPoJ2TI/ta+j4Op7pes8eyzNTyKd8FQ4z546ZMz+T+ho1tqpzS1NQ7RUUS QfNi4pcce7zNYGKk1w3ewvCQlZwtys2tOVBmOjgP9vRFyMsBV3NPp32QlbDnm3JjaDnF VU7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=vlkMAwkSL6A+6l6qhyo9+I+btfsSVV+jS0eHZv1Cz/4=; b=SUvM0NtDTjKWY+aWUKkbCYIYSoYcVwHYN50FxozL4zO7IO5Uiwfbg407jheHTWiIJx vLIF+jM/D4JY2B4ZracwvZtnV1j+5dLJTs7diZZtRIfJ47o26YSdklA2lsV0Yzj+sSWE WdWA2TJ31nZ5y+zPGU18gtY+ArBjrVSvzpWpmTjY4PZ32W++WpzVzmJG5mXeaUrHhApD WCqE+oekXFT/cnBf7QMRUQNtuYb6JRNwPjTaSkIUa5WXRNpWuE0j8QfIJCWrmyeu76Eu qN2kZFr0+vP42SIrlg0SGuAdO9QYvGRFqFN5hrGmq6TIxqWqKNXv10A83W+z71QQbKzO 5LCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hmJq3ncf; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o20-20020a17090637d400b0092fb8dfcd52si20978907ejc.326.2023.03.24.04.41.03; Fri, 24 Mar 2023 04:41:27 -0700 (PDT) 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=@linaro.org header.s=google header.b=hmJq3ncf; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229508AbjCXLgy (ORCPT + 99 others); Fri, 24 Mar 2023 07:36:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229729AbjCXLgx (ORCPT ); Fri, 24 Mar 2023 07:36:53 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0C731D90B for ; Fri, 24 Mar 2023 04:36:51 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id t10so6648240edd.12 for ; Fri, 24 Mar 2023 04:36:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679657810; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=vlkMAwkSL6A+6l6qhyo9+I+btfsSVV+jS0eHZv1Cz/4=; b=hmJq3ncfz9zmAyQlRRCODWQq2YRZTe4STlK+rTkj4KcWTlJJXIMOdQUmKLUfJGSvBY 95//pT1vXhXjch/H4B2NfkMcZMwjhBHPY1hnC5sSJtwgEOl9YHV1EcLoZlUxLYjfxY2q /Rw23+XrtJZIRGCYUcuoi7r9xMHOb6hRZ+DWfTvwZBRm6btkbfLHOOVtFjtQdnjWmdNv iKGTrF2iOdWhZgXzBHMok4rKqvsszdLusl05KRAwx9gyQ5FA5nHZ8QYDI/gg7WH+n6br 6TFjnIWR+3TpXQNRjQv9gMQsq4jQf5Sys/ZYEDJ31obzKBmaj+CuZsWdZ3lk7Nyrv9Vi fsBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679657810; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vlkMAwkSL6A+6l6qhyo9+I+btfsSVV+jS0eHZv1Cz/4=; b=oQVnweOjiw+f3g2oyLwp9DLbkvb4JOSk0FlzfK1K7+B8SgAQCyT0G5L3koVIfq8Zho Afa3FUHAUcKz8tF/AJwxtKpNFIMCA6PJKjDSulowsvJJCr1PAyd6nekdZ3rqrQfOgAws uKXlGGjaI85nW4UYW+xhToTmFBXiWvWXJWExog4YcGfZ6u37C5QLC/mRVoj7jSq3wJLa XFG+I5Ja91L4ivP0Tu1Bdxzo5z3Et1J92CPyRMzRhz1jO0bY165H9eIoMZzLzHFzOLwW Nxl5OnwaRhdjXXa20JH16hIQN9W+TJhy2BCNiwDcLpgAiUQ1ylPMpxRS4YLNxM7eOPpY P9cA== X-Gm-Message-State: AO0yUKUWCjheLeAuAF2klf0LER4ttK7lsEROFRpcOSaTWrQaq1+Z2xF9 UjorG2Bi25M96RVIOnd8ksitIQ== X-Received: by 2002:a05:6402:1748:b0:4fb:223a:76e7 with SMTP id v8-20020a056402174800b004fb223a76e7mr8892025edx.18.1679657810234; Fri, 24 Mar 2023 04:36:50 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:3027:fb0b:ae08:588? ([2a02:810d:15c0:828:3027:fb0b:ae08:588]) by smtp.gmail.com with ESMTPSA id m10-20020a50998a000000b004e48f8df7e2sm10688391edb.72.2023.03.24.04.36.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Mar 2023 04:36:49 -0700 (PDT) Message-ID: Date: Fri, 24 Mar 2023 12:36:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH V3 2/2] ASoC: dt-bindings: max98363: add soundwire amplifier Content-Language: en-US To: =?UTF-8?B?4oCcUnlhbg==?= , lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, rf@opensource.cirrus.com, ckeepax@opensource.cirrus.com, pierre-louis.bossart@linux.intel.com, herve.codina@bootlin.com, wangweidong.a@awinic.com, james.schulman@cirrus.com, ajye_huang@compal.corp-partner.google.com, shumingf@realtek.com, povik+lin@cutebit.org, flatmax@flatmax.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, robh+dt@kernel.org, devicetree@vger.kernel.org, ryans.lee@analog.com References: <20230323175256.2606939-1-ryan.lee.analog@gmail.com> <20230323175256.2606939-2-ryan.lee.analog@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230323175256.2606939-2-ryan.lee.analog@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 23/03/2023 18:52, “Ryan wrote: > From: Ryan Lee > > This patch adds dt-bindings information for Analog Devices MAX98363 > SoundWire Amplifier. No improvements here. So reminding: Do not use "This commit/patch", but imperative mood. See: https://elixir.bootlin.com/linux/v5.17.1/source/Documentation/process/submitting-patches.rst#L95 > > Signed-off-by: Ryan Lee > --- > Changes from v1: > Fixed a syntax error for the 'dt_binding_check' build. > Removed unnecessary properties. > Added description about SoundWire device ID of MAX98363 > Changes from v2: > Removed the legacy from i2c/i2s driver and added SoundWire device ID info. > Added missing information about DAI. > > .../bindings/sound/adi,max98363.yaml | 62 +++++++++++++++++++ > 1 file changed, 62 insertions(+) > create mode 100644 Documentation/devicetree/bindings/sound/adi,max98363.yaml > > diff --git a/Documentation/devicetree/bindings/sound/adi,max98363.yaml b/Documentation/devicetree/bindings/sound/adi,max98363.yaml > new file mode 100644 > index 000000000000..92352a23e1cb > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/adi,max98363.yaml > @@ -0,0 +1,62 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/sound/adi,max98363.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Analog Devices MAX98363 SoundWire Amplifier > + > +maintainers: > + - Ryan Lee > + > +description: > + The MAX98363 is a SoundWire input Class D mono amplifier that > + supports MIPI SoundWire v1.2-compatible digital interface for > + audio and control data. > + SoundWire peripheral device ID of MAX98363 is 0x3X019F836300 lowercase hex > + where X is the peripheral device unique ID decoded from pin. > + It supports up to 10 peripheral devices(0x0 to 0x9). > + > +allOf: > + - $ref: dai-common.yaml# > + > +properties: > + compatible: > + const: sdw3019F836300 lowercase hex (also in example) > + > + reg: > + maxItems: 1 > + > + '#sound-dai-cells': > + const: 0 > + > + sound-name-prefix: true Drop this. > + > +required: > + - compatible > + - reg > + - "#sound-dai-cells" > + > +additionalProperties: false Instead: unevaluatedProperties: false Best regards, Krzysztof