Skip to contentSkip to conversation

regulator: da9061: BUCK and LDO regulator driver

PATCH RESEND Applied Steve Twiss 4 participants 11 messages May 23, 2017 – Jun 6, 2017 1 message not in the archive

Subsystems (4)
lore
Share & tools
lore
#1 lore raw

PATCH RESEND v7 5/7 regulator: da9061: BUCK and LDO regulator driver

In reply to a message not in the archive

From: Steve Twiss <[email protected]>

Regulator support for the DA9061 is added into the DA9062 regulator driver.

The regulators for DA9061 differ from those of DA9062.
A new DA9061 enumeration list for the LDOs and Bucks supported by this device is added. Regulator information added: the old regulator information for DA9062 is renamed from local_regulator_info[] to local_da9062_regulator_info[] and a new array is added to support local_da9061_regulator_info[].

The probe() function switches on the da9062_compatible_types enumeration and configures the correct da9062_regulator_info array and number of regulator entries.

Kconfig is updated to reflect support for DA9061 and DA9062 regulators.

---
Hi,

This patch was Acked by Mark Brown, a long time ago, way back in Oct 2016
(https://patchwork.kernel.org/patch/9397787/).
I have kept Mark Brown's Ack attached because there have been no real code changes since then, but I have recently updated the copyright header slightly, rebased the code (no changes necessary) and compile tested it against x86_64.

The MFD files which this patch depended on were accepted into linux-next by Lee Jones last week. If there is anything in the way of this patch acceptance, could you please let me know?

Regards,
Steve

This patch applies against linux-next and v4.12-rc2

v6 -> v7
- NO CODE CHANGE
- Compile tested ARCH=x86_64

v5 -> v6
- Rebased from v4.9 to v4.11-rc3
- Modify Copyright to match Dialog latest legal statement

v4 -> v5
- Rebased from v4.8 to v4.9
- NO CODE CHANGE

v3 -> v4
- NO CODE CHANGE
- Patch renamed from [PATCH V3 6/9] to [PATCH V4 5/8]

v2 -> v3
- NO CODE CHANGE
- Patch renamed from [PATCH V2 06/10] to [PATCH V3 6/9]
- Added Ack from Mark Brown

v1 -> v2
- Patch renamed from [PATCH V1 02/10] to [PATCH V2 06/10] -- these changes were made to fix checkpatch warnings caused by the patch set dependency order
- Updated header to use DA9061 and DA9062

Hi,

I have updated copyright header slightly to match Dialog's legal expectation, but there are no code changes for this version PATCH V7.

As previously:

These changes depend on a header file provided as part of an earlier patch [V7,4/7] mfd: da9061: MFD core support from this set. The regulator probe() switches on the chip_type which uses enum da9062_compatible_types in core.h from this patch.

Regards,
Steve Twiss, Dialog Semiconductor

 drivers/regulator/Kconfig            |   4 +-
 drivers/regulator/da9062-regulator.c | 303 +++++++++++++++++++++++++++++++++--
 2 files changed, 293 insertions(+), 14 deletions(-)
drivers/regulator/Kconfig +2 -2
index 48db87d..9d2222e 100644
@@ -214,11 +214,11 @@ config REGULATOR_DA9055
 	  will be called da9055-regulator.
 
 config REGULATOR_DA9062
-	tristate "Dialog Semiconductor DA9062 regulators"
+	tristate "Dialog Semiconductor DA9061/62 regulators"
 	depends on MFD_DA9062
 	help
 	  Say y here to support the BUCKs and LDOs regulators found on
-	  DA9062 PMICs.
+	  DA9061 and DA9062 PMICs.
 
 	  This driver can also be built as a module. If so, the module
 	  will be called da9062-regulator.
drivers/regulator/da9062-regulator.c +291 -12

356 lines not on this page · raw message

Signature · 6 lines
end-of-patch for RESEND PATCH V7

--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#9 lore raw

PATCH RESEND v7 7/7 MAINTAINERS: da9062/61 updates to the Dialog Semiconductor search terms

In reply to a message not in the archive

From: Steve Twiss <[email protected]>

Additions to search terms for files supported by Dialog Semiconductor. This update will allow Dialog support to follow files for device tree bindings (onkey, thermal and watchdog) and source code for chip thermal monitoring drivers.

---
Hi all,

Is there anybody willing to take this patch through their tree please?

Dialog Semiconductor support would like to add to the MAINTAINERS search terms. This update will allow us to follow all of our files for device tree bindings and the source code relating to chip thermal monitoring described in this patch set.

All dependencies for this patch have been accepted into linux-next:

bindings/input/da90??-onkey.txt -> linux-next.git/commit/?id=406d5a2de0718622241eff35831f6fed0316a7d4
bindings/thermal/da90??-thermal.txt -> linux-next.git/commit/?id=28c1b08d2a156ef16e912a4c618a529e586e5dbc
bindings/watchdog/da92??-wdt.txt -> linux-next.git/commit/?id=be62f363a8d5b1703c08d2cb462786a68215bcca
drivers/thermal/da90??-thermal.c -> linux-next.git/commit/?id=608567aac3206ae886c79688fbb8a62c473b55ef

Regards,
Steve Twiss, Dialog Semiconductor

This patch applies against linux-next and v4.12-rc2

v6 -> v7
- NO CODE CHANGE
- Rebased from v4.11-rc3 to v4.11-rc11
- Updated the commit message
- Moved the following names from CC: to TO: e-mail fields
- Lee Jones
- Liam Girdwood
- Mark Brown

v5 -> v6
- NO CODE CHANGE
- Rebased from v4.8 to v4.11-rc3
- Patch renamed from [PATCH V5 8/8] to [PATCH V5 7/7]

v4 -> v5
- NO CODE CHANGE
- Rebased from v4.8 to v4.9

v3 -> v4
- NO CODE CHANGE
- Patch renamed from [PATCH V3 9/9] to [PATCH V4 8/8]

v2 -> v3
- NO CODE CHANGE
- Patch renamed from [PATCH V2 10/10] to [PATCH V3 9/9]

v1 -> v2
- NO CODE CHANGE

 MAINTAINERS | 4 ++++
 1 file changed, 4 insertions(+)
MAINTAINERS +4 -0
index 9e98464..a580bed 100644
@@ -3988,7 +3988,10 @@ W:	http://www.dialog-semiconductor.com/products
 S:	Supported
 F:	Documentation/hwmon/da90??
 F:	Documentation/devicetree/bindings/mfd/da90*.txt
+F:	Documentation/devicetree/bindings/input/da90??-onkey.txt
+F:	Documentation/devicetree/bindings/thermal/da90??-thermal.txt
 F:	Documentation/devicetree/bindings/regulator/da92*.txt
+F:	Documentation/devicetree/bindings/watchdog/da92??-wdt.txt
 F:	Documentation/devicetree/bindings/sound/da[79]*.txt
 F:	drivers/gpio/gpio-da90??.c
 F:	drivers/hwmon/da90??-hwmon.c
@@ -4003,6 +4006,7 @@ F:	drivers/power/supply/da9052-battery.c
 F:	drivers/power/supply/da91??-*.c
 F:	drivers/regulator/da903x.c
 F:	drivers/regulator/da9???-regulator.[ch]
+F:	drivers/thermal/da90??-thermal.c
 F:	drivers/rtc/rtc-da90??.c
 F:	drivers/video/backlight/da90??_bl.c
 F:	drivers/watchdog/da90??_wdt.c
Signature · 1 line
end-of-patch for RESEND PATCH V7
maintainer Acked-by on v7 7/7
#10 lore raw

Re: [RESEND PATCH V7 7/7] MAINTAINERS: da9062/61 updates to the Dialog Semiconductor search terms

Quoted 8 lines · Steve Twiss

From: Steve Twiss <[email protected]>

Additions to search terms for files supported by Dialog Semiconductor. This update will allow Dialog support to follow files for device tree bindings (onkey, thermal and watchdog) and source code for chip thermal monitoring drivers.

FWIW: For watchdog:

If no one else picks it up, I can ask Wim to queue it up in watchdog for the next release. If necessary please send me a note around rc5 or rc6.

Guenter

Quoted 81 lines

---
Hi all,

Is there anybody willing to take this patch through their tree please?

Dialog Semiconductor support would like to add to the MAINTAINERS search terms. This update will allow us to follow all of our files for device tree bindings and the source code relating to chip thermal monitoring described in this patch set.

All dependencies for this patch have been accepted into linux-next:

bindings/input/da90??-onkey.txt -> linux-next.git/commit/?id=406d5a2de0718622241eff35831f6fed0316a7d4
bindings/thermal/da90??-thermal.txt -> linux-next.git/commit/?id=28c1b08d2a156ef16e912a4c618a529e586e5dbc
bindings/watchdog/da92??-wdt.txt -> linux-next.git/commit/?id=be62f363a8d5b1703c08d2cb462786a68215bcca
drivers/thermal/da90??-thermal.c -> linux-next.git/commit/?id=608567aac3206ae886c79688fbb8a62c473b55ef

Regards,
Steve Twiss, Dialog Semiconductor

This patch applies against linux-next and v4.12-rc2

v6 -> v7
- NO CODE CHANGE
- Rebased from v4.11-rc3 to v4.11-rc11
- Updated the commit message
- Moved the following names from CC: to TO: e-mail fields
- Lee Jones
- Liam Girdwood
- Mark Brown

v5 -> v6
- NO CODE CHANGE
- Rebased from v4.8 to v4.11-rc3
- Patch renamed from [PATCH V5 8/8] to [PATCH V5 7/7]

v4 -> v5
- NO CODE CHANGE
- Rebased from v4.8 to v4.9

v3 -> v4
- NO CODE CHANGE
- Patch renamed from [PATCH V3 9/9] to [PATCH V4 8/8]

v2 -> v3
- NO CODE CHANGE
- Patch renamed from [PATCH V2 10/10] to [PATCH V3 9/9]

v1 -> v2
- NO CODE CHANGE

  MAINTAINERS | 4 ++++
  1 file changed, 4 insertions(+)
MAINTAINERS +4 -0
index 9e98464..a580bed 100644
@@ -3988,7 +3988,10 @@ W:	http://www.dialog-semiconductor.com/products
  S:	Supported
  F:	Documentation/hwmon/da90??
  F:	Documentation/devicetree/bindings/mfd/da90*.txt
+F:	Documentation/devicetree/bindings/input/da90??-onkey.txt
+F:	Documentation/devicetree/bindings/thermal/da90??-thermal.txt
  F:	Documentation/devicetree/bindings/regulator/da92*.txt
+F:	Documentation/devicetree/bindings/watchdog/da92??-wdt.txt
  F:	Documentation/devicetree/bindings/sound/da[79]*.txt
  F:	drivers/gpio/gpio-da90??.c
  F:	drivers/hwmon/da90??-hwmon.c
@@ -4003,6 +4006,7 @@ F:	drivers/power/supply/da9052-battery.c
  F:	drivers/power/supply/da91??-*.c
  F:	drivers/regulator/da903x.c
  F:	drivers/regulator/da9???-regulator.[ch]
+F:	drivers/thermal/da90??-thermal.c
  F:	drivers/rtc/rtc-da90??.c
  F:	drivers/video/backlight/da90??_bl.c
  F:	drivers/watchdog/da90??_wdt.c
maintainer
#2 lore raw
In reply to Steve Twiss
Quoted 10 lines · Steve Twiss

This patch was Acked by Mark Brown, a long time ago, way back in Oct 2016
(https://patchwork.kernel.org/patch/9397787/).
I have kept Mark Brown's Ack attached because there have been no real code changes since then, but I have recently updated the copyright header slightly, rebased the code (no changes necessary) and compile tested it against x86_64.

The MFD files which this patch depended on were accepted into linux-next by Lee Jones last week. If there is anything in the way of this patch acceptance, could you please let me know?

Given that I've acked this and it depends on the MFD changes I'd have expected Lee to apply it. If nothing else happens I can apply it after the next merge window, otherwise either Lee needs to send me a pull request for the MFD change so I've got the dependency or he needs to apply this.

#3 lore raw

On 23 May 2017 18:17 Mark Brown

Quoted 16 lines

To: Steve Twiss
Subject: Re: [RESEND PATCH V7 5/7] regulator: da9061: BUCK and LDO regulator driver

Quoted 10 lines · Steve Twiss

This patch was Acked by Mark Brown, a long time ago, way back in Oct 2016
(https://patchwork.kernel.org/patch/9397787/).
I have kept Mark Brown's Ack attached because there have been no real code changes since then, but I have recently updated the copyright header slightly, rebased the code (no changes necessary) and compile tested it against x86_64.

The MFD files which this patch depended on were accepted into linux-next by Lee Jones last week. If there is anything in the way of this patch acceptance, could you please let me know?

Quoted 5 lines

Given that I've acked this and it depends on the MFD changes I'd have expected Lee to apply it. If nothing else happens I can apply it after the next merge window, otherwise either Lee needs to send me a pull request for the MFD change so I've got the dependency or he needs to apply this.

Hi Mark,

Thanks,
No problem, just some minor administration.

@Lee
Could you please send Mark a pull request for the regulator component to the DA9062/61 changes [PATCH V7 5/7] regulator: da9061: BUCK and LDO regulator driver.

Regards,
Steve

#5 lore raw
In reply to Mark Brown
Quoted 13 lines · Mark Brown
Quoted 10 lines · Steve Twiss

This patch was Acked by Mark Brown, a long time ago, way back in Oct 2016
(https://patchwork.kernel.org/patch/9397787/).
I have kept Mark Brown's Ack attached because there have been no real code changes since then, but I have recently updated the copyright header slightly, rebased the code (no changes necessary) and compile tested it against x86_64.

The MFD files which this patch depended on were accepted into linux-next by Lee Jones last week. If there is anything in the way of this patch acceptance, could you please let me know?

Quoted 5 lines

Given that I've acked this and it depends on the MFD changes I'd have expected Lee to apply it. If nothing else happens I can apply it after the next merge window, otherwise either Lee needs to send me a pull request for the MFD change so I've got the dependency or he needs to apply this.

Plan is to push this through the MFD tree.

Do you want a PR for this one?

Signature · 8 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw
In reply to Steve Twiss
Quoted 25 lines · Steve Twiss

On 23 May 2017 18:17 Mark Brown

Quoted 16 lines

To: Steve Twiss
Subject: Re: [RESEND PATCH V7 5/7] regulator: da9061: BUCK and LDO regulator driver

Quoted 10 lines · Steve Twiss

This patch was Acked by Mark Brown, a long time ago, way back in Oct 2016
(https://patchwork.kernel.org/patch/9397787/).
I have kept Mark Brown's Ack attached because there have been no real code changes since then, but I have recently updated the copyright header slightly, rebased the code (no changes necessary) and compile tested it against x86_64.

The MFD files which this patch depended on were accepted into linux-next by Lee Jones last week. If there is anything in the way of this patch acceptance, could you please let me know?

Quoted 5 lines

Given that I've acked this and it depends on the MFD changes I'd have expected Lee to apply it. If nothing else happens I can apply it after the next merge window, otherwise either Lee needs to send me a pull request for the MFD change so I've got the dependency or he needs to apply this.

Hi Mark,

Quoted 7 lines

Thanks,
No problem, just some minor administration.

@Lee
Could you please send Mark a pull request for the regulator component to the DA9062/61 changes [PATCH V7 5/7] regulator: da9061: BUCK and LDO regulator driver.

That wasn't one of the options. ;)

Signature · 8 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
maintainer
#6 lore raw
In reply to Lee Jones
Quoted 1 line · Lee Jones

Plan is to push this through the MFD tree.

Great, thanks.

Quoted 1 line

Do you want a PR for this one?

Ideally but it's not super urgent if (I've started handling these by keeping a note of the pull information and only merging if there's an actual problem, that way there's less cross tree merges show up when I send stuff to Linus).

Applied
#11 lore raw

Re: [RESEND PATCH V7 7/7] MAINTAINERS: da9062/61 updates to the Dialog Semiconductor search terms

In reply to Steve Twiss
Quoted 58 lines · Steve Twiss

From: Steve Twiss <[email protected]>

Additions to search terms for files supported by Dialog Semiconductor. This update will allow Dialog support to follow files for device tree bindings (onkey, thermal and watchdog) and source code for chip thermal monitoring drivers.

---
Hi all,

Is there anybody willing to take this patch through their tree please?

Dialog Semiconductor support would like to add to the MAINTAINERS search terms. This update will allow us to follow all of our files for device tree bindings and the source code relating to chip thermal monitoring described in this patch set.

All dependencies for this patch have been accepted into linux-next:

bindings/input/da90??-onkey.txt -> linux-next.git/commit/?id=406d5a2de0718622241eff35831f6fed0316a7d4
bindings/thermal/da90??-thermal.txt -> linux-next.git/commit/?id=28c1b08d2a156ef16e912a4c618a529e586e5dbc
bindings/watchdog/da92??-wdt.txt -> linux-next.git/commit/?id=be62f363a8d5b1703c08d2cb462786a68215bcca
drivers/thermal/da90??-thermal.c -> linux-next.git/commit/?id=608567aac3206ae886c79688fbb8a62c473b55ef

Regards,
Steve Twiss, Dialog Semiconductor

This patch applies against linux-next and v4.12-rc2

v6 -> v7
- NO CODE CHANGE
- Rebased from v4.11-rc3 to v4.11-rc11
- Updated the commit message
- Moved the following names from CC: to TO: e-mail fields
- Lee Jones
- Liam Girdwood
- Mark Brown

v5 -> v6
- NO CODE CHANGE
- Rebased from v4.8 to v4.11-rc3
- Patch renamed from [PATCH V5 8/8] to [PATCH V5 7/7]

v4 -> v5
- NO CODE CHANGE
- Rebased from v4.8 to v4.9

v3 -> v4
- NO CODE CHANGE
- Patch renamed from [PATCH V3 9/9] to [PATCH V4 8/8]

v2 -> v3
- NO CODE CHANGE
- Patch renamed from [PATCH V2 10/10] to [PATCH V3 9/9]

Quoted 6 lines

v1 -> v2
- NO CODE CHANGE

 MAINTAINERS | 4 ++++
 1 file changed, 4 insertions(+)

Applied, thanks.

Quoted 23 lines
MAINTAINERS +4 -0
index 9e98464..a580bed 100644
@@ -3988,7 +3988,10 @@ W:	http://www.dialog-semiconductor.com/products
 S:	Supported
 F:	Documentation/hwmon/da90??
 F:	Documentation/devicetree/bindings/mfd/da90*.txt
+F:	Documentation/devicetree/bindings/input/da90??-onkey.txt
+F:	Documentation/devicetree/bindings/thermal/da90??-thermal.txt
 F:	Documentation/devicetree/bindings/regulator/da92*.txt
+F:	Documentation/devicetree/bindings/watchdog/da92??-wdt.txt
 F:	Documentation/devicetree/bindings/sound/da[79]*.txt
 F:	drivers/gpio/gpio-da90??.c
 F:	drivers/hwmon/da90??-hwmon.c
@@ -4003,6 +4006,7 @@ F:	drivers/power/supply/da9052-battery.c
 F:	drivers/power/supply/da91??-*.c
 F:	drivers/regulator/da903x.c
 F:	drivers/regulator/da9???-regulator.[ch]
+F:	drivers/thermal/da90??-thermal.c
 F:	drivers/rtc/rtc-da90??.c
 F:	drivers/video/backlight/da90??_bl.c
 F:	drivers/watchdog/da90??_wdt.c
Signature · 4 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
#7 lore raw
In reply to Mark Brown
Quoted 5 lines · Mark Brown
Quoted 1 line · Lee Jones

Plan is to push this through the MFD tree.

Great, thanks.

Just taking a look at this now. It looks like the dependency:

656211b1dfb9 mfd: Add support for DA9061

... is now in Mainline. Therefore it should be okay to take this directly through the Regulator repo.

Signature · 8 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
maintainer
#8 lore raw
Quoted 6 lines · Lee Jones
Quoted 3 lines · Mark Brown
Quoted 1 line · Lee Jones

Plan is to push this through the MFD tree.

Quoted 8 lines
Quoted 1 line

Great, thanks.

Just taking a look at this now. It looks like the dependency:

656211b1dfb9 mfd: Add support for DA9061

... is now in Mainline. Therefore it should be okay to take this directly through the Regulator repo.

OK, can you resend please Steve?