[lkml]   [2014]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject: [PATCH 0/2] regulator: Add the device tree version to the regulator_get family


Currently it is not possible to associate a regulator to a child node
which is not a device. The several ports of an ahci controller are
represented as subnodes but they are not created as devices. In order
to be able to associate each port with a regulator the framework API
needs to be extended.

The second patch adds the device tree version (of_) for each member of
the regulator_get family: normal, exclusive, optional and all of the
manageable version.The of_regulator_get* functions allow using a
device node to get the regulator instead using the device object.

The first patch is not related to the second one, but it is little


Gregory CLEMENT (2):
regulator: core: Add a sanity check on the regulator_ enable/disable
regulator: core: Add the device tree version to the regulator_get

drivers/regulator/core.c | 127 +++++++++++++++++++++++++++++++++----
drivers/regulator/devres.c | 70 ++++++++++++++++++--
include/linux/regulator/consumer.h | 20 ++++++
3 files changed, 198 insertions(+), 19 deletions(-)


 \ /
  Last update: 2014-12-26 18:41    [W:0.064 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site