linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Support RTC charging on PFUZE100
@ 2018-10-30 14:37 Adam Ford
  2018-11-14 22:25 ` Mark Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Ford @ 2018-10-30 14:37 UTC (permalink / raw)
  To: linux-arm-kernel


diff --git a/arch/arm/boot/dts/imx6-logicpd-som.dtsi b/arch/arm/boot/dts/imx6-logicpd-som.dtsi
index 1e5dcac70045..74ab5d65106b 100755
--- a/arch/arm/boot/dts/imx6-logicpd-som.dtsi
+++ b/arch/arm/boot/dts/imx6-logicpd-som.dtsi
@@ -178,6 +178,12 @@
 				regulator-max-microvolt = <2500000>;
 				regulator-always-on;
 			};
+
+			coin_reg: coin {
+				regulator-min-microvolt = <2500000>;
+				regulator-max-microvolt = <3300000>;
+				regulator-always-on;
+			};
 		};
 	};
 
diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/regulator/pfuze100-regulator.c
index 659e516455be..bdef74077d1c 100644
--- a/drivers/regulator/pfuze100-regulator.c
+++ b/drivers/regulator/pfuze100-regulator.c
@@ -324,6 +324,7 @@ static struct pfuze_regulator pfuze100_regulators[] = {
 	PFUZE100_VGEN_REG(PFUZE100, VGEN4, PFUZE100_VGEN4VOL, 1800000, 3300000, 100000),
 	PFUZE100_VGEN_REG(PFUZE100, VGEN5, PFUZE100_VGEN5VOL, 1800000, 3300000, 100000),
 	PFUZE100_VGEN_REG(PFUZE100, VGEN6, PFUZE100_VGEN6VOL, 1800000, 3300000, 100000),
+	PFUZE100_COIN_REG(PFUZE200, COIN, PFUZE100_COINVOL, 0x7, pfuze100_coin),
 };
 
 static struct pfuze_regulator pfuze200_regulators[] = {
@@ -377,6 +378,7 @@ static struct of_regulator_match pfuze100_matches[] = {
 	{ .name = "vgen4",	},
 	{ .name = "vgen5",	},
 	{ .name = "vgen6",	},
+	{ .name = "coin",	},
 };
 
 /* PFUZE200 */
-- 
2.17.1

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

* [PATCH] Support RTC charging on PFUZE100
  2018-10-30 14:37 [PATCH] Support RTC charging on PFUZE100 Adam Ford
@ 2018-11-14 22:25 ` Mark Brown
  2018-11-19 20:29   ` Adam Ford
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Brown @ 2018-11-14 22:25 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Oct 30, 2018 at 09:37:18AM -0500, Adam Ford wrote:
> 
> diff --git a/arch/arm/boot/dts/imx6-logicpd-som.dtsi b/arch/arm/boot/dts/imx6-logicpd-som.dtsi
> index 1e5dcac70045..74ab5d65106b 100755
> --- a/arch/arm/boot/dts/imx6-logicpd-som.dtsi
> +++ b/arch/arm/boot/dts/imx6-logicpd-som.dtsi

> diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/regulator/pfuze100-regulator.c
> index 659e516455be..bdef74077d1c 100644
> --- a/drivers/regulator/pfuze100-regulator.c
> +++ b/drivers/regulator/pfuze100-regulator.c

Please follow the patch submission process covered in
submitting-patchest.rst.  You've not included a Signed-off-by which is
essential for legal reasons as covered in there and this is a single
patch which mixes a DT change and a regulator driver change which should
be in separate patches.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20181114/f0c8519c/attachment.sig>

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

* [PATCH] Support RTC charging on PFUZE100
  2018-11-14 22:25 ` Mark Brown
@ 2018-11-19 20:29   ` Adam Ford
  2018-11-23 13:11     ` Mark Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Ford @ 2018-11-19 20:29 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Nov 14, 2018 at 4:25 PM Mark Brown <broonie@kernel.org> wrote:
>
> On Tue, Oct 30, 2018 at 09:37:18AM -0500, Adam Ford wrote:
> >
> > diff --git a/arch/arm/boot/dts/imx6-logicpd-som.dtsi b/arch/arm/boot/dts/imx6-logicpd-som.dtsi
> > index 1e5dcac70045..74ab5d65106b 100755
> > --- a/arch/arm/boot/dts/imx6-logicpd-som.dtsi
> > +++ b/arch/arm/boot/dts/imx6-logicpd-som.dtsi
>
> > diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/regulator/pfuze100-regulator.c
> > index 659e516455be..bdef74077d1c 100644
> > --- a/drivers/regulator/pfuze100-regulator.c
> > +++ b/drivers/regulator/pfuze100-regulator.c
>
> Please follow the patch submission process covered in
> submitting-patchest.rst.  You've not included a Signed-off-by which is
> essential for legal reasons as covered in there and this is a single
> patch which mixes a DT change and a regulator driver change which should
> be in separate patches.

Mark,

I think you're looking at the V1 patch.  This was replaced by a V2
patch:  https://patchwork.kernel.org/patch/10661227/

It should have a S-o-b line.  I know I sent it to the wrong mailing
list (per your other e-mail to me) , so if you want it re-mailed, I
can do that.

thank you,

adam

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

* [PATCH] Support RTC charging on PFUZE100
  2018-11-19 20:29   ` Adam Ford
@ 2018-11-23 13:11     ` Mark Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2018-11-23 13:11 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Nov 19, 2018 at 02:29:15PM -0600, Adam Ford wrote:

> I think you're looking at the V1 patch.  This was replaced by a V2
> patch:  https://patchwork.kernel.org/patch/10661227/

> It should have a S-o-b line.  I know I sent it to the wrong mailing
> list (per your other e-mail to me) , so if you want it re-mailed, I
> can do that.

Please resend the patch, I don't have anything else in my inbox.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20181123/cfd168bd/attachment.sig>

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

end of thread, other threads:[~2018-11-23 13:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-30 14:37 [PATCH] Support RTC charging on PFUZE100 Adam Ford
2018-11-14 22:25 ` Mark Brown
2018-11-19 20:29   ` Adam Ford
2018-11-23 13:11     ` 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).