Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp402583iog; Wed, 29 Jun 2022 02:37:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tiowpO+6bllTAOHipHPLhi86ZvAPC//4z+wgxjsuUAcngnljIT2QRK9r8tybIpiOAg4FC0 X-Received: by 2002:a17:902:7481:b0:16b:7a53:3b4c with SMTP id h1-20020a170902748100b0016b7a533b4cmr8426826pll.54.1656495425799; Wed, 29 Jun 2022 02:37:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656495425; cv=none; d=google.com; s=arc-20160816; b=Wc5Ty3o9M1RDIKc7/HvG5NxcxrrQsUKC+X4DfsCMZCZFht88zACu36SGjEG5mMlXEb z+MgoFkC8f1Nz9/IZmhZewUySeSjc1rwZ6HDqx+v0VuU1Ww46y6QEmNtBa7AQWEyR1RQ ZpkMw0MGDvICzWqv0brcyPI/yFhuICaSCrUeYJiN4f77VIipdQEKwAw/z/oJcJB04Zku EJRZY8AawuxIuzOpY0ZettMSVgDWSPhO1XlWal6flfZF3Zr49dZMEHjpOq9bs1CmOup2 m5onAw20ZiTUse6I7ZapvG9Sgc1BBKENPCe74Vh2vGxG0lyuZO3FiTqkwUTxD0k8cgqy xK/g== 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=FUi18BfABJfFdfrTy/zmZdsKXzzTHRjYZn6DAYr2OpM=; b=jIhpWeRs30oQitbImyZC4UO6LVlM/+ykrdVPFOHhgNJETZvY55uqUWOij3/yktfRZQ e5CYkhTtgj5+9e7ECvOkyvGddqcC6XSjt/K6U0T3uXCxW4rbyK65t5wbzLRXuVVduUGA Zn2NnkvlnqKfMMgwFE85kuVY7rtYo5v0Bj1qSEmcPvO3rsx9+2ahXubkQ5F6Q4REOwJQ YyuP0edGqArcJ73FXkqiq+nPFGkR60309/DA6ZkuffHOapkC4uO/8THs7/StmvhXHITp iGI+NUfCJibypKD8kuXZk3uKO1bBCaDpASkFAKHLjZQoABNobsjO9uSh0QZEi2nn5fNb gilw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SbqRZ2lG; 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 qe18-20020a17090b4f9200b001ece6b376absi3499966pjb.37.2022.06.29.02.36.50; Wed, 29 Jun 2022 02:37:05 -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=SbqRZ2lG; 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 S229457AbiF2JHN (ORCPT + 99 others); Wed, 29 Jun 2022 05:07:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231217AbiF2JHM (ORCPT ); Wed, 29 Jun 2022 05:07:12 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F371F2AC49 for ; Wed, 29 Jun 2022 02:07:05 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id t17-20020a1c7711000000b003a0434b0af7so6602512wmi.0 for ; Wed, 29 Jun 2022 02:07:05 -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:mime-version :content-transfer-encoding; bh=FUi18BfABJfFdfrTy/zmZdsKXzzTHRjYZn6DAYr2OpM=; b=SbqRZ2lGoBj4MFROYCQz/qjnA+OfVT1NoH4TCsIICdxIY3XDK0tLMdH6vOxYVAiKEg t4f0CnvkczgFg+Y89hiBtWjI9lfG4lqTu0GHPFY8e1YHjSzOVDDNuvBcxYmNhv2pUVlt VEeBCpZjEy5hW0ImOSRG6M44PUYsxVJGN44H/C8IpUY2tZryK98kM8XzzHxMXFIiPlB4 AxAULWW5UTYg7GaO0HtefCtiaqgRqE5ZPLjZBXK1fkJ3b711dfSYrZsmp+nlnfCr1nE1 vqIHo7RWSv0qL6t1aYoQjLgq71ZOe4JeDSpARgiYArkzZrQd11BY3Z579lFfAk/hNtxD DKSg== 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:mime-version :content-transfer-encoding; bh=FUi18BfABJfFdfrTy/zmZdsKXzzTHRjYZn6DAYr2OpM=; b=6h/sBNFpXk3qfWeKn0O0UAXY6RcKpg83fEQovAW28Pv+Jw0IsvMsotIxFs0bdlYA6W KALPZ4gjbsXgPQDhgZZzE0EeDKV9WtR3W4QAOQWZDoR64sA8H5IW7VVNuDTaLFRH7GjL G0iiq/nwtr5BeuXZOsVoBH/XgsSXsoYvlBn98+HBg5qEKN3WDpc4IKJSLmzM+8coXvTJ LkZ8WLwuvXg0au4D7rKAjCtxjwgTvbMgPzY/D64W934JTL/9l7TztI3mNyOUYAHQg9Tc DI7JV2VV18dHW7Px0doKkEFy0X8n4D7oeMdlsVDAu8DEkWpzijEn1tSA55evdAudjjAl W7IQ== X-Gm-Message-State: AJIora/9ronNRfupDbzicJpPUe/lnwuSlBZlPyV69u8N77cz6Uq9nvrz FAQQHK7YLiEQ60oBpOONW4QC7Q== X-Received: by 2002:a05:600c:4e8f:b0:39c:89dd:ae3b with SMTP id f15-20020a05600c4e8f00b0039c89ddae3bmr2472844wmq.200.1656493624411; Wed, 29 Jun 2022 02:07:04 -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.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 02:07:03 -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 0/4] ASoC: codecs: add WSA883x support Date: Wed, 29 Jun 2022 10:06:40 +0100 Message-Id: <20220629090644.67982-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.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 This patchset adds support for WSA883x smart speaker amplifier codec connected via SoundWire. This codec also has a temperature sensor used for speaker protection, support for this is not added yet. Most of the code is derived from Qualcomm downstream msm-5.10 kernel. Thanks to Patrick Lai's Team. This codec is tested on SM8450 MTP. Thanks, Srini Srinivas Kandagatla (4): ASoC: dt-bindings: Add WSA883x bindings ASoC: codecs: add wsa883x amplifier support ASoC: codecs: wsa883x: add control, dapm widgets and map MAINTAINERS: add ASoC Qualcomm codecs .../bindings/sound/qcom,wsa883x.yaml | 74 + MAINTAINERS | 4 + sound/soc/codecs/Kconfig | 10 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/wsa883x.c | 1498 +++++++++++++++++ 5 files changed, 1588 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml create mode 100644 sound/soc/codecs/wsa883x.c -- 2.25.1