From patchwork Thu Dec 21 06:25:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chunyan Zhang X-Patchwork-Id: 122507 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp485372qgn; Wed, 20 Dec 2017 22:25:53 -0800 (PST) X-Google-Smtp-Source: ACJfBotHifvQeHxX3o0jiGQbGma06fd5fGofXHXhTwTF0bXJNjQJCM7m5Sz1ZQqx/frbZwZv/hST X-Received: by 10.101.87.196 with SMTP id q4mr8523716pgr.97.1513837553505; Wed, 20 Dec 2017 22:25:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513837553; cv=none; d=google.com; s=arc-20160816; b=tfNYTkji2xP5ohlDA19geJ0O0GfWKRIOode3/0w36pGuLQ3zq52qyHPpgEnl7K2wwX 10j88oIG/tretkXKbxOrOvsZAmQBG3+XYztCJf1TjXhd4L+oGJv+wVtaDJwRHpRmAlqY tHfDCBXJWyjL3y7XMqgTEyqYIo9+fDT8mcMks75jP+YfecyKuNAcwWbV8+GyzJb2koOv lrqaClHAISvK9X1mIiaLbP/oQQauMlHwKAybdmeSlE3x0o1QMqE9zKB4sCnYCX71XNRd OWBeRlQsVq9uJKznK2uLASMhlyESBbCX4i5ltYw+s0DjCzzP1iZGVjLBUoUXmsuddsuv Qadg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=lwxr/JX9up7CZWToUBwiLBHijg8812UOtJKl7VnVStM=; b=kL84t2A5dU2cyewZvvvH+SzTBJeSPNQkX9L8Hghtl1U+FR9U3JrDdUBUZF7kwOxJRn MPAc/CIgGpXiCrLzc0A67J7xF+T8LiPC+SVA8WOoeB4Z4j32u42+b07VVOA77JzlIE9p IHzPFrJqs8PdFuPYwsvg+ENomJmgXrPtWBc41BrFUIvoOvCZvpiM7CONNdoAbjImMLmf RsfdArkWMRy8c+ibNemoGcDq4sD5dCrChqxuFu6MaX6EzxoehoXB6ZoqXqYC0kxQ6lkk I/upZZ5ltnTol1RbsxInmgCy9RBd77ZiGQ/hvmJaRa10KBonFesoF9zU07e0ojFYcsZB l4ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=E7YnqXxh; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n3si1638719pgf.122.2017.12.20.22.25.53; Wed, 20 Dec 2017 22:25:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=E7YnqXxh; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751664AbdLUGZe (ORCPT + 6 others); Thu, 21 Dec 2017 01:25:34 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:42513 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751573AbdLUGZb (ORCPT ); Thu, 21 Dec 2017 01:25:31 -0500 Received: by mail-pg0-f66.google.com with SMTP id q67so3676789pga.9 for ; Wed, 20 Dec 2017 22:25:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UvcyV8RmS5y5eeeYbAr1fqc8e4aEZkeqcBrkNVTHW6g=; b=E7YnqXxhtRJT47pMFsN3+OfTlj3d8n7f0DQL8THxkpyHj+1KTEWDGHvEd4oLh7oU3O 0QuhZqGwSGfinqVo4dMQz722QN1SBpRFqfA1hZxIsjjwzDuJ2AL9m9S1dLg/mOX3b1Na vpLZXjew48/mdAreza5vEkV73/ni2xh9RmLXs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=UvcyV8RmS5y5eeeYbAr1fqc8e4aEZkeqcBrkNVTHW6g=; b=P09FAR7GNnlMDLXaGBWXcQxGCUiDJ/IeJbIMB0d1fJcwCMo1TvorAVwQ81GJCf6JLW NypCmZzOq6ZqwxKpKPqquTFMQFDlDmhNQZDwI12Gj0DvkklMKTmI7Y8JLz7LZyUbKYNK CKedU8PpIHvmtpPTWpHIKcUUZzGLbZijSoOs5FxmoOLItJ6/Tzvgfcsr4CHk1/pHliik 2AeVAsYHgaqZboBjgQTwDpGd/jFl/nKCxYcQfCN8U9S/uw6iWJISSvUQ1XvHf716nwrd jsEdXvtj7VUA7YZCwK5ww5jsXLZRDw9K66MGYes/z0KlrUgxdGkkEjb8NKOH9ES1ze9u D46w== X-Gm-Message-State: AKGB3mIyUv9MoH3r/8d0HRSJGIldc7xCUV6TSIyJ8vbTRaAJEpwVOJG8 BCzVUbY7vkrfs+0J3RcKqk0JSXkKJaU= X-Received: by 10.101.101.148 with SMTP id u20mr8731491pgv.12.1513837530649; Wed, 20 Dec 2017 22:25:30 -0800 (PST) Received: from ubt.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id o88sm36970683pfj.175.2017.12.20.22.25.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Dec 2017 22:25:29 -0800 (PST) From: Chunyan Zhang To: Mark Brown , Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chunyan Zhang Subject: [PATCH 1/5] bindings: regulator: added support for suspend states Date: Thu, 21 Dec 2017 14:25:02 +0800 Message-Id: <1513837506-26543-2-git-send-email-zhang.chunyan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513837506-26543-1-git-send-email-zhang.chunyan@linaro.org> References: <1513837506-26543-1-git-send-email-zhang.chunyan@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Documented a few new added properties which are used for supporting regulator suspend states. Signed-off-by: Chunyan Zhang --- Documentation/devicetree/bindings/regulator/regulator.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/regulator/regulator.txt b/Documentation/devicetree/bindings/regulator/regulator.txt index 378f6dc..618a322 100644 --- a/Documentation/devicetree/bindings/regulator/regulator.txt +++ b/Documentation/devicetree/bindings/regulator/regulator.txt @@ -42,8 +42,15 @@ Optional properties: - regulator-state-[mem/disk] node has following common properties: - regulator-on-in-suspend: regulator should be on in suspend state. - regulator-off-in-suspend: regulator should be off in suspend state. - - regulator-suspend-microvolt: regulator should be set to this voltage - in suspend. + - regulator-suspend-min-microvolt: minimum voltage may be set in + suspend state. + - regulator-suspend-max-microvolt: maximum voltage may be set in + suspend state. + - regulator-suspend-microvolt: the default voltage which regulator + should be set in suspend, this can be adjusted among + + - regulator-changeable-in-suspend: whether the default voltage and + the regulator on/off in suspend can be changed in runtime. - regulator-mode: operating mode in the given suspend state. The set of possible operating modes depends on the capabilities of every hardware so the valid modes are documented on each regulator