Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5557673ybc; Wed, 27 Nov 2019 06:01:15 -0800 (PST) X-Google-Smtp-Source: APXvYqw9kYn8FB8r0eWzFmKuOOoXgbMxwOoWZKgLM6SZlDeCRyUp/QurgNQ30Ar5wZfBq7JV92DX X-Received: by 2002:ac8:5484:: with SMTP id h4mr40155386qtq.315.1574863274840; Wed, 27 Nov 2019 06:01:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574863274; cv=none; d=google.com; s=arc-20160816; b=TtsawzokMzMFjMflQgIRmJ6g89GLi9x/oFvP3bD9xKkWxmLLiXDCKAtbpkq60e+9YK 7o0qIqTV0srzeJkTp7C71JLCfXGqZZWVsa07UQ62/AJ8eWnUf24KiHaCixfIRaO8qzDP locOlejSC3n2gykRQafTtugGkjNDtEdwztZo7vuwfLgm6U+L87J+Yhn2LvZll6K+sHoo EW0Mg41pZ1WfEOPPEUD2DQu9MyQ9153zKLuazvZ46kwhNlRExp1E08kCut6Jlb3loix1 GxrA5Wv1iN8RFZ5otd+9WcAsoxnNXpQ2QAWzI2zeE7y66lIh4mHm4kE+djwL36jJCT+d QNJw== 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=YAB4y96EbjS4c0Rb0OJbIG72li2ETxbhdBaZACtjVKU=; b=ck92NzUXTT0XGC0qS5zhlrMVijkveFKfN2QG7sU2JUK4vahdT6l1iynS0qkryDXmn1 Qk6uLWELKZwm3h08MFaD1fNkWW4bqueuYvSg7V1qaBCeqxOjTznlnRSnmOW2UrAt9QhP ZGm3uzjmjWg8cFmS1e4XU/+flpPAzi+wntb8VAh3FfLQo+TMScRABH2NsryLZcGDQi6I a3N5IKSRrUknmqyJw0zMeCUt2fbj4yOs0ui0I8JQYJR09bevMdY86WYRlyypkt8niGMY SD/cswDEDNCxtUIRvD0PeLL9icoAoIhcWdlrOIJZ+ojDsE7iNUnQpMl64IpkfXUVCv04 xmuw== 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 w26si9676311ejn.212.2019.11.27.06.00.46; Wed, 27 Nov 2019 06:01:14 -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 S1727071AbfK0N7l (ORCPT + 99 others); Wed, 27 Nov 2019 08:59:41 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:37501 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726909AbfK0N7j (ORCPT ); Wed, 27 Nov 2019 08:59:39 -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 1iZxqv-0005PF-Jd; Wed, 27 Nov 2019 14:59:33 +0100 Received: from mfe by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1iZxqv-0008Gq-4u; Wed, 27 Nov 2019 14:59:33 +0100 From: Marco Felsch To: bgolaszewski@baylibre.com, linus.walleij@linaro.org, support.opensource@diasemi.com, lee.jones@linaro.org, robh+dt@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, stwiss.opensource@diasemi.com, Adam.Thomson.Opensource@diasemi.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH v2 4/5] dt-bindings: mfd: da9062: add regulator gpio enable/disable documentation Date: Wed, 27 Nov 2019 14:59:31 +0100 Message-Id: <20191127135932.7223-5-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191127135932.7223-1-m.felsch@pengutronix.de> References: <20191127135932.7223-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 --- 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 7e780fa6f57d..417e836e273a 100644 --- a/Documentation/devicetree/bindings/mfd/da9062.txt +++ b/Documentation/devicetree/bindings/mfd/da9062.txt @@ -75,6 +75,13 @@ Sub-nodes: same. Also the gpio phandle must refer to the mfd root node other gpios are not allowed and make no sense. + - dlg,ena-sense-gpios : The GPIO reference which should be used by the + regulator to enable/disable the output. If the signal is active the + regulator is on else it is off. Attention: Sharing the same gpio for other + purposes or across multiple regulators is possible but the gpio settings + must be the same. Also the gpio phandle must refer to the mfd root node + other gpios are not allowed and make no sense. + - 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. @@ -112,6 +119,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