Re: [PATCH v3 3/3] pmbus: ltc2978: add regulator support

From: Guenter Roeck
Date: Wed Sep 24 2014 - 18:56:03 EST


On 09/24/2014 03:33 PM, Mark Brown wrote:
On Wed, Sep 24, 2014 at 02:13:32PM -0700, Guenter Roeck wrote:
On Wed, Sep 24, 2014 at 03:48:40PM -0500, atull wrote:

regulator.47/name:vout_en0

These are just default names, but I think I could make the name better.
How about <part #>-<i2c address>-vout<#> such as "ltc2978-5c-vout0"

Problem with that is that i2c bus numbers are not static, which would
make it quite difficult to describe the regulator in devicetree data.

Any idea what other regulators do in such situations ?

What's there is correct (modulo the _en), the names are local to the
chip. If the user actually cares they will be providing the name of the
supply on the board anyway.


Great, thanks a lot.

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/