Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4632138ybi; Tue, 30 Jul 2019 05:32:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqywQ5LjOZj6IQkF2rKjzQWiiBu05YBD8GcrLRprjodpBaaF2KuXClQB3bvDs0H0F5pR8g7w X-Received: by 2002:a63:c84d:: with SMTP id l13mr103942451pgi.154.1564489944062; Tue, 30 Jul 2019 05:32:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564489944; cv=none; d=google.com; s=arc-20160816; b=U9aegcAmFCmWnw0ztKwmxLSwYrQUjpABPtWtfSAanIAJTVwN/XKA5VyMaQsntCTLPP w+7gkNICOpUf+XVf19inC1RlCghYG1JnAANPeGy4c0LzG7kDEdK7HbXKevSmpJAD7djs f1P15G+SnasVbR8gzkNMHJuLfW3YK5jhRY073QEGML3Ifd3ACGR4/ipcFrYiyR/lgx9V hs9+k4Xxw7jdO0YdASMB+8bLC4HtcqJDg6V5AfYJYLCLcJlDPSiM4srS2/edoD4mkGWr BI3CXVMitsnGJZv2SymGDyKY/9Bab8hFHWu7UHoTZigdNbDTxCLjQ2sbfHVRyuNXVXVw kSnQ== 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:dkim-signature; bh=pY3zCtDyo2UN0OhyrBjrLt7xNrI8TidRHw7Z/SoxObk=; b=eWoacrq9BPdaBnxH3NAKxWFh5FVauXGAD3FXV6aP6xL8XbYF/sJE8WuSWImEmX4u4M JR+9IZdAU2d2S/79i+bH4zqqu7Y4N4D727L0Z4V8hRP9bQp9z4reZShNLHqJuV0dcPch mcc/AzphaAEEba/GmBmQEvP6nFJTVVcvuTMUKrAAUInvaiP0pQSm3AKbEKE2d54XwcHz wTI6MzjoG5j7m4ehIDOBBgMXYHMNWYAWBqJEmBffFARpG5bUY//cYZu09Eijc3dlIHc5 hssPLVMmlMWxSofylDdPvTazjoQDMySfGtLNzQb3psHh2H/IMa+SRNzf+CMHWUGcLXph HqtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=WW27iPvG; 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=pass (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 u20si26893016plq.421.2019.07.30.05.32.08; Tue, 30 Jul 2019 05:32:24 -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; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=WW27iPvG; 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=pass (p=NONE sp=NONE dis=NONE) header.from=opensource.cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729284AbfG3M3f (ORCPT + 99 others); Tue, 30 Jul 2019 08:29:35 -0400 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:49830 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728186AbfG3M3f (ORCPT ); Tue, 30 Jul 2019 08:29:35 -0400 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x6UCPbL5001281; Tue, 30 Jul 2019 07:27:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=PODMain02222019; bh=pY3zCtDyo2UN0OhyrBjrLt7xNrI8TidRHw7Z/SoxObk=; b=WW27iPvGmca6/6RHRPK/lJRXcfi9WBFDVrdgvCdTiffzT8wuSG8QbF93YWX6sM7gm1aq rvpkB0RxNVL+b7GpnujcaK32Kteg6fClR0Ik/f9eCLdM8kPxXgw2hzyVcC1jKb1QAPSw kN8JUdfsG8nvjCfb0x1JXjoCzLx1NfLRD2zNacySmbjzuri1mf5R38vl3D567POpqX1K 899bLpgZsM+k90VVHSeCO1ciXdm7oeeLyYkW7sgkDMVV3Ei3hd86ZgJpokbq2UhkLfVH gOfzSnkdTom8LBMlCkgYRTj/WkgS9dCubfnBs+MRjQwSPumnfduWbI6PvbtymZzPFSZy ag== Authentication-Results: ppops.net; spf=fail smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from ediex02.ad.cirrus.com ([87.246.76.36]) by mx0b-001ae601.pphosted.com with ESMTP id 2u0k1qvkeb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 30 Jul 2019 07:27:50 -0500 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; Tue, 30 Jul 2019 13:27:48 +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; Tue, 30 Jul 2019 13:27:48 +0100 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id B7C512A1; Tue, 30 Jul 2019 13:27:48 +0100 (BST) Date: Tue, 30 Jul 2019 13:27:48 +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 , , , , Patrick Glaser , Rob Duncan , Nate Case Subject: Re: [PATCH v2 1/3] dt-bindings: ASoC: Add TDA7802 amplifier Message-ID: <20190730122748.GF54126@ediswmail.ad.cirrus.com> References: <20190730120937.16271-1-thomas.preston@codethink.co.uk> <20190730120937.16271-2-thomas.preston@codethink.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20190730120937.16271-2-thomas.preston@codethink.co.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-SPF-Result: fail X-Proofpoint-SPF-Record: v=spf1 include:spf-001ae601.pphosted.com include:spf.protection.outlook.com -all X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 suspectscore=0 mlxlogscore=999 lowpriorityscore=0 priorityscore=1501 impostorscore=0 clxscore=1011 phishscore=0 adultscore=0 mlxscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1906280000 definitions=main-1907300130 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > +- 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