From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE5F7C47404 for ; Fri, 11 Oct 2019 15:28:05 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 38D23214E0 for ; Fri, 11 Oct 2019 15:28:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="nNdZVtMw"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RRfXmGqn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 38D23214E0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.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 73DDD843; Fri, 11 Oct 2019 17:27:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 73DDD843 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1570807683; bh=BYLwu/zCpPoOPqjLKMv8dTb9kzV4wHfNbMTLpAUiEC4=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=nNdZVtMweYrxUZHgKOVObluLduP5Tajpkwt6ALChow0JoVvw8KwnJm6alJxfTyXQe BHjS+7CkwtDhAQDDX41oI07yJ8FlGQR+mY9RlKkR5s1rWmkROldnmUe31L6omnlUsg Ssl3ID64ulKSR6J8d2G9vhcI5Kdn9qUYlfIHz70c= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B2FCEF802DF; Fri, 11 Oct 2019 17:27:12 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1D9FDF802DF; Fri, 11 Oct 2019 17:27:11 +0200 (CEST) Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) (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 8C855F80113 for ; Fri, 11 Oct 2019 17:27:08 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8C855F80113 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RRfXmGqn" Received: by mail-wm1-x344.google.com with SMTP id 7so10864697wme.1 for ; Fri, 11 Oct 2019 08:27:08 -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=SWDjIo4cWdaskHFzBqz2DKFMY0pEOV1E6WUMQBP96fA=; b=RRfXmGqn/H+D/R/f7CbflLPFjD4cAXYz6JCqn902kwscIgYgFtO5e6m9ZIQvR0vDEI jIP0Ba0NDZYAmXB9g68nHeO3NPnzwvCt+/g1ceBd8hOlAYVJ3t/Dthlr6siLAivpDqqB yaS0Ge96DJ1hLSGvbcI1CJxnoudVPCNpNJ9PXYPi22TrwSrh6rXFkZNejV28VvqPeciz 7KynwQPltLHZq1dfjdwOYtitROGmossZvjgbOO0obIE9tePkm+xVzbPgVqEmRV0bZN2K CLrofjq9Ll4LTPucFPnpCOCUpBPt+TaRD9qhkEGD1c4y5x/PiU2fHHTDhvM+xRsGilOz lsAA== 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=SWDjIo4cWdaskHFzBqz2DKFMY0pEOV1E6WUMQBP96fA=; b=h+uWy4q993vyBWygXGO5F2vU0kjfRT5SGdRXd4UKAY+B+C+3bwc53TqKIhCdGdLFkj jxhM1ygy8Ag+r1mF77Gz+JEO5OUX9CCc3SHe6eRHre13n3WZWxhdr0pQUOgaeaVM39mA umYNgSi+0llqgClMDaa6yC4zrPeuEVobX/Dijpmdn5mEQzjKlVlq/pB5ptN+DU0l8VBs F+EnM7iHCZwuUnYgaeKl05N4SJcEyyoPLQ8Qw6nnGK4IAhabFty7m6/Je04fhzQke0lF kptGBAKdIGvIXM5oKwhHs+yL90oAAJ6DUgLE9RuDJJXO3VbGcyK0nkHyHZKgKnTTvqg/ T8iA== X-Gm-Message-State: APjAAAVQTu2ICpxfsZDS+GFuHCUHRThYTHl2JPKDgEwCXTfZzhdwUg1G kGC3YgPOqKuUykniLqJ7EyU4mQ== X-Google-Smtp-Source: APXvYqzo5aVndjcgu1IWSr1WlQnJqwzlUCkga5p93Z3ioPspCHynR+8ZHh/wtwLEqios8h0k9ZyXEg== X-Received: by 2002:a1c:ac02:: with SMTP id v2mr452252wme.85.1570807627681; Fri, 11 Oct 2019 08:27:07 -0700 (PDT) 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 a204sm16439979wmh.21.2019.10.11.08.27.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2019 08:27:06 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, robh@kernel.org Date: Fri, 11 Oct 2019 16:24:43 +0100 Message-Id: <20191011152446.5925-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Cc: devicetree@vger.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 v8 0/3] 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 v7: - Added support to dai based on Discussion on mailing list. - Moved readable array to proper switch statement. - Remove unnecessary locks which can be added once tsens is supported. - Suffix gain to Volume as suggested by Mark. Srinivas Kandagatla (3): dt-bindings: ASoC: Add WSA881x bindings dt-bindings: ASoC: WSA881x: Add missing #sound-dai-cells 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 | 1153 +++++++++++++++++ 4 files changed, 1233 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