From patchwork Sat Mar 11 01:14:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?4oCcUnlhbg==?= X-Patchwork-Id: 662348 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 D80FCC6FA99 for ; Sat, 11 Mar 2023 01:15:53 +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 C793A16B9; Sat, 11 Mar 2023 02:15:00 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C793A16B9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1678497350; bh=B7O5+W8fliA+Gj0MqMlcX7fhvGB0lqdwmODxtc2X5Sk=; h=From:To:Subject:Date:In-Reply-To:References:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=DLE28wDt4b6vyzeM4MUmLlELvU8C9WJZg55pR2dF3jnHLHm91IwauFlT7DJMDOzhf credR4sBtWbSFKU8F+8LO0cVNbnmhMhj4gHJcFQ2jxHGSTvZj705A+i2BqXTLO0Sts SkGBfyLNfQZVjafJ6q18mqadpVqlKO4WnHegVi3I= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 32A88F80431; Sat, 11 Mar 2023 02:14:39 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A4698F80431; Sat, 11 Mar 2023 02:14:33 +0100 (CET) Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 A60AAF8007E for ; Sat, 11 Mar 2023 02:14:26 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A60AAF8007E Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=iLXJ+8i7 Received: by mail-pj1-x102b.google.com with SMTP id u3-20020a17090a450300b00239db6d7d47so6737801pjg.4 for ; Fri, 10 Mar 2023 17:14:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678497265; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=rh7oDZ2wH8OxNXYeRmxDps+pFhJvkYtrO5SAgqEl724=; b=iLXJ+8i7ZJHN+1fIKRoEzbeDSCB6SFWr0rbtzFMRW63cEG8sjqOjReUSSOTyVbkrrh s/feFZkpMwQGwF/e3T1CxKOKtMwxKd/gdqPBO16gDrdGNMspugRV4e+InoZ+cypr2REg DATA+01g+kPwenAiWdZbb49TuDRopFh+AIIWqiHaOzrTsZniZ87xgh+LH7Bl031qCTSd 7IjTvMq5d2Es9NGmjPp40ZAIy2bfJgMkX4JSXfajPhlTNEqPQyX4CPDhipaM0gzi/RDA Zd81epkX7Kg23H2MsYEJNVpAzYL67iJBOS/HiSpo82/CDp4BmpqBxuO0VLLymwyFuy3L IgOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678497265; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rh7oDZ2wH8OxNXYeRmxDps+pFhJvkYtrO5SAgqEl724=; b=wM3muUPZyZtnfZGdriODkAhXkDQPWn5GFO2RgChsL8fTMHlaQSS5cB1DfPy6AaFDpo CGlux1jHQOgauH2mxo+zdHE9IMueWmqlsv4gNs84W0f9L3fe0xJ4r4n2b0LdSBxeiS3e pKM2/eJnFE1KlK+ZfSMgJuwpbPW72+Y/LMV5BU9O2Nah+17aTcy5vElA9KRqJ/1yjG8T uUuIny2B1FusAvJ3gvBUUOMYVKmlfv1H8duNWbRMum4aa6ErotCI6VLX7Y7LHL9Z6XjU BTF0hm3Bh+/DlQYmZBYyWjWklDnw598QufaroTdXCgM09yB1k67mEhK1MHi3z64192EM v5rg== X-Gm-Message-State: AO0yUKWtrdZk6X/9dKezYxN6PMN+qrAoNDfLZrdpGocWQuG3s7f7oBZR 4CKseLBotJMjGKm3ZofQeuo= X-Google-Smtp-Source: AK7set+9UTvGbB9wlgUIPHEmDL2PHFkebYxlGCjJD3HnunYUU257fn+NuaCmmdq9Dzvnt4hGugeLkg== X-Received: by 2002:a17:90a:ae83:b0:237:ae98:a484 with SMTP id u3-20020a17090aae8300b00237ae98a484mr4150329pjq.7.1678497264677; Fri, 10 Mar 2023 17:14:24 -0800 (PST) Received: from ryan-ThinkPad-T470.. (c-24-6-63-212.hsd1.ca.comcast.net. [24.6.63.212]) by smtp.gmail.com with ESMTPSA id r20-20020a17090b051400b002376d85844dsm475323pjz.51.2023.03.10.17.14.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Mar 2023 17:14:24 -0800 (PST) From: =?utf-8?b?4oCcUnlhbg==?= To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, krzysztof.kozlowski@linaro.org, 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 Subject: [PATCH V2 2/2] ASoC: dt-bindings: max98363: add soundwire amplifier Date: Fri, 10 Mar 2023 17:14:09 -0800 Message-Id: <20230311011409.210014-2-ryan.lee.analog@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230311011409.210014-1-ryan.lee.analog@gmail.com> References: <20230311011409.210014-1-ryan.lee.analog@gmail.com> MIME-Version: 1.0 Message-ID-Hash: QYSJPGPEPPVSESJMXQZURFDXCYQFM7HP X-Message-ID-Hash: QYSJPGPEPPVSESJMXQZURFDXCYQFM7HP X-MailFrom: ryan.lee.analog@gmail.com 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.8 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: From: Ryan Lee This patch adds dt-bindings information for Analog Devices MAX98363 SoundWire Amplifier. 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 .../bindings/sound/adi,max98363.yaml | 42 +++++++++++++++++++ 1 file changed, 42 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..0e71b6c84007 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/adi,max98363.yaml @@ -0,0 +1,42 @@ +# 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 + where X is the peripheral device unique ID decoded from pin. + It supports up to 10 peripheral devices(0x0 to 0x9). + +properties: + compatible: + enum: + - adi,max98363 + reg: + maxItems: 1 + description: Peripheral-device unique ID decoded from pin. + +required: + - compatible + - reg +additionalProperties: false + +examples: + - | + soundwire { + #address-cells = <1>; + #size-cells = <0>; + amplifier@3 { + compatible = "adi,max98363"; + reg = <0x3>; + }; + };