Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5400542ybi; Wed, 12 Jun 2019 01:46:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvO+NIJE3GmkV5nfBQwQKn0TPz/YGug+ojCyCKkRNlFrKKuSc6TCtwT5G9rT666ftzWDXM X-Received: by 2002:a62:4e48:: with SMTP id c69mr62884543pfb.176.1560329168419; Wed, 12 Jun 2019 01:46:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560329168; cv=none; d=google.com; s=arc-20160816; b=p/W9qpjO7K+XjXgTaYIg2qQkTSYubbWZgOQjpkTLBVTUkYQVyTg3tpNG6vSkFAqxZ/ SARwESPhAsmvdPi2CNGjy1YjO1q9ems56eK0ePn4Gepa1E6M3DBPkXXwZOOJNWAh80+s mBc9GJ4meponHwzdbGN39TEpOWD84KOkne13Jk38eI1lhVUFRbVpHI98LllOiCk7d24Q tOGNwuHpF/lOf2dDqzoSRCBlkEQxo+8Vczn3gc8p9/pB5OJq6Z6PNcq0m9focFfuJV4K V7kfW9lS8yL79PWvVaY8uiPbM8ARS9SwUS+LBtML0Ag22riBah6Jho1QbGq4otTji986 d3bA== 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=1EvC/PbGpDX90tIFhi/VnLxbFtLmQUARg5UoSK0z9TM=; b=VdXkJYYcGaf3j1JHdiEX3b94Lq1eLkXrzUo2ivU/zaLZjxDEaehPg3q8p+M3SE9V1I FjLHJrIYoPV03YODOtZljgBkAZ3baCV/THOZWEOSbKB7HsE+MpxKGxHb+Nt1GXhBwSYE pE5X27Pico0DZZqn0LMKqDaPeRMYFCYLjCvJyUEwTXoYyOoW+FWXpJ4RwzykTqyqmJEp FbVLwVPB0QnjCwH0rpftBsCL3xqh5Wod0+JfdN0TiRsxvSOyP+d0BBgRNfpyVle5zCrv s5PTpSV2afHZX1Ds12SaYtbdEHJn1No7AaukXRU4SyBzDR3bjFKbN3kHxXwQM+uaHCTU imAg== 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=opensource.cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 34si15318702plp.305.2019.06.12.01.45.54; Wed, 12 Jun 2019 01:46:08 -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=opensource.cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436857AbfFLING (ORCPT + 99 others); Wed, 12 Jun 2019 04:13:06 -0400 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:47030 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2436818AbfFLING (ORCPT ); Wed, 12 Jun 2019 04:13:06 -0400 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5C88tEa031260; Wed, 12 Jun 2019 03:10:35 -0500 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from mail3.cirrus.com ([87.246.76.56]) by mx0a-001ae601.pphosted.com with ESMTP id 2t0ae2wjrf-1; Wed, 12 Jun 2019 03:10:35 -0500 Received: from EDIEX02.ad.cirrus.com (ediex02.ad.cirrus.com [198.61.84.81]) by mail3.cirrus.com (Postfix) with ESMTP id C05F4611E3BA; Wed, 12 Jun 2019 03:11:19 -0500 (CDT) Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1591.10; Wed, 12 Jun 2019 09:10:34 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.1591.10 via Frontend Transport; Wed, 12 Jun 2019 09:10:34 +0100 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 3DE8444; Wed, 12 Jun 2019 09:10:34 +0100 (BST) Date: Wed, 12 Jun 2019 09:10:34 +0100 From: Charles Keepax To: Thomas Preston CC: Liam Girdwood , Mark Brown , Rob Herring , Mark Rutland , Jaroslav Kysela , Takashi Iwai , Jerome Brunet , Srinivas Kandagatla , Marco Felsch , Paul Cercueil , Kirill Marinushkin , Cheng-Yi Chiang , Kuninori Morimoto , Vinod Koul , Annaliese McDermond , , , Subject: Re: [PATCH v1 1/4] dt-bindings: ASoC: Add TDA7802 amplifier Message-ID: <20190612081034.GS28362@ediswmail.ad.cirrus.com> References: <20190611174909.12162-1-thomas.preston@codethink.co.uk> <20190611174909.12162-2-thomas.preston@codethink.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20190611174909.12162-2-thomas.preston@codethink.co.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906120057 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 11, 2019 at 06:49:06PM +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) Does it make sense to have the gains in device tree? Are these expected to be fixed by the system design, normally the gain would be controlled through an ALSA control. Thanks, Charles