From patchwork Fri Dec 20 11:56:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 182239 Delivered-To: patch@linaro.org Received: by 2002:a92:1f98:0:0:0:0:0 with SMTP id f24csp425826ilf; Fri, 20 Dec 2019 03:58:42 -0800 (PST) X-Google-Smtp-Source: APXvYqz7QihPwu8FXi5mi+E2m9+RMfaoTjJSlZyPlUc9GtZjFxahZdLT6plniHVrMIB4Cj6Dw1JW X-Received: by 2002:adf:fd84:: with SMTP id d4mr14853850wrr.211.1576843121925; Fri, 20 Dec 2019 03:58:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576843121; cv=none; d=google.com; s=arc-20160816; b=haSFA4WTL3GPsvlTp4U+H8bdv/v4fWBq1cBq9ElKUY01wBGefBr/VI74uQLJP0sKvU pj1LaDq5rLuBVwSnFMKN3bMRrb84jSTg/ERv60Mqh6A2fDo41ozoUFp9YHwvN62D3KGJ Xt0jDsRx9PiZhHc0ut3N3hWwF+5OGzAPsjs7gqTeRjjuYB/JUvbZtlIn6uFjL9Ur41nI 4hm4A3lQ7GZB8pkPH1ITUXVAINrsSqxxj8w80mOQQJr5kTEBhUHNbZEswoeAO1OsEYOl gYunxji2p+lMqLhzR4YXQh281+IpQxeJ39lYkdLuIsSAPYyqTBACzCRJLkp26Ls2Qpmu j72A== 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=X8sqswUvwcYC1P1xrBOiyUgl2AjT4FtvKOcfc7okfnk=; b=Fn5MPX44hjUOOZH7OlEEexGGxpUcxA8n9M4mAFrJ2ccyAmN+KeqeP99ez2NEFCO3YZ SJs90U6yGKJ1NS3ecaKS/8zb3Y6zRpjCSaUqFH9bU6YlVHmGryYUZiUHTqaIQHEvfGjt dZ1MVJkDFMFs9IyTSVCWBG5lVp3NhYX/mXf4+EuIEzzk2aTY3y2PX4GZmZBkqEndMg2N mUP8qn1C+zfbIs2X6SDxkl4lND7n1kNtTNKKj/YxnIz/TGIWlOHLQx99L46+aLdo9jVU sjyyZJgAUBhJ2PyGtTWpLsg4lgHLiGDFN/K/38Vz4AM7TXzxEIcPrMK85YxSkJXzwfKg gwhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=nswM1YZ6; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="xmn/ESjo"; 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 s67si1991089wme.124.2019.12.20.03.58.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Dec 2019 03:58:41 -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=nswM1YZ6; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="xmn/ESjo"; 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 B9F7115E5; Fri, 20 Dec 2019 12:57:50 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B9F7115E5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1576843120; bh=Z8JSo1Iv+sFEpVEbacU0XSTCpPrjNRD4AsEisVG84hQ=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=nswM1YZ69L/9HTWt2TTr9U9wOWQtPWjJZgKnv9Vy7Uryq4bAAI2jNWFMIHMUraaA2 miFjCZujqg1XwihB/PcLiXOxgt6cW+qQ+erKuHiQXBIbc8sUULQ8WDOKBTNUsnSuXS gI9oY7AAT88w25L4KVm5BTS2paE4oJiulxwqW3gQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id ECB6CF8015A; Fri, 20 Dec 2019 12:57:49 +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 302E6F8022C; Fri, 20 Dec 2019 12:57:48 +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-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (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 85106F8014C for ; Fri, 20 Dec 2019 12:57:44 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 85106F8014C Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xmn/ESjo" Received: by mail-wr1-x441.google.com with SMTP id c14so9140920wrn.7 for ; Fri, 20 Dec 2019 03:57:44 -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=fdjh6eJemJddUca0ftv0OmJI9kXLgxEMf9k9Qia7NBM=; b=xmn/ESjoJHdzlmpiAmR6wQtOMcgwE0PnXNDkOhjZIcbNUcAJ5lTvLvRExkHwKMFbjH +9yW+CybmIveP36Nxp7QhwVX4jkhwruBGVVat2So0ZrhpM0C1raLJzcM2gswL+VAzngt TtfB4MiF9gMXNTKDnv1Vr3YQEeswL9BgdQfXCnzqY8LIBjMvOWniUJC8wEziu6qBWI7X vW13ggURx/MW+yhUEi0syZ7QNzU378hU4izsSahIviAaaQqCqlpOkfb+Ld5A+SQ3Z3fO q398bXkEnyZgOx96/GxWn4x6UP8h3pD/Zcz1RC4RyTWlZBHM4piLvHF26Ow4nmVKczv2 J09w== 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=fdjh6eJemJddUca0ftv0OmJI9kXLgxEMf9k9Qia7NBM=; b=P6/EvRmhY1PR4Hbt06SQ+AJ57y/+HgoXtIeky0l+aQ0yT3fay83+J3dsF8PunURlmh OGIB87EZwheKajxKxxGIU1ZHTOngmKvk7Xz2gfDJsq3RIrM+YqagMnkVhqVAKq4zM9YR AjET9fprWAGMYPWrH4i4HTG1V892ZSAjx61yDua3kqBprjTvxSoMF/LFw/GbgsaPYW0z kY1/qT2aehlubnsLojIFgnLSFyXYwh20mz52/5XzLaf/DOLNjyQF2JhGQuqA0rUPxMKx OPF8rqY38vQftNm3eakLZ7nnPGK3mDm7WfSoVERBvrN/doMCWfHLETRUSUcj5sN4UJiM 20YQ== X-Gm-Message-State: APjAAAVlBTwrHDFmDoxETGIe7ik24UMnj0Uz+78SZkSK/P9waUwBLRS2 DPNbv1x+LuKGYp7GxVY8Kae2kg== X-Received: by 2002:a5d:608e:: with SMTP id w14mr15494299wrt.256.1576843064404; Fri, 20 Dec 2019 03:57:44 -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 z124sm2644386wmc.20.2019.12.20.03.57.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2019 03:57:43 -0800 (PST) From: Srinivas Kandagatla To: broonie@kernel.org Date: Fri, 20 Dec 2019 11:56:27 +0000 Message-Id: <20191220115629.8293-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 v10 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 v9: - Program pa_gain settings in put function, rather than delaying it. 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 | 1182 +++++++++++++++++ 4 files changed, 1262 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