From patchwork Mon Feb 19 13:45:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10235601 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 808EF60209 for ; Thu, 22 Feb 2018 13:26:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7AADC28C0C for ; Thu, 22 Feb 2018 13:26:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F33E28CED; Thu, 22 Feb 2018 13:26:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0B9328C0C for ; Thu, 22 Feb 2018 13:26:15 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 763D8267503; Thu, 22 Feb 2018 14:25:59 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 2D3862673F0; Mon, 19 Feb 2018 14:46:13 +0100 (CET) Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by alsa0.perex.cz (Postfix) with ESMTP id 71E97266EBE for ; Mon, 19 Feb 2018 14:46:11 +0100 (CET) Received: by mail-wm0-f65.google.com with SMTP id v71so15176112wmv.2 for ; Mon, 19 Feb 2018 05:46:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=psrAuux9hnEEoVsSemdC5Bfu3VAUH4gitOV5N3vpuN0=; b=mu6YH3uFC2WlWcsAmNd88QQ4Hz3n09DKMAfdlyVnZHjZyqfWJt62kKHwGWineZLLrV 6OXFyNa4gxC6SJwwBapxFzlC7rHsEqMYzc/EeNfYFVtIR2cqQoGT+AiK+o5W2kkbA5+0 M6N/tE47srtxB21gXLrR/cmpi9CVGeRIkHyYLXFvu9zsy1gdWf2+COJ7yo5qRF5tE449 szJaV93RBMOF6Nj03Mc/ampB/N5Ug1mT182fvnTH/dTnOkftqxXZxJa6pXDNCpAFN0M+ zt4AqD+JfiR3JcXxWQ99YH2yPaDPfD+dfoCAU+yiaPxXqFnxunEywSJVmkSjn61SAivr TLiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=psrAuux9hnEEoVsSemdC5Bfu3VAUH4gitOV5N3vpuN0=; b=kqFcYYQ44aDt80gqfogcYq3Ll/d9cdHB36c8nedAxUN2weZdlKrdxrNi1T+e7hJtWn r6xp6yLg88mX00ZaANYsUCIiYOk0G3IeB7Hq08Kr+g+C+u4hoX8qhtOAxETXohPjLAB9 0m6QkUNBCWfMChaTpT0C8wsAYwr+S4CQevWdiV1fsyOk0ObD96FE+uXwvhr8RKmKAQNr /7aRHORR55Uj66ui8vA0GmYwlHaDvSymwk6+R8jhzyOetf/CeP25JKlpSn+e1UbdMi+R lQnhyAzdZQC8I96ujD99E6l1VzhpYkWKz25KkMNYu/ysLkgS9TypBg1JhmyQYjSPaWec iMzA== X-Gm-Message-State: APf1xPCzeN4amFVb+JQ53vAoysFgsWd3s73NSmN1r201IyF5AaNsld50 Ic+SrCB0Z9PGbpi1NeSraYa0Pg== X-Google-Smtp-Source: AH8x227gHChwtJuPers114lksZOojDzOnMK4YIoVb85qNYUspm0yDTY/TUkQCr+0TfHiC8rlbpzm0A== X-Received: by 10.28.32.202 with SMTP id g193mr3096414wmg.99.1519047970721; Mon, 19 Feb 2018 05:46:10 -0800 (PST) Received: from bender.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 42sm12860017wrx.92.2018.02.19.05.46.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Feb 2018 05:46:10 -0800 (PST) From: Neil Armstrong To: broonie@kernel.org Date: Mon, 19 Feb 2018 14:45:57 +0100 Message-Id: <1519047958-22583-2-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519047958-22583-1-git-send-email-narmstrong@baylibre.com> References: <1519047958-22583-1-git-send-email-narmstrong@baylibre.com> X-Mailman-Approved-At: Thu, 22 Feb 2018 14:25:56 +0100 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Neil Armstrong Subject: [alsa-devel] [PATCH 1/2] ASoC: Add DT bindings documentation for max9759 amplifier X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds DT bindings documentation for Maxim MAX9759 speaker amplifier. Signed-off-by: Neil Armstrong --- .../devicetree/bindings/sound/maxim,max9759.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/maxim,max9759.txt diff --git a/Documentation/devicetree/bindings/sound/maxim,max9759.txt b/Documentation/devicetree/bindings/sound/maxim,max9759.txt new file mode 100644 index 0000000..737a996 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/maxim,max9759.txt @@ -0,0 +1,18 @@ +Maxim MAX9759 Speaker Amplifier +=============================== + +Required properties: +- compatible : "maxim,max9759" +- shutdown-gpios : the gpio connected to the shutdown pin +- mute-gpios : the gpio connected to the mute pin +- gain-gpios : the 2 gpios connected to the g1 and g2 pins + +Example: + +max9759: analog-amplifier { + compatible = "maxim,max9759"; + shutdown-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>; + mute-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; + gain-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>, + <&gpio3 25 GPIO_ACTIVE_LOW>; +};