Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4693296ybi; Tue, 11 Jun 2019 10:51:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxzhBtoQdxmq/8q5b/NdNvzlGRcoTCnQYFjSH+sNKq3hUVQtLG+XDJF5HzQppb8u1Zd6nmT X-Received: by 2002:a17:90a:9503:: with SMTP id t3mr27959387pjo.47.1560275464123; Tue, 11 Jun 2019 10:51:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560275464; cv=none; d=google.com; s=arc-20160816; b=zpZ/otpE8KKWwzAXQdh9QAjIOZyHP+CpvIuenNgm2boD/fmRLDXj7yaGMWuf27bhHL /isVw6m8q5uKBZ4k8F2Xy6cVQ+8YyvFSjweMJLGw84VAd7Cz9MA+U2t3d1SWL/PK/qxp rDXH9q4aAX2qr7MVCK9be4JI86LhkaqfJtBN2EUAKgU7JVVjplgLtP8PuUC3LHC/duSC ob/teNr7HMlloIyHS1yINBruzqXXVJfI1lle6P2tjOzgqoZx3v5V0zEr+Yj6OdwSVwHh JRltzONSNfwvwVlKwLhSIWtFLJuYic5LElld380Zr0VSvJePTrTh/0ReSuj4txReGd9E vnoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:to:from; bh=rC4IrROGuQ/H2XHmC+t4YgJ0XDcOlAVPU5+Qdw886PM=; b=RHoQQ3bFp5Sv6ccNjLibSZlPa1q2CtoNirB0fzD+y3JdSQqF0QkgMR2zyD1bTWpvhH qD3vwwm+0PQyKF30ZTcq8YQbMUk8c0ePDyAtxwsFXbWvuI54wyJdLjnNAVMmT6uikcIt aHCPa+LCc3e4ONdy1Zkm/oL7PLyUYd0kdmUbwAMlZA0LhW66CyH0yijf7QGfHev6Nody xHPyZReiTxFnSt8FeGEkm8stBHGpUyzCNww42kekbDZUaBooCfLlKFTFpL/eYECL2t43 r1IKqNEsllVG1eFdxTtMIi12+yKntYD5sDRTL03Uigo8I4g5orPkSAf9rkI4UotTx1AQ lrlA== 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 u194si9360338pgc.353.2019.06.11.10.50.48; Tue, 11 Jun 2019 10:51:04 -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 S2406672AbfFKRuF (ORCPT + 99 others); Tue, 11 Jun 2019 13:50:05 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:36970 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406653AbfFKRuC (ORCPT ); Tue, 11 Jun 2019 13:50:02 -0400 Received: from [167.98.27.226] (helo=ct-lt-1124.office.codethink.co.uk) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1hakte-0001PN-2s; Tue, 11 Jun 2019 18:49:22 +0100 From: Thomas Preston To: Liam Girdwood , Mark Brown , Rob Herring , Mark Rutland , Jaroslav Kysela , Takashi Iwai , Charles Keepax , Jerome Brunet , Srinivas Kandagatla , Marco Felsch , Paul Cercueil , Kirill Marinushkin , Cheng-Yi Chiang , Kuninori Morimoto , Vinod Koul , Annaliese McDermond , Thomas Preston , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/4] dt-bindings: ASoC: Add TDA7802 amplifier Date: Tue, 11 Jun 2019 18:49:06 +0100 Message-Id: <20190611174909.12162-2-thomas.preston@codethink.co.uk> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190611174909.12162-1-thomas.preston@codethink.co.uk> References: <20190611174909.12162-1-thomas.preston@codethink.co.uk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) +- 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.11.0