Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp632444ybl; Wed, 8 Jan 2020 03:19:44 -0800 (PST) X-Google-Smtp-Source: APXvYqyp5pZax0bqKr83wKe6VJzm+AouHXw82eZ+V4tVNuITvR2iEkRw5RBBSfL67eO7sDZpIzwH X-Received: by 2002:a05:6830:149a:: with SMTP id s26mr3893427otq.55.1578482384213; Wed, 08 Jan 2020 03:19:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578482384; cv=none; d=google.com; s=arc-20160816; b=CDsqSJjxKq5SLf1bb4S9biIB39UUX9m+ygukaGmDGDtrzjF10CbV/u7TnPd7TVKtIy nPTrwUQdIDxmqDWw5XQW0f+HF8levz4D7btP2rTIlgBy+mYCfPPuNkxND9tPL5rU0XRW LBeqwRAV1mGf+J6bb0vusKKa0j4PTrgsALMGuv+Y1t7/Ul6tqZrJCyQ2EVi0YqRQuijJ 0+HnTJX+yNW8UPQF/pzh2RQz9H52Ajmv1l1muDk61jJPTvl+7DrCLGDs9MhsRjKh73iW s3sEyid7DqqZ5cxFgIuaEJ7ETmavisAQbWhSXuQlSWmolMzttfaleEH7l2nIz1Z6B/jb P33Q== 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=KW4DladPOnnDk6Z4FV5ZtgxK3y2kMqD/2duDdVBCAx8=; b=Z4Ys42bD9gR3kDHp4FuXyxlRqOlzJhH8N2UwvEBXgn3xPVNqYhZw+YbA/uF+qlkE5Q jxCtmg/Y0blwB3RUeLEYNU5cGWy+CWg2WF06w9xGeUo3ghogp7KCvSO9JETR9vAcy+IM xoGuZO+SKVDcm6jRICDYQRDHGpFv66L4ETkPcIGIinn/UHiJ2Ad2DTlsl0lh/uiplJjc 2271CQ0n9/w43Q+5vd/M5iSM7Scqq5Pu80d59NY9ypqmhNwnOI59My0Zz5U04p2Yq14b 9jkUWBZa9Doo2YvYmnRcldVRONtxmfovG9J2mGe0HyRdQajWQz4cTsgNTIyRzDDa2Re5 tFkQ== 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 l5si1660232oil.96.2020.01.08.03.19.32; Wed, 08 Jan 2020 03:19:44 -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 S1727918AbgAHKsH (ORCPT + 99 others); Wed, 8 Jan 2020 05:48:07 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:47321 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726098AbgAHKsH (ORCPT ); Wed, 8 Jan 2020 05:48:07 -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 1ip8se-0000ea-5E; Wed, 08 Jan 2020 11:48:04 +0100 Received: from mfe by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ip8sd-000156-Ia; Wed, 08 Jan 2020 11:48:03 +0100 From: Marco Felsch To: support.opensource@diasemi.com, lee.jones@linaro.org, robh+dt@kernel.org, linus.walleij@linaro.org, Adam.Thomson.Opensource@diasemi.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-gpio@vger.kernel.org, Rob Herring Subject: [PATCH v4 1/3] dt-bindings: mfd: da9062: add gpio bindings Date: Wed, 8 Jan 2020 11:47:44 +0100 Message-Id: <20200108104746.1765-2-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200108104746.1765-1-m.felsch@pengutronix.de> References: <20200108104746.1765-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 Reviewed-by: Adam Thomson Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones --- 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 bc4b59de6a55..857af982c88f 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