Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2492370ybl; Thu, 29 Aug 2019 08:55:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyebypnozZ6QaUH/EGGMUCnEu0/VUYS6bO3HX80Auv+0WUZYywUu2WA9YTgUI4ziHeA4wiX X-Received: by 2002:a17:902:8649:: with SMTP id y9mr9931610plt.252.1567094107698; Thu, 29 Aug 2019 08:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567094107; cv=none; d=google.com; s=arc-20160816; b=dYzmFXzTFzmgn7NBo7mt9RjV9F1fnZbYZ7ErfPD3iPeL2nScLOdhDrc08xhCejXTD8 0eOCqw5SI0ybkDGP0t7TmASZRl3ttm8y3rsjgmhLmdn5FKmYaIoKLK/WLAfoHHZuiMr0 qQatLSR07z1WQdNwL2YmjJdU7KsGN8id0Mqvg4EHqm+HxE8L/HhgM6c61p/SY0kekRq8 jwBhUYj36JUfcgFg0RY9ZVP0Uoz/LcjgzSvCbSxZ9TGh2+CgBcFFvr3PoYHjMVcNop3W XCBXyVgR/sK9PncnJO0yDb23GW0xkoVtgVtFXSu5jY+/j51PDNvYTco4eNOhJdgz+X7J 7n9g== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=LnH0w/K/K8vFf4T8B8Pk9QjQILA18r17IdgmbEo/xQc=; b=yphYM5aHBtVZ7ld1SfMdR8xbBDKP0bjIA1EzBlaIFOQiGn+bysX+7q0xhNYbOfLIqy ycU3iGUv1zrvGzThxcKpUk1iU/DyGHQttw2p3e6tqCUlVrAC2zN2mqt0mb9ckogm8ez+ p0dPFTUGccDlE1Srg0hQmnes9hrdZ/+zgD4//E3bR0z8viRdsefVWA3VWZWwg5Xge2oA 9XERs7xYAHMmqWDznnGIt3kt88xVNDWak1LWid9inzrTTcTARAigKpKQgZvyOoDDeJ2c c2ZD4Dn0QBfmi2jHez2UA5IA8qqDLiN2eLhaTqmxQPpqwcDMxGVQFElQUuN3sQ6NPuiU zj1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="s/BkU/Su"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 n184si2190620pgn.399.2019.08.29.08.54.51; Thu, 29 Aug 2019 08:55:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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="s/BkU/Su"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1728251AbfH2PwS (ORCPT + 99 others); Thu, 29 Aug 2019 11:52:18 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:53633 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728456AbfH2PwP (ORCPT ); Thu, 29 Aug 2019 11:52:15 -0400 Received: by mail-wm1-f65.google.com with SMTP id 10so4255496wmp.3 for ; Thu, 29 Aug 2019 08:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=LnH0w/K/K8vFf4T8B8Pk9QjQILA18r17IdgmbEo/xQc=; b=s/BkU/Sux2u6RPNlBX0IHCd6Nn145MOMsbJ5Qi37t6m5TOKh4CdzKB2nosIq2bP6Cw H7hhdrs2HTB+lXIFe3Y9StlYcNr1yJOfRagPoslen2GJeSBHPG5RUb+P7Qzd2697eJew kvXuvNsEBQpxN0TlS0I6avL2J6B9N1J8l8r+QzotEISe4dxMoEoGbm+nzjrS3myENM5K 6cPT2stStZfhlJVbXS5tWHA2AGj30QefGul99ZQ3qRg7Fj0OIIC3ik4ih1yBUqL+3HQk 6oiA12Bu1m5phpmbbYBtzO56be2D34bhGmW/gJDrpXc5MmomNzBpGkFzi0nlor6RRxrq GHFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=LnH0w/K/K8vFf4T8B8Pk9QjQILA18r17IdgmbEo/xQc=; b=k5rVjUiMrTbGGci2T4SHn1IDlkJAzQl2ddiCe1EENLFLLpCunU8EbCrrxkf8HMaGx/ q6B7ItiUhLFDtDKbL52l7KCx1opSTn/6RX9z9rNTE/4PUQj7ueX1d9MIw5uVbqKPklCu HU5+vOljPEc7kUOi2bxVoTwEjg3S1wO52L+jjR753//kNcvfnyFoGoonoJLfNg4xDxtp PoYo04NBwbWNaci9QqgdmTQcJ0nGBSITjPvUZaooyOOizV0cM7Mwz8M5eEOPIXlt2Nhj FziQnApUj73YyW0cty+auK2U5Q5wvjarscOXcxqZjfb/pRuFJViQcLyKuQaFwlrxaX1M J6NA== X-Gm-Message-State: APjAAAWmgDg6Le6tarOqR2vSIe7c+vrEWpjEGzIbAcWRORiC+zMmDJA9 ZdTMkE6apZDVfbounayU2iqanQ== X-Received: by 2002:a1c:810a:: with SMTP id c10mr11920180wmd.72.1567093934178; Thu, 29 Aug 2019 08:52:14 -0700 (PDT) Received: from [192.168.86.34] (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.googlemail.com with ESMTPSA id g14sm5983745wrb.38.2019.08.29.08.52.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Aug 2019 08:52:13 -0700 (PDT) Subject: Re: [PATCH v5 3/4] dt-bindings: ASoC: Add WSA881x bindings To: Rob Herring Cc: Mark Brown , Vinod , spapothi@codeaurora.org, Banajit Goswami , Linux-ALSA , "linux-kernel@vger.kernel.org" , Liam Girdwood , devicetree@vger.kernel.org References: <20190829144442.6210-1-srinivas.kandagatla@linaro.org> <20190829144442.6210-4-srinivas.kandagatla@linaro.org> From: Srinivas Kandagatla Message-ID: Date: Thu, 29 Aug 2019 16:52:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks for the review! On 29/08/2019 16:46, Rob Herring wrote: > On Thu, Aug 29, 2019 at 9:45 AM Srinivas Kandagatla > wrote: >> >> 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 | 41 +++++++++++++++++++ >> 1 file changed, 41 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml >> >> diff --git a/Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml b/Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml >> new file mode 100644 >> index 000000000000..7a486c024732 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml >> @@ -0,0 +1,41 @@ >> +# SPDX-License-Identifier: GPL-2.0 > > Dual license please. > Will do that! >> +%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 >> + >> +description: | >> + WSA8810 is a class-D smart speaker amplifier and WSA8815 >> + is a high-output power class-D smart speaker amplifier. >> + Their primary operating mode uses a SoundWire digital audio >> + interface. This binding is for SoundWire interface. >> + >> +properties: >> + compatible: >> + const: "sdw10217201000" > > No need for quotes. Did not knew that! Still getting used to yaml stuff :-) > >> + >> + reg: >> + maxItems: 1 >> + > >> + powerdown-gpios: >> + description: GPIO spec for Powerdown/Shutdown line to use >> + maxItems: 1 >> + >> + '#thermal-sensor-cells': >> + const: 0 > > Either of these required? > "make dt_binding_check" was complaining when I added this! Let me retry it! > Here you can put 'additionalProperties: false' > >> + >> +examples: >> + - | >> + speaker@0,1 { > > This should be under a soundwire bus node. okay.. > >> + compatible = "sdw10217201000"; >> + reg = <0 1>; >> + powerdown-gpios = <&wcdpinctrl 2 0>; >> + #thermal-sensor-cells = <0>; >> + }; >> + >> +... >> -- >> 2.21.0 >>