Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp406980iog; Wed, 29 Jun 2022 02:43:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tRqzJVEGPxG9yTEVnTugXrqC296BmrCFA+aocbEEGMymUymgWQ2TEtmY1QPy/aXb3f/XtO X-Received: by 2002:a65:6a4f:0:b0:3fe:9ef:1c49 with SMTP id o15-20020a656a4f000000b003fe09ef1c49mr2267932pgu.229.1656495827403; Wed, 29 Jun 2022 02:43:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656495827; cv=none; d=google.com; s=arc-20160816; b=QQVWr78uaJwB0bIb2h0phaJRz8z+d/u/uvgdeqZna/CMZrwxwXqCPFaxqqdlpI13e4 AGYnZgpF7nq65CrQ1ek/i4GHzqZhajuuHnSmYGythsgqLx3L5D01qtrwMkUtvvjLbwgu EhidBamume/v+8srS1y1rzYwBhp2pMiESc5WL/jEskPItM6Ebglc9uirdJ8CNzz5CwaO XnyvIpRrm7Qa9kNkv2PK9Nhb7y+JCqWV57R9LCdeAPobimWYkebz9cWsWh9eUpKeUIrE 7xJrTReyzCUp15f5sSWCp5+bKVFWTJSPGrCRUaA6U8jJC24/d35iTB2jXmNP7NYBibbN DARw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=aLqWKbW2jwJoT9mNlPi4MBFHRkwb+jBW6zLXAKBErh8=; b=kjvrE6B1cPf3kqP2GL4cIAuxtHYsN4MmSu3E7MnRw8Ujwg+eYyn6VgiJ9SCy4tOzHZ Xbl5bOrv+RB8lJES7Lwm3FXwnGwa/PRoQ2R+feVBhPp0H13a97PQrsz2suOGEZiOf9al 0bTu7lPqquc3SrGvW04kDM9kjypc+fY83yz0vJS0MxPyHtWcFbj1L8/M93t7FXJu+DGo JNENsyd1tWaKKJIZYK23/HXnQJQ5CyoW0uwSnX3E18HzRRwydKff1k4oAOhqKfw/MBmk S4hGPXrt9JVFopxk/0Bih5TKuHFIAGKvZgRCArU3sFSx203czVC+sP0OEJP2+MbneVcr i0DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MaLVsYck; 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 o3-20020a170903300300b0016b85cd7b94si7181702pla.389.2022.06.29.02.43.35; Wed, 29 Jun 2022 02:43:47 -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=MaLVsYck; 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 S232288AbiF2JHO (ORCPT + 99 others); Wed, 29 Jun 2022 05:07:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231401AbiF2JHM (ORCPT ); Wed, 29 Jun 2022 05:07:12 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 253D32B19A for ; Wed, 29 Jun 2022 02:07:07 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id n185so8911186wmn.4 for ; Wed, 29 Jun 2022 02:07:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aLqWKbW2jwJoT9mNlPi4MBFHRkwb+jBW6zLXAKBErh8=; b=MaLVsYckZFbAjneDp1wl2bbc1COXSVjuKYl2p1EVBs3dtRA5vY4YysKcEfAe03l6lt mjGmfJ1lHWvBIHl76k0usAJgjhTdfVxh0nOAB+J/FbWB9tPhdBOJdddZ2nXK3wh18Ihx 1YYzEleHO9Rrxnpqmj1jDvnJ3YfVBMqJSAPjpKyZN5mCbSg9d6kzDR+TeqdBssFLDa7i ZsgEFV6AN03F3gbA89NV02joCPEen9BeGnRt7V+QsSfQm+1XQfRVpogoOcpt61bIxl9d UmUjU/Fvm0iV3e4Pfx3Eci5JMo+WBEn4l7dVeTcV8WlEFTQv8iTYu1eCbSwaOcZAxPMu opVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aLqWKbW2jwJoT9mNlPi4MBFHRkwb+jBW6zLXAKBErh8=; b=ltgZFdXEH7gONnUOeWN2bYKWoOg9aGOuantkuRbs7cSLl1Wb0sflYpersTsNqRtuOx JYMEPyuPX03yslEDjKVw5ajMLnvpyPcahdt3MvnzTqlZO6tTezFnhGF4fvfHvzGWF5+F D7ZpbAiszRrl6GgfDV1LDoIElArAxlMp+dC19rak/ceJRb7yjLOrbxZ/UfsAWedDZLCf RrIIkTJg6MzjD+Yv0UWHMWBED0xPSFWOGUZZjDhXwGYmkwuJ4exEANh8yYtKPl1kFqwG T8uM47VGenlcBOV77cbZzYcMIwnUM/52aSvLqS1hvfAjJmRtCpEMRiqMiR7IDFFj8+PG PCIw== X-Gm-Message-State: AJIora+siOUGS2bug3BB3RMNzwQCcnjaHRsnvhexWEaYFvNyaGpkON7N 3Ld+wntrnQJzrRr7v34mZlqy8w== X-Received: by 2002:a1c:e907:0:b0:3a0:3e42:9c72 with SMTP id q7-20020a1ce907000000b003a03e429c72mr2453247wmc.162.1656493625564; Wed, 29 Jun 2022 02:07:05 -0700 (PDT) Received: from srini-hackbase.lan (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.gmail.com with ESMTPSA id e12-20020a5d530c000000b002185d79dc7fsm15993341wrv.75.2022.06.29.02.07.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 02:07:05 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org Cc: alsa-devel@alsa-project.org, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 1/4] ASoC: dt-bindings: Add WSA883x bindings Date: Wed, 29 Jun 2022 10:06:41 +0100 Message-Id: <20220629090644.67982-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220629090644.67982-1-srinivas.kandagatla@linaro.org> References: <20220629090644.67982-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 This patch adds bindings for WSA883x Smart Speaker Amplifier. This Amplifier also has a simple thermal sensor for temperature measurments with speaker protection. Signed-off-by: Srinivas Kandagatla --- .../bindings/sound/qcom,wsa883x.yaml | 74 +++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml diff --git a/Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml b/Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml new file mode 100644 index 000000000000..6113f65f2990 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,wsa883x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bindings for The Qualcomm WSA8830/WSA8832/WSA8835 + smart speaker amplifier + +maintainers: + - Srinivas Kandagatla + +description: | + WSA883X is the Qualcomm Aqstic smart speaker amplifier + Their primary operating mode uses a SoundWire digital audio + interface. This binding is for SoundWire interface. + +properties: + compatible: + const: sdw10217020200 + + reg: + maxItems: 1 + + powerdown-gpios: + description: GPIO spec for Powerdown/Shutdown line to use + maxItems: 1 + + vdd-supply: + description: VDD Supply for the Codec + + '#thermal-sensor-cells': + const: 0 + + '#sound-dai-cells': + const: 0 + +required: + - compatible + - reg + - vdd-supply + - powerdown-gpios + - "#thermal-sensor-cells" + - "#sound-dai-cells" + +additionalProperties: false + +examples: + - | + soundwire-controller@3250000 { + #address-cells = <2>; + #size-cells = <0>; + reg = <0x3250000 0x2000>; + + speaker@0,1 { + compatible = "sdw10217020200"; + reg = <0 1>; + powerdown-gpios = <&tlmm 1 0>; + vdd-supply = <&vreg_s10b_1p8>; + #thermal-sensor-cells = <0>; + #sound-dai-cells = <0>; + }; + + speaker@0,2 { + compatible = "sdw10217020200"; + reg = <0 2>; + powerdown-gpios = <&tlmm 89 0>; + vdd-supply = <&vreg_s10b_1p8>; + #thermal-sensor-cells = <0>; + #sound-dai-cells = <0>; + }; + }; + +... -- 2.25.1