Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4871659ybi; Tue, 30 Jul 2019 09:34:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJxOtuEx6u7jVJRGT3ET1HEVlnAsY6BmiCgUU3YLpMSSE8CvtQYOlhrqHsb5J5U1iWuBVh X-Received: by 2002:a17:902:aa95:: with SMTP id d21mr2762376plr.185.1564504474312; Tue, 30 Jul 2019 09:34:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564504474; cv=none; d=google.com; s=arc-20160816; b=SXCMcqDH1J2RoDyt4ULYpw+0dJo/xQuaVC8zwWg4ZwZNV+NM5PFY6gh342PMZ0TTu0 nWMSFNbJgbs25hJeBkSXUTCF61lR4z2P2B93i02zq+ZB0spGcujpWr+xeAGfZIg4dOi/ FmIoAYgNVUw0qygb2Wbu7JceU45ZP+qFh5+MUqegS1mlOZKDAUnJKsyEbLkjRhV9E9Ot rnJrI29Go9HYccYs62dG2aBm2rIgdiFFkykISZ2Lx4cYu6N2Y1h4eBZj07hC4gIhnEra an+QlDws8C5YPGc8o8W9DuVuefmSSIDqeDbbLqlZ415bZVw+CHz94PxNcHW21Oca8Nwx /6ZA== 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=wt4m4wWtsOiro5l5Bp0osfk6IsqYwm6b88uooYpG7ho=; b=Uu9yxy6Lt+DAEKMBzRtjfO5lcMsnTa4pWaXf9JzF75+ujMVxkPJTb9Llqyi+a5pDbv kFLppw/+hz4uZ/2LjGh+PSP913WsDJuS+kdSWAWh+xscqp7btjUcpWVGcYqQr/s/F70R bZUU0fgqTV2cGsszaZ6PydY1jKZOHsQNi+IOjZy/P9tlwSl9NufhK5njRvRrECC0fjmv iC0/pOcyz1zRlRfQcSDKVlVv8Lhbu8rFkWDFYRUT7pFhslRuNw9NfUMoaDHnA8LdEHs3 Uk39ii2DdtjpcuBr5JTOeiY3viYj6kkW6vh2BaaUKDNYWobbY1aL3kzhijv8oFg1BbbJ Z0cA== 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 w20si27362525plp.394.2019.07.30.09.34.18; Tue, 30 Jul 2019 09:34:34 -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 S1729991AbfG3OMb (ORCPT + 99 others); Tue, 30 Jul 2019 10:12:31 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:48267 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727338AbfG3OMb (ORCPT ); Tue, 30 Jul 2019 10:12:31 -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 1hsSrW-000700-Ep; Tue, 30 Jul 2019 15:12:22 +0100 Subject: Re: [alsa-devel] [PATCH v2 1/3] dt-bindings: ASoC: Add TDA7802 amplifier To: Marco Felsch , Charles Keepax Cc: Mark Rutland , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Rob Duncan , Kuninori Morimoto , Kirill Marinushkin , linux-kernel@vger.kernel.org, Mark Brown , Takashi Iwai , Liam Girdwood , Annaliese McDermond , Paul Cercueil , Vinod Koul , Rob Herring , Srinivas Kandagatla , Nate Case , Cheng-Yi Chiang , 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> <20190730131209.rdv2kdlrpfeouh66@pengutronix.de> From: Thomas Preston Message-ID: <16a99e45-fd5a-2878-acf9-63518f9ca527@codethink.co.uk> Date: Tue, 30 Jul 2019 15:12:21 +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: <20190730131209.rdv2kdlrpfeouh66@pengutronix.de> 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 14:12, Marco Felsch wrote: > Hi Charles, > > sorry for jumping in.. > > On 19-07-30 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 > > Shouldn't that be a pin called 'pllen-gpios'? IMHO I would not use a > regulator for that. > > Regards, > Marco > Hi Marco, We have multiple amplifiers hooked up in a chain, and all the PLLens are connected to one GPIO. So we need to use a regulator so that i2c-TDA7802:00 doesn't turn off the PLLen which i2c-TDA7802:01 still requires. This is why we use a regulator. Is there GPIO support for this? Thanks, Thomas