[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <03081def-8d49-8823-0f1d-cb710dc3a444@gmail.com>
Date: Sat, 10 Sep 2022 20:03:40 +0300
From: Matti Vaittinen <mazziesaccount@...il.com>
To: Sebastian Reichel <sebastian.reichel@...labora.com>,
Heiko Stuebner <heiko@...ech.de>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Lee Jones <lee@...nel.org>
Cc: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Alessandro Zummo <a.zummo@...ertech.it>,
linux-rockchip@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel@...labora.com,
shengfei Xu <xsf@...k-chips.com>
Subject: Re: [PATCHv3 13/14] regulator: rk808: add rk806 support
Hi deee Ho Sebastian,
On 9/9/22 20:55, Sebastian Reichel wrote:
> Add rk806 support to the existing rk808 regulator
> driver.
>
> This has been implemented using shengfei Xu's rk806
> specific driver from the vendor tree as reference.
>
> Co-Developed-by: shengfei Xu <xsf@...k-chips.com>
> Signed-off-by: shengfei Xu <xsf@...k-chips.com>
> Signed-off-by: Sebastian Reichel <sebastian.reichel@...labora.com>
> ---
> drivers/regulator/rk808-regulator.c | 384 ++++++++++++++++++++++++++++
> 1 file changed, 384 insertions(+)
>
> diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c
> index fa9fc1aa1ae3..8ef276ef44e3 100644
> --- a/drivers/regulator/rk808-regulator.c
> +++ b/drivers/regulator/rk808-regulator.c
> @@ -3,9 +3,11 @@
// snip
> +static const struct regulator_ops rk806_ops_dcdc = {
> + .list_voltage = regulator_list_voltage_linear_range,
> + .map_voltage = regulator_map_voltage_linear_range,
> + .get_voltage_sel = regulator_get_voltage_sel_regmap,
> + .set_voltage_sel = regulator_set_voltage_sel_regmap,
> + .set_voltage_time_sel = regulator_set_voltage_time_sel,
> + .set_mode = rk806_set_mode_dcdc,
> + .get_mode = rk806_get_mode_dcdc,
> +
> + .enable = regulator_enable_regmap,
> + .disable = regulator_disable_regmap,
> + .is_enabled = regulator_is_enabled_regmap,
> +
> + .set_suspend_mode = rk806_set_mode_dcdc,
> + .set_ramp_delay = rk806_set_ramp_delay_dcdc,
> + //.set_ramp_delay = regulator_set_ramp_delay_regmap,
I guess leaving this was the eye-catcher for reviewers who have urge to
nag about something ;)
Other than that - for what it matters
Reviewed-by: Matti Vaittinen <mazziesaccount@...il.com>
Best Regards
-- Matti
--
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland
~~ When things go utterly wrong vim users can always type :help! ~~
Powered by blists - more mailing lists