From patchwork Thu Aug 22 23:37:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 172073 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp1569117ily; Thu, 22 Aug 2019 16:38:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfwKIFUN5LIhzYUfYFRhBUS8NLCxtTDQT6F5FxnqG+hcsi4mJgRq2fj9uK21a5hBWU0ha7 X-Received: by 2002:a17:90a:ad84:: with SMTP id s4mr2346307pjq.32.1566517115618; Thu, 22 Aug 2019 16:38:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566517115; cv=none; d=google.com; s=arc-20160816; b=gkzFes9xwnjQHdPvGliPsw3mGsh2kETHLE8pTbPWgdAeIMmuw+R+50jLZe+GzKG3R5 2loUhwq+MYBjaD9m3IELcFGkZoaA6ypENAKbr3B/TUhCiQnrTcuQh/OoB53fijautBVg QTgLLc9g3aLg63pf+jaoNiw6zZi6JIuJyR6iFrR8Z5xYPL4i1k+RBLY5UxJoHtleihv7 HdyR7ipR9U8+0wqhHkkZioM+t8oO3l44T/uUUNUiTxHWGAiK21ihlAVKoSFDlDkNHwMa SNq4ol9r9wNoRV9MO9/eyk+dP0WZBkavHrtBB3wbqwWe4q2oKywDDDnWdUBiVB50Chjh DBBQ== 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=jKItD6VTynhG44BbTNA1tEZDVFXwDRIxmLymjPcSI/g=; b=Q4x2DH40l54vR8WCaskkv9Nkp+bvb72A8lbkKv2EWE0nTzvvx4IqpJrrmNIwV5u/2E C5+k43sNbWMZs8gftkKlLLRwZat9SIQUkfH98A2eUpOq/FJ9xxSmYCJhJp2j2Q0kRm+J TaD5efvcUjuaPAUtIWXo16q8rNWzZsu137Xkb4mV0aTCGxZiJmj+6HGAXUuG7pNX5Das TGO0yKsF8azlaKCbvjigVR1cxZzUXzfzWN7M2bXlYxpHqsFsfyp+KHBK0h294BInu1S3 re7vv9qd3icIS2OHpxP6wqrlWzyj+CLdMUePFnGinag+Wrt2mjwLR4Wr485qLilfGJlK xUaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QVFV+tCm; 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 h9si553885pgp.435.2019.08.22.16.38.35; Thu, 22 Aug 2019 16:38:35 -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=QVFV+tCm; 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 S1725934AbfHVXie (ORCPT + 8 others); Thu, 22 Aug 2019 19:38:34 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:39705 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726937AbfHVXiZ (ORCPT ); Thu, 22 Aug 2019 19:38:25 -0400 Received: by mail-wr1-f65.google.com with SMTP id t16so6946983wra.6 for ; Thu, 22 Aug 2019 16:38:23 -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=jKItD6VTynhG44BbTNA1tEZDVFXwDRIxmLymjPcSI/g=; b=QVFV+tCmy73EcWKH38tXOwHM6SjX/FN3fkinZ7uN/cE2EylFPohB4Y1zd2SHcj7jlV 2FEPd68dT+aA3c5GZ1Rn9TorNwaCs2Lbq8cdHyCbTe2Y0+4ohF3kEvIQ97cbOR8fVrd8 P5oeaNwy35bkTttplbIAsm8Ek0dt4krXJs+Pxo7LtnziZnoklTADfgvQ64CL1Tkd3Hpt j0CNaeNBlnMKXAaR6v0fZvv1yX647dEYtqq3pVywqhF/9+Oo8ZNoMRgSFVWL15+ia7Kn kw3vwnq0dVB7Z6McBw6FakPSQ5Hj/AR3es/4NhqknOUsek+vamh/fGQvPkGQS9pvxUmb Bakg== 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=jKItD6VTynhG44BbTNA1tEZDVFXwDRIxmLymjPcSI/g=; b=oFZd9uRll6vD494lBYxRpsJYYlDWDyA4hvs02QKGKimiEEfUWX2n7Pih75+ZhWx6My LUsF/e5jE7teoTlG752fyN33u0cr6/hxlUF3AvgLremowAZaNHpL1QHQXyfZkHK1Z27h gbItxoeSz/DsjpDuMImk8i4DyZ6FvjWVIbSiAGLdNKa49xrnwBPDtTL8C+Shy72bbyk0 kGpr1O61Yy+u36PKg1Y+LvFYwg8ExzPiXDFLjWv2Lak+l21vitzWHLMFz0yzp4XEEByt RPppPTqlYlhMNUgThDGC0N15jX0csjbY0sEM+wAmcqvEdRVgSTISz1NQoGkArYBZSy9/ hZNg== X-Gm-Message-State: APjAAAUlf0j5B18wyFbLxSQ/oNLNyAh5d4uKsXwGqF73zYN5O6QVasw7 OHq2wlTbPMKl669Q9XX1WNBoAQ== X-Received: by 2002:adf:db01:: with SMTP id s1mr1357911wri.164.1566517103228; Thu, 22 Aug 2019 16:38:23 -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 f134sm1705157wmg.20.2019.08.22.16.38.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Aug 2019 16:38:22 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, robh+dt@kernel.org, vkoul@kernel.org Cc: spapothi@codeaurora.org, bgoswami@codeaurora.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, lgirdwood@gmail.com, devicetree@vger.kernel.org, Srinivas Kandagatla Subject: [RESEND PATCH v4 3/4] dt-bindings: ASoC: Add WSA881x bindings Date: Fri, 23 Aug 2019 00:37:58 +0100 Message-Id: <20190822233759.12663-4-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190822233759.12663-1-srinivas.kandagatla@linaro.org> References: <20190822233759.12663-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.yaml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml -- 2.21.0 diff --git a/Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml b/Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml new file mode 100644 index 000000000000..ad718d75c660 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,wsa881x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bindings for Qualcomm WSA8810/WSA8815 Class-D Smart Speaker Amplifier + +maintainers: + - Srinivas Kandagatla + +allOf: + - $ref: "soundwire-controller.yaml#" + +properties: + compatible: + const: sdw10217201000 + + reg: + maxItems: 1 + + pd-gpios: + description: GPIO spec for Powerdown/Shutdown line to use + maxItems: 1 + + "#thermal-sensor-cells": + const: 0 + +required: + - compatible + - reg + - pd-gpios + - #thermal-sensor-cells + +examples: + - | + efuse@1c23800 { + compatible = "allwinner,sun4i-a10-sid"; + reg = <0x01c23800 0x10>; + pd-gpios = <&wcdpinctrl 2 0>; + #thermal-sensor-cells = <0>; + }; + +...