From patchwork Thu Aug 8 14:45:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 170814 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp8671221ile; Thu, 8 Aug 2019 07:45:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzZPGhCwqInrnBIYY81Ir1fPzgMSj3HQz2uT5VQq3S85eNRNZrAP/qyPZ+tTfz3Rpa0oLLb X-Received: by 2002:a17:902:44c:: with SMTP id 70mr2522943ple.225.1565275533676; Thu, 08 Aug 2019 07:45:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565275533; cv=none; d=google.com; s=arc-20160816; b=hsGWQ+gL6gIL1I5Lze9hXug7WIsR/ywWPo0zPfoznrzWCK2xLRVloRavcSQVxHt2Ps XPxSdbDEUu7QsPMyWW1V/JeB0XEIBdAaSK0Sakfm2EVEZqsrYtHQGximmq4BrvgUXew4 MfEEyBiLTRkrVbNtlwTkxr4B+P+rY7Ppv92PDGv32uelHJNefSHDhy7BpxdYQ3sj36U8 KLK+i5xnB6UP6kIHHKKjnuw7lv5q7TkXRBJUaN0l59uRdrsxE0MbKWZTPhgL6LGpCvgO g1lHOAUypG+J1JhS2lTCGFvZPb0DHm9zJ4w9//7ZhgC+4wP1sLSNDaF9w+HH8c9o8Mco kh2w== 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=XkV4oZs6ZiC2qzQJvCHYzSVuaz5P2YoXcRt/ldJXf5U=; b=FCcvYNFTw/tO1+272fdmQd2cZOBRJuKnm9tHPHrmkkuaKFkL/EqwVNpv/BrIcaLtDy 0fHsEyUrcconAAzfrVXIAhmHPpbwZwAftKH21WwsK8XHDFSDWfkH4G9j5cgCb7Rm5plQ FdJ/BO2kd08DQkGeBRJdkghmUwRlb8H+dqiX4FcaXZYMAJeC36q40GZdbAYniXwxWHx3 7qgBuEn4OZmZ9i/9qNkSxW2knrrVYUlfAZ1X/G5cKtkeqWbuhxxk10Zhbwrgb7PW/DLF qGp7tj4puhST05QsYmVGcC6ufZ2V38E8dZPXpq0U8Jjwa264GKD/EA1yk+hHUD94j0SI NJZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cmstt1tV; 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 i5si2093022pjk.57.2019.08.08.07.45.33; Thu, 08 Aug 2019 07:45:33 -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=Cmstt1tV; 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 S1732477AbfHHOpa (ORCPT + 8 others); Thu, 8 Aug 2019 10:45:30 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:33139 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732912AbfHHOp3 (ORCPT ); Thu, 8 Aug 2019 10:45:29 -0400 Received: by mail-wr1-f68.google.com with SMTP id n9so95326710wru.0 for ; Thu, 08 Aug 2019 07:45:28 -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=XkV4oZs6ZiC2qzQJvCHYzSVuaz5P2YoXcRt/ldJXf5U=; b=Cmstt1tVGYRTZuFBXbdhJ+G+C+NK7oqB9DQGo6s/cQGQ7ycTpaLAzGYn4DV7Gq6D26 Q89Oj18lD1j5IctLMbOvMvmyoteBXsTTl4EqjGiOgzXpEzgBsWpMuadf3sVxQJavKm5u CYoKSgMPMiKyj5ECNVWps666HHfD2EwqUlr8LK1CD1XiPmaEKtrH6Hq//3qJOgNBFkW5 h77BtlUNVFa/1jv/32Al884UmaU3svQZ5jdwfWpGI4DadINDh89SPK3zQpOjwEdBSloY bQfLMVcZDbyVeimk8pGD8YcdOsiWojgOiaIdwpzvzjDIKAklwKCe969dvoSSnHpfyOzi uFRg== 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=XkV4oZs6ZiC2qzQJvCHYzSVuaz5P2YoXcRt/ldJXf5U=; b=E2jEHjEKJngx3rHQgA8jBvtcd2Dkiv8L73irj7DWXsXeaA93NKGYpgbTQd8fvEbClq 3U+pQJYfLq11fRCHcLHSORVsb7t0/PvcHit3Zy5d1BfkX3qC+dZJplUmp1A7bv+JPixa ZPRLcgXBJ1v75sROsi29MRKWEt6lYDaINurAu0qbyMPEucCijlOtzHDotQVyXAkCX5S4 Gl7P0ZXGbknBw4yDP1LydBA5GBSeWoVXtkjgmXuB7hnC3IZCHPNLXdZpAkTn4RU6S8s6 Qotl6tY/nBYN4cpEt8540yIo6ll7Wjti9Du1/NOxQYwPwpYTKnDlwnQ/tH1wackNgFL0 fwpA== X-Gm-Message-State: APjAAAVJDTWlXDr4nbd1cGCrF9DaJNJgrZ7P4bhjZy/crpbqH+5dRur2 bqOVUaBxpCdxopsLTt4Cc4D+FA== X-Received: by 2002:adf:f646:: with SMTP id x6mr18613900wrp.18.1565275528042; Thu, 08 Aug 2019 07:45:28 -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 g15sm2009060wrp.29.2019.08.08.07.45.26 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 08 Aug 2019 07:45:27 -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 v2 3/4] dt-bindings: ASoC: Add WSA881x bindings Date: Thu, 8 Aug 2019 15:45:03 +0100 Message-Id: <20190808144504.24823-4-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190808144504.24823-1-srinivas.kandagatla@linaro.org> References: <20190808144504.24823-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 | 27 +++++++++++++++++++ 1 file changed, 27 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..582db402a482 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,wsa881x.txt @@ -0,0 +1,27 @@ +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/bus.txt for details. + Should be "sdw10,0217,2010,0" for WSA8810 +- sdw-instance-id: Should be ('Instance ID') from SoundWire Enumeration + address. + Refer to soundwire/bus.txt for details. +- pd-gpios: Should be phandle and gpio pair for + Powerdown/Shutdown pin. +- #thermal-sensor-cells: Should be 0 + +Example: + +spkr_left:wsa8810-left{ + compatible = "sdw10,0217,2010,0"; + sdw-instance-id = <1>; + #thermal-sensor-cells = <0>; + ... +};