Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp8372698ybc; Fri, 29 Nov 2019 09:27:55 -0800 (PST) X-Google-Smtp-Source: APXvYqy4iZwT5JbH7MoxMa0OxfNzPzwR3cLnZfB2cwz6hXsBUVk7NcutW0RpaOPiQvHKQA6Z1CRB X-Received: by 2002:aa7:d3c3:: with SMTP id o3mr9062785edr.167.1575048475037; Fri, 29 Nov 2019 09:27:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575048475; cv=none; d=google.com; s=arc-20160816; b=dlZZx+7zpZc5f6ni3E6CdaPoNkvMdEB1Vti4fZrR+ZI3pn74GkjJxREs0KMmoGnZh1 1r+z0eoi6weRuEuiDuK9xfihQu8wAAqQD3tjsBjnKh8lPJv+RdspQQqOGqU7LGGFqBT+ bAN0qo7i7JWaUnkg6WeqxaLonoJFjVYHU1ckVJ6DqXOm7i2QxqZSwTmKU1tRJsDWo33l vWn40/NJUeVHr6DTUjVdMfZ6rPDRb0uxCYK8MRRwZ8C8sQwL3GFGjmoVcPEsJ8xecHor +oBpJ3MA41vdy1W1qkMnpL1qnIO8rL/jxhY5EJnOvOE/SojTlWlyJKCwsZXp/sAH8l6R Y98g== 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=CCpuKLpX/2eHc+/xtGyU5OkFcNmb6N7LqdRGuYW0wsk=; b=asFUJdpJBmypD+sQVzS8h6iT+hDFukI+sUmIUzHwSKaLuX26815nHtQTZgQqJ1vN1x C+pvc0R8/aV1bo6eD3k7Luf6sHrUlV85+U39h7Ysbpziw104W4WfPjn6tDVrwPt8VFMe L7gBW6tQuMQ0fehFz/vgPKLmDdz0mxMlujdukXX4/rG5qR7FvXQ7V5qFSNo3cC3xxkFU O9PXNJgBAhzXdZ6YuJ3qL8Yr3UrXGuyENxFKA0YyTxl+hqOxu2AUSNU66a6psO78xrkx 3lM6vwdJ+tHl6ah+kZ94BhkuFyolzwrBRBL+/X6FvxQOZZ3uRwlUp2CMIFxJSSKHgB9M 9mLA== 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 z16si14281455eji.25.2019.11.29.09.27.30; Fri, 29 Nov 2019 09:27:55 -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 S1727438AbfK2R0G (ORCPT + 99 others); Fri, 29 Nov 2019 12:26:06 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:33197 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727350AbfK2RZr (ORCPT ); Fri, 29 Nov 2019 12:25:47 -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 1iak1U-0003DB-My; Fri, 29 Nov 2019 18:25:40 +0100 Received: from mfe by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1iak1S-0003Aa-NK; Fri, 29 Nov 2019 18:25:38 +0100 From: Marco Felsch To: support.opensource@diasemi.com, lee.jones@linaro.org, robh+dt@kernel.org, linus.walleij@linaro.org, bgolaszewski@baylibre.com, joel@jms.id.au, andrew@aj.id.au, lgirdwood@gmail.com, broonie@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de Subject: [PATCH v3 5/6] dt-bindings: mfd: da9062: add regulator gpio enable/disable documentation Date: Fri, 29 Nov 2019 18:25:36 +0100 Message-Id: <20191129172537.31410-6-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191129172537.31410-1-m.felsch@pengutronix.de> References: <20191129172537.31410-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 At the gpio-based regulator enable/disable documentation. This property can be applied to each subnode within the 'regulators' node so each regulator can be configured differently. Signed-off-by: Marco Felsch --- Changelog: v3: - adapt binding description Documentation/devicetree/bindings/mfd/da9062.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/da9062.txt b/Documentation/devicetree/bindings/mfd/da9062.txt index b9cccd4c3f76..863b1199d875 100644 --- a/Documentation/devicetree/bindings/mfd/da9062.txt +++ b/Documentation/devicetree/bindings/mfd/da9062.txt @@ -74,6 +74,13 @@ Sub-nodes: Attention: Sharing the same GPI for other purposes or across multiple regulators is possible but the polarity setting must equal. + - dlg,ena-sense-gpios : A GPIO reference to a local general purpose input, + the datasheet calls it GPI. The regulator sense the input signal and enable + or disable the regulator output. The regulator output is enabled if the + the signal is active else the output is disabled. + Attention: Sharing the same GPI for other purposes or across multiple + regulators is possible but the polarity setting must equal. + - rtc : This node defines settings required for the Real-Time Clock associated with the DA9062. There are currently no entries in this binding, however compatible = "dlg,da9062-rtc" should be added if a node is created. @@ -111,6 +118,7 @@ Example: regulator-min-microvolt = <900000>; regulator-max-microvolt = <3600000>; regulator-boot-on; + dlg,ena-sense-gpios = <&pmic0 2 GPIO_ACTIVE_LOW>; }; }; }; -- 2.20.1