Re: [PATCH v4 3/3] Documentation: dt: hwmon: add OF document for LM90
From: Mark Brown
Date: Mon Sep 16 2013 - 06:24:49 EST
On Mon, Sep 16, 2013 at 12:28:43PM +0800, Wei Ni wrote:
> On 09/12/2013 11:00 PM, Stephen Warren wrote:
> >> +- vcc-supply: vcc regulator for the supply voltage.
> >> + If this is not set, assuming vcc is always powered.
> > I thought that was going to be a "Required Property".
> There may have many platforms without regulator, they always power on
> this device, so how can they set this "vcc-supply "property if we set it
> as "Required Property".
> Set to dummy-regulator? but it seems the regulator framework can't
> handle it yet.
To repeat once more: these platforms will physically have a regulator,
the device won't function without power and unfortunately the device
tree bindings only have optional and required properties.
Attachment:
signature.asc
Description: Digital signature