From patchwork Thu Dec 19 10:03:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 182057 Delivered-To: patch@linaro.org Received: by 2002:a92:d0a:0:0:0:0:0 with SMTP id 10csp265579iln; Thu, 19 Dec 2019 02:04:30 -0800 (PST) X-Google-Smtp-Source: APXvYqy0WuiyPqV9lkc6fQBXRQYJAh6nRqtrYNeiqHaQZFUVzhk71yhAsJjmI35nP4DruZoaNIBq X-Received: by 2002:a7b:cb86:: with SMTP id m6mr8901202wmi.51.1576749869977; Thu, 19 Dec 2019 02:04:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576749869; cv=none; d=google.com; s=arc-20160816; b=tttJ912/tgcEmWux6YmKCUA8gNGUfsO4hEucsajRa0CxHLEEknxEVaTusy6KxWWXVH MTjwahW0QPBa1ggfOLhpbIVnd88wviF+Xi0LQyWPxniziKLSBBxsZ/8tkAFMHDh7oynm RcFJ0NbjZrbndAkZsMxM+4yXFVG0F6PPjqQ43HOtmwnNWcwPVjNdgdhKpZ7K48+pdqna smH0SMZNBVqFUy3n8k5fkCUWD0icZArI1gpOe0oigYHhcoZaVJfPFjG8N5TCtkSM+J+R T1Ix+LBYtWN0R1QHijVLP+5AGsBSA6ElltVRoV4tvLE6M5cIqjgIbNIVSE8Zmb+ndDWU fjWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:dkim-signature:dkim-filter :delivered-to:dkim-signature:dkim-filter; bh=JGhcnxYIJE2s62tdYrx42bFxrgKl/nNB9QcJf/GrBNc=; b=ofidqNSPDuFjfNe39lhQlua/I0p49taSO5U0sTuT+SNfuH0DABtsT6LOpIoBO2e6tb DPaNM298bgxLGNc43N4vzTx9dnJz/J4KeB1D1T6SHbKO9Oaj4gOkM4zWx1CQPtzSCeGp bGfoNQav9T3CjoDxB/d19PFQhvI6ZS8t0vGFTw1xgId9OqOS3b7XzRaQj8f+Xx/PfZcs XkHMTs83Hjo6XhRtylzkB6Jz1KBfpueflfqANMWqRmfnv1BukqdwaTmRqmfzoVrhazPx FT3OJ853+qLenm/NOjW7ZbSzKli6D16azUCjTinFgUvcn4zvIqnu7jjGobDTrxrotCV4 ZYhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=fZX4gud5; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PDlkd57j; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id b205si5218175wmd.84.2019.12.19.02.04.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Dec 2019 02:04:29 -0800 (PST) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=fZX4gud5; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PDlkd57j; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 1BAF0847; Thu, 19 Dec 2019 11:03:39 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1BAF0847 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1576749869; bh=EKE2/sw2k69qK1CSM7jl0LEy53czt1pI48/ZiBXiF3I=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=fZX4gud5cS6OO4/kBTiKskbyH3943mbw/wpXgFUDvXzkiOxr7rO/c5MLpB4h7+Ofo X6Z8UPA6jI8KbJh7Z4hNQkTRBJPF/ILpxJ7WV1C+9H/ivyZ2F9aKnCxbI4GCW/spcC tA519F6HID/nW+CKwwmOuYhfUs4OcHshXpec+V5g= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6F298F80218; Thu, 19 Dec 2019 11:03:38 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7AD4CF80234; Thu, 19 Dec 2019 11:03:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, SPF_HELO_NONE, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 06803F8014F for ; Thu, 19 Dec 2019 11:03:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 06803F8014F Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PDlkd57j" Received: by mail-wr1-x443.google.com with SMTP id w15so5345507wru.4 for ; Thu, 19 Dec 2019 02:03:33 -0800 (PST) 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=UUd9ifefua306V+RYm1MQyXrGKuSycBlD0MHvsu4j4c=; b=PDlkd57jg3jxDt0UaNwJFUWRi5FW5wsvcP/visGDc9lK7rW7ccRvaIkU5p8Ub8rxTI yxBoeFHC9MIWkUdMgGPRbELmiu+qwUPmcvxvCp5aJW2LH9e3KpBCunUlfU8fHjtF4WlZ wrwttfoAxc9kLFVs0m9IBd+t5L9FBfjZ+RkDRmyjm5QRMEtHLsAmdPX71VW/Y2CMzzOE 6gqrmdfaJqigusob/+DeN90DU84QCb4c6F2bKYrMcsdAUa906WeGX+AQZX+Y8aLz82Jq EtesWSJmidckcnoWy5paVGc2OQ8X7XSX3VBU4quB9kIn36k7ok1t53YIOXEYL7yoMzJS fpXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UUd9ifefua306V+RYm1MQyXrGKuSycBlD0MHvsu4j4c=; b=XU0f0/HQCBQ/EqaFYF0Z8k7mE1cs3KlmbirOc1yLIyRq+xJdmG+I2sYcWYAPmZHwyA z/h8ukycFQRXIoMPKSLUOmWvKa+NkM/VjoPGUrRBxCRMZYcBkOwQI8ei4hWV1sdFd8ES R6eTV2F75A0tyX0wPHvQYclL0oZzdw27+pZkIlLeV8AryBABrI+ZeQX2if91vnNeZ8kM 8yP9BheIYFp/xyfL1/w9cLHaMrx8TBITap70q4UGIFVEXZcDYVTWEVE+nDOAJqz+ZBuL v3dcz+SjDcuKys7qI/mqK1Hn1DgjM4vTs2rfHtKnipwK2TWg/olIpvBOSZL5qNlmbmf9 2uzg== X-Gm-Message-State: APjAAAWdShyuqXRxfFIeQoehRamSXWuliUOTMoR7JLFT1Z/j00smh7K2 N+ou0zKmYNbVBuyhHQ299/DmFA== X-Received: by 2002:adf:ef8b:: with SMTP id d11mr8112150wro.45.1576749812903; Thu, 19 Dec 2019 02:03:32 -0800 (PST) Received: from srini-hackbox.lan (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.gmail.com with ESMTPSA id q15sm6041164wrr.11.2019.12.19.02.03.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2019 02:03:32 -0800 (PST) From: Srinivas Kandagatla To: broonie@kernel.org Date: Thu, 19 Dec 2019 10:03:26 +0000 Message-Id: <20191219100328.14850-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Cc: robh@kernel.org, alsa-devel@alsa-project.org, bgoswami@codeaurora.org, spapothi@codeaurora.org, lgirdwood@gmail.com, pierre-louis.bossart@linux.intel.com, vkoul@kernel.org, Srinivas Kandagatla Subject: [alsa-devel] [PATCH v9 0/2] ASoC: codecs: Add WSA881x Smart Speaker amplifier support X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" This patchset adds support to WSA8810/WSA8815 Class-D Smart Speaker Amplifier which is SoundWire interfaced. This patchset along with DB845c machine driver and WCD934x codec driver has been tested on SDM845 SoC based DragonBoard DB845c with two WSA8810 and Lenovo YOGA C630 Laptop based on SDM850 with WSA8815 speaker amplifiers. Most of the code in this driver is rework of Qualcomm downstream drivers used in Andriod. Credits to Banajit Goswami and Patrick Lai's Team. TODO: Add thermal sensor support in WSA881x. Thanks, srini Changes since v8: - Moved soundwire stream handling into this codec as there is strong requirements on sequence of PA and soundwire port enables from hw side. Srinivas Kandagatla (2): dt-bindings: ASoC: Add WSA881x bindings ASoC: codecs: add wsa881x amplifier support .../bindings/sound/qcom,wsa881x.yaml | 68 + sound/soc/codecs/Kconfig | 10 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/wsa881x.c | 1206 +++++++++++++++++ 4 files changed, 1286 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml create mode 100644 sound/soc/codecs/wsa881x.c -- 2.21.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel