From patchwork Tue Jun 11 10:40:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 166383 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp2182156ilk; Tue, 11 Jun 2019 03:41:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqy627KYmqM1Ex0rFawYlx+Cl4vOOHY3qQ6XsRu/naJoaUhJngciU9DyGCxwpD5UPGbMTXbo X-Received: by 2002:a17:90a:380d:: with SMTP id w13mr25797908pjb.138.1560249670766; Tue, 11 Jun 2019 03:41:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560249670; cv=none; d=google.com; s=arc-20160816; b=R+BKsQFf0ewN20MuT42mzq/iXfMhMrR95yBcryG8BQFjyagG2I/vUKT1pokrBChPLG GJa7u/aJTfp4yEHf9uBFUgY6qYAqTeqQDdD9oCZsYJaD8aMtL9KiATp4oAVG95+1snvW QL/PA31WYG9DLy33TjdmjybGqNIrMmCHxTvOsTYVutOw+fWcBD51hDU0FuwWEUDYa62J 8t7lKlbGE3KTvP/HSldIqF7DrWmN7eJb/mlvLehwLb12ZGa7W/D+Z4p65qSuffzM6NpX b299ZeyuDTCuXpezYjfOboxPlv/ij42tpIQh/z9cg5yWeTfSsFXQQ3ZvyqCpYdzxa2zv 0sCA== 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=QZFDnpClCi2HsXxhyO0hmL9wepgxaB206GSYtp4Y9UViPT+xCB4NNHiHOHbB85C4lq YSvVbovbWyDud6CsePJOumt9oME0YAOAYWwXHwVC2Gw5UxjgpY8ByyG6oARqF04PWg9q UjD/0HQvLcobjBLX5/PSZ840lyjxPGZdskp7hGHgaKSx2s+QDiOFfL/GOy7nNGVkBbZI ZHJtLYuiJYIy6OKlF0ZtABdqn1Q7W21aefZkFGUoJD662aKoGRr790X5erFfbdBBPHDH xTOQ5afMJgPMucGA+IM+sWhElJvcs2iB4+NfyeO2IiD6i/Vm5dIe1pDJ+noLGx7xWhIa N+kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QUoqo2jm; 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 a64si7216038pge.116.2019.06.11.03.41.10; Tue, 11 Jun 2019 03:41:10 -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=QUoqo2jm; 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 S1725811AbfFKKlJ (ORCPT + 8 others); Tue, 11 Jun 2019 06:41:09 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:43911 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387635AbfFKKlE (ORCPT ); Tue, 11 Jun 2019 06:41:04 -0400 Received: by mail-wr1-f68.google.com with SMTP id p13so2344096wru.10 for ; Tue, 11 Jun 2019 03:41:03 -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=QUoqo2jm13Ah8FKoW9ZQffD7RxI2rPxaShyjImH5esJ3XGLFgOOSuXXn6Q6zUEWzve FoGVpsrmEoizOPupYvUMsyq0S/ncIbTuVNUAnkQPXp7Dr2a57Fcm/08o3KYvLJbbrUGG aYWjHG0lr7QZip82Nshzyn3AI0/D5ePUw//y/Fjys1hV+qhmCIN2Kr1I/v5Z/pXOjaOM 3Zpr3NpZZft4km8qUpT7fcVj4DamJ0Xe9ab7TqEuIy/5P5lSO1gbHrOvAi/iZQ9jLZsF BMPpv01TZvuS2Z28DIBp1qlY1IkuclNetRMIcNmjjxJj2j4QxbLUVdbPFMv5KwQyVgUp UJ1w== 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=tJgpOhJpbNKjSQfcr1EP5s0XL9/RSoHN5hjy+MjgcZ0Mc8PUREVQa6mzPpeio9jmsW e8KZ20RYYbU96wfuM2WhmKCYEk8AoxW2DhjT7vR2nKNitG5cjBIlHJIGNlnv1txpgyp/ NMZSwk0U6pNEOIs/7cDszbWb6hO0GNm0nauSOg5yaCsZC9AeMCqHyB6h0MC/bnaRmyII KmNi5yyLkdfQlBMGrqfIC4DupVk6rXEW39Sb/SS809uLWcfzqnmDcjLebhFkM2uoSju1 92jq7M8lJ3od8iEn/a1wQxsk+0U4LRfXlO32rH9AceIKT1AcFyP8R2wY8u8Nb31NhPPO HRKA== X-Gm-Message-State: APjAAAX7Yjzy4OndVuBNl4sLxe8WWfB3YL7bA/Vlsxgy0a6gPVS8odQy tDJZUfmhXjfIzgEGrDY5fzWf2w== X-Received: by 2002:adf:e2c7:: with SMTP id d7mr28417773wrj.272.1560249662909; Tue, 11 Jun 2019 03:41:02 -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 c65sm2359614wma.44.2019.06.11.03.41.01 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 11 Jun 2019 03:41:02 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, vkoul@kernel.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, mark.rutland@arm.com, pierre-louis.bossart@linux.intel.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, bgoswami@quicinc.com, Srinivas Kandagatla Subject: [RFC PATCH 4/5] dt-bindings: ASoC: Add WSA881x bindings Date: Tue, 11 Jun 2019 11:40:42 +0100 Message-Id: <20190611104043.22181-5-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190611104043.22181-1-srinivas.kandagatla@linaro.org> References: <20190611104043.22181-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>; + ... +};