Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp994067ybl; Thu, 12 Dec 2019 08:06:09 -0800 (PST) X-Google-Smtp-Source: APXvYqymmoQE3B0hxPORsCNTCR5RSUhjiiJBHIMUpXIuZtAFBZLPLLk7fmATkd3t25kqmOLLI3ZH X-Received: by 2002:a9d:4d9a:: with SMTP id u26mr1677917otk.15.1576166769063; Thu, 12 Dec 2019 08:06:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576166769; cv=none; d=google.com; s=arc-20160816; b=w6Hfv0xsiKF4PP9OEDY8P2MUU4C1fDF2XreWOxYVDT6h55r63E4KbQVnzYSdu37qvN t1Emi6KCO5EfGfu+JwMaCZ4fkAzWVWhrvU59fsVAAmsTaenS22nc1og1/haeyAgBescy dDTfDDroR2cUZZXOKlEfUKUh7gnr4y1F2F3oUkalXkcjFvw/t4jwS8AYTo1tscC6ShPl X6zstMG2UyTh9mDM4EnxV6xeGWMenCCfqeJluQPVne0QJ9XiJRpiaCArMOWr4qaY3CLa GGUheUad/QIg3jQZEycfX4pcXCphMJ1B4fcSmPTjR3ERUGXdzk1uI2hxYtlYMxykLLue P7Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ZCzmrksYMIZP5qegejQrC4NUb+PdAlfYsfP59NhOeK8=; b=YYG6HSrVbaN/fwluJrVSPXk5I01GKC4EGecomD7ABZcLxe6/vQbQ4xb/nB48lkbyOI OGjvfmEQtclktOcIp2eMKwv0QwRWV0hzKGMxjs5l/SkPHNiQj8QPjvHR4nqNaRcgfho3 YnhgEaMyBwXIYJYNZJyOomqB/0nYHljGNBKKFMGM2g1Ow4dO/eckungozpticN5YBnYY Qh66R0rNqcMWX2xX0sDDAdjELPFInmGHlBmAQ8ZxUS65YOMV3cLZOqlr8s5W9aaUvsga j3u5AQj9shwEDDa9DqEBDMcwotjxWBOCnDdTzBFouK2oE4YlsxLn6FBcRrse7Kff6jbn rnfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h200si3210024oib.258.2019.12.12.08.05.54; Thu, 12 Dec 2019 08:06:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729852AbfLLQEb (ORCPT + 99 others); Thu, 12 Dec 2019 11:04:31 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:42213 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729622AbfLLQEV (ORCPT ); Thu, 12 Dec 2019 11:04:21 -0500 Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ifQwr-0003cX-KD; Thu, 12 Dec 2019 17:04:17 +0100 Received: from mfe by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ifQwr-0004LB-2j; Thu, 12 Dec 2019 17:04:17 +0100 From: Marco Felsch To: support.opensource@diasemi.com, lee.jones@linaro.org, robh+dt@kernel.org, linus.walleij@linaro.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, kernel@pengutronix.de Subject: [RESEND PATCH v3 1/3] dt-bindings: mfd: da9062: add gpio bindings Date: Thu, 12 Dec 2019 17:04:11 +0100 Message-Id: <20191212160413.15232-2-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191212160413.15232-1-m.felsch@pengutronix.de> References: <20191212160413.15232-1-m.felsch@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::28 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add gpio device documentation to make the da9062 gpios available for users. Signed-off-by: Marco Felsch --- Changelog: v2: - remove sub-node documentation - squash gpio properties into mfd documentation --- Documentation/devicetree/bindings/mfd/da9062.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/da9062.txt b/Documentation/devicetree/bindings/mfd/da9062.txt index edca653a5777..089a28bc77a4 100644 --- a/Documentation/devicetree/bindings/mfd/da9062.txt +++ b/Documentation/devicetree/bindings/mfd/da9062.txt @@ -13,6 +13,7 @@ da9062-rtc : : Real-Time Clock da9062-onkey : : On Key da9062-watchdog : : Watchdog Timer da9062-thermal : : Thermal +da9062-gpio : : GPIOs The DA9061 PMIC consists of: @@ -38,6 +39,15 @@ Required properties: See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for further information on IRQ bindings. +Optional properties: + +- gpio-controller : Marks the device as a gpio controller. +- #gpio-cells : Should be two. The first cell is the pin number and the + second cell is used to specify the gpio polarity. + +See Documentation/devicetree/bindings/gpio/gpio.txt for further information on +GPIO bindings. + Sub-nodes: - regulators : This node defines the settings for the LDOs and BUCKs. -- 2.20.1