[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <54234BF2.6040404@roeck-us.net>
Date: Wed, 24 Sep 2014 15:55:46 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Mark Brown <broonie@...nel.org>
CC: atull <atull@...nsource.altera.com>, jdelvare@...e.de,
lm-sensors@...sensors.org, lgirdwood@...il.com,
linux-kernel@...r.kernel.org, delicious.quinoa@...il.com,
dinguyen@...nsource.altera.com, yvanderv@...nsource.altera.com
Subject: Re: [PATCH v3 3/3] pmbus: ltc2978: add regulator support
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists