From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregory CLEMENT Subject: [PATCH 1/3] dt-bindings: regulator: twl6030: Add retain-on-reset property Date: Thu, 25 Jul 2019 11:45:40 +0200 Message-ID: <20190725094542.16547-2-gregory.clement@bootlin.com> References: <20190725094542.16547-1-gregory.clement@bootlin.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20190725094542.16547-1-gregory.clement@bootlin.com> Sender: linux-kernel-owner@vger.kernel.org To: Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org Cc: Rob Herring , devicetree@vger.kernel.org, Tony Lindgren , linux-omap@vger.kernel.org, Thomas Petazzoni , Gregory CLEMENT List-Id: devicetree@vger.kernel.org During reset the VMMC regulator doesn't reach 0V and only drops to 1.8V, furthermore the pulse width is under 200us whereas the SD specification expect 1ms. For this 2 reasons being able to no reset at all the VMMC during warm reset and keep the current voltage is a good workaround. The TWL6030 allows this but needs to be aware of it and this configuration should also be shared with the bootloader. This is the purpose of this new property: ti,retain-on-reset Signed-off-by: Gregory CLEMENT --- .../devicetree/bindings/regulator/twl-regulator.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/twl-regulator.txt b/Documentation/devicetree/bindings/regulator/twl-regulator.txt index 74a91c4f8530..549f80436deb 100644 --- a/Documentation/devicetree/bindings/regulator/twl-regulator.txt +++ b/Documentation/devicetree/bindings/regulator/twl-regulator.txt @@ -71,3 +71,10 @@ Example: regulator-min-microvolt = <1000000>; regulator-max-microvolt = <3000000>; }; + +For twl6030 regulators/LDOs: + + - ti,retain-on-reset: Does not turn off the supplies during warm + reset. Could be needed for VMMC, as TWL6030 + reset sequence for this signal does not comply + with the SD specification. -- 2.20.1