LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] regulator: tps6586x: Add support for TPS658624
@ 2018-04-19 16:18 ryang
  2018-04-19 16:48 ` Mark Brown
  2018-04-20 17:05 ` Applied "regulator: tps6586x: Add support for TPS658624" to the regulator tree Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: ryang @ 2018-04-19 16:18 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown; +Cc: linux-kernel

This version is exists in the Samsung Galaxy Tab 10.1 which is based on the
Nvidia Tegra 2 board. The TPS658624 has the same SM2 voltage table as
TPS658623.

Signed-off-by: ryang <decatf@gmail.com>
---
 drivers/regulator/tps6586x-regulator.c | 1 +
 include/linux/mfd/tps6586x.h           | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/regulator/tps6586x-regulator.c b/drivers/regulator/tps6586x-regulator.c
index 9e9d220..ba3dae7 100644
--- a/drivers/regulator/tps6586x-regulator.c
+++ b/drivers/regulator/tps6586x-regulator.c
@@ -342,6 +342,7 @@ static struct tps6586x_regulator *find_regulator_info(int id, int version)
 
 	switch (version) {
 	case TPS658623:
+	case TPS658624:
 		table = tps658623_regulator;
 		num = ARRAY_SIZE(tps658623_regulator);
 		break;
diff --git a/include/linux/mfd/tps6586x.h b/include/linux/mfd/tps6586x.h
index 2fe68e4..b19c280 100644
--- a/include/linux/mfd/tps6586x.h
+++ b/include/linux/mfd/tps6586x.h
@@ -18,6 +18,7 @@
 #define TPS658621A	0x15
 #define TPS658621CD	0x2c
 #define TPS658623	0x1b
+#define TPS658624	0x0a
 #define TPS658640	0x01
 #define TPS658640v2	0x02
 #define TPS658643	0x03
-- 
2.7.4

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

* Re: [PATCH] regulator: tps6586x: Add support for TPS658624
  2018-04-19 16:18 [PATCH] regulator: tps6586x: Add support for TPS658624 ryang
@ 2018-04-19 16:48 ` Mark Brown
  2018-04-20  8:06   ` Lee Jones
  2018-04-20 17:05 ` Applied "regulator: tps6586x: Add support for TPS658624" to the regulator tree Mark Brown
  1 sibling, 1 reply; 4+ messages in thread
From: Mark Brown @ 2018-04-19 16:48 UTC (permalink / raw)
  To: ryang, lee.jones; +Cc: Liam Girdwood, linux-kernel

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

On Thu, Apr 19, 2018 at 12:18:50PM -0400, ryang wrote:
> This version is exists in the Samsung Galaxy Tab 10.1 which is based on the
> Nvidia Tegra 2 board. The TPS658624 has the same SM2 voltage table as
> TPS658623.

> Signed-off-by: ryang <decatf@gmail.com>
> ---
>  drivers/regulator/tps6586x-regulator.c | 1 +
>  include/linux/mfd/tps6586x.h           | 1 +
>  2 files changed, 2 insertions(+)

This also touches the MFD header for the part so should've been sent to
Lee, the MFD maintainer (CCed here, left the entire patch for context).  

> diff --git a/drivers/regulator/tps6586x-regulator.c b/drivers/regulator/tps6586x-regulator.c
> index 9e9d220..ba3dae7 100644
> --- a/drivers/regulator/tps6586x-regulator.c
> +++ b/drivers/regulator/tps6586x-regulator.c
> @@ -342,6 +342,7 @@ static struct tps6586x_regulator *find_regulator_info(int id, int version)
>  
>  	switch (version) {
>  	case TPS658623:
> +	case TPS658624:
>  		table = tps658623_regulator;
>  		num = ARRAY_SIZE(tps658623_regulator);
>  		break;
> diff --git a/include/linux/mfd/tps6586x.h b/include/linux/mfd/tps6586x.h
> index 2fe68e4..b19c280 100644
> --- a/include/linux/mfd/tps6586x.h
> +++ b/include/linux/mfd/tps6586x.h
> @@ -18,6 +18,7 @@
>  #define TPS658621A	0x15
>  #define TPS658621CD	0x2c
>  #define TPS658623	0x1b
> +#define TPS658624	0x0a
>  #define TPS658640	0x01
>  #define TPS658640v2	0x02
>  #define TPS658643	0x03
> -- 
> 2.7.4
> 

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

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

* Re: [PATCH] regulator: tps6586x: Add support for TPS658624
  2018-04-19 16:48 ` Mark Brown
@ 2018-04-20  8:06   ` Lee Jones
  0 siblings, 0 replies; 4+ messages in thread
From: Lee Jones @ 2018-04-20  8:06 UTC (permalink / raw)
  To: Mark Brown; +Cc: ryang, Liam Girdwood, linux-kernel

On Thu, 19 Apr 2018, Mark Brown wrote:

> On Thu, Apr 19, 2018 at 12:18:50PM -0400, ryang wrote:
> > This version is exists in the Samsung Galaxy Tab 10.1 which is based on the
> > Nvidia Tegra 2 board. The TPS658624 has the same SM2 voltage table as
> > TPS658623.
> 
> > Signed-off-by: ryang <decatf@gmail.com>
> > ---
> >  drivers/regulator/tps6586x-regulator.c | 1 +
> >  include/linux/mfd/tps6586x.h           | 1 +
> >  2 files changed, 2 insertions(+)
> 
> This also touches the MFD header for the part so should've been sent to
> Lee, the MFD maintainer (CCed here, left the entire patch for context).  

Thanks Mark.

Please take it.

Acked-by: Lee Jones <lee.jones@linaro.org>

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Applied "regulator: tps6586x: Add support for TPS658624" to the regulator tree
  2018-04-19 16:18 [PATCH] regulator: tps6586x: Add support for TPS658624 ryang
  2018-04-19 16:48 ` Mark Brown
@ 2018-04-20 17:05 ` Mark Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2018-04-20 17:05 UTC (permalink / raw)
  To: ryang
  Cc: Lee Jones, Mark Brown, Liam Girdwood, Mark Brown, linux-kernel,
	linux-kernel

The patch

   regulator: tps6586x: Add support for TPS658624

has been applied to the regulator tree at

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

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

>From 669ca0303ac93adba0e046d414165250861efdb7 Mon Sep 17 00:00:00 2001
From: ryang <decatf@gmail.com>
Date: Thu, 19 Apr 2018 12:18:50 -0400
Subject: [PATCH] regulator: tps6586x: Add support for TPS658624

This version is exists in the Samsung Galaxy Tab 10.1 which is based on the
Nvidia Tegra 2 board. The TPS658624 has the same SM2 voltage table as
TPS658623.

Signed-off-by: ryang <decatf@gmail.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 drivers/regulator/tps6586x-regulator.c | 1 +
 include/linux/mfd/tps6586x.h           | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/regulator/tps6586x-regulator.c b/drivers/regulator/tps6586x-regulator.c
index 9e9d22038017..ba3dae7b2d2d 100644
--- a/drivers/regulator/tps6586x-regulator.c
+++ b/drivers/regulator/tps6586x-regulator.c
@@ -342,6 +342,7 @@ static struct tps6586x_regulator *find_regulator_info(int id, int version)
 
 	switch (version) {
 	case TPS658623:
+	case TPS658624:
 		table = tps658623_regulator;
 		num = ARRAY_SIZE(tps658623_regulator);
 		break;
diff --git a/include/linux/mfd/tps6586x.h b/include/linux/mfd/tps6586x.h
index 2fe68e481230..b19c2801a30e 100644
--- a/include/linux/mfd/tps6586x.h
+++ b/include/linux/mfd/tps6586x.h
@@ -18,6 +18,7 @@
 #define TPS658621A	0x15
 #define TPS658621CD	0x2c
 #define TPS658623	0x1b
+#define TPS658624	0x0a
 #define TPS658640	0x01
 #define TPS658640v2	0x02
 #define TPS658643	0x03
-- 
2.17.0

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

end of thread, other threads:[~2018-04-20 17:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-19 16:18 [PATCH] regulator: tps6586x: Add support for TPS658624 ryang
2018-04-19 16:48 ` Mark Brown
2018-04-20  8:06   ` Lee Jones
2018-04-20 17:05 ` Applied "regulator: tps6586x: Add support for TPS658624" to the regulator tree 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).