[U-Boot] [PATCH] power: extend prefix match to regulator-name property

Chen-Yu Tsai wens at csie.org
Thu Oct 12 02:46:48 UTC 2017


On Mon, Oct 9, 2017 at 6:04 PM, Felix Brack <fb at ltec.ch> wrote:
> This patch extends pmic_bind_children prefix matching. In addition to
> the node name the property regulator-name is used while trying to match
> prefixes. This allows assigning different drivers to regulator nodes
> named regulator at 1 and regulator at 10 for example.

No. See the regulator bindings:

Optional properties:
- regulator-name: A string used as a descriptive name for regulator outputs

This can vary from board to board. The name should match the power rail
name of the board (which may not be the same as the regulator chip's
output name).

If you have multiple regulator nodes which need to be differentiated,
you need to use the deprecated "regulator-compatible" property, or just
use the standard compatible property.

ChenYu


More information about the U-Boot mailing list