Re: [PATCH v3 2/2] regulator: add QCOM RPMh regulator driver

2018-05-17 Thread David Collins
On 05/17/2018 02:23 PM, Doug Anderson wrote: > On Fri, May 11, 2018 at 7:28 PM, David Collins > wrote: >> + /* >> +* Default the voltage selector to an error value in >> the >> +* case that qcom,regulator-initial-microvolt is

Re: [PATCH v3 2/2] regulator: add QCOM RPMh regulator driver

2018-05-17 Thread Doug Anderson
Hi, On Fri, May 11, 2018 at 7:28 PM, David Collins wrote: > +static int rpmh_regulator_parse_vrm_modes(struct rpmh_vreg *vreg, > + struct device *dev, struct device_node *node) > +{ > + const char *prop; > + int i, len, ret, mode; > + u32 *buf; > +

[PATCH v3 2/2] regulator: add QCOM RPMh regulator driver

2018-05-11 Thread David Collins
Add the QCOM RPMh regulator driver to manage PMIC regulators which are controlled via RPMh on some Qualcomm Technologies, Inc. SoCs. RPMh is a hardware block which contains several accelerators which are used to manage various hardware resources that are shared between the processors of the SoC.