From: Christian Hohnstaedt <Christian.Hohnstaedt@wago.com>
To: "J, KEERTHY" <j-keerthy@ti.com>
Cc: Lee Jones <lee.jones@linaro.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
"Rob Herring" <robh+dt@kernel.org>,
Tony Lindgren <tony@atomide.com>, <linux-kernel@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-omap@vger.kernel.org>
Subject: [PATCH v2 1/2] dt-bindings: regulator: extend tps65218 bindings
Date: Thu, 3 Jan 2019 14:47:05 +0100 [thread overview]
Message-ID: <1546523226-358-2-git-send-email-Christian.Hohnstaedt@wago.com> (raw)
In-Reply-To: <1545120356-7749-1-git-send-email-Christian.Hohnstaedt@wago.com>
Add input voltage configuration options
Signed-off-by: Christian Hohnstaedt <Christian.Hohnstaedt@wago.com>
---
.../devicetree/bindings/regulator/tps65218.txt | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/Documentation/devicetree/bindings/regulator/tps65218.txt b/Documentation/devicetree/bindings/regulator/tps65218.txt
index 02f0e9b..982597d 100644
--- a/Documentation/devicetree/bindings/regulator/tps65218.txt
+++ b/Documentation/devicetree/bindings/regulator/tps65218.txt
@@ -16,12 +16,34 @@ Required properties:
regulator-dcdc5, regulator-dcdc6, regulator-ldo1, regulator-ls3.
Each regulator is defined using the standard binding for regulators.
+Optional properties:
+ If any of these properties is absent then the corresponding setting will be
+ untouched.
+- ti,strict-supply-voltage-supervision: Set/Reset STRICT flag in CONFIG1.
+ The supervisor has two modes of operation, controlled by the STRICT bit.
+ With the STRICT bit set to 0, all five rails are monitored for under-voltage
+ only with relaxed thresholds and deglitch times.
+ With the STRCT bit set to 1, all five rails are monitored for under-voltage
+ and over-voltage with tight limits and short deglitch times.
+- ti,under-voltage-limit-microvolt: Configures UVLO in CONFIG1.
+ Valid values are: 2750000, 2950000, 3250000, 3350000
+- ti,under-voltage-hyst-microvolt: Select 200mV or 400mV UVLOHYS in CONFIG2
+ Power rails are only enabled if the input voltage measured at the IN_BIAS pin
+ is greater than the under-voltage lockout threshold plus hysteresis
+ (UVLO + UVLOHYS). Once the input voltage rises above this level,
+ the input voltage may drop to the UVLO level before the PMIC shuts down.
+ UVLO is deglitched by 5 ms on rising and falling edge.
+
Example:
tps65218: tps65218@24 {
reg = <0x24>;
compatible = "ti,tps65218";
interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* NMIn */
interrupt-controller;
+ ti,strict-supply-voltage-supervision = <1>;
+ ti,under-voltage-hyst-microvolt = <400000>;
+ ti,under-voltage-limit-microvolt = <3350000>;
+
#interrupt-cells = <2>;
dcdc1: regulator-dcdc1 {
--
2.7.4
next prev parent reply other threads:[~2019-01-03 13:50 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-18 8:05 [PATCH 0/2] Add input voltage configuration for TPS65218 Christian Hohnstaedt
2018-12-18 8:05 ` [PATCH 1/2] dt-bindings: regulator: extend tps65218 bindings Christian Hohnstaedt
2018-12-24 9:15 ` J, KEERTHY
2018-12-28 22:51 ` Rob Herring
2018-12-18 8:05 ` [PATCH 2/2] mfd: tps65218.c: Add input voltage options Christian Hohnstaedt
2018-12-21 11:01 ` Lee Jones
2018-12-23 16:40 ` Tony Lindgren
2018-12-24 6:32 ` Lee Jones
2018-12-24 9:01 ` J, KEERTHY
2018-12-24 9:38 ` J, KEERTHY
2019-01-03 13:47 ` [PATCH v2 0/2] Add input voltage configuration for TPS65218 Christian Hohnstaedt
2019-01-14 8:16 ` [PATCH v3 " Christian Hohnstaedt
2019-01-14 8:16 ` [PATCH v3 1/2] dt-bindings: regulator: extend tps65218 bindings Christian Hohnstaedt
2019-01-14 8:16 ` [PATCH v3 2/2] mfd: tps65218.c: Add input voltage options Christian Hohnstaedt
2019-01-16 14:13 ` Lee Jones
2019-01-17 5:54 ` Christian Hohnstaedt
2019-01-17 8:07 ` Lee Jones
2019-01-17 8:08 ` Lee Jones
2019-01-03 13:47 ` Christian Hohnstaedt [this message]
2019-01-11 16:17 ` [PATCH v2 1/2] dt-bindings: regulator: extend tps65218 bindings Rob Herring
2019-01-03 13:47 ` [PATCH v2 2/2] mfd: tps65218.c: Add input voltage options Christian Hohnstaedt
2019-01-14 6:38 ` Keerthy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1546523226-358-2-git-send-email-Christian.Hohnstaedt@wago.com \
--to=christian.hohnstaedt@wago.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=j-keerthy@ti.com \
--cc=lee.jones@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®