Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1625243 > unrolled thread
| Started by | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> |
|---|---|
| First post | 2017-04-18 12:50 +0200 |
| Last post | 2017-04-18 22:00 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 0/7] regulator: arizona: Prepare for sharing with Madera codecs Richard Fitzgerald <rf@opensource.wolfsonmicro.com> - 2017-04-18 12:50 +0200
[PATCH 1/7] regulator: arizona: Split KConfig options for LDO1 and MICSUPP regulators Richard Fitzgerald <rf@opensource.wolfsonmicro.com> - 2017-04-18 12:50 +0200
Re: [PATCH 0/7] regulator: arizona: Prepare for sharing with Madera codecs Mark Brown <broonie@kernel.org> - 2017-04-18 22:00 +0200
| From | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> |
|---|---|
| Date | 2017-04-18 12:50 +0200 |
| Subject | [PATCH 0/7] regulator: arizona: Prepare for sharing with Madera codecs |
| Message-ID | <txyRP-57S-5@gated-at.bofh.it> |
These patches make various changes to the Arizona regulators so that they
can be re-used for the Cirrus Madera codecs:
- pdata is moves out of struct arizona_pdata into driver-specific structs
- all unnecessary dependence on struct arizona is removed
- generic init that doesn't depend on struct arizona is factored out
- The ldo and micsupp drivers now have separate KConfig options because
only the CS47L85/WM1840 Madera codecs have an LDO1, no other Madera
codecs will.
The Exynos based Cragganmore platform is a user of struct arizona_pdata
for the LDO1 so patch #5 updates it to the new pdata.
Richard Fitzgerald (7):
regulator: arizona: Split KConfig options for LDO1 and MICSUPP
regulators
regulator: arizona-micsupp: Move pdata into a separate structure
regulator: arizona-micsupp: Make arizona_micsupp independent of struct
arizona
regulator: arizona-micsupp: Factor out generic initialization
regulator: arizona-ldo1: Move pdata into a separate structure
regulator: arizona-ldo1: Make arizona_ldo1 independent of struct
arizona
regulator: arizona-ldo1: Factor out generic initialization
MAINTAINERS | 1 +
arch/arm/mach-s3c64xx/mach-crag6410-module.c | 8 +-
drivers/regulator/Kconfig | 14 ++-
drivers/regulator/Makefile | 3 +-
drivers/regulator/arizona-ldo1.c | 143 +++++++++++++++------------
drivers/regulator/arizona-micsupp.c | 122 +++++++++++++----------
include/linux/mfd/arizona/pdata.h | 7 +-
include/linux/regulator/arizona-ldo1.h | 24 +++++
include/linux/regulator/arizona-micsupp.h | 21 ++++
9 files changed, 221 insertions(+), 122 deletions(-)
create mode 100644 include/linux/regulator/arizona-ldo1.h
create mode 100644 include/linux/regulator/arizona-micsupp.h
--
1.9.1
[toc] | [next] | [standalone]
| From | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> |
|---|---|
| Date | 2017-04-18 12:50 +0200 |
| Subject | [PATCH 1/7] regulator: arizona: Split KConfig options for LDO1 and MICSUPP regulators |
| Message-ID | <txyRQ-57S-33@gated-at.bofh.it> |
| In reply to | #1625243 |
The CS47L24 Arizona codec and most Madera codecs do not have a LDO1 regulator. Split the LDO1 and MICSUPP regulators into separate KConfig options so the LDO1 is only built into the kernel if needed. Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com> --- drivers/regulator/Kconfig | 14 +++++++++++--- drivers/regulator/Makefile | 3 ++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 290eeb8..8647538 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -125,12 +125,20 @@ config REGULATOR_AB8500 This driver supports the regulators found on the ST-Ericsson mixed signal AB8500 PMIC -config REGULATOR_ARIZONA - tristate "Wolfson Arizona class devices" +config REGULATOR_ARIZONA_LDO1 + tristate "Wolfson Arizona class devices LDO1" depends on MFD_ARIZONA depends on SND_SOC help - Support for the regulators found on Wolfson Arizona class + Support for the LDO1 regulators found on Wolfson Arizona class + devices. + +config REGULATOR_ARIZONA_MICSUPP + tristate "Wolfson Arizona class devices MICSUPP" + depends on MFD_ARIZONA + depends on SND_SOC + help + Support for the MICSUPP regulators found on Wolfson Arizona class devices. config REGULATOR_AS3711 diff --git a/drivers/regulator/Makefile b/drivers/regulator/Makefile index bf5ed7a..8a439a2 100644 --- a/drivers/regulator/Makefile +++ b/drivers/regulator/Makefile @@ -19,7 +19,8 @@ obj-$(CONFIG_REGULATOR_ACT8865) += act8865-regulator.o obj-$(CONFIG_REGULATOR_ACT8945A) += act8945a-regulator.o obj-$(CONFIG_REGULATOR_AD5398) += ad5398.o obj-$(CONFIG_REGULATOR_ANATOP) += anatop-regulator.o -obj-$(CONFIG_REGULATOR_ARIZONA) += arizona-micsupp.o arizona-ldo1.o +obj-$(CONFIG_REGULATOR_ARIZONA_LDO1) += arizona-ldo1.o +obj-$(CONFIG_REGULATOR_ARIZONA_MICSUPP) += arizona-micsupp.o obj-$(CONFIG_REGULATOR_AS3711) += as3711-regulator.o obj-$(CONFIG_REGULATOR_AS3722) += as3722-regulator.o obj-$(CONFIG_REGULATOR_AXP20X) += axp20x-regulator.o -- 1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Date | 2017-04-18 22:00 +0200 |
| Subject | Re: [PATCH 0/7] regulator: arizona: Prepare for sharing with Madera codecs |
| Message-ID | <txHs8-1Kl-55@gated-at.bofh.it> |
| In reply to | #1625243 |
[Multipart message — attachments visible in raw view] — view raw
On Tue, Apr 18, 2017 at 11:43:46AM +0100, Richard Fitzgerald wrote: > These patches make various changes to the Arizona regulators so that they > can be re-used for the Cirrus Madera codecs: This all looks good to me but needs review from Lee for the MFD overlap.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web