linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] regulator: pf8x00: Add suspend support
@ 2021-01-17 20:49 Christoph Fritz
  2021-01-21  9:42 ` Christoph Fritz
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Christoph Fritz @ 2021-01-17 20:49 UTC (permalink / raw)
  To: Mark Brown, Jagan Teki; +Cc: Adrien Grassein, Liam Girdwood, linux-kernel

This patch adds suspend/resume support so that it is possible to
configure the LDOs and BUCKs as on or off during suspend phase as
well as to configure suspend specific voltages.

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
---
 drivers/regulator/pf8x00-regulator.c | 75 ++++++++++++++++++++++++++--
 1 file changed, 70 insertions(+), 5 deletions(-)

diff --git a/drivers/regulator/pf8x00-regulator.c b/drivers/regulator/pf8x00-regulator.c
index 1e5582d73405..02892e04acce 100644
--- a/drivers/regulator/pf8x00-regulator.c
+++ b/drivers/regulator/pf8x00-regulator.c
@@ -125,8 +125,12 @@ enum pf8x00_devid {
 #define PF8X00_DEVICE_FAM_MASK		GENMASK(7, 4)
 #define PF8X00_DEVICE_ID_MASK		GENMASK(3, 0)
 
-struct pf8x00_regulator {
+struct pf8x00_regulator_data {
 	struct regulator_desc desc;
+	unsigned int suspend_enable_reg;
+	unsigned int suspend_enable_mask;
+	unsigned int suspend_voltage_reg;
+	unsigned int suspend_voltage_cache;
 };
 
 struct pf8x00_chip {
@@ -276,6 +280,53 @@ static int pf8x00_of_parse_cb(struct device_node *np,
 	return 0;
 }
 
+static int pf8x00_suspend_enable(struct regulator_dev *rdev)
+{
+	struct pf8x00_regulator_data *regl = rdev_get_drvdata(rdev);
+	struct regmap *rmap = rdev_get_regmap(rdev);
+
+	return regmap_update_bits(rmap, regl->suspend_enable_reg,
+				  regl->suspend_enable_mask,
+				  regl->suspend_enable_mask);
+}
+
+static int pf8x00_suspend_disable(struct regulator_dev *rdev)
+{
+	struct pf8x00_regulator_data *regl = rdev_get_drvdata(rdev);
+	struct regmap *rmap = rdev_get_regmap(rdev);
+
+	return regmap_update_bits(rmap, regl->suspend_enable_reg,
+				  regl->suspend_enable_mask, 0);
+}
+
+static int pf8x00_set_suspend_voltage(struct regulator_dev *rdev, int uV)
+{
+	struct pf8x00_regulator_data *regl = rdev_get_drvdata(rdev);
+	int ret;
+
+	if (regl->suspend_voltage_cache == uV)
+		return 0;
+
+	ret = regulator_map_voltage_iterate(rdev, uV, uV);
+	if (ret < 0) {
+		dev_err(rdev_get_dev(rdev), "failed to map %i uV\n", uV);
+		return ret;
+	}
+
+	dev_dbg(rdev_get_dev(rdev), "uV: %i, reg: 0x%x, msk: 0x%x, val: 0x%x\n",
+		uV, regl->suspend_voltage_reg, regl->desc.vsel_mask, ret);
+	ret = regmap_update_bits(rdev->regmap, regl->suspend_voltage_reg,
+				 regl->desc.vsel_mask, ret);
+	if (ret < 0) {
+		dev_err(rdev_get_dev(rdev), "failed to set %i uV\n", uV);
+		return ret;
+	}
+
+	regl->suspend_voltage_cache = uV;
+
+	return 0;
+}
+
 static const struct regulator_ops pf8x00_ldo_ops = {
 	.enable = regulator_enable_regmap,
 	.disable = regulator_disable_regmap,
@@ -283,6 +334,9 @@ static const struct regulator_ops pf8x00_ldo_ops = {
 	.list_voltage = regulator_list_voltage_table,
 	.set_voltage_sel = regulator_set_voltage_sel_regmap,
 	.get_voltage_sel = regulator_get_voltage_sel_regmap,
+	.set_suspend_enable = pf8x00_suspend_enable,
+	.set_suspend_disable = pf8x00_suspend_disable,
+	.set_suspend_voltage = pf8x00_set_suspend_voltage,
 };
 
 
@@ -295,6 +349,9 @@ static const struct regulator_ops pf8x00_buck1_6_ops = {
 	.get_voltage_sel = regulator_get_voltage_sel_regmap,
 	.get_current_limit = regulator_get_current_limit_regmap,
 	.set_current_limit = regulator_set_current_limit_regmap,
+	.set_suspend_enable = pf8x00_suspend_enable,
+	.set_suspend_disable = pf8x00_suspend_disable,
+	.set_suspend_voltage = pf8x00_set_suspend_voltage,
 };
 
 static const struct regulator_ops pf8x00_buck7_ops = {
@@ -306,6 +363,8 @@ static const struct regulator_ops pf8x00_buck7_ops = {
 	.get_voltage_sel = regulator_get_voltage_sel_regmap,
 	.get_current_limit = regulator_get_current_limit_regmap,
 	.set_current_limit = regulator_set_current_limit_regmap,
+	.set_suspend_enable = pf8x00_suspend_enable,
+	.set_suspend_disable = pf8x00_suspend_disable,
 };
 
 static const struct regulator_ops pf8x00_vsnvs_ops = {
@@ -337,6 +396,9 @@ static const struct regulator_ops pf8x00_vsnvs_ops = {
 			.disable_val = 0x0,			\
 			.enable_mask = 2,			\
 		},						\
+		.suspend_enable_reg = (base) + LDO_CONFIG2,	\
+		.suspend_enable_mask = 1,			\
+		.suspend_voltage_reg = (base) + LDO_STBY_VOLT,	\
 	}
 
 #define PF8X00BUCK(_id, _name, base, voltages)			\
@@ -367,6 +429,9 @@ static const struct regulator_ops pf8x00_vsnvs_ops = {
 			.enable_mask = 0x3,			\
 			.enable_time = 500,			\
 		},						\
+		.suspend_enable_reg = (base) + SW_MODE1,	\
+		.suspend_enable_mask = 0xc,			\
+		.suspend_voltage_reg = (base) + SW_STBY_VOLT,	\
 	}
 
 #define PF8X00BUCK7(_name, base, voltages)			\
@@ -415,7 +480,7 @@ static const struct regulator_ops pf8x00_vsnvs_ops = {
 		},						\
 	}
 
-static struct pf8x00_regulator pf8x00_regulators_data[PF8X00_MAX_REGULATORS] = {
+static struct pf8x00_regulator_data pf8x00_regs_data[PF8X00_MAX_REGULATORS] = {
 	PF8X00LDO(1, "ldo1", PF8X00_LDO_BASE(PF8X00_LDO1), pf8x00_ldo_voltages),
 	PF8X00LDO(2, "ldo2", PF8X00_LDO_BASE(PF8X00_LDO2), pf8x00_ldo_voltages),
 	PF8X00LDO(3, "ldo3", PF8X00_LDO_BASE(PF8X00_LDO3), pf8x00_ldo_voltages),
@@ -500,12 +565,12 @@ static int pf8x00_i2c_probe(struct i2c_client *client)
 	if (ret)
 		return ret;
 
-	for (id = 0; id < ARRAY_SIZE(pf8x00_regulators_data); id++) {
-		struct pf8x00_regulator *data = &pf8x00_regulators_data[id];
+	for (id = 0; id < ARRAY_SIZE(pf8x00_regs_data); id++) {
+		struct pf8x00_regulator_data *data = &pf8x00_regs_data[id];
 		struct regulator_dev *rdev;
 
 		config.dev = chip->dev;
-		config.driver_data = chip;
+		config.driver_data = data;
 		config.regmap = chip->regmap;
 
 		rdev = devm_regulator_register(&client->dev, &data->desc, &config);
-- 
2.29.2



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] regulator: pf8x00: Add suspend support
  2021-01-17 20:49 [PATCH] regulator: pf8x00: Add suspend support Christoph Fritz
@ 2021-01-21  9:42 ` Christoph Fritz
  2021-01-25  9:27   ` [PATCH] regulator: pf8x00: set ramp_delay for bucks Christoph Fritz
  2021-01-25 14:18 ` [PATCH] regulator: pf8x00: Add suspend support Mark Brown
  2021-01-25 14:35 ` Mark Brown
  2 siblings, 1 reply; 7+ messages in thread
From: Christoph Fritz @ 2021-01-21  9:42 UTC (permalink / raw)
  To: Jagan Teki, Mark Brown; +Cc: Adrien Grassein, Liam Girdwood, linux-kernel

Hello Jagan,

 as your new role as Maintainer of this driver, is there a chance to get
your Feedback/Ack/Review/Signed anytime soon?

Thanks
  -- Christoph

On Sun, 2021-01-17 at 21:49 +0100, Christoph Fritz wrote:
> This patch adds suspend/resume support so that it is possible to
> configure the LDOs and BUCKs as on or off during suspend phase as
> well as to configure suspend specific voltages.
> 
> Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
> ---
>  drivers/regulator/pf8x00-regulator.c | 75 ++++++++++++++++++++++++++--
>  1 file changed, 70 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/regulator/pf8x00-regulator.c b/drivers/regulator/pf8x00-regulator.c
> index 1e5582d73405..02892e04acce 100644
> --- a/drivers/regulator/pf8x00-regulator.c
> +++ b/drivers/regulator/pf8x00-regulator.c
> @@ -125,8 +125,12 @@ enum pf8x00_devid {
>  #define PF8X00_DEVICE_FAM_MASK		GENMASK(7, 4)
>  #define PF8X00_DEVICE_ID_MASK		GENMASK(3, 0)
>  
> -struct pf8x00_regulator {
> +struct pf8x00_regulator_data {
>  	struct regulator_desc desc;
> +	unsigned int suspend_enable_reg;
> +	unsigned int suspend_enable_mask;
> +	unsigned int suspend_voltage_reg;
> +	unsigned int suspend_voltage_cache;
>  };
>  
>  struct pf8x00_chip {
> @@ -276,6 +280,53 @@ static int pf8x00_of_parse_cb(struct device_node *np,
>  	return 0;
>  }
>  
> +static int pf8x00_suspend_enable(struct regulator_dev *rdev)
> +{
> +	struct pf8x00_regulator_data *regl = rdev_get_drvdata(rdev);
> +	struct regmap *rmap = rdev_get_regmap(rdev);
> +
> +	return regmap_update_bits(rmap, regl->suspend_enable_reg,
> +				  regl->suspend_enable_mask,
> +				  regl->suspend_enable_mask);
> +}
> +
> +static int pf8x00_suspend_disable(struct regulator_dev *rdev)
> +{
> +	struct pf8x00_regulator_data *regl = rdev_get_drvdata(rdev);
> +	struct regmap *rmap = rdev_get_regmap(rdev);
> +
> +	return regmap_update_bits(rmap, regl->suspend_enable_reg,
> +				  regl->suspend_enable_mask, 0);
> +}
> +
> +static int pf8x00_set_suspend_voltage(struct regulator_dev *rdev, int uV)
> +{
> +	struct pf8x00_regulator_data *regl = rdev_get_drvdata(rdev);
> +	int ret;
> +
> +	if (regl->suspend_voltage_cache == uV)
> +		return 0;
> +
> +	ret = regulator_map_voltage_iterate(rdev, uV, uV);
> +	if (ret < 0) {
> +		dev_err(rdev_get_dev(rdev), "failed to map %i uV\n", uV);
> +		return ret;
> +	}
> +
> +	dev_dbg(rdev_get_dev(rdev), "uV: %i, reg: 0x%x, msk: 0x%x, val: 0x%x\n",
> +		uV, regl->suspend_voltage_reg, regl->desc.vsel_mask, ret);
> +	ret = regmap_update_bits(rdev->regmap, regl->suspend_voltage_reg,
> +				 regl->desc.vsel_mask, ret);
> +	if (ret < 0) {
> +		dev_err(rdev_get_dev(rdev), "failed to set %i uV\n", uV);
> +		return ret;
> +	}
> +
> +	regl->suspend_voltage_cache = uV;
> +
> +	return 0;
> +}
> +
>  static const struct regulator_ops pf8x00_ldo_ops = {
>  	.enable = regulator_enable_regmap,
>  	.disable = regulator_disable_regmap,
> @@ -283,6 +334,9 @@ static const struct regulator_ops pf8x00_ldo_ops = {
>  	.list_voltage = regulator_list_voltage_table,
>  	.set_voltage_sel = regulator_set_voltage_sel_regmap,
>  	.get_voltage_sel = regulator_get_voltage_sel_regmap,
> +	.set_suspend_enable = pf8x00_suspend_enable,
> +	.set_suspend_disable = pf8x00_suspend_disable,
> +	.set_suspend_voltage = pf8x00_set_suspend_voltage,
>  };
>  
> 
> @@ -295,6 +349,9 @@ static const struct regulator_ops pf8x00_buck1_6_ops = {
>  	.get_voltage_sel = regulator_get_voltage_sel_regmap,
>  	.get_current_limit = regulator_get_current_limit_regmap,
>  	.set_current_limit = regulator_set_current_limit_regmap,
> +	.set_suspend_enable = pf8x00_suspend_enable,
> +	.set_suspend_disable = pf8x00_suspend_disable,
> +	.set_suspend_voltage = pf8x00_set_suspend_voltage,
>  };
>  
>  static const struct regulator_ops pf8x00_buck7_ops = {
> @@ -306,6 +363,8 @@ static const struct regulator_ops pf8x00_buck7_ops = {
>  	.get_voltage_sel = regulator_get_voltage_sel_regmap,
>  	.get_current_limit = regulator_get_current_limit_regmap,
>  	.set_current_limit = regulator_set_current_limit_regmap,
> +	.set_suspend_enable = pf8x00_suspend_enable,
> +	.set_suspend_disable = pf8x00_suspend_disable,
>  };
>  
>  static const struct regulator_ops pf8x00_vsnvs_ops = {
> @@ -337,6 +396,9 @@ static const struct regulator_ops pf8x00_vsnvs_ops = {
>  			.disable_val = 0x0,			\
>  			.enable_mask = 2,			\
>  		},						\
> +		.suspend_enable_reg = (base) + LDO_CONFIG2,	\
> +		.suspend_enable_mask = 1,			\
> +		.suspend_voltage_reg = (base) + LDO_STBY_VOLT,	\
>  	}
>  
>  #define PF8X00BUCK(_id, _name, base, voltages)			\
> @@ -367,6 +429,9 @@ static const struct regulator_ops pf8x00_vsnvs_ops = {
>  			.enable_mask = 0x3,			\
>  			.enable_time = 500,			\
>  		},						\
> +		.suspend_enable_reg = (base) + SW_MODE1,	\
> +		.suspend_enable_mask = 0xc,			\
> +		.suspend_voltage_reg = (base) + SW_STBY_VOLT,	\
>  	}
>  
>  #define PF8X00BUCK7(_name, base, voltages)			\
> @@ -415,7 +480,7 @@ static const struct regulator_ops pf8x00_vsnvs_ops = {
>  		},						\
>  	}
>  
> -static struct pf8x00_regulator pf8x00_regulators_data[PF8X00_MAX_REGULATORS] = {
> +static struct pf8x00_regulator_data pf8x00_regs_data[PF8X00_MAX_REGULATORS] = {
>  	PF8X00LDO(1, "ldo1", PF8X00_LDO_BASE(PF8X00_LDO1), pf8x00_ldo_voltages),
>  	PF8X00LDO(2, "ldo2", PF8X00_LDO_BASE(PF8X00_LDO2), pf8x00_ldo_voltages),
>  	PF8X00LDO(3, "ldo3", PF8X00_LDO_BASE(PF8X00_LDO3), pf8x00_ldo_voltages),
> @@ -500,12 +565,12 @@ static int pf8x00_i2c_probe(struct i2c_client *client)
>  	if (ret)
>  		return ret;
>  
> -	for (id = 0; id < ARRAY_SIZE(pf8x00_regulators_data); id++) {
> -		struct pf8x00_regulator *data = &pf8x00_regulators_data[id];
> +	for (id = 0; id < ARRAY_SIZE(pf8x00_regs_data); id++) {
> +		struct pf8x00_regulator_data *data = &pf8x00_regs_data[id];
>  		struct regulator_dev *rdev;
>  
>  		config.dev = chip->dev;
> -		config.driver_data = chip;
> +		config.driver_data = data;
>  		config.regmap = chip->regmap;
>  
>  		rdev = devm_regulator_register(&client->dev, &data->desc, &config);




^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] regulator: pf8x00: set ramp_delay for bucks
  2021-01-21  9:42 ` Christoph Fritz
