[PATCH v2 3/4] regulator: bcm590xx: add support for regulators on secondary I2C slave

2014-04-23 Thread Matt Porter
The bcm590xx MFD driver now exposes a secondary regmap descriptor making the registers for regulators on the secondary I2C slave address available. Add support for GPLDO1-6 and VBUS regulators found within this register range. Signed-off-by: Matt Porter mpor...@linaro.org Acked-by: Mark Brown

[PATCH v2 2/4] mfd: bcm590xx: add support for secondary I2C slave address

2014-04-23 Thread Matt Porter
this secondary i2c slave address space. Signed-off-by: Matt Porter mpor...@linaro.org --- drivers/mfd/bcm590xx.c | 60 +--- include/linux/mfd/bcm590xx.h | 9 --- 2 files changed, 52 insertions(+), 17 deletions(-) diff --git a/drivers/mfd/bcm590xx.c b

[PATCH v2 1/4] mfd: bcm590xx: update binding with additional BCM59056 regulators

2014-04-23 Thread Matt Porter
The BCM59056 supports GPLDO1-6 and VBUS regulators in a secondary I2C slave address space. Add these regulators to the list of valid regulator node names for BCM59056. Signed-off-by: Matt Porter mpor...@linaro.org --- Documentation/devicetree/bindings/mfd/bcm590xx.txt | 4 +++- 1 file changed, 3

[PATCH v2 0/4] Support additional regulators on BCM590xx

2014-04-23 Thread Matt Porter
via a secondary I2C slave address. The MFD driver exposes an additional regmap descriptor for the additional address space and the regulator implements support for GPLDO1-6 and VBUS regulators. Matt Porter (4): mfd: bcm590xx: update binding with additional BCM59056 regulators mfd: bcm590xx: add

Re: [PATCH 2/4] mfd: bcm590xx: add support for second i2c slave address space

2014-04-17 Thread Matt Porter
On Wed, Apr 16, 2014 at 12:06:03PM +0100, Lee Jones wrote: > On Mon, 14 Apr 2014, Matt Porter wrote: > > > BCM590xx utilizes a second i2c slave address to access additional > > s/i2c/I2C > > > register space. Add support for the second address space by > >

Re: [PATCH 2/4] mfd: bcm590xx: add support for second i2c slave address space

2014-04-17 Thread Matt Porter
On Thu, Apr 17, 2014 at 07:57:53AM +0100, Lee Jones wrote: > > > s/regmap/Regmap > > > > It's consistently written regmap in all the documentation and so on :) > > Furry muff; but the comments still stand for the acronyms. > > > > addmap{0,1} doesn't quite sit right with me. > > > > > REVISIT:

Re: [PATCH 2/4] mfd: bcm590xx: add support for second i2c slave address space

2014-04-17 Thread Matt Porter
On Thu, Apr 17, 2014 at 07:57:53AM +0100, Lee Jones wrote: s/regmap/Regmap It's consistently written regmap in all the documentation and so on :) Furry muff; but the comments still stand for the acronyms. addmap{0,1} doesn't quite sit right with me. REVISIT: Ah, it's

Re: [PATCH 2/4] mfd: bcm590xx: add support for second i2c slave address space

2014-04-17 Thread Matt Porter
On Wed, Apr 16, 2014 at 12:06:03PM +0100, Lee Jones wrote: On Mon, 14 Apr 2014, Matt Porter wrote: BCM590xx utilizes a second i2c slave address to access additional s/i2c/I2C register space. Add support for the second address space by instantiated a dummy i2c device

[PATCH 2/4] mfd: bcm590xx: add support for second i2c slave address space

2014-04-14 Thread Matt Porter
slave address space. Signed-off-by: Matt Porter --- drivers/mfd/bcm590xx.c | 60 +--- include/linux/mfd/bcm590xx.h | 9 --- 2 files changed, 52 insertions(+), 17 deletions(-) diff --git a/drivers/mfd/bcm590xx.c b/drivers/mfd/bcm590xx.c index

[PATCH 0/4] Support additional regulators on BCM590xx

2014-04-14 Thread Matt Porter
regulators. Matt Porter (4): mfd: bcm590xx: update binding with additional BCM59056 regulators mfd: bcm590xx: add support for second i2c slave address space regulator: bcm590xx: add support for regulators on secondary i2c slave ARM: dts: bcm590xx: add support for GPLDO and VBUS regulators

[PATCH 1/4] mfd: bcm590xx: update binding with additional BCM59056 regulators

2014-04-14 Thread Matt Porter
The BCM59056 supports GPLDO1-6 and VBUS regulators in a secondary I2C slave address space. Add these regulators to the list of valid regulator node names for BCM59056. Signed-off-by: Matt Porter --- Documentation/devicetree/bindings/mfd/bcm590xx.txt | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH 4/4] ARM: dts: bcm590xx: add support for GPLDO and VBUS regulators

2014-04-14 Thread Matt Porter
Adds additional nodes to support GPLDO1-6 and VBUS regulators which are not supported in the bcm590xx regulator driver. Signed-off-by: Matt Porter --- arch/arm/boot/dts/bcm59056.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/bcm59056.dtsi b

[PATCH 3/4] regulator: bcm590xx: add support for regulators on secondary i2c slave

2014-04-14 Thread Matt Porter
The bcm590xx mfd driver now exposes a second regmap descriptor making the registers for regulators on the secondary i2c slave address available. Add support for GPLDO1-6 and VBUS regulators found within this register range. Signed-off-by: Matt Porter --- drivers/regulator/bcm590xx-regulator.c

[PATCH 3/4] regulator: bcm590xx: add support for regulators on secondary i2c slave

2014-04-14 Thread Matt Porter
The bcm590xx mfd driver now exposes a second regmap descriptor making the registers for regulators on the secondary i2c slave address available. Add support for GPLDO1-6 and VBUS regulators found within this register range. Signed-off-by: Matt Porter mpor...@linaro.org --- drivers/regulator

[PATCH 4/4] ARM: dts: bcm590xx: add support for GPLDO and VBUS regulators

2014-04-14 Thread Matt Porter
Adds additional nodes to support GPLDO1-6 and VBUS regulators which are not supported in the bcm590xx regulator driver. Signed-off-by: Matt Porter mpor...@linaro.org --- arch/arm/boot/dts/bcm59056.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 1/4] mfd: bcm590xx: update binding with additional BCM59056 regulators

2014-04-14 Thread Matt Porter
The BCM59056 supports GPLDO1-6 and VBUS regulators in a secondary I2C slave address space. Add these regulators to the list of valid regulator node names for BCM59056. Signed-off-by: Matt Porter mpor...@linaro.org --- Documentation/devicetree/bindings/mfd/bcm590xx.txt | 4 +++- 1 file changed, 3

[PATCH 0/4] Support additional regulators on BCM590xx

2014-04-14 Thread Matt Porter
regulators. Matt Porter (4): mfd: bcm590xx: update binding with additional BCM59056 regulators mfd: bcm590xx: add support for second i2c slave address space regulator: bcm590xx: add support for regulators on secondary i2c slave ARM: dts: bcm590xx: add support for GPLDO and VBUS regulators

[PATCH 2/4] mfd: bcm590xx: add support for second i2c slave address space

2014-04-14 Thread Matt Porter
slave address space. Signed-off-by: Matt Porter mpor...@linaro.org --- drivers/mfd/bcm590xx.c | 60 +--- include/linux/mfd/bcm590xx.h | 9 --- 2 files changed, 52 insertions(+), 17 deletions(-) diff --git a/drivers/mfd/bcm590xx.c b/drivers/mfd

Re: [PATCH] regulator: bcm590xx: Set n_voltages for linear reg

2014-04-10 Thread Matt Porter
On Thu, Apr 10, 2014 at 01:04:00PM -0700, Tim Kryger wrote: > Fix the macro used to define linear range regulators to include the > number of voltages. > > Signed-off-by: Tim Kryger Looks good. Acked-by: Matt Porter Mark: will you take this for 3.15 fixes? -Matt > --- >

[PATCH] hwrng: bcm2835: fix oops when rng h/w is accessed during registration

2014-04-10 Thread Matt Porter
led and so the bcm2835_rng_read() fails. Fix this by making the warmup/enable writes before registering the RNG source with the hwrng core. Signed-off-by: Matt Porter --- drivers/char/hw_random/bcm2835-rng.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/char

Re: [PATCH v3 1/3] pinctrl: Rename Broadcom Capri pinctrl driver

2014-04-10 Thread Matt Porter
On Thu, Apr 10, 2014 at 07:41:20PM +0200, Linus Walleij wrote: > On Thu, Apr 10, 2014 at 6:56 PM, Matt Porter wrote: > > On Thu, Apr 10, 2014 at 06:51:12PM +0200, Linus Walleij wrote: > >> On Thu, Apr 10, 2014 at 6:49 PM, Linus Walleij > >> wrote: > >> > O

Re: [PATCH v3 2/3] Update bcm_defconfig with new pinctrl CONFIG

2014-04-10 Thread Matt Porter
; > Signed-off-by: Sherman Yin > Reviewed-by: Matt Porter > Acked-by: Linus Walleij Acked-by: Matt Porter > --- > arch/arm/configs/bcm_defconfig |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/configs/bcm_defconfig b/arch/arm/configs/bcm_de

Re: [PATCH v3 1/3] pinctrl: Rename Broadcom Capri pinctrl driver

2014-04-10 Thread Matt Porter
M28145 > > and BCM28155 SoCs. > > > > Signed-off-by: Sherman Yin > > Reviewed-by: Matt Porter > > Acked-by: Linus Walleij > > --- > > drivers/pinctrl/Kconfig|8 +- > > drivers/pinctrl/Makefile |

Re: [PATCH v3 1/3] pinctrl: Rename Broadcom Capri pinctrl driver

2014-04-10 Thread Matt Porter
cm11351.txt > >> > >> This driver supports pinctrl on BCM11130, BCM11140, BCM11351, BCM28145 > >> and BCM28155 SoCs. > >> > >> Signed-off-by: Sherman Yin > >> Reviewed-by: Matt Porter > >> Acked-by: Linus Walleij > >> --- > &

Re: [PATCH v3 1/3] pinctrl: Rename Broadcom Capri pinctrl driver

2014-04-10 Thread Matt Porter
, BCM11351, BCM28145 and BCM28155 SoCs. Signed-off-by: Sherman Yin s...@broadcom.com Reviewed-by: Matt Porter mpor...@linaro.org Acked-by: Linus Walleij linus.wall...@linaro.org --- drivers/pinctrl/Kconfig|8 +- drivers/pinctrl/Makefile

Re: [PATCH v3 1/3] pinctrl: Rename Broadcom Capri pinctrl driver

2014-04-10 Thread Matt Porter
Reviewed-by: Matt Porter mpor...@linaro.org Acked-by: Linus Walleij linus.wall...@linaro.org --- drivers/pinctrl/Kconfig|8 +- drivers/pinctrl/Makefile |2 +- .../{pinctrl-capri.c = pinctrl-bcm281xx.c}| 1519

Re: [PATCH v3 2/3] Update bcm_defconfig with new pinctrl CONFIG

2014-04-10 Thread Matt Porter
s...@broadcom.com Reviewed-by: Matt Porter mpor...@linaro.org Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Matt Porter mpor...@linaro.org --- arch/arm/configs/bcm_defconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/configs/bcm_defconfig b

Re: [PATCH v3 1/3] pinctrl: Rename Broadcom Capri pinctrl driver

2014-04-10 Thread Matt Porter
On Thu, Apr 10, 2014 at 07:41:20PM +0200, Linus Walleij wrote: On Thu, Apr 10, 2014 at 6:56 PM, Matt Porter matt.por...@linaro.org wrote: On Thu, Apr 10, 2014 at 06:51:12PM +0200, Linus Walleij wrote: On Thu, Apr 10, 2014 at 6:49 PM, Linus Walleij linus.wall...@linaro.org wrote: On Thu

[PATCH] hwrng: bcm2835: fix oops when rng h/w is accessed during registration

2014-04-10 Thread Matt Porter
the bcm2835_rng_read() fails. Fix this by making the warmup/enable writes before registering the RNG source with the hwrng core. Signed-off-by: Matt Porter mpor...@linaro.org --- drivers/char/hw_random/bcm2835-rng.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/char

Re: [PATCH] regulator: bcm590xx: Set n_voltages for linear reg

2014-04-10 Thread Matt Porter
On Thu, Apr 10, 2014 at 01:04:00PM -0700, Tim Kryger wrote: Fix the macro used to define linear range regulators to include the number of voltages. Signed-off-by: Tim Kryger tim.kry...@linaro.org Looks good. Acked-by: Matt Porter mpor...@linaro.org Mark: will you take this for 3.15 fixes

Re: [PATCH 3/3] regulator: bcm590xx: Use array to save desc and *info

2014-03-20 Thread Matt Porter
On Fri, Mar 14, 2014 at 10:00:28AM +0800, Axel Lin wrote: > BCM590XX_NUM_REGS is known in compile time. > Use array to save desc and *info makes the code simpler. > > Signed-off-by: Axel Lin Well, ok. It was coded for dynamic allocation because I'm starting to work on BCM59054 support, which is

Re: [PATCH 2/3] regulator: bcm590xx: Remove **rdev from struct bcm590xx_reg

2014-03-20 Thread Matt Porter
) Looks good, thanks for catching this. Acked-by: Matt Porter > > diff --git a/drivers/regulator/bcm590xx-regulator.c > b/drivers/regulator/bcm590xx-regulator.c > index d12d6d6..ab08ca7 100644 > --- a/drivers/regulator/bcm590xx-regulator.c > +++ b/drivers/regulator/bcm590xx-r

Re: [PATCH 2/3] regulator: bcm590xx: Remove **rdev from struct bcm590xx_reg

2014-03-20 Thread Matt Porter
, thanks for catching this. Acked-by: Matt Porter mpor...@linaro.org diff --git a/drivers/regulator/bcm590xx-regulator.c b/drivers/regulator/bcm590xx-regulator.c index d12d6d6..ab08ca7 100644 --- a/drivers/regulator/bcm590xx-regulator.c +++ b/drivers/regulator/bcm590xx-regulator.c

Re: [PATCH 3/3] regulator: bcm590xx: Use array to save desc and *info

2014-03-20 Thread Matt Porter
On Fri, Mar 14, 2014 at 10:00:28AM +0800, Axel Lin wrote: BCM590XX_NUM_REGS is known in compile time. Use array to save desc and *info makes the code simpler. Signed-off-by: Axel Lin axel@ingics.com Well, ok. It was coded for dynamic allocation because I'm starting to work on BCM59054

Re: [PATCH] ARM: dts: bcm28155-ap: leave camldo1 on to fix reboot

2014-03-14 Thread Matt Porter
On Wed, Mar 12, 2014 at 09:14:39AM -0400, Matt Porter wrote: > The BCM28155-AP board has a bootloader that expects the camldo1 > regulator to be enabled on entry. Currently, the camldo1 regulator > is disabled when no longer in use as is the case during a reboot / > warm reset.

Re: [PATCH v5 5/5] ARM: dts: add bcm590xx pmu support and enable for bcm28155-ap

2014-03-14 Thread Matt Porter
On Wed, Mar 12, 2014 at 10:07:17AM -0400, Matt Porter wrote: > Add a dtsi to support the BCM590xx PMUs used by the BCM281xx family > of SoCs. Enable regulators for use with the dwc2 and sdhci on > bcm28155-ap. > > Signed-off-by: Tim Kryger > Signed-off-by: Matt Porter >

Re: [PATCH v2 0/3] ARM: bcm21664: Add initial support.

2014-03-14 Thread Matt Porter
On Thu, Mar 06, 2014 at 05:18:11PM +0800, Markus Mayer wrote: > This series adds initial support for the Broadcom BCM21664 mobile SoC. > > The series depends on the series "ARM: bcm281xx: Consolidate code": > https://lkml.org/lkml/2014/2/25/548 > > Changes since v1: > > - Fixed typo

Re: [PATCH v3 0/5] Add Broadcom Kona PWM Support

2014-03-14 Thread Matt Porter
On Wed, Mar 12, 2014 at 01:15:41PM -0700, Tim Kryger wrote: > This series introduces the driver for the Kona PWM controller found in > Broadcom mobile SoCs like bcm281xx and updates the device tree and the > defconfig to enable use of this hardware on the bcm28155 AP board. > > Changes since v2:

Re: [PATCH v3 0/5] Add Broadcom Kona PWM Support

2014-03-14 Thread Matt Porter
On Wed, Mar 12, 2014 at 01:15:41PM -0700, Tim Kryger wrote: This series introduces the driver for the Kona PWM controller found in Broadcom mobile SoCs like bcm281xx and updates the device tree and the defconfig to enable use of this hardware on the bcm28155 AP board. Changes since v2: -

Re: [PATCH v2 0/3] ARM: bcm21664: Add initial support.

2014-03-14 Thread Matt Porter
On Thu, Mar 06, 2014 at 05:18:11PM +0800, Markus Mayer wrote: This series adds initial support for the Broadcom BCM21664 mobile SoC. The series depends on the series ARM: bcm281xx: Consolidate code: https://lkml.org/lkml/2014/2/25/548 Changes since v1: - Fixed typo (21644 - 21664 in

Re: [PATCH v5 5/5] ARM: dts: add bcm590xx pmu support and enable for bcm28155-ap

2014-03-14 Thread Matt Porter
On Wed, Mar 12, 2014 at 10:07:17AM -0400, Matt Porter wrote: Add a dtsi to support the BCM590xx PMUs used by the BCM281xx family of SoCs. Enable regulators for use with the dwc2 and sdhci on bcm28155-ap. Signed-off-by: Tim Kryger tim.kry...@linaro.org Signed-off-by: Matt Porter mpor

Re: [PATCH] ARM: dts: bcm28155-ap: leave camldo1 on to fix reboot

2014-03-14 Thread Matt Porter
On Wed, Mar 12, 2014 at 09:14:39AM -0400, Matt Porter wrote: The BCM28155-AP board has a bootloader that expects the camldo1 regulator to be enabled on entry. Currently, the camldo1 regulator is disabled when no longer in use as is the case during a reboot / warm reset. This causes the early

[PATCH v5 3/5] regulator: add bcm590xx regulator driver

2014-03-12 Thread Matt Porter
Add a regulator driver for the BCM590xx PMU voltage regulators. The driver supports LDOs and DCDCs in normal mode only. There is no support for low-power mode or power sequencing. Signed-off-by: Matt Porter Reviewed-by: Tim Kryger Reviewed-by: Markus Mayer --- drivers/regulator/Kconfig

[PATCH v5 2/5] mfd: add bcm590xx pmu driver

2014-03-12 Thread Matt Porter
Add a driver for the BCM590xx PMU multi-function devices. The driver initially supports regmap initialization and instantiation of the voltage regulator device function of the PMU. Signed-off-by: Matt Porter Reviewed-by: Tim Kryger Reviewed-by: Markus Mayer --- drivers/mfd/Kconfig

[PATCH v5 4/5] ARM: configs: bcm_defconfig: enable bcm590xx regulator support

2014-03-12 Thread Matt Porter
Enable BCM590xx MFD and regulator drivers to manage voltage regulators on BCM281xx platforms. Signed-off-by: Tim Kryger Signed-off-by: Matt Porter Reviewed-by: Markus Mayer --- arch/arm/configs/bcm_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/configs

[PATCH v5 1/5] mfd: add bcm590xx pmu DT binding

2014-03-12 Thread Matt Porter
Add a DT binding for the BCM590xx PMUs. The binding inherits from the generic regulator bindings. Signed-off-by: Matt Porter Reviewed-by: Tim Kryger Reviewed-by: Markus Mayer --- Documentation/devicetree/bindings/mfd/bcm590xx.txt | 37 ++ 1 file changed, 37 insertions

[PATCH v5 5/5] ARM: dts: add bcm590xx pmu support and enable for bcm28155-ap

2014-03-12 Thread Matt Porter
Add a dtsi to support the BCM590xx PMUs used by the BCM281xx family of SoCs. Enable regulators for use with the dwc2 and sdhci on bcm28155-ap. Signed-off-by: Tim Kryger Signed-off-by: Matt Porter Reviewed-by: Markus Mayer --- arch/arm/boot/dts/bcm28155-ap.dts | 47

[PATCH v5 0/5] BCM59056 PMU regulator support

2014-03-12 Thread Matt Porter
unused regulator get/set mode ops - remove unneeded regulator NULL constraint check - regulators property is optional, allow the driver to probe when it is missing - move of_node presence check into bcm590xx_parse_dt_reg_data() Matt Porter (5): mfd: add bcm590xx

Re: [PATCH v4 1/5] mfd: add bcm590xx pmu DT binding

2014-03-12 Thread Matt Porter
On Wed, Mar 12, 2014 at 01:33:39PM +, Mark Rutland wrote: > On Tue, Mar 11, 2014 at 11:33:53PM +0000, Matt Porter wrote: > > Add a DT binding for the BCM590xx PMUs. The binding inherits from > > the generic regulator bindings. > > > > Signed-off-by: Matt Porter

[PATCH] ARM: dts: bcm28155-ap: leave camldo1 on to fix reboot

2014-03-12 Thread Matt Porter
-on to the camldo1 constraint to fix reboot. Reported-by: Alex Elder Signed-off-by: Matt Porter --- [Depends on BCM59056 regulator series dts support: http://www.gossamer-threads.com/lists/linux/kernel/1885489] arch/arm/boot/dts/bcm28155-ap.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm

[PATCH] ARM: dts: bcm28155-ap: leave camldo1 on to fix reboot

2014-03-12 Thread Matt Porter
-on to the camldo1 constraint to fix reboot. Reported-by: Alex Elder el...@linaro.org Signed-off-by: Matt Porter mpor...@linaro.org --- [Depends on BCM59056 regulator series dts support: http://www.gossamer-threads.com/lists/linux/kernel/1885489] arch/arm/boot/dts/bcm28155-ap.dts | 1 + 1 file changed, 1

Re: [PATCH v4 1/5] mfd: add bcm590xx pmu DT binding

2014-03-12 Thread Matt Porter
On Wed, Mar 12, 2014 at 01:33:39PM +, Mark Rutland wrote: On Tue, Mar 11, 2014 at 11:33:53PM +, Matt Porter wrote: Add a DT binding for the BCM590xx PMUs. The binding inherits from the generic regulator bindings. Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Tim

[PATCH v5 0/5] BCM59056 PMU regulator support

2014-03-12 Thread Matt Porter
unused regulator get/set mode ops - remove unneeded regulator NULL constraint check - regulators property is optional, allow the driver to probe when it is missing - move of_node presence check into bcm590xx_parse_dt_reg_data() Matt Porter (5): mfd: add bcm590xx

[PATCH v5 5/5] ARM: dts: add bcm590xx pmu support and enable for bcm28155-ap

2014-03-12 Thread Matt Porter
Add a dtsi to support the BCM590xx PMUs used by the BCM281xx family of SoCs. Enable regulators for use with the dwc2 and sdhci on bcm28155-ap. Signed-off-by: Tim Kryger tim.kry...@linaro.org Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org --- arch

[PATCH v5 4/5] ARM: configs: bcm_defconfig: enable bcm590xx regulator support

2014-03-12 Thread Matt Porter
Enable BCM590xx MFD and regulator drivers to manage voltage regulators on BCM281xx platforms. Signed-off-by: Tim Kryger tim.kry...@linaro.org Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org --- arch/arm/configs/bcm_defconfig | 7 +++ 1 file

[PATCH v5 1/5] mfd: add bcm590xx pmu DT binding

2014-03-12 Thread Matt Porter
Add a DT binding for the BCM590xx PMUs. The binding inherits from the generic regulator bindings. Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org --- Documentation/devicetree/bindings/mfd/bcm590xx.txt

[PATCH v5 2/5] mfd: add bcm590xx pmu driver

2014-03-12 Thread Matt Porter
Add a driver for the BCM590xx PMU multi-function devices. The driver initially supports regmap initialization and instantiation of the voltage regulator device function of the PMU. Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus

[PATCH v5 3/5] regulator: add bcm590xx regulator driver

2014-03-12 Thread Matt Porter
Add a regulator driver for the BCM590xx PMU voltage regulators. The driver supports LDOs and DCDCs in normal mode only. There is no support for low-power mode or power sequencing. Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus Mayer

Re: [PATCH v3 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Matt Porter
the PMU. > > > > > > > > Signed-off-by: Matt Porter > > > > Reviewed-by: Tim Kryger > > > > Reviewed-by: Markus Mayer > > > > --- > > > > drivers/mfd/Kconfig | 8 > > > > drivers/mfd/Makefile

[PATCH v4 1/5] mfd: add bcm590xx pmu DT binding

2014-03-11 Thread Matt Porter
Add a DT binding for the BCM590xx PMUs. The binding inherits from the generic regulator bindings. Signed-off-by: Matt Porter Reviewed-by: Tim Kryger Reviewed-by: Markus Mayer --- Documentation/devicetree/bindings/mfd/bcm590xx.txt | 41 ++ 1 file changed, 41 insertions

[PATCH v4 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Matt Porter
Add a driver for the BCM590xx PMU multi-function devices. The driver initially supports regmap initialization and instantiation of the voltage regulator device function of the PMU. Signed-off-by: Matt Porter Reviewed-by: Tim Kryger Reviewed-by: Markus Mayer --- drivers/mfd/Kconfig

[PATCH v4 5/5] ARM: dts: add bcm590xx pmu support and enable for bcm28155-ap

2014-03-11 Thread Matt Porter
Add a dtsi to support the BCM590xx PMUs used by the BCM281xx family of SoCs. Enable regulators for use with the dwc2 and sdhci on bcm28155-ap. Signed-off-by: Tim Kryger Signed-off-by: Matt Porter Reviewed-by: Markus Mayer --- arch/arm/boot/dts/bcm28155-ap.dts | 47

[PATCH v4 4/5] ARM: configs: bcm_defconfig: enable bcm590xx regulator support

2014-03-11 Thread Matt Porter
Enable BCM590xx MFD and regulator drivers to manage voltage regulators on BCM281xx platforms. Signed-off-by: Tim Kryger Signed-off-by: Matt Porter Reviewed-by: Markus Mayer --- arch/arm/configs/bcm_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/configs

[PATCH v4 3/5] regulator: add bcm590xx regulator driver

2014-03-11 Thread Matt Porter
Add a regulator driver for the BCM590xx PMU voltage regulators. The driver supports LDOs and DCDCs in normal mode only. There is no support for low-power mode or power sequencing. Signed-off-by: Matt Porter Reviewed-by: Tim Kryger Reviewed-by: Markus Mayer --- drivers/regulator/Kconfig

[PATCH v4 0/5] BCM59056 PMU regulator support

2014-03-11 Thread Matt Porter
into bcm590xx_parse_dt_reg_data() Matt Porter (5): mfd: add bcm590xx pmu DT binding mfd: add bcm590xx pmu driver regulator: add bcm590xx regulator driver ARM: configs: bcm_defconfig: enable bcm590xx regulator support ARM: dts: add bcm590xx pmu support and enable for bcm28155-ap Documentation/devicetree/bindings/mfd

Re: [PATCH v3 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Matt Porter
On Wed, Mar 12, 2014 at 12:40:30AM +, Mark Brown wrote: > On Tue, Mar 11, 2014 at 07:25:45PM -0400, Matt Porter wrote: > > On Tue, Mar 11, 2014 at 10:45:17PM +, Lee Jones wrote: > > > > Are there any inter-patch dependencies in the set? If so, we should > >

Re: [PATCH v3 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Matt Porter
On Tue, Mar 11, 2014 at 04:08:37PM +, Lee Jones wrote: > > Add a driver for the BCM590xx PMU multi-function devices. The driver > > initially supports regmap initialization and instantiation of the > > voltage regulator device function of the PMU. > > > &

Re: [PATCH v2 5/5] ARM: dts: add bcm590xx pmu support and enable for bcm28155-ap

2014-03-11 Thread Matt Porter
On Wed, Feb 19, 2014 at 01:44:58PM +0900, Mark Brown wrote: > On Tue, Feb 18, 2014 at 06:17:12PM -0500, Matt Porter wrote: > > > + csr_reg: regulator@13 { > > + reg = <13>; > > +

Re: [PATCH v2 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Matt Porter
On Wed, Feb 19, 2014 at 01:46:05PM +0900, Mark Brown wrote: > On Tue, Feb 18, 2014 at 06:17:09PM -0500, Matt Porter wrote: > > > +config MFD_BCM590XX > > + bool "Broadcom BCM590xx PMUs" > > + select MFD_CORE > > + select REGMAP_I2C > > + d

[PATCH v3 0/5] BCM59056 PMU regulator support

2014-03-11 Thread Matt Porter
unneeded regulator NULL constraint check - regulators property is optional, allow the driver to probe when it is missing - move of_node presence check into bcm590xx_parse_dt_reg_data() Matt Porter (5): mfd: add bcm590xx pmu DT binding mfd: add bcm590xx pmu driver

Re: [PATCH v2 1/5] mfd: add bcm590xx pmu DT binding

2014-03-11 Thread Matt Porter
On Wed, Feb 19, 2014 at 01:47:26PM +0900, Mark Brown wrote: > On Tue, Feb 18, 2014 at 06:17:08PM -0500, Matt Porter wrote: > > > + > > + rfldo_reg: regulator@0 { > > + reg = <0>; > > What do th

[PATCH v3 1/5] mfd: add bcm590xx pmu DT binding

2014-03-11 Thread Matt Porter
Add a DT binding for the BCM590xx PMUs. The binding inherits from the generic regulator bindings. Signed-off-by: Matt Porter Reviewed-by: Tim Kryger Reviewed-by: Markus Mayer --- Documentation/devicetree/bindings/mfd/bcm590xx.txt | 41 ++ 1 file changed, 41 insertions

[PATCH v3 5/5] ARM: dts: add bcm590xx pmu support and enable for bcm28155-ap

2014-03-11 Thread Matt Porter
Add a dtsi to support the BCM590xx PMUs used by the BCM281xx family of SoCs. Enable regulators for use with the dwc2 and sdhci on bcm28155-ap. Signed-off-by: Tim Kryger Signed-off-by: Matt Porter Reviewed-by: Markus Mayer --- arch/arm/boot/dts/bcm28155-ap.dts | 47

Re: [PATCH v2 3/5] regulator: add bcm590xx regulator driver

2014-03-11 Thread Matt Porter
On Wed, Feb 19, 2014 at 01:52:32PM +0900, Mark Brown wrote: > On Tue, Feb 18, 2014 at 06:17:10PM -0500, Matt Porter wrote: > > > +static struct of_device_id bcm590xx_of_match[] = { > > + { .compatible = "brcm,bcm59056-regs", }, > > + { } > > +}; >

[PATCH v3 4/5] ARM: configs: bcm_defconfig: enable bcm590xx regulator support

2014-03-11 Thread Matt Porter
Enable BCM590xx MFD and regulator drivers to manage voltage regulators on BCM281xx platforms. Signed-off-by: Tim Kryger Signed-off-by: Matt Porter Reviewed-by: Markus Mayer --- arch/arm/configs/bcm_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/configs

[PATCH v3 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Matt Porter
Add a driver for the BCM590xx PMU multi-function devices. The driver initially supports regmap initialization and instantiation of the voltage regulator device function of the PMU. Signed-off-by: Matt Porter Reviewed-by: Tim Kryger Reviewed-by: Markus Mayer --- drivers/mfd/Kconfig

[PATCH v3 3/5] regulator: add bcm590xx regulator driver

2014-03-11 Thread Matt Porter
Add a regulator driver for the BCM590xx PMU voltage regulators. The driver supports LDOs and DCDCs in normal mode only. There is no support for low-power mode or power sequencing. Signed-off-by: Matt Porter Reviewed-by: Tim Kryger Reviewed-by: Markus Mayer --- drivers/regulator/Kconfig

[PATCH v3 3/5] regulator: add bcm590xx regulator driver

2014-03-11 Thread Matt Porter
Add a regulator driver for the BCM590xx PMU voltage regulators. The driver supports LDOs and DCDCs in normal mode only. There is no support for low-power mode or power sequencing. Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus Mayer

[PATCH v3 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Matt Porter
Add a driver for the BCM590xx PMU multi-function devices. The driver initially supports regmap initialization and instantiation of the voltage regulator device function of the PMU. Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus

[PATCH v3 4/5] ARM: configs: bcm_defconfig: enable bcm590xx regulator support

2014-03-11 Thread Matt Porter
Enable BCM590xx MFD and regulator drivers to manage voltage regulators on BCM281xx platforms. Signed-off-by: Tim Kryger tim.kry...@linaro.org Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org --- arch/arm/configs/bcm_defconfig | 7 +++ 1 file

Re: [PATCH v2 3/5] regulator: add bcm590xx regulator driver

2014-03-11 Thread Matt Porter
On Wed, Feb 19, 2014 at 01:52:32PM +0900, Mark Brown wrote: On Tue, Feb 18, 2014 at 06:17:10PM -0500, Matt Porter wrote: +static struct of_device_id bcm590xx_of_match[] = { + { .compatible = brcm,bcm59056-regs, }, + { } +}; This looks pretty much OK however I am in general

[PATCH v3 5/5] ARM: dts: add bcm590xx pmu support and enable for bcm28155-ap

2014-03-11 Thread Matt Porter
Add a dtsi to support the BCM590xx PMUs used by the BCM281xx family of SoCs. Enable regulators for use with the dwc2 and sdhci on bcm28155-ap. Signed-off-by: Tim Kryger tim.kry...@linaro.org Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org --- arch

Re: [PATCH v2 1/5] mfd: add bcm590xx pmu DT binding

2014-03-11 Thread Matt Porter
On Wed, Feb 19, 2014 at 01:47:26PM +0900, Mark Brown wrote: On Tue, Feb 18, 2014 at 06:17:08PM -0500, Matt Porter wrote: + + rfldo_reg: regulator@0 { + reg = 0; What do these reg values mean, they don't seem to be documented

[PATCH v3 1/5] mfd: add bcm590xx pmu DT binding

2014-03-11 Thread Matt Porter
Add a DT binding for the BCM590xx PMUs. The binding inherits from the generic regulator bindings. Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org --- Documentation/devicetree/bindings/mfd/bcm590xx.txt

[PATCH v3 0/5] BCM59056 PMU regulator support

2014-03-11 Thread Matt Porter
unneeded regulator NULL constraint check - regulators property is optional, allow the driver to probe when it is missing - move of_node presence check into bcm590xx_parse_dt_reg_data() Matt Porter (5): mfd: add bcm590xx pmu DT binding mfd: add bcm590xx pmu driver

Re: [PATCH v2 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Matt Porter
On Wed, Feb 19, 2014 at 01:46:05PM +0900, Mark Brown wrote: On Tue, Feb 18, 2014 at 06:17:09PM -0500, Matt Porter wrote: +config MFD_BCM590XX + bool Broadcom BCM590xx PMUs + select MFD_CORE + select REGMAP_I2C + depends on I2C=y + help + Support for the BCM590xx PMUs

Re: [PATCH v2 5/5] ARM: dts: add bcm590xx pmu support and enable for bcm28155-ap

2014-03-11 Thread Matt Porter
On Wed, Feb 19, 2014 at 01:44:58PM +0900, Mark Brown wrote: On Tue, Feb 18, 2014 at 06:17:12PM -0500, Matt Porter wrote: + csr_reg: regulator@13 { + reg = 13; + regulator-compatible = csr

Re: [PATCH v3 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Matt Porter
On Tue, Mar 11, 2014 at 04:08:37PM +, Lee Jones wrote: Add a driver for the BCM590xx PMU multi-function devices. The driver initially supports regmap initialization and instantiation of the voltage regulator device function of the PMU. Signed-off-by: Matt Porter mpor...@linaro.org

[PATCH v4 4/5] ARM: configs: bcm_defconfig: enable bcm590xx regulator support

2014-03-11 Thread Matt Porter
Enable BCM590xx MFD and regulator drivers to manage voltage regulators on BCM281xx platforms. Signed-off-by: Tim Kryger tim.kry...@linaro.org Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org --- arch/arm/configs/bcm_defconfig | 7 +++ 1 file

[PATCH v4 3/5] regulator: add bcm590xx regulator driver

2014-03-11 Thread Matt Porter
Add a regulator driver for the BCM590xx PMU voltage regulators. The driver supports LDOs and DCDCs in normal mode only. There is no support for low-power mode or power sequencing. Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus Mayer

Re: [PATCH v3 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Matt Porter
On Wed, Mar 12, 2014 at 12:40:30AM +, Mark Brown wrote: On Tue, Mar 11, 2014 at 07:25:45PM -0400, Matt Porter wrote: On Tue, Mar 11, 2014 at 10:45:17PM +, Lee Jones wrote: Are there any inter-patch dependencies in the set? If so, we should know about them so we can coordinate

Re: [PATCH v3 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Matt Porter
On Tue, Mar 11, 2014 at 10:45:17PM +, Lee Jones wrote: Add a driver for the BCM590xx PMU multi-function devices. The driver initially supports regmap initialization and instantiation of the voltage regulator device function of the PMU. Signed-off-by: Matt Porter mpor

[PATCH v4 1/5] mfd: add bcm590xx pmu DT binding

2014-03-11 Thread Matt Porter
Add a DT binding for the BCM590xx PMUs. The binding inherits from the generic regulator bindings. Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org --- Documentation/devicetree/bindings/mfd/bcm590xx.txt

[PATCH v4 2/5] mfd: add bcm590xx pmu driver

2014-03-11 Thread Matt Porter
Add a driver for the BCM590xx PMU multi-function devices. The driver initially supports regmap initialization and instantiation of the voltage regulator device function of the PMU. Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Markus

[PATCH v4 0/5] BCM59056 PMU regulator support

2014-03-11 Thread Matt Porter
into bcm590xx_parse_dt_reg_data() Matt Porter (5): mfd: add bcm590xx pmu DT binding mfd: add bcm590xx pmu driver regulator: add bcm590xx regulator driver ARM: configs: bcm_defconfig: enable bcm590xx regulator support ARM: dts: add bcm590xx pmu support and enable for bcm28155-ap Documentation/devicetree/bindings/mfd

[PATCH v4 5/5] ARM: dts: add bcm590xx pmu support and enable for bcm28155-ap

2014-03-11 Thread Matt Porter
Add a dtsi to support the BCM590xx PMUs used by the BCM281xx family of SoCs. Enable regulators for use with the dwc2 and sdhci on bcm28155-ap. Signed-off-by: Tim Kryger tim.kry...@linaro.org Signed-off-by: Matt Porter mpor...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org --- arch

Re: [PATCH] mach-bcm: bcm281xx: symbol cleanup

2014-03-06 Thread Matt Porter
On Tue, Feb 25, 2014 at 05:01:45PM -0600, Alex Elder wrote: > This patch renames a few symbols that needlessly used "11351" rather > than "281xx" in their names. > > Support for the bcm11351 board is being removed from the kernel, and > the family of boards is more properly referred to as

Re: [PATCH 0/4] ARM: bcm281xx: Consolidate code

2014-03-06 Thread Matt Porter
On Tue, Feb 25, 2014 at 02:17:42PM -0800, Markus Mayer wrote: > This series contains some code consolidation for the Broadcom BCM281xx > family of SoCs. > > - Move kona_l2_cache_init() so other platforms can reuse it > - Consolidate reboot code and move it to the board specific file > - Sort

Re: [PATCH 0/4] ARM: bcm281xx: Consolidate code

2014-03-06 Thread Matt Porter
On Tue, Feb 25, 2014 at 02:17:42PM -0800, Markus Mayer wrote: This series contains some code consolidation for the Broadcom BCM281xx family of SoCs. - Move kona_l2_cache_init() so other platforms can reuse it - Consolidate reboot code and move it to the board specific file - Sort header

Re: [PATCH] mach-bcm: bcm281xx: symbol cleanup

2014-03-06 Thread Matt Porter
On Tue, Feb 25, 2014 at 05:01:45PM -0600, Alex Elder wrote: This patch renames a few symbols that needlessly used 11351 rather than 281xx in their names. Support for the bcm11351 board is being removed from the kernel, and the family of boards is more properly referred to as bcm281xx.

<    1   2   3   4   5   6   7   8   9   10   >