Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4936285ybi; Tue, 30 Jul 2019 10:45:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqyYfmbYBEfQcX9BdV9PgKP++8G/MgG4cjozeN747Iv8pWosrMOrxMMfY1kosfsahWEpSzWk X-Received: by 2002:a63:67c6:: with SMTP id b189mr18779271pgc.163.1564508716397; Tue, 30 Jul 2019 10:45:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564508716; cv=none; d=google.com; s=arc-20160816; b=TaUo26kTN54hN6pg7V7ohSZTsVkgN8+8dQMTdeuO7EBvdpTDwDDDJL+Aa+VFyxKw68 qJe3rpNxOLjAuQPSUoYLz1mJIy8IiMlvoQl9qgCX/Gn78rO2nclc93ycGhrBNOYvO2t5 kLJ40H3DR8hEmLZl0xpRe0b9UjuZbMxTMXW/2aD/h59p0TaXdRLTjaYk0WpSDvbSVG5Y exiDZiHEjD4vkA+vLE1dyNX5xxPOodyo1mZows1ZXuECORkAZZnL5LxJEwFKb+QFPXOY MpMgmH2ivXnLZyrYKki7cvn5vGTzPnSjjMa3Zc5MIuKqVcbTmZkZZoRiOqBGKafvS/Na 3XRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=8nEO5ZFFu8NfT+joxKzXris7ahQjY3t0y3ynI2mYm3M=; b=pl78LlgfS715rbxIAs7Xd9/s2Bcd2B/JrcZQ4l5JOeFomUQnIsBIGGs4B6a3MEr6ZZ agEbyM1nUuML6PNmnPYKKZ5Q7EXOwq0cM8Mj57Pm3+7lz+SzRmne9s8r/UsWEQ5tc9FN rb/zaettC2WS1KXU2PVkcPUc1j3ioUPZO3hux/cOZ4Cgyg5wqvKvDQ0+/c0dwu+095+C YObxN1l63ZPlV16BhAB2xUsBsJka0dwOS8Ite97211ZYY2TOgH6es11hKFc4YBiBrmji hXnYsjOQCKeF44D6Vx24d8uK3ogEAyPZfhE79CzGCLugur1Mih5B++6/9ps4rZAy1vT1 D5UA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c7si26972351pjo.88.2019.07.30.10.45.01; Tue, 30 Jul 2019 10:45:16 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729978AbfG3NNP (ORCPT + 99 others); Tue, 30 Jul 2019 09:13:15 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:37669 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728361AbfG3NNO (ORCPT ); Tue, 30 Jul 2019 09:13:14 -0400 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hsRvP-0000zD-03; Tue, 30 Jul 2019 15:12:19 +0200 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1hsRvF-0002oJ-SH; Tue, 30 Jul 2019 15:12:09 +0200 Date: Tue, 30 Jul 2019 15:12:09 +0200 From: Marco Felsch To: Charles Keepax Cc: Thomas Preston , Liam Girdwood , Mark Brown , Rob Herring , Mark Rutland , Jaroslav Kysela , Takashi Iwai , Jerome Brunet , Srinivas Kandagatla , Paul Cercueil , Kirill Marinushkin , Cheng-Yi Chiang , Kuninori Morimoto , Vinod Koul , Annaliese McDermond , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Patrick Glaser , Rob Duncan , Nate Case Subject: Re: [PATCH v2 1/3] dt-bindings: ASoC: Add TDA7802 amplifier Message-ID: <20190730131209.rdv2kdlrpfeouh66@pengutronix.de> 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=us-ascii Content-Disposition: inline In-Reply-To: <20190730122748.GF54126@ediswmail.ad.cirrus.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 15:06:48 up 73 days, 19:24, 49 users, load average: 0.10, 0.03, 0.01 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > + > > +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. > > > +- st,diagnostic-mode-ch13 : diagnotic mode for channels 1 and 3 > > + values: "Speaker" (default), "Booster" > > +- st,diagnostic-mode-ch24 : diagnotic mode for channels 2 and 4 > > + values: "Speaker" (default), "Booster" > > + > > +Example: > > + > > +amp: tda7802@6c { > > + compatible = "st,tda7802"; > > + reg = <0x6c>; > > + enable-supply = <&_enable_reg>; > > +}; > > -- > > 2.21.0 > > > > Thanks, > Charles > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |