Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4871545ybi; Tue, 30 Jul 2019 09:34:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqycCavOTp2HVcoTRxYN+8iHJQUmObBf2OfwPzYUqgM/HdJUPSfAvPqopPrxdPf+x7+i8K5D X-Received: by 2002:aa7:96a4:: with SMTP id g4mr44352126pfk.193.1564504466867; Tue, 30 Jul 2019 09:34:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564504466; cv=none; d=google.com; s=arc-20160816; b=UqEqAIewdGifp1LIYz9B35b3G1he6uxQhhlunDlvDsZcuBjOUevKLcPK9RFOFDS43f 7B9npW6LoVQ8qmPg7ra3jnijIcdENwiZyz3zp7EEaGUbByFa26nP3UZW22Sskod6h80r geSPJB8OQSOt2e16NlHNkRlovQASP5xLt9a2IE5z0HcKGRVygBeomecoT6NoEfzra7jv 57MVlAKGm27n+UjKSsH0u1+7I6qoGOlbwj1FZwK/PWzAI4ciyxMBG+djon5vdt69foXN 7vRpD+Ek9i3ir296GQ+cWO4lHv2eWXg39p8tRXizztgB1XMC2DGzt4ZFo06gU8/dMZem 7Atw== 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; bh=bDAhrLZCFUC2ZmxwzY9oVMBBOg1HqNXGXKz6UElzN2M=; b=hpZeW96eHAqHsPHyGtSZOjt/YH1npuzYmVsp6F1DN2AVo+36MUm4emv6pkJsxobTqG RnS6fzRE+2/EbnZgLayS4jMBZgCwGzpCX/nMpwCPqf07BIkwALewHEBHZSPtCfEz4o5b zDo5GblSTGAYmKhhmhaSj2Sa17kyV4XA678wZ+kf2VFAaEbgez8PHaac4zgI/CoYzAGG HT7Dh0n0WELU2V2Ak08yI9NziT99x0DzJMyw9BvrRyruRNXDCP0TZGR93beQTEdpVyD5 EskF8j8QUtjY9nSnNpujY8w6TYWh5XHROYbPvQvdAm2Vs5bWHdx+C9TXUok3KRCbz8yG Pi2A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a14si27879098pjo.40.2019.07.30.09.34.11; Tue, 30 Jul 2019 09:34:26 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730530AbfG3OKM (ORCPT + 99 others); Tue, 30 Jul 2019 10:10:12 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:48202 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728827AbfG3OKM (ORCPT ); Tue, 30 Jul 2019 10:10:12 -0400 Received: from [167.98.27.226] (helo=[10.35.6.253]) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1hsSpF-0006wT-83; Tue, 30 Jul 2019 15:10:01 +0100 Subject: Re: [alsa-devel] [PATCH v2 1/3] dt-bindings: ASoC: Add TDA7802 amplifier To: Charles Keepax Cc: Mark Rutland , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Marco Felsch , Kuninori Morimoto , Kirill Marinushkin , Cheng-Yi Chiang , linux-kernel@vger.kernel.org, Nate Case , Takashi Iwai , Rob Herring , Liam Girdwood , Paul Cercueil , Vinod Koul , Mark Brown , Srinivas Kandagatla , Annaliese McDermond , Rob Duncan , Patrick Glaser , Jerome Brunet References: <20190730120937.16271-1-thomas.preston@codethink.co.uk> <20190730120937.16271-2-thomas.preston@codethink.co.uk> <20190730122748.GF54126@ediswmail.ad.cirrus.com> From: Thomas Preston Message-ID: <16dff5b4-6a94-42de-85d4-0f4ec01fac8c@codethink.co.uk> Date: Tue, 30 Jul 2019 15:10:00 +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: <20190730122748.GF54126@ediswmail.ad.cirrus.com> Content-Type: text/plain; charset=utf-8 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 On 30/07/2019 13:27, Charles Keepax wrote: > On Tue, Jul 30, 2019 at 01:09:35PM +0100, Thomas Preston wrote: >> Signed-off-by: Thomas Preston >> Cc: Patrick Glaser >> Cc: Rob Duncan >> Cc: Nate Case >> --- >> .../devicetree/bindings/sound/tda7802.txt | 26 +++++++++++++++++++ >> 1 file changed, 26 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/sound/tda7802.txt >> >> diff --git a/Documentation/devicetree/bindings/sound/tda7802.txt b/Documentation/devicetree/bindings/sound/tda7802.txt >> new file mode 100644 >> index 000000000000..f80aaf4f1ba0 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/sound/tda7802.txt >> @@ -0,0 +1,26 @@ >> +ST TDA7802 audio processor >> + >> +This device supports I2C only. >> + >> +Required properties: >> + >> +- compatible : "st,tda7802" >> +- reg : the I2C address of the device >> +- enable-supply : a regulator spec for the PLLen pin >> + >> +Optional properties: >> + >> +- st,gain-ch13 : gain for channels 1 and 3 (range: 1-4) >> +- st,gain-ch24 : gain for channels 2 and 3 (range: 1-4) > > I wouldn't have expected the gains to be available as a device > tree setting. > Ah, I forgot to update the docs from v1. Thanks