From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Preston Subject: Re: [alsa-devel] [PATCH v2 1/3] dt-bindings: ASoC: Add TDA7802 amplifier Date: Tue, 30 Jul 2019 15:10:00 +0100 Message-ID: <16dff5b4-6a94-42de-85d4-0f4ec01fac8c@codethink.co.uk> References: <20190730120937.16271-1-thomas.preston@codethink.co.uk> <20190730120937.16271-2-thomas.preston@codethink.co.uk> <20190730122748.GF54126@ediswmail.ad.cirrus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20190730122748.GF54126@ediswmail.ad.cirrus.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org 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 List-Id: devicetree@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