@ 2021-01-25  9:27   ` Christoph Fritz
  2021-01-25  9:54     ` Adrien Grassein
  2021-01-25 13:09     ` Mark Brown
  0 siblings, 2 replies; 7+ messages in thread
From: Christoph Fritz @ 2021-01-25  9:27 UTC (permalink / raw)
  To: Jagan Teki, Mark Brown; +Cc: Adrien Grassein, Liam Girdwood, linux-kernel

This patch sets ramp_delay for bucks to the max value given by the
datasheet.

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
---
 drivers/regulator/pf8x00-regulator.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/regulator/pf8x00-regulator.c b/drivers/regulator/pf8x00-regulator.c
index 1e5582d73405..edf5c88bf43e 100644
--- a/drivers/regulator/pf8x00-regulator.c
+++ b/drivers/regulator/pf8x00-regulator.c
@@ -351,6 +351,7 @@ static const struct regulator_ops pf8x00_vsnvs_ops = {
 			.type = REGULATOR_VOLTAGE,		\
 			.id = PF8X00_BUCK ## _id,		\
 			.owner = THIS_MODULE,			\
+			.ramp_delay = 19000,			\
 			.linear_ranges = pf8x00_sw1_to_6_voltages, \
 			.n_linear_ranges = \
 				ARRAY_SIZE(pf8x00_sw1_to_6_voltages), \
@@ -381,6 +382,7 @@ static const struct regulator_ops pf8x00_vsnvs_ops = {
 			.type = REGULATOR_VOLTAGE,		\
 			.id = PF8X00_BUCK7,		\
 			.owner = THIS_MODULE,			\
+			.ramp_delay = 19000,			\
 			.volt_table = voltages,			\
 			.vsel_reg = (base) + SW_RUN_VOLT,	\
 			.vsel_mask = 0xff,			\
-- 
2.29.2



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] regulator: pf8x00: set ramp_delay for bucks
  2021-01-25  9:27   ` [PATCH] regulator: pf8x00: set ramp_delay for bucks Christoph Fritz
@ 2021-01-25  9:54     ` Adrien Grassein
  2021-01-25 13:09     ` Mark Brown
  1 sibling, 0 replies; 7+ messages in thread
From: Adrien Grassein @ 2021-01-25  9:54 UTC (permalink / raw)
  To: chf.fritz; +Cc: Jagan Teki, Mark Brown, Liam Girdwood, linux-kernel

Le lun. 25 janv. 2021 à 10:27, Christoph Fritz
<chf.fritz@googlemail.com> a écrit :
>
> This patch sets ramp_delay for bucks to the max value given by the
> datasheet.
>
> Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
> ---
>  drivers/regulator/pf8x00-regulator.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/regulator/pf8x00-regulator.c b/drivers/regulator/pf8x00-regulator.c
> index 1e5582d73405..edf5c88bf43e 100644
> --- a/drivers/regulator/pf8x00-regulator.c
> +++ b/drivers/regulator/pf8x00-regulator.c
> @@ -351,6 +351,7 @@ static const struct regulator_ops pf8x00_vsnvs_ops = {
>                         .type = REGULATOR_VOLTAGE,              \
>                         .id = PF8X00_BUCK ## _id,               \
>                         .owner = THIS_MODULE,                   \
> +                       .ramp_delay = 19000,                    \
>                         .linear_ranges = pf8x00_sw1_to_6_voltages, \
>                         .n_linear_ranges = \
>                                 ARRAY_SIZE(pf8x00_sw1_to_6_voltages), \
> @@ -381,6 +382,7 @@ static const struct regulator_ops pf8x00_vsnvs_ops = {
>                         .type = REGULATOR_VOLTAGE,              \
>                         .id = PF8X00_BUCK7,             \
>                         .owner = THIS_MODULE,                   \
> +                       .ramp_delay = 19000,                    \
>                         .volt_table = voltages,                 \
>                         .vsel_reg = (base) + SW_RUN_VOLT,       \
>                         .vsel_mask = 0xff,                      \
> --
> 2.29.2
>
>
 Reviewed-by: Adrien Grassein <adrien.grassein@gmail.com>


Thanks,

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] regulator: pf8x00: set ramp_delay for bucks
  2021-01-25  9:27   ` [PATCH] regulator: pf8x00: set ramp_delay for bucks Christoph Fritz
  2021-01-25  9:54     ` Adrien Grassein
@ 2021-01-25 13:09     ` Mark Brown
  1 sibling, 0 replies; 7+ messages in thread
From: Mark Brown @ 2021-01-25 13:09 UTC (permalink / raw)
  To: Christoph Fritz; +Cc: Jagan Teki, Adrien Grassein, Liam Girdwood, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

On Mon, Jan 25, 2021 at 10:27:00AM +0100, Christoph Fritz wrote:
> This patch sets ramp_delay for bucks to the max value given by the
> datasheet.

Please don't send new patches in reply to old threads, it buries things
and makes it much harder to follow what's going on.  Start a new thread
for new submissions.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] regulator: pf8x00: Add suspend support
  2021-01-17 20:49 [PATCH] regulator: pf8x00: Add suspend support Christoph Fritz
  2021-01-21  9:42 ` Christoph Fritz
@ 2021-01-25 14:18 ` Mark Brown
  2021-01-25 14:35 ` Mark Brown
  2 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2021-01-25 14:18 UTC (permalink / raw)
  To: Jagan Teki, Christoph Fritz; +Cc: Adrien Grassein, linux-kernel, Liam Girdwood

On Sun, 17 Jan 2021 21:49:17 +0100, Christoph Fritz wrote:
> This patch adds suspend/resume support so that it is possible to
> configure the LDOs and BUCKs as on or off during suspend phase as
> well as to configure suspend specific voltages.

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/1] regulator: pf8x00: Add suspend support
      commit: 7fefe72b0f8c0d7e63af9810c4dcc88757eddcd5

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] regulator: pf8x00: Add suspend support
  2021-01-17 20:49 [PATCH] regulator: pf8x00: Add suspend support Christoph Fritz
  2021-01-21  9:42 ` Christoph Fritz
  2021-01-25 14:18 ` [PATCH] regulator: pf8x00: Add suspend support Mark Brown
@ 2021-01-25 14:35 ` Mark Brown
  2 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2021-01-25 14:35 UTC (permalink / raw)
  To: Jagan Teki, Christoph Fritz; +Cc: Liam Girdwood, Adrien Grassein, linux-kernel

On Sun, 17 Jan 2021 21:49:17 +0100, Christoph Fritz wrote:
> This patch adds suspend/resume support so that it is possible to
> configure the LDOs and BUCKs as on or off during suspend phase as
> well as to configure suspend specific voltages.

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/1] regulator: pf8x00: Add suspend support
      commit: 7fefe72b0f8c0d7e63af9810c4dcc88757eddcd5

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-01-26 20:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-17 20:49 [PATCH] regulator: pf8x00: Add suspend support Christoph Fritz
2021-01-21  9:42 ` Christoph Fritz
2021-01-25  9:27   ` [PATCH] regulator: pf8x00: set ramp_delay for bucks Christoph Fritz
2021-01-25  9:54     ` Adrien Grassein
2021-01-25 13:09     ` Mark Brown
2021-01-25 14:18 ` [PATCH] regulator: pf8x00: Add suspend support Mark Brown
2021-01-25 14:35 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).