Re: [PATCH v5 1/4] hwmon: ltc2978: device tree bindings documentation

From: Guenter Roeck
Date: Sat Oct 04 2014 - 20:14:16 EST


On 10/04/2014 02:53 AM, Mark Brown wrote:
On Fri, Oct 03, 2014 at 04:23:15PM -0700, Guenter Roeck wrote:
On 10/03/2014 04:13 PM, Mark Brown wrote:

Nope, nothing to do with regulator that I'm aware of and I've not seen
any examples (but I don't tend to review users too often).

Many examples, really. Just picking one.

Documentation/devicetree/bindings/mfd/tps6507x.txt

OK, that's not an actual DTS... I'm not seeing anything in the code.

regulators {
#address-cells = <1>;
#size-cells = <0>;
...

This also uses the reg property for the regulator index
(without explaining it further). Seems to be pretty common.

If it's doing that it's nothing to do with the regulator API.

Since the code does not use those values either, presumably they don't have
to be specified in the first place. I'll test that with a real system
next week.

Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/