lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190725094542.16547-1-gregory.clement@bootlin.com>
Date:   Thu, 25 Jul 2019 11:45:39 +0200
From:   Gregory CLEMENT <gregory.clement@...tlin.com>
To:     Liam Girdwood <lgirdwood@...il.com>,
        Mark Brown <broonie@...nel.org>, linux-kernel@...r.kernel.org
Cc:     Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org,
        Tony Lindgren <tony@...mide.com>, linux-omap@...r.kernel.org,
        Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
        Gregory CLEMENT <gregory.clement@...tlin.com>
Subject: [PATCH 0/3]  regulator: twl6030: Fix the VMMC reset behavior

Hello,

With the TWL6030 PMIC, 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.

Fortunately, the WR_S bit allows the TWL6030 to no reset at all the
VMMC during warm reset and keep the current voltage. Thanks to this
workaround the SD card doesn't reach a undefined reset stage.

The first patch describes the new property needed for this "feature".

The second one is just a small cleanup done while I wrote the last
patch, but as it was not really related to the feature itself, I made
a separate patch for it.

The last patch adds the feature in the driver.

Gregory

Gregory CLEMENT (3):
  dt-bindings: regulator: twl6030: Add retain-on-reset property
  regulator: twl6030: use variable for device node
  regulator: twl6030: workaround the VMMC reset behavior

 .../bindings/regulator/twl-regulator.txt      |  7 +++++++
 drivers/regulator/twl6030-regulator.c         | 21 +++++++++++++++----
 2 files changed, 24 insertions(+), 4 deletions(-)

-- 
2.20.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