[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20201201082348.1723631-2-lkundrak@v3.sk>
Date: Tue, 1 Dec 2020 09:23:45 +0100
From: Lubomir Rintel <lkundrak@...sk>
To: Liam Girdwood <lgirdwood@...il.com>
Cc: Mark Brown <broonie@...nel.org>, linux-kernel@...r.kernel.org,
Lubomir Rintel <lkundrak@...sk>
Subject: [PATCH RFC 1/4] Platform: OLPC: Specify the enable time for DCON power
It takes some significant time between when we ask the EC to enable the
DCON power and when we can access the DCON registers.
FIXME: Maybe some of the delay is caused on the DCON side once the power
is good. Need to check with a scope I suppose.
Signed-off-by: Lubomir Rintel <lkundrak@...sk>
---
drivers/platform/olpc/olpc-ec.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/platform/olpc/olpc-ec.c b/drivers/platform/olpc/olpc-ec.c
index f64b82824db28..faecb73bd8430 100644
--- a/drivers/platform/olpc/olpc-ec.c
+++ b/drivers/platform/olpc/olpc-ec.c
@@ -394,11 +394,12 @@ static struct regulator_ops dcon_regulator_ops = {
};
static const struct regulator_desc dcon_desc = {
- .name = "dcon",
- .id = 0,
- .ops = &dcon_regulator_ops,
- .type = REGULATOR_VOLTAGE,
- .owner = THIS_MODULE,
+ .name = "dcon",
+ .id = 0,
+ .ops = &dcon_regulator_ops,
+ .type = REGULATOR_VOLTAGE,
+ .owner = THIS_MODULE,
+ .enable_time = 25000,
};
static int olpc_ec_probe(struct platform_device *pdev)
--
2.28.0
Powered by blists - more mailing lists