Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5336290rwd; Mon, 12 Jun 2023 03:44:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ47bfA51A6YJJWZklxT8rCb61GriJXqTrTXN6JlWIoCKQm1/zxav++hL45kw1dmeOjlr5Qe X-Received: by 2002:a17:90a:b290:b0:250:6c76:fd9b with SMTP id c16-20020a17090ab29000b002506c76fd9bmr7738532pjr.38.1686566662946; Mon, 12 Jun 2023 03:44:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686566662; cv=none; d=google.com; s=arc-20160816; b=B0Uh/WQhmE4T53B4tLily5Hw/p9ittufjF32kIuYdIyUYNbj0W3WAmzjOcZ0a6km4Q mu65ehXfp9gLHi6eyqLXGFXpum1oX7i4QFK9oVH+Ddsw+PJ0F8gm2/GONEMNd9iU/oF3 NIO/rK7DPCBmIbCcRtOAowAo7Ly9XXHPKUY5mhB8H66cFRkdXZ6IWjLkLc2OCaitoD/L GUwANOMisuJC6hXXisFg/ZKI1dkGkc5jg9527G3qphF001nOszARaoVIyHbSpgBY+bK1 dESEIEgHgg8aSwJez5NQvipVPBwMOt/v5enJnW8zqleDApxRtscCVOtOCBHAxaO8uROk sjvw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=PJzV8k8PINg1fP+cCISdw3LZJs7BP96rMaIUJI+fFlI=; b=O+IG+SQbD7NT/LaKfIxtJVtiMbqgd3FdW6K+hKjuD6XkU1SfHdrl+ySnSPOkMEnOnA 255nMEQPqabumzZlwlYOReB0Sa0Tp88MA/L34AOBjxljuEPKoqBIQ30IMPi5aZaSqiMp UsY1wbcMZl3ArVASOGLEQUzRC47FWLVdI5LpcmsBpeLl+YyY05uyWiaD9w/hb370HSmh +NiiYjsH5b9Ikm5oLKJ9dFtS+5Ro0mx7w66zA9oL9wPeLLBWvG9KfFC9ZwCvhAwWo6il KZeMkO187dSEz60+5HiKiQ4B6Q44nPXlMui4MydVW9zxZoX20n0xDB2b177SN9+3tFw5 cIxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="pRDueYu/"; 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 mz7-20020a17090b378700b00250db0f5689si6850997pjb.179.2023.06.12.03.44.11; Mon, 12 Jun 2023 03:44:22 -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="pRDueYu/"; 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 S231319AbjFLKSC (ORCPT + 99 others); Mon, 12 Jun 2023 06:18:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233668AbjFLKRn (ORCPT ); Mon, 12 Jun 2023 06:17:43 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D7B7A5F8 for ; Mon, 12 Jun 2023 02:58:25 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-977c72b116fso627641466b.3 for ; Mon, 12 Jun 2023 02:58:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686563842; x=1689155842; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=PJzV8k8PINg1fP+cCISdw3LZJs7BP96rMaIUJI+fFlI=; b=pRDueYu/tRrKVqAPFSh1p62giJ9RVa7Yo9TLHpe2QX9ej46v2Wogo2mbh8849n8ogB dPaaUGzBADFJyl2t/WTZoC9MXCBEcexqjVbxR6vrW6EIOjo7OcwcMmGnoeQHS9tsuP3V +SV3tFKnreUnzF5WizOcX6cgvGNUFx7u/HP4ksaOqhr9Y/xKjqqHkronwZocWhANGLnQ u7uGuobDV9pirCr16hxp4/FuXchXADQaY/oUHuBvvblot3QCIG/e399R+nOEQkAxRb79 28F3DN+VoBrvYWoaQVzB68j0CNl6cshrt9LPh3QcFnNB9W7cQ9bra0Iff70wbfJu698t M1pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686563842; x=1689155842; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PJzV8k8PINg1fP+cCISdw3LZJs7BP96rMaIUJI+fFlI=; b=ft2BPO7LSBy6gSyoBPXUFnh78PP7niUZ5+47Kv10I2hF9u7Hu/oauGl3vItavUvJ+N QFHyPA0Y4GWbehWNIGcuLQXIgWdKep3AzmN5XSUPMTCbHB/LVYZM705+QNmYfj8FPvif HDQR6XhWKmUA54rGFhF2qVmmBzSI7cRxt0AN8mQVfb1Aq8QzfZQ6Y/ea1yO9lomaV/Em Too6nZegxJdbKj7qLzyurOjUl8qzmXbei8qWECy+ikGBTUNZdB9rzrUGxs4bXUvixwUB LbAvcRWOZjkoVuDtFgz0/Tgqy8GvyIBWcFf0pb38gBWKyP7LYU3gJn0lxeiB1cBcGdkd 6q2A== X-Gm-Message-State: AC+VfDzdkigul7Rpc4GAj9SppGovQmVEWrquuO7SmhovZ5MkZRPnNohU OVCi1Bq53kgPQOCJh8qxcdJhRg== X-Received: by 2002:a17:907:3182:b0:974:1eb9:f74f with SMTP id xe2-20020a170907318200b009741eb9f74fmr7847298ejb.15.1686563842037; Mon, 12 Jun 2023 02:57:22 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id u1-20020a170906780100b00977cad140a8sm4949175ejm.218.2023.06.12.02.57.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 02:57:21 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Patrick Lai Subject: [PATCH v3 1/2] ASoC: dt-bindings: qcom,wsa8840: Add WSA884x family of speakers Date: Mon, 12 Jun 2023 11:57:15 +0200 Message-Id: <20230612095716.118631-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 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 Add binding for WSA8840/WSA8845/WSA8845H smart speaker amplifiers used in Qualcomm QRD8550 board with SM8550 SoC. Signed-off-by: Krzysztof Kozlowski --- Changes in v3: 1. None. Changes in v2: 1. Correct compatible (sdw version 1 -> 2). Cc: Patrick Lai Cc: Srinivas Kandagatla --- .../bindings/sound/qcom,wsa8840.yaml | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml diff --git a/Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml b/Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml new file mode 100644 index 000000000000..e6723c9e312a --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml @@ -0,0 +1,66 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,wsa8840.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm WSA8840/WSA8845/WSA8845H smart speaker amplifier + +maintainers: + - Krzysztof Kozlowski + - Srinivas Kandagatla + +description: + WSA884X is a family of Qualcomm Aqstic smart speaker amplifiers using + SoundWire digital audio interface. + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: sdw20217020400 + + reg: + maxItems: 1 + + powerdown-gpios: + description: Powerdown/Shutdown line to use (pin SD_N) + maxItems: 1 + + '#sound-dai-cells': + const: 0 + + vdd-1p8-supply: true + vdd-io-supply: true + +required: + - compatible + - reg + - powerdown-gpios + - '#sound-dai-cells' + - vdd-1p8-supply + - vdd-io-supply + +unevaluatedProperties: false + +examples: + - | + #include + + soundwire-controller { + #address-cells = <2>; + #size-cells = <0>; + + speaker@0,1 { + compatible = "sdw20217020400"; + reg = <0 1>; + pinctrl-names = "default"; + pinctrl-0 = <&spkr_2_sd_n_active>; + powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>; + #sound-dai-cells = <0>; + sound-name-prefix = "SpkrRight"; + vdd-1p8-supply = <&vreg_l15b_1p8>; + vdd-io-supply = <&vreg_l3g_1p2>; + }; + }; -- 2.34.1