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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B6F8C61DA3 for ; Fri, 24 Feb 2023 10:00:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229898AbjBXJ76 (ORCPT ); Fri, 24 Feb 2023 04:59:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229934AbjBXJ7u (ORCPT ); Fri, 24 Feb 2023 04:59:50 -0500 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D2CA1448F for ; Fri, 24 Feb 2023 01:59:47 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id ec43so52132746edb.8 for ; Fri, 24 Feb 2023 01:59:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=wtIuDW2eQkRbGFvSewuxjU4xIOGxpYMc+vOIKksGCaU=; b=ee085rvn0DvOv8XgdsY8PLoWCb0jLodHKCg3Tp+9D8nhapZxcfYT+jcPzwNG8npDwf AvM0Bzz9+nybDUnui66nmjEDuVymoj/ZrcK9+SZau2GTSdlC97KlJQtimdhoMrX2xyEV W24ZaRgXqwre2fDNy314t/AHyvGccj/WchIMENAT0hdnkBkf2ZZfeI32NBHZ9myrN6D/ BXSOY37i8R6ihe6gE4xJEyvxD/DwZ1utOKTqkxb2368KlhoaXdp1tteP2ByMPwDnjlae jp1qvG3b2T7U1OTOBJspiOgIUoIjg2qGNdF9iAL6TZlZx2aaK6v0ouw3XQfx+uzqqF9+ 5aew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wtIuDW2eQkRbGFvSewuxjU4xIOGxpYMc+vOIKksGCaU=; b=79lmTSjKogoWyzBFP15L0QU2WAGzPOWCioNSIfNplZ41hwnXcqUZCdvkMcoei0gdy8 t76ZPeIJ4BGXsvZUoEo8IXEXvZznW6HagKa/N64Q8C3OIyBGloOF5Vf9QQI6i5l2q/0C ZUtv8x4Ab5w1ELgYyPqA0OXdQhFsn/chBer+SchLeNH7oERRvZTwiW0Sk4WUgiQrKdSE ANrMdO9VrsPQzc5mfRKMfirr3bi35fkDAJje50j+LA0T437UGi0Y+fYbJKcOnNpdUAIa GGNNdhfnA8EE7gGjkKznUoBKfYsVMwAy5TK1/W69jm1D0H2IcTwpDO/olFq7e7yi9JDh RYMA== X-Gm-Message-State: AO0yUKWBBQ2OcSlPcR3uxyDulW0W89DcipvRO6nB/oyJNQUwXoEAAGQL vdgAZqrPuwCR18cp3k3Y3C9n0Q== X-Google-Smtp-Source: AK7set9h4c7mDwoIZ//68yJseIkY4LktumLVuRyyDSSLBuK/4Q79zZF04ClwiptuRbJhP4gLNPBtag== X-Received: by 2002:a05:6402:1287:b0:4ad:7c30:2596 with SMTP id w7-20020a056402128700b004ad7c302596mr14133282edv.3.1677232786097; Fri, 24 Feb 2023 01:59:46 -0800 (PST) Received: from [192.168.1.20] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id n14-20020a170906840e00b008eaf99be56esm2326189ejx.170.2023.02.24.01.59.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Feb 2023 01:59:45 -0800 (PST) Message-ID: <7cbd979d-2126-2b8e-35d9-14e4f9681ea8@linaro.org> Date: Fri, 24 Feb 2023 10:59:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH 2/2] ASoC: dt-bindings: max98363: add soundwire amplifier driver 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: <20230224010814.504016-1-ryan.lee.analog@gmail.com> <20230224010814.504016-2-ryan.lee.analog@gmail.com> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: <20230224010814.504016-2-ryan.lee.analog@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24/02/2023 02:08, “Ryan wrote: > From: Ryan Lee Thank you for your patch. There is something to discuss/improve. Your patch is corrupted because you modified it after creating it. It won't apply correctly and won't work. The bot's response with error is about this. Except broken patch, here are some more comments: > > This patch adds dt-bindings information for Analog Devices MAX98363 Do not use "This commit/patch". https://elixir.bootlin.com/linux/v5.17.1/source/Documentation/process/submitting-patches.rst#L95 > SoundWire Amplifier. > Subject: drop driver. Bindings are about hardware, not drivers. > Signed-off-by: Ryan Lee > --- > .../bindings/sound/adi,max98363.yaml | 53 +++++++++++++++++++ > 1 file changed, 53 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..fda571d04a64 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/adi,max98363.yaml > @@ -0,0 +1,53 @@ > +# 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. > + > +properties: > + compatible: > + enum: > + - adi,max98363 > + > + reg: > + maxItems: 1 > + description: Peripheral-device unique ID decoded from pin > + > + vdd-supply: > + description: > + A 2.5V to 5.5V supply that powers up the VDD pin. > + > + dvddio-supply: > + description: > + A 1.7V or 1.9V supply that powers up the DVDDIO pin. > + This property is only needed for MAX98363A/B. It's not a DAI? > + > +required: > + - compatible > + - reg > + - vdd-supply > + - dvddio-supply > + > +additionalProperties: false > + > +examples: > + - | > + #include Drop the header, you do not use it. > + soundwire { > + #address-cells = <1>; > + #size-cells = <0>; > + max98363: amplifier@3 { also drop label (max98363). > + compatible = "adi,max98363"; > + reg = <0x3>; > + vdd-supply = <®ulator_vdd>; > + dvddio-supply = <®ulator_1v8>; > + }; > + }; Best regards, Krzysztof