From patchwork Sat Mar 10 11:05:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10273423 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 B7237605D2 for ; Sat, 10 Mar 2018 11:05:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5A7F299DC for ; Sat, 10 Mar 2018 11:05:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A638299E9; Sat, 10 Mar 2018 11:05:39 +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 EDE92299DE for ; Sat, 10 Mar 2018 11:05:38 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 5928D267685; Sat, 10 Mar 2018 12:05:30 +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 899E5267662; Sat, 10 Mar 2018 12:05:26 +0100 (CET) Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by alsa0.perex.cz (Postfix) with ESMTP id B6854267614 for ; Sat, 10 Mar 2018 12:05:24 +0100 (CET) Received: by mail-wr0-f193.google.com with SMTP id r66so3691322wrb.6 for ; Sat, 10 Mar 2018 03:05:24 -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=tFhNeKsI+C+iSCFdm22t5uS/gGc1a0CUlxccC1I2dv0=; b=IFTtpc3QtPRbC6urGYQUx2HDHENoj+axkpqZDBWxuhQmwlHB8rOJ3daZYG0kwu40J2 g/qUtBnq819y71Wr/2tkkJM3ud09HNk49Zg38R9EW5ibDJeuS5Pgyt7gCxTU1vJ7Ql8t PAt7Fhhru9rISM1HkVbsHnxAQMEDYWCkNPJq9nYecBHrusbJbQX1X7mPwej4yhaSnAsp TSXkGAiTs7H/tKN5O8wK8HN7M6jzgsJ+2AFPo+W+0ixiyExtYWhFw+6yCi8fjFWxErEL CHV1wV+uJ+nzj3GAxjGYDi/T+aSz2BdPUA1n5DnVLYlSrxZHU8/4bkjF5usl0pfwjqeC tlYA== 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=tFhNeKsI+C+iSCFdm22t5uS/gGc1a0CUlxccC1I2dv0=; b=AJy6N/OA9mkoiETfjKn/Pef2vGxYOmvXJx3TFJVODO3YKtMJlZ1Ws0eMvkctFYZ9sX v+cuRBLOF5EcW8ZJXNGhmuwkM3ntg9Hx6lcEL6EhirJrUqzeBww7x17ih3KQv+gY7BFE YtivUzv/IFmyzKnHz08z2duha8AzoKxs4oB03cu/ukM5uXcr5GGRztT7KfoK/0koYtJd TZ8XV/NT2o+8Lw/u57b4G6ktx1gmOMtKAdZjIfvyFv1W5NHBGxlIQ2nrShuml0xibndk XT4bsnefGIZFOD002DjY7sj/AW2Tqh5oLKU2zfzOA87sFJwQ0dIeTwrwYZm0P39m+Fds 8AUA== X-Gm-Message-State: AElRT7HVizdplt9SAr3cHjUtzim18HgLfhzTzx9cVaxXgNPn13nNdgRj 9CDlhAYLoF/crbTFzy63p3A4ENVOhVg= X-Google-Smtp-Source: AG47ELtrZiiK12HbJyXaFUqhw6VNWnlrcFMgDqsBkPkyi+fqMEzxpwU3mxPv4ldgvKOdAEfNx01l1A== X-Received: by 10.223.178.232 with SMTP id g95mr1401190wrd.35.1520679924069; Sat, 10 Mar 2018 03:05:24 -0800 (PST) Received: from bender.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 41sm3234541wrc.33.2018.03.10.03.05.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 10 Mar 2018 03:05:23 -0800 (PST) From: Neil Armstrong To: broonie@kernel.org Date: Sat, 10 Mar 2018 12:05:15 +0100 Message-Id: <1520679916-13517-2-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520679916-13517-1-git-send-email-narmstrong@baylibre.com> References: <1520679916-13517-1-git-send-email-narmstrong@baylibre.com> Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Neil Armstrong Subject: [alsa-devel] [RESEND 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. Reviewed-by: Rob Herring 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>; +};