Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4830279ybi; Tue, 30 Jul 2019 08:53:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyN0+BUNX1tAXTTphLgLWqyfg7Y07ZBDjiMlJCO1+moz3Qw0uFTUJbteNFluWOO2LVCIW8m X-Received: by 2002:a17:90a:21cc:: with SMTP id q70mr121303406pjc.56.1564502012570; Tue, 30 Jul 2019 08:53:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564502012; cv=none; d=google.com; s=arc-20160816; b=FUxNi6+hxXOCJCbpR8njtpJWxBVt6ke53m8v4LTiCgiwA3I0paRnZAQ6Dhio8mlkaX aPP9WnoW5PsMq7UELgRoD+7eLZAPr+8bzvfG91I7NrS0kex2ac9UlOg8ZkrQxLrTPxNS nelLQU9Xyz1UWyLjUNE8W/I+5xVIjB9FhXha7khUPgTfrLNT0i/ajc8ITh7RB0yzvNEa FRl3ZglsnGMwzIA06vyjsEkbKniQSRD+5z8JrorzNBsEnViPsk0JNpdqBp2r2wFIChgW 4aWiPEetXuFDuzeR2LGL4UciXJuPt4fNhbz3DMdeKHqlWMSlG8CVlfs/dqDV5Q4udNi5 18xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=HjOF8eiVJfLJxfPUEWYch70VGCo2PEsXeqbqp1j/Sww=; b=x8bfcYpVIPV5u4cg6uSD8w1SrUxEonB5m+cw0DUTcTVW2dVG3F0uHKE/BuvvIfDcQi 0TlPoWaDjD019mwC+ZdEZ5RBqzpyoHLxHHrVXylzL7T714LbaYzWNxqOami7nmgwKAC3 FwdUyAVW9j3LUZT87vyIgQokdEnDnbHWeg2Y3ZvaBwHQBQetwM3PCE73HGJafIUZJ563 f9PCh7CJU3zbHKN6Kgu4+JDAMu0hMwZecKi7pDujaGtwh2hXvTO51/qHV8dwOyzkJ2RO WsJqB2o1FwENIFgxpR1V8JoP/2eapMzamIk+Ba+lSveVDA6GTrNw1eEmJSXw0aILVVLS QoUg== 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 x4si29610995pln.70.2019.07.30.08.53.17; Tue, 30 Jul 2019 08:53:32 -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 S1730277AbfG3MKf (ORCPT + 99 others); Tue, 30 Jul 2019 08:10:35 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:44350 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727816AbfG3MKe (ORCPT ); Tue, 30 Jul 2019 08:10:34 -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 1hsQwq-0003E4-86; Tue, 30 Jul 2019 13:09:44 +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 Cc: Patrick Glaser , Rob Duncan , Nate Case Subject: [PATCH v2 1/3] dt-bindings: ASoC: Add TDA7802 amplifier Date: Tue, 30 Jul 2019 13:09:35 +0100 Message-Id: <20190730120937.16271-2-thomas.preston@codethink.co.uk> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190730120937.16271-1-thomas.preston@codethink.co.uk> References: <20190730120937.16271-1-thomas.preston@codethink.co.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.21.0