Re: [PATCH v3 1/2] hwmon: (lm90) Add power control

From: Mark Brown
Date: Tue Sep 10 2013 - 06:14:30 EST


On Tue, Sep 10, 2013 at 01:39:59PM +0800, Wei Ni wrote:

> I think the device need time to wait stable after power on, but it's
> difficult to get an exact delay value, and this delay may also relate
> with platform design, so how about to add a optional property in the DT
> node, such as "power-on-delay-ms" ?

This is something you should *really* be able to get from the datasheet
for the part - this sort of stuff has to be documented for hardware to
be used robustly. It seems entirely possible that you are working
around an issue with the regulator driver you are using not correctly
providing its ramp time here.

Attachment: signature.asc
Description: Digital signature