Skip to content

regulator: of: add device tree property for allowed modes

David Collins linux-arm-kernel linux-arm-msm linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2regulator: of: add property for allowed modes specificationDocumentation/devicetree/bindings/regulator/regulator.txt+5 -02 replies
2/2regulator: of: add support for allowed modes configurationdrivers/regulator/of_regulator.c+28 -12 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDouglas Anderson
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] regulator: of: add device tree property for allowed modes

There is currently no accepted way to configure constraints->valid_modes_mask for regulators defined in device tree. This patch series defines a new common regulator device tree property, regulator-allowed-modes, which can be used to specify the set of modes that the regulator is allowed to use. It also implements parsing for this new property inside of the of_get_regulation_constraints() function.

David Collins (2):
regulator: of: add property for allowed modes specification
regulator: of: add support for allowed modes configuration

 .../devicetree/bindings/regulator/regulator.txt    |  5 ++++
 drivers/regulator/of_regulator.c                   | 29 +++++++++++++++++++++-
 2 files changed, 33 insertions(+), 1 deletion(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project