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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 13 Apr 2017 19:07:14 +0100
From:   Mark Brown <>
To:     Dong Aisheng <>
Cc:     Liam Girdwood <>,
        Mark Brown <>,
        Shawn Guo <>,
        Sascha Hauer <>,
        Robin Gong <>,
        Richard Zhu <>,
        Richard Zhu <>,
        Mark Brown <>,
Subject: Applied "regulator: anatop: set default voltage selector for pcie" to the regulator tree

The patch

   regulator: anatop: set default voltage selector for pcie

has been applied to the regulator tree at


All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.


>From 9bf944548169f6153c3d3778cf983cb5db251a0e Mon Sep 17 00:00:00 2001
From: Dong Aisheng <>
Date: Wed, 12 Apr 2017 09:58:47 +0800
Subject: [PATCH] regulator: anatop: set default voltage selector for pcie

Set the initial voltage selector for vddpcie in case it's disabled
by default.

This fixes the below warning:
20c8000.anatop:regulator-vddpcie: Failed to read a valid default voltage selector.
anatop_regulator: probe of 20c8000.anatop:regulator-vddpcie failed with error -22

Cc: Liam Girdwood <>
Cc: Mark Brown <>
Cc: Shawn Guo <>
Cc: Sascha Hauer <>
Cc: Robin Gong <>
Cc: Richard Zhu <>
Signed-off-by: Richard Zhu <>
Signed-off-by: Dong Aisheng <>
Signed-off-by: Mark Brown <>
 drivers/regulator/anatop-regulator.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/regulator/anatop-regulator.c b/drivers/regulator/anatop-regulator.c
index c6ce9745ffc8..fa27c9de6744 100644
--- a/drivers/regulator/anatop-regulator.c
+++ b/drivers/regulator/anatop-regulator.c
@@ -299,6 +299,11 @@ static int anatop_regulator_probe(struct platform_device *pdev)
 		if (!sreg->sel && !strcmp(rdesc->name, "vddpu"))
 			sreg->sel = 22;
+		/* set the default voltage of the pcie phy to be 1.100v */
+		if (!sreg->sel && rdesc->name &&
+		    !strcmp(rdesc->name, "vddpcie"))
+			sreg->sel = 0x10;
 		if (!sreg->bypass && !sreg->sel) {
 			dev_err(&pdev->dev, "Failed to read a valid default voltage selector.\n");
 			return -EINVAL;

Powered by blists - more mailing lists