From patchwork Wed Sep 12 12:19:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cheng-yi Chiang X-Patchwork-Id: 10597411 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 16EE2920 for ; Wed, 12 Sep 2018 12:20:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E642529DB3 for ; Wed, 12 Sep 2018 12:20:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA66329DC7; Wed, 12 Sep 2018 12:20:27 +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=-2.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham 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 0CB4F29DC3 for ; Wed, 12 Sep 2018 12:20:26 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 6C35D2677BB; Wed, 12 Sep 2018 14:20:15 +0200 (CEST) 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 6CC92267815; Wed, 12 Sep 2018 14:20:13 +0200 (CEST) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by alsa0.perex.cz (Postfix) with ESMTP id 190B32673F4 for ; Wed, 12 Sep 2018 14:20:09 +0200 (CEST) Received: by mail-pg1-f193.google.com with SMTP id x26-v6so963317pge.12 for ; Wed, 12 Sep 2018 05:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XX9BUw85r/ljBlG69pn1fPXhcwk59z61wwuJst7K/bM=; b=bKXWgFYdYIx83fDBI2COUboshCd0lK/+e9T26PIVVX9l3XNMozx550yLq4eqTyQr8j NJGLaSAkx11UxQWrkXSxuEt1TryIe/+PSFEV6jWV7vXLC+Iv6xM5OF95+t0kqLFQKR+w kX/xE8rLcMtH131xvqf7iDfgLqcEe/FX6giWc= 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:mime-version :content-transfer-encoding; bh=XX9BUw85r/ljBlG69pn1fPXhcwk59z61wwuJst7K/bM=; b=U8wR4EqLOJQOK5Q0GUTrqcTtmXl/w7rmYnbHnJeHSeWBKgEUDOUX4TwODu2S6QaZQi nAiX1X7cMs6qJ1ptqaG8WdBQt1LpiXzOplaq+e1RBFDMtaDuEDJGGFxbwoDLYe+PgW1u W6OxHXvy0h8ewgUXXpV5/8QjhspcTl8jHWiDqTMbNJS9ZdvNMOPdVD0OLlTXl+gIDCj+ M+sx9wkRV8utbJSFQJn2k39NALL+HuJi9i0Yl2NudlsFe2wv2o1MfTRaXznBSchT6pDW 8A8cPHLWX/yi9Hp7SZkCNzFzfqbucOqudAzhwN0ysN53/QrMHxD5RVIxjokgf2tdp81I Cxhg== X-Gm-Message-State: APzg51ArmR8fUt79aQrodbOwj/FgXRqR0FSJCKkugbY9l47YCmClAK1j KCQ8XYdq2rZxoHnsiYDSyAwqXg== X-Google-Smtp-Source: ANB0VdbX4zKz7vWdnWRgyVJhjDWH1K7K0KZNWpJnUsJ1TQrpUxvo3qKPPYYObYwB+bTyZ4FBvOHACw== X-Received: by 2002:a63:ba1c:: with SMTP id k28-v6mr1965745pgf.76.1536754808557; Wed, 12 Sep 2018 05:20:08 -0700 (PDT) Received: from cychiang-z840.tpe.corp.google.com ([2401:fa00:1:b:e688:dfd2:a1a7:2956]) by smtp.gmail.com with ESMTPSA id t9-v6sm1729038pgi.87.2018.09.12.05.20.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Sep 2018 05:20:07 -0700 (PDT) From: Cheng-Yi Chiang To: linux-kernel@vger.kernel.org Date: Wed, 12 Sep 2018 20:19:54 +0800 Message-Id: <20180912121955.33048-1-cychiang@chromium.org> X-Mailer: git-send-email 2.19.0.rc2.392.g5ba43deb5a-goog MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, Mark Brown , dgreid@chromium.org, ryans.lee@maximintegrated.com, Cheng-Yi Chiang Subject: [alsa-devel] [PATCH 1/2] ASoC: max9892x: Add documentation for reset-gpio support 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP max98927 codec driver will support reset-gpio binding so it can toggle reset line in its probe function. Signed-off-by: Cheng-Yi Chiang --- Documentation/devicetree/bindings/sound/max9892x.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/max9892x.txt b/Documentation/devicetree/bindings/sound/max9892x.txt index f6171591ddc61..8bf30483eedcd 100644 --- a/Documentation/devicetree/bindings/sound/max9892x.txt +++ b/Documentation/devicetree/bindings/sound/max9892x.txt @@ -29,6 +29,8 @@ Required properties: Range : 0 (off), 1 (on), Default : 0 - reg : the I2C address of the device for I2C + - reset-gpio: reset gpio the chip is connected to. This is supported + on max98927. Example: @@ -38,4 +40,5 @@ codec: max98927@3a { imon-slot-no = <1>; interleave-mode = <0>; reg = <0x3a>; + reset-gpio = <&tlmm 75 GPIO_ACTIVE_LOW>; };