From patchwork Fri Aug 9 13:34:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 170922 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp10015553ile; Fri, 9 Aug 2019 06:34:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxiD1SBkFi/cm1uieL1kPbfsFFgMfy9qPns/hL5aESBhtHL0tW1bRXKkhzUU1gXXplBRApE X-Received: by 2002:a63:d315:: with SMTP id b21mr17869458pgg.326.1565357681280; Fri, 09 Aug 2019 06:34:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565357681; cv=none; d=google.com; s=arc-20160816; b=K/3CeSjVfB37lTX2QFeRiHaKKpHI6F3QhE3Tis6ZT60gRE5qP8Errtbc3uy9k0zcpE Ocn8Ie8N1WFGgQ8M3Pu9AHNwTH5FPDY9RkXn1BNci4TspChCgquovagKlGSS+xqpDFRB EBovQeGP1dhho1K7H0u/SBSBEF4i+p/ja4xQszAiWlDXvG/S8iB/Ix+9ZjdZ6aDFBjSv 00V0Bcce9k5KLndFp8oT5AZDrSLNuV2hR2nTfyw+SAFAXA3VW4ILZQHYvEAUrq5CFXzE o6+z/6lvHHE3p9MMqwPIRx26tP+Nev0G0hR68CtC9Myrn0+krPclTW0D9XWR9+SxlIpo WsNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nGnMhbFLMwKaZqSRo6t069vkX6KSorhAL/bGFm/B64c=; b=kkrplpllxwYlCg8VS01TsSMEZQZyhGnoooicho85/swvUHdH1zW/P5ZlEgodJeJwK3 IZAa5mYgWTUCPHUj/LJjXDBOx4rJk/mEIbDRr1ujmn9UF7LaRcJdKWD/0y0/Q+BwoNsU CvkH7tj8QSU0mSQIEladYVAxNxjpMy6uE4d5f5pbOUOUZN48PSWotd/X++5hliKofqpq zYN/MGq6azV0STPxJ1O0Hen36BXOp6Y9z7SClr655kgOUDnN5LNNcqsIfeaYZrjJAfaJ essIgoY5gYTXylST531vltcUZhFJTgHX4vRPnIezbQwoJuL9AoKF70QF8NSADAYXmlNw hCgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aAqbD1pC; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h6si51302676pll.313.2019.08.09.06.34.41; Fri, 09 Aug 2019 06:34:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aAqbD1pC; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S2436502AbfHINee (ORCPT + 8 others); Fri, 9 Aug 2019 09:34:34 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:41336 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406937AbfHINed (ORCPT ); Fri, 9 Aug 2019 09:34:33 -0400 Received: by mail-wr1-f67.google.com with SMTP id c2so95040138wrm.8 for ; Fri, 09 Aug 2019 06:34:32 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=nGnMhbFLMwKaZqSRo6t069vkX6KSorhAL/bGFm/B64c=; b=aAqbD1pCduSPQug8H068mIGYwMnydpfRqfrz+BhIM7QDXpCnKaDTBmgbLS3bw4E5fQ Mxx2pqI6DZ3uA3kwtP6MZ0kRP11HNB/rIrla8eGBzN5j/t83ccDZW+RPEvTvILLkAD6d /jAdkObQN2ftOjazZIIcWBgRjGriE7wnZEn5qAYdaFroH5G+/P4omqlvFmQegmorffWV pFttMgy2AobZBENQkjHwUKunOfXRlyQIvwJbdTTjue2iBtJrTWEDawQhYCZJ2jXpGDn5 NWLWbjGIZ7GqlFa0xt2HDiguu5ym5TJmRYfdfmZZpF6mYjNtIVx0yMtOgQjf+5HNQnhI z8BQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=nGnMhbFLMwKaZqSRo6t069vkX6KSorhAL/bGFm/B64c=; b=FvYr5+pW449i9lK9Nwq3iSiKbn+s6y1pIGUJv7AONR0gDK3nLN4ndFgyQnQSVYaZAt EFmNI6fJVHLwx0lBNy95e9UzUeNa9iD4Aj2NvtNoVphy+zwSgxPAIGKUkOKsAb5n/miw GO9Of1BUFltCHc6Y4s6aRIrsSd0kwIuthZLHiICjtlBLR0P8JTcHUqY3fwNbgMhOyBAU LtJCgNBzwjc3lzxCqziYH4fCnfxVdJkwZvZ/uzTs7+DTR7BTbeVChmRe5yUW1QICyqAH 3463Xo+wR6YU0YWUfKpNPQzWSWYxfI2zXZ5dxtDu5+2RGp7hvyOv+v/y2roNVjUSCGoB GaOw== X-Gm-Message-State: APjAAAUGM45j8+ljxkWClZqWZGNC81JNLmNQ6r+sGIu8WD/6cCJDwTgz E6lQOkJJd27nv7regwuNFqzMbw== X-Received: by 2002:a5d:52c5:: with SMTP id r5mr23637150wrv.146.1565357671795; Fri, 09 Aug 2019 06:34:31 -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 y18sm5674641wmi.23.2019.08.09.06.34.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Aug 2019 06:34:31 -0700 (PDT) From: Srinivas Kandagatla To: vkoul@kernel.org, broonie@kernel.org Cc: bgoswami@codeaurora.org, plai@codeaurora.org, pierre-louis.bossart@linux.intel.com, robh+dt@kernel.org, devicetree@vger.kernel.org, lgirdwood@gmail.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v3 3/4] dt-bindings: ASoC: Add WSA881x bindings Date: Fri, 9 Aug 2019 14:34:06 +0100 Message-Id: <20190809133407.25918-4-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190809133407.25918-1-srinivas.kandagatla@linaro.org> References: <20190809133407.25918-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds bindings for WSA8810/WSA8815 Class-D Smart Speaker Amplifier. This Amplifier also has a simple thermal sensor for over temperature and speaker protection. Signed-off-by: Srinivas Kandagatla --- .../bindings/sound/qcom,wsa881x.txt | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,wsa881x.txt -- 2.21.0 diff --git a/Documentation/devicetree/bindings/sound/qcom,wsa881x.txt b/Documentation/devicetree/bindings/sound/qcom,wsa881x.txt new file mode 100644 index 000000000000..d2aeb5c58d30 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,wsa881x.txt @@ -0,0 +1,24 @@ +Bindings for Qualcomm WSA8810/WSA8815 Class-D Smart Speaker Amplifier + +WSA8810 is a class-D smart speaker amplifier and WSA8815 is a high-output +power class-D smart speaker amplifier. This amplifier uses SoundWire +digital audio as primary interface. + +Required properties with SoundWire Interface: + +- compatible: Should be textual representation of SoundWire Enumeration + address. + Refer to soundwire/slave.txt for details. + Should be "sdw0110217201000" for WSA8810 + +- pd-gpios: Should be phandle and gpio pair for + Powerdown/Shutdown pin. +- #thermal-sensor-cells: Should be 0 + +Example: + +spkr_left:wsa8810-left{ + compatible = "sdw0110217201000"; + #thermal-sensor-cells = <0>; + ... +};