From patchwork Wed Sep 24 18:31:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anatol Pomozov X-Patchwork-Id: 4969351 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E32B1BEEA5 for ; Wed, 24 Sep 2014 18:32:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C59D72026C for ; Wed, 24 Sep 2014 18:32:25 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 2E79320253 for ; Wed, 24 Sep 2014 18:32:24 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id CCA39265015; Wed, 24 Sep 2014 20:32:22 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 92CA22625EF; Wed, 24 Sep 2014 20:32:12 +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 7B52F264E9F; Wed, 24 Sep 2014 20:32:10 +0200 (CEST) Received: from mail-pa0-f73.google.com (mail-pa0-f73.google.com [209.85.220.73]) by alsa0.perex.cz (Postfix) with ESMTP id 2CAE2261B25 for ; Wed, 24 Sep 2014 20:32:02 +0200 (CEST) Received: by mail-pa0-f73.google.com with SMTP id lf10so215978pab.2 for ; Wed, 24 Sep 2014 11:32:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=rcJcQfHSBJJ+Cqhq2f4VhRxaaUDdxWujXFvbYBHxncY=; b=SqnxOgFI5TM+ndPFwLKkw1uQbeXvc0K9/r2iQu+ZVIKneQHIi2ABPWvRPI4AP/AGVn AieClY1bSujAMyeI1G+3Z3ezFSspGBPjemqJkX47GO5Fx+GXVeeyGDt00AZVLx6tvJAY pYgU+f+9QnZXxyz1A/h4ehC4qUgdh6fmq30GcG3YBHOS8kEzNtJ4O/d3Ay6LWzmBV/En nUieUWkdSvjvLSBMth+CBsEsbmE+uKlrssYrwsihAn63mZIlO3l0UDGqS4EK9mawahZ/ lmrKfmxb2eAvIRZAKy3i5xrh3uNQ9QYbd4D7lEPyIVtFnM1SoWU430esvH5TIizRFH2c wCmQ== X-Gm-Message-State: ALoCoQmOoNQ6Pb0jICSBqBmFjaUUiZwUZLWob2Srms8ut9ZMTu1rR6KcS4YAEG2C2hxN28zgZ5BfOAGW9/1WbiOCmIG5F9QErHIU0pxrtoVzSlDhfs78DCPY0VtVlHsaiyca21NPWI4jXurSHiB4BbN1u3N4sDMC/xebQNBvk5oDQiS5Os+VISc= X-Received: by 10.66.141.39 with SMTP id rl7mr6456924pab.11.1411583521348; Wed, 24 Sep 2014 11:32:01 -0700 (PDT) Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id n63si3524yho.5.2014.09.24.11.32.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Sep 2014 11:32:01 -0700 (PDT) Received: from anatol.mtv.corp.google.com ([172.22.64.197]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTP id XsN9KWwc.1; Wed, 24 Sep 2014 11:32:01 -0700 Received: by anatol.mtv.corp.google.com (Postfix, from userid 67983) id 776E310034C; Wed, 24 Sep 2014 11:32:00 -0700 (PDT) From: Anatol Pomozov To: broonie@kernel.org, lgirdwood@gmail.com Date: Wed, 24 Sep 2014 11:31:58 -0700 Message-Id: <1411583518-32260-1-git-send-email-anatol.pomozov@gmail.com> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 Cc: oder_chiou@realtek.com, alsa-devel@alsa-project.org, Anatol Pomozov Subject: [alsa-devel] [PATCH] ASoC: rt5677: Add gpio-controller DTS documentation 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 Signed-off-by: Anatol Pomozov --- Documentation/devicetree/bindings/sound/rt5677.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/rt5677.txt b/Documentation/devicetree/bindings/sound/rt5677.txt index 98509fb..bd28df6 100644 --- a/Documentation/devicetree/bindings/sound/rt5677.txt +++ b/Documentation/devicetree/bindings/sound/rt5677.txt @@ -10,6 +10,11 @@ Required properties: - interrupts : The CODEC's interrupt output. +- gpio-controller : Indicates this device is a GPIO controller. + +- #gpio-cells : Should be two. The first cell is the pin number and the + second cell is used to specify optional parameters (currently unused). + Optional properties: - realtek,pow-ldo2-gpio : The GPIO that controls the CODEC's POW_LDO2 pin. @@ -36,6 +41,10 @@ rt5677 { reg = <0x2c>; interrupt-parent = <&gpio>; interrupts = ; + + gpio-controller; + #gpio-cells = <2>; + realtek,pow-ldo2-gpio = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>; };