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: 884136 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="IFTtpc3Q"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zz1cp28Byz9tRG for ; Sat, 10 Mar 2018 22:05:30 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752158AbeCJLF1 (ORCPT ); Sat, 10 Mar 2018 06:05:27 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:43784 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752079AbeCJLFZ (ORCPT ); Sat, 10 Mar 2018 06:05:25 -0500 Received: by mail-wr0-f195.google.com with SMTP id a63so7669156wrc.10 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=m90JvzXebpSYbSJqiptfvFOcAnkSGM3gB315z0WNfwcij+//tFT5PIqHKcG3Ln5juG R/e9KRSIhkwwdG2uRT0sMfLKmdNXuWf2DHn6i5QbYfwybzV5afUal4xH6uSD828TqjI7 L5+mu14IeFtMCP2EAmE7ozeTnHUb2xfqnf2bljbToT7lz9OwQaf7Ms8JQHtOLLp1Hq12 CzyYTu+mUiHWq2q1u4nDYIULIjw45FE71xpNbQdQ7bt+nxwQOfaTil+QpMmXTCqdcfnZ uKZRkBqafcUIynY608s3eIiQEwuMIgEAtDijduwoRlS2vZP1WMaSaOmizwpyRDBGfpow uRYw== X-Gm-Message-State: AElRT7ESp45zl8D4MsV6LFsOT3T0xIq0dTwyXqDShjT/VLBidMEu4P3b t/AAA7SKj11Pjs9iesSCDDFVng== 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 Cc: Neil Armstrong , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [RESEND PATCH 1/2] ASoC: Add DT bindings documentation for max9759 amplifier 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; +};