[RESEND PATCH v3] rtc: ds1307: add trickle charger device tree binding

2014-09-08 Thread Matti Vaittinen
DS13XX devices have trickle chargers. Introduce a device tree binding for specifying the trickle charger configuration for ds1339. Signed-off-by: Matti Vaittinen matti.vaitti...@nsn.com --- .../devicetree/bindings/i2c/trivial-devices.txt| 1 - .../devicetree/bindings/rtc/dallas,ds1339.txt

Re: [PATCH] rtc: ds1307: add trickle charger device tree binding

2014-09-08 Thread Matti Vaittinen
assume yes. Mark. -- = Matti Vaittinen Senile SW Specialist FINLAND ~~ When things go utterly wrong vim users can always type :help! ~~ -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [RESEND PATCH v3] rtc: ds1307: add trickle charger device tree binding

2014-09-09 Thread Matti Vaittinen
On Mon, Sep 08, 2014 at 07:26:57AM -0400, ext Jason Cooper wrote: Matti, On Mon, Sep 08, 2014 at 10:32:24AM +0300, Matti Vaittinen wrote: --- Here. Otherwise, it'll get included in the commit message, which I don't think was your intention. Ok, thanks. .../devicetree/bindings/i2c

[PATCH v4 1/2] Documentation: dt-bindings: trickle charger dt binding document for ds1339

2014-09-09 Thread Matti Vaittinen
Documentation: dt-bindings: trickle charger dt binding document for ds1339 Some DS13XX devices have trickle chargers. Introduce a device tree binding for the resistor and diode configuration for enabling trickle charger. Signed-off-by: Matti Vaittinen matti.vaitti...@nsn.com --- Delta

[PATCH v4 2/2] rtc: ds1307: add trickle charger device tree binding.

2014-09-09 Thread Matti Vaittinen
worked on other allready supported chips. However I cannot check the resistor values for the other chips or test them. For other chips the driver code works as earlier Eg. it does not check the dt bindings at all. Signed-off-by: Matti Vaittinen matti.vaitti...@nsn.com --- drivers/rtc/rtc-ds1307.c

Re: [PATCH v4 2/2] rtc: ds1307: add trickle charger device tree binding.

2014-09-09 Thread Matti Vaittinen
On Tue, Sep 09, 2014 at 01:38:39PM +0300, Matti Vaittinen wrote: rtc: ds1307: add trickle charger device tree binding. Some DS13XX devices have trickle chargers. Introduce a device tree binding for specifying the trickle charger configuration for ds1339. Only ds1339 dt binding is supported

[PATCH] rtc: ds1307: add trickle charger device tree binding

2014-08-28 Thread Matti Vaittinen
Patch adding support for specifying trickle charger setup from device tree. Patch is based on linux-next tree. Some DS13XX devices have trickle chargers. Introduce a device tree binding for specifying the setup and register values. Signed-off-by: Matti Vaittinen matti.vaitti...@nsn.com

Re: [PATCH] rtc: ds1307: add trickle charger device tree binding

2014-08-29 Thread Matti Vaittinen
On Thu, Aug 28, 2014 at 01:59:15PM +0100, ext Mark Rutland wrote: On Thu, Aug 28, 2014 at 01:42:44PM +0100, Matti Vaittinen wrote: Patch adding support for specifying trickle charger setup from device tree. Patch is based on linux-next tree. Some DS13XX devices have trickle chargers

Re: [PATCH] rtc: ds1307: add trickle charger device tree binding

2014-08-29 Thread Matti Vaittinen
+0100, Guenter Roeck wrote: On Thu, Aug 28, 2014 at 01:59:15PM +0100, Mark Rutland wrote: On Thu, Aug 28, 2014 at 01:42:44PM +0100, Matti Vaittinen wrote: Patch adding support for specifying trickle charger setup from device tree. Patch is based on linux-next tree

[PATCH v2] rtc: ds1307: add trickle charger device tree binding

2014-08-29 Thread Matti Vaittinen
. Introduce a device tree binding for specifying the trickle charger setup value. Signed-off-by: Matti Vaittinen matti.vaitti...@nsn.com --- .../devicetree/bindings/i2c/trivial-devices.txt| 1 - .../devicetree/bindings/rtc/dallas,ds1339.txt | 24 ++ drivers/rtc/rtc

Re: [PATCH] rtc: ds1307: add trickle charger device tree binding

2014-08-29 Thread Matti Vaittinen
On Fri, Aug 29, 2014 at 11:40:02AM +0100, ext Mark Rutland wrote: On Fri, Aug 29, 2014 at 08:34:25AM +0100, Matti Vaittinen wrote: On Thu, Aug 28, 2014 at 10:40:34AM -0700, ext Guenter Roeck wrote: On Thu, Aug 28, 2014 at 01:28:42PM -0400, Jason Cooper wrote: On Thu, Aug 28, 2014 at 09

Re: [PATCH] rtc: ds1307: add trickle charger device tree binding

2014-08-29 Thread Matti Vaittinen
Matti Vaittinen -- = Matti Vaittinen Senile SW Specialist FINLAND ~~ When things go utterly wrong vim users can always type :help! ~~ -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

[PATCH v3] rtc: ds1307: add trickle charger device tree binding

2014-09-01 Thread Matti Vaittinen
devices have trickle chargers. Introduce a device tree binding for specifying the trickle charger configuration for ds1339. Note that the patch _only_ iplements device tree bindings to ds1339 chip because I only had access to that specific chip. Signed-off-by: Matti Vaittinen

Re: [PATCH v4 2/2] rtc: ds1307: add trickle charger device tree binding.

2014-09-09 Thread Matti Vaittinen
On Tue, Sep 09, 2014 at 01:38:39PM +0300, Matti Vaittinen wrote: + diode = of_property_read_bool(client-dev.of_node, diode-connected); Please ignore this patch. I've accidentally sent the wrong version! Sorry, I will send the correct one as soon as possible. Br. Matti -- To unsubscribe

[PATCH v5 1/2] Documentation: dt-bindings: trickle charger dt binding document for ds1339

2014-09-09 Thread Matti Vaittinen
Some DS13XX devices have trickle chargers. Introduce a device tree binding for the resistor and diode configuration for enabling trickle charger. Signed-off-by: Matti Vaittinen matti.vaitti...@nsn.com Acked-by: Jason Cooper ja...@lakedaemon.net --- Delta to v4 -This is the correct patch

[PATCH v5 2/2] rtc: ds1307: add trickle charger device tree binding.

2014-09-09 Thread Matti Vaittinen
cannot check the resistor values for the other chips or test them. For other chips the driver code works as earlier Eg. it does not check the dt bindings at all Signed-off-by: Matti Vaittinen matti.vaitti...@nsn.com --- Delta to v5 -Actually sent correct patch drivers/rtc/rtc-ds1307.c | 67

[PATCH 3/9] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-05-23 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC MFD. Signed-off-by: Matti Vaittinen <matti.vaitti...@fi.rohmeurope.com> --- .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 55 ++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bi

[PATCH 4/9] regulator: bd71837: Devicetree bindings for BD71837 regulators

2018-05-23 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC regulators. Signed-off-by: Matti Vaittinen <matti.vaitti...@fi.rohmeurope.com> --- .../bindings/regulator/rohm,bd71837-regulator.txt | 124 + 1 file changed, 124 insertions(+) create mode 100644 Documentation/devi

[PATCH 5/9] clk: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-05-23 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC clock output. Signed-off-by: Matti Vaittinen <matti.vaitti...@fi.rohmeurope.com> --- .../bindings/clock/rohm,bd71837-clock.txt | 37 ++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devi

[PATCH 9/9] regulator: bd71837: Build BD71837 regulator driver

2018-05-24 Thread Matti Vaittinen
Configurations and Makefile for BD71837 regulator driver Signed-off-by: Matti Vaittinen <matti.vaitti...@fi.rohmeurope.com> --- drivers/regulator/Kconfig | 11 +++ drivers/regulator/Makefile | 1 + 2 files changed, 12 insertions(+) diff --git a/drivers/regulator/Kconfig b/d

[PATCH 7/9] clk: bd71837: Build ROHM BD71837 PMIC clock driver

2018-05-24 Thread Matti Vaittinen
Configuration options and Makefile for BD71837 clock driver Signed-off-by: Matti Vaittinen <matti.vaitti...@fi.rohmeurope.com> --- drivers/clk/Kconfig | 9 + drivers/clk/Makefile | 1 + 2 files changed, 10 insertions(+) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig

[PATCH 1/9] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-05-23 Thread Matti Vaittinen
ROHM BD71837 PMIC MFD driver providing interrupts and support for two subsystems: - clk - Regulators Signed-off-by: Matti Vaittinen <matti.vaitti...@fi.rohmeurope.com> --- drivers/mfd/bd71837.c | 238 + include/linux/mfd/bd71837.h

[PATCH 0/9] mfd/regulator/clk: bd71837: ROHM BD71837 PMIC driver

2018-05-23 Thread Matti Vaittinen
and 7 LDOs. Patch 9: Kconfig and Makefiles for regulators This patch series is based on for-mfd-next --- Matti Vaittinen (9): mfd: bd71837: mfd driver for ROHM BD71837 PMIC mfd: bd71837: build BD71837 PMIC MFD driver mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC regulato

[PATCH 2/9] mfd: bd71837: build BD71837 PMIC MFD driver

2018-05-23 Thread Matti Vaittinen
Configuration options and Makefile for BD71837 PMIC MFD driver Signed-off-by: Matti Vaittinen <matti.vaitti...@fi.rohmeurope.com> --- drivers/mfd/Kconfig | 13 + drivers/mfd/Makefile | 1 + 2 files changed, 14 insertions(+) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/K

[PATCH 8/9] regulator: bd71837: BD71837 PMIC regulator driver

2018-05-24 Thread Matti Vaittinen
Support for controlling the 8 bucks and 7 LDOs the PMIC contains. Signed-off-by: Matti Vaittinen <matti.vaitti...@fi.rohmeurope.com> --- drivers/regulator/bd71837-regulator.c | 683 ++ 1 file changed, 683 insertions(+) create mode 100644 drivers/regulator/b

[PATCH 6/9] clk: bd71837: Add driver for BD71837 PMIC clock

2018-05-24 Thread Matti Vaittinen
Support BD71837 gateable 32768 Hz clock. Signed-off-by: Matti Vaittinen <matti.vaitti...@fi.rohmeurope.com> --- drivers/clk/clk-bd71837.c | 155 ++ 1 file changed, 155 insertions(+) create mode 100644 drivers/clk/clk-bd71837.c diff --git a/d

Re: [PATCH 8/9] regulator: bd71837: BD71837 PMIC regulator driver

2018-05-25 Thread Matti Vaittinen
On Fri, May 25, 2018 at 11:14:23AM +0100, Mark Brown wrote: > On Fri, May 25, 2018 at 10:22:53AM +0300, Matti Vaittinen wrote: > > On Thu, May 24, 2018 at 05:51:27PM +, Vaittinen, Matti wrote: > > > > > devm_regulator_regster() > > > > Makes se

Re: [PATCH 4/9] regulator: bd71837: Devicetree bindings for BD71837 regulators

2018-05-25 Thread Matti Vaittinen
On Fri, May 25, 2018 at 11:24:58AM +0100, Mark Brown wrote: > On Fri, May 25, 2018 at 08:54:30AM +0300, Matti Vaittinen wrote: > > On Thu, May 24, 2018 at 06:57:21PM +0100, Mark Brown wrote: > > > > You can look at the regulators node within the parent device, you kno

Re: [PATCH 8/9] regulator: bd71837: BD71837 PMIC regulator driver

2018-05-24 Thread Matti Vaittinen
ets removed > just because they changed the voltage. Instead implement a custom set > operation that returns an error if the user attempts to change the > voltage while the regualtor is enabled. Makes perfect sense. I will change the operation to this. Br, Matti Vaittinen

Re: [PATCH 4/9] regulator: bd71837: Devicetree bindings for BD71837 regulators

2018-05-24 Thread Matti Vaittinen
On Thu, May 24, 2018 at 06:57:21PM +0100, Mark Brown wrote: > On Thu, May 24, 2018 at 05:30:57PM +, Vaittinen, Matti wrote: > > > > On Thu, May 24, 2018 at 08:57:52AM +0300, Matti Vaittinen wrote: > > > > > > > +Required properties: > > > &

Re: [PATCH 8/9] regulator: bd71837: BD71837 PMIC regulator driver

2018-05-25 Thread Matti Vaittinen
On Thu, May 24, 2018 at 05:51:27PM +, Vaittinen, Matti wrote: > > From: Mark Brown [broo...@kernel.org] > > Sent: Thursday, May 24, 2018 5:14 PM > > On Thu, May 24, 2018 at 09:00:36AM +0300, Matti Vaittinen wrote: > > > + rde

Re: [PATCH v5 4/4] clk: bd71837: Add driver for BD71837 PMIC clock

2018-06-12 Thread Matti Vaittinen
Hello Stephen, Thanks again for the review. I'll do new patch which fixes these issues. On Tue, Jun 12, 2018 at 12:44:11AM -0700, Stephen Boyd wrote: > Quoting Matti Vaittinen (2018-06-04 06:19:13) > > +config COMMON_CLK_BD71837 > > + tristate "Clock driver for R

Re: [PATCH v5 4/4] clk: bd71837: Add driver for BD71837 PMIC clock

2018-06-13 Thread Matti Vaittinen
On Tue, Jun 12, 2018 at 11:23:54AM +0300, Matti Vaittinen wrote: > Hello Stephen, > > Thanks again for the review. I'll do new patch which fixes these issues. > > On Tue, Jun 12, 2018 at 12:44:11AM -0700, Stephen Boyd wrote: > > Quoting Matti Vaittinen

Re: [PATCH v4 2/6] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-15 Thread Matti Vaittinen
On Thu, Jun 07, 2018 at 02:12:18PM +0300, Matti Vaittinen wrote: > On Wed, Jun 06, 2018 at 10:16:37AM -0500, Rob Herring wrote: > > On Wed, Jun 6, 2018 at 2:34 AM, Matti Vaittinen > > wrote: > > > On Tue, Jun 05, 2018 at 10:46:14AM -0500, Rob Herring wrote: > > >

[PATCH v6 1/4] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-06-15 Thread Matti Vaittinen
ROHM BD71837 PMIC MFD driver providing interrupts and support for two subsystems: - clk - Regulators Signed-off-by: Matti Vaittinen --- drivers/mfd/Kconfig | 13 ++ drivers/mfd/Makefile| 1 + drivers/mfd/bd71837.c | 249 ++ include

[PATCH v6 0/4] mfd/regulator/clk/input: bd71837: ROHM BD71837 PMIC driver

2018-06-15 Thread Matti Vaittinen
for power button connected to BD71837 This patch series is based on for-mfd-next --- Matti Vaittinen (4): mfd: bd71837: mfd driver for ROHM BD71837 PMIC mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC clk: bd71837: Add driver for BD71837 PMIC clock input/power: Add driver

[PATCH v6 4/4] input/power: Add driver for BD71837/BD71847 PMIC power button

2018-06-15 Thread Matti Vaittinen
ROHM BD71837 PMIC power button driver providing power-key press information to user-space. Signed-off-by: Matti Vaittinen --- drivers/input/misc/Kconfig | 10 + drivers/input/misc/Makefile | 1 + drivers/input/misc/bd718xx-pwrkey.c | 90

[PATCH v6 2/4] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-15 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC MFD. Signed-off-by: Matti Vaittinen --- .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 67 ++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt diff --git

[PATCH v6 3/4] clk: bd71837: Add driver for BD71837 PMIC clock

2018-06-15 Thread Matti Vaittinen
Support BD71837 gateable 32768 Hz clock. Signed-off-by: Matti Vaittinen --- drivers/clk/Kconfig | 6 ++ drivers/clk/Makefile | 1 + drivers/clk/clk-bd71837.c | 145 ++ 3 files changed, 152 insertions(+) create mode 100644 drivers/clk

Re: [PATCH v4 3/6] regulator: bd71837: Devicetree bindings for BD71837 regulators

2018-05-31 Thread Matti Vaittinen
On Wed, May 30, 2018 at 10:04:36PM -0500, Rob Herring wrote: > On Wed, May 30, 2018 at 11:42:32AM +0300, Matti Vaittinen wrote: > > Document devicetree bindings for ROHM BD71837 PMIC regulators. > > +ROHM BD71837 Power Management Integrated Circuit (PMIC) regulator bindings > &

Re: [PATCH v4 2/6] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-05-31 Thread Matti Vaittinen
Hello Rob, Thanks for the review! On Wed, May 30, 2018 at 10:01:29PM -0500, Rob Herring wrote: > On Wed, May 30, 2018 at 11:42:03AM +0300, Matti Vaittinen wrote: > > Document devicetree bindings for ROHM BD71837 PMIC MFD. > > + - interrupts : The interrupt

Re: [PATCH v2 0/6] mfd/regulator/clk: bd71837: ROHM BD71837 PMIC driver

2018-05-31 Thread Matti Vaittinen
On Wed, May 30, 2018 at 08:23:47AM -0700, Stephen Boyd wrote: > Quoting Lee Jones (2018-05-30 04:16:49) > > On Tue, 29 May 2018, Matti Vaittinen wrote: > > > > > Hello, > > > > > > On Tue, May 29, 2018 at 08:39:58AM +0100, Lee Jones wrote: > >

Re: [PATCH v4 2/6] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-05-31 Thread Matti Vaittinen
On Thu, May 31, 2018 at 10:17:17AM +0300, Matti Vaittinen wrote: > Hello Rob, > > Thanks for the review! > > On Wed, May 30, 2018 at 10:01:29PM -0500, Rob Herring wrote: > > On Wed, May 30, 2018 at 11:42:03AM +0300, Matti Vaittinen wrote: > > > Document devicetree

Re: [PATCH v2 0/6] mfd/regulator/clk: bd71837: ROHM BD71837 PMIC driver

2018-05-29 Thread Matti Vaittinen
Hello, On Tue, May 29, 2018 at 08:39:58AM +0100, Lee Jones wrote: > On Mon, 28 May 2018, Matti Vaittinen wrote: > > > Patch series adding support for ROHM BD71837 PMIC. > FYI, this patch-set is going to be difficult to manage since it was > not sent 'threaded'. > > If/wh

[PATCH v4 0/6] mfd/regulator/clk: bd71837: ROHM BD71837 PMIC driver

2018-05-30 Thread Matti Vaittinen
subsystem and support for gated clock. Patch 6: regulator driver supporting 8 bucks and 7 LDOs. This patch series is based on for-mfd-next --- Matti Vaittinen (6): mfd: bd71837: mfd driver for ROHM BD71837 PMIC mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC regulator: bd71837:

Re: [PATCH v4 0/6] mfd/regulator/clk: bd71837: ROHM BD71837 PMIC driver

2018-05-30 Thread Matti Vaittinen
Hello All, I would like to ask for an educated opinion from more experienced regulator driver developers. On Wed, May 30, 2018 at 11:41:13AM +0300, Matti Vaittinen wrote: > Patch series adding support for ROHM BD71837 PMIC. > > BD71837 is a programmable Power Management IC for poweri

[PATCH v4 3/6] regulator: bd71837: Devicetree bindings for BD71837 regulators

2018-05-30 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC regulators. Signed-off-by: Matti Vaittinen --- .../bindings/regulator/rohm,bd71837-regulator.txt | 126 + 1 file changed, 126 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/rohm,bd71837

[PATCH v4 5/6] clk: bd71837: Add driver for BD71837 PMIC clock

2018-05-30 Thread Matti Vaittinen
Support BD71837 gateable 32768 Hz clock. Signed-off-by: Matti Vaittinen --- drivers/clk/Kconfig | 9 +++ drivers/clk/Makefile | 1 + drivers/clk/clk-bd71837.c | 151 ++ 3 files changed, 161 insertions(+) create mode 100644 drivers/clk

[PATCH v4 4/6] clk: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-05-30 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC clock output. Signed-off-by: Matti Vaittinen --- .../bindings/clock/rohm,bd71837-clock.txt | 37 ++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/rohm,bd71837

[PATCH v4 1/6] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-05-30 Thread Matti Vaittinen
ROHM BD71837 PMIC MFD driver providing interrupts and support for two subsystems: - clk - Regulators Signed-off-by: Matti Vaittinen --- drivers/mfd/Kconfig | 13 ++ drivers/mfd/Makefile| 1 + drivers/mfd/bd71837.c | 222 ++ include/linux

[PATCH v4 6/6] regulator: bd71837: BD71837 PMIC regulator driver

2018-05-30 Thread Matti Vaittinen
Support for controlling the 8 bucks and 7 LDOs the PMIC contains. Signed-off-by: Matti Vaittinen --- drivers/regulator/Kconfig | 11 + drivers/regulator/Makefile| 1 + drivers/regulator/bd71837-regulator.c | 640 ++ 3 files changed, 652

[PATCH v4 2/6] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-05-30 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC MFD. Signed-off-by: Matti Vaittinen --- .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 52 ++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt diff --git

[PATCH v3 0/6] mfd/regulator/clk: bd71837: ROHM BD71837 PMIC driver

2018-05-29 Thread Matti Vaittinen
2, 3 and 4: device tree binding documents. Patch 5: clock subsystem and support for gated clock. Patch 6: regulator driver supporting 8 bucks and 7 LDOs. This patch series is based on for-mfd-next --- Matti Vaittinen (6): mfd: bd71837: mfd driver for ROHM BD71837 PMIC mf

[PATCH v3 3/6] regulator: bd71837: Devicetree bindings for BD71837 regulators

2018-05-29 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC regulators. Signed-off-by: Matti Vaittinen --- .../bindings/regulator/rohm,bd71837-regulator.txt | 126 + 1 file changed, 126 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/rohm,bd71837

[PATCH v3 4/6] clk: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-05-29 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC clock output. Signed-off-by: Matti Vaittinen --- .../bindings/clock/rohm,bd71837-clock.txt | 37 ++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/rohm,bd71837

[PATCH v3 6/6] regulator: bd71837: BD71837 PMIC regulator driver

2018-05-29 Thread Matti Vaittinen
Support for controlling the 8 bucks and 7 LDOs the PMIC contains. Signed-off-by: Matti Vaittinen --- drivers/regulator/Kconfig | 11 + drivers/regulator/Makefile| 1 + drivers/regulator/bd71837-regulator.c | 677 ++ 3 files changed, 689

[PATCH v3 5/6] clk: bd71837: Add driver for BD71837 PMIC clock

2018-05-29 Thread Matti Vaittinen
Support BD71837 gateable 32768 Hz clock. Signed-off-by: Matti Vaittinen --- drivers/clk/Kconfig | 9 +++ drivers/clk/Makefile | 1 + drivers/clk/clk-bd71837.c | 154 ++ 3 files changed, 164 insertions(+) create mode 100644 drivers/clk

[PATCH v3 1/6] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-05-29 Thread Matti Vaittinen
ROHM BD71837 PMIC MFD driver providing interrupts and support for two subsystems: - clk - Regulators Signed-off-by: Matti Vaittinen --- drivers/mfd/Kconfig | 13 ++ drivers/mfd/Makefile| 1 + drivers/mfd/bd71837.c | 224 ++ include/linux

[PATCH v3 2/6] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-05-29 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC MFD. Signed-off-by: Matti Vaittinen --- .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 52 ++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt diff --git

Re: [PATCH v3 6/6] regulator: bd71837: BD71837 PMIC regulator driver

2018-05-29 Thread Matti Vaittinen
Hello, On Tue, May 29, 2018 at 12:47:40PM +0100, Mark Brown wrote: > On Tue, May 29, 2018 at 01:02:15PM +0300, Matti Vaittinen wrote: > > > @@ -0,0 +1,677 @@ > > +/* SPDX-License-Identifier: GPL-2.0 */ > > +/* Copyright (C) 2018 ROHM Semiconductors */ > > +/* &g

Re: Applied "regulator: bd71837: BD71837 PMIC regulator driver" to the regulator tree

2018-05-30 Thread Matti Vaittinen
patches (or at least the MFD parts which is patch 1/6) to his tree - then we are Ok. But if the MFD needs to go via Lee's tree - then I need some process guidance in order to understand how this goes and what is expected from me =) Br, Matti Vaittinen > > All being well this means

[PATCH v5 1/4] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-06-04 Thread Matti Vaittinen
ROHM BD71837 PMIC MFD driver providing interrupts and support for two subsystems: - clk - Regulators Signed-off-by: Matti Vaittinen --- drivers/mfd/Kconfig | 13 ++ drivers/mfd/Makefile| 1 + drivers/mfd/bd71837.c | 223 ++ include/linux

[PATCH v5 0/4] mfd/regulator/clk: bd71837: ROHM BD71837 PMIC driver

2018-06-04 Thread Matti Vaittinen
MFD driver and definitions bringing interrupt support and enabling clk and regulator subsystems. Patches 2 and 3 This patch series is based on for-mfd-next --- Matti Vaittinen (4): mfd: bd71837: mfd driver for ROHM BD71837 PMIC mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC cl

Re: [PATCH v4 2/6] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-04 Thread Matti Vaittinen
On Fri, Jun 01, 2018 at 12:32:16PM -0500, Rob Herring wrote: > On Fri, Jun 1, 2018 at 1:25 AM, Matti Vaittinen > wrote: > > On Thu, May 31, 2018 at 09:07:24AM -0500, Rob Herring wrote: > >> On Thu, May 31, 2018 at 5:23 AM, Matti Vaittinen > >> wrote: > >&g

[PATCH v5 4/4] clk: bd71837: Add driver for BD71837 PMIC clock

2018-06-04 Thread Matti Vaittinen
Support BD71837 gateable 32768 Hz clock. Signed-off-by: Matti Vaittinen --- drivers/clk/Kconfig | 7 +++ drivers/clk/Makefile | 1 + drivers/clk/clk-bd71837.c | 146 ++ 3 files changed, 154 insertions(+) create mode 100644 drivers/clk

[PATCH v5 3/4] clk: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-04 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC clock output. Signed-off-by: Matti Vaittinen --- .../bindings/clock/rohm,bd71837-clock.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/rohm,bd71837

[PATCH v5 2/4] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-04 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC MFD. Signed-off-by: Matti Vaittinen --- .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 76 ++ 1 file changed, 76 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt diff --git

Re: [PATCH v4 2/6] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-01 Thread Matti Vaittinen
On Thu, May 31, 2018 at 09:07:24AM -0500, Rob Herring wrote: > On Thu, May 31, 2018 at 5:23 AM, Matti Vaittinen > wrote: > > On Thu, May 31, 2018 at 10:17:17AM +0300, Matti Vaittinen wrote: > >> On Wed, May 30, 2018 at 10:01:29PM -0500, Rob Herring wrote: > >> > O

Re: [PATCH v4 5/6] clk: bd71837: Add driver for BD71837 PMIC clock

2018-06-01 Thread Matti Vaittinen
First of all - Thanks for looking at this! On Thu, May 31, 2018 at 08:10:39AM -0700, Stephen Boyd wrote: > Quoting Matti Vaittinen (2018-05-30 01:43:19) > > diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig > > index 41492e980ef4..4b045699bb5e 100644 > > --- a/drivers/

Re: [PATCH v4 2/6] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-01 Thread Matti Vaittinen
On Thu, May 31, 2018 at 07:57:53AM -0700, Stephen Boyd wrote: > Quoting Rob Herring (2018-05-31 07:07:24) > > On Thu, May 31, 2018 at 5:23 AM, Matti Vaittinen > > wrote: > > > On Thu, May 31, 2018 at 10:17:17AM +0300, Matti Vaittinen wrote: > > >> Hello Rob,

Re: [PATCH v5 1/4] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-06-05 Thread Matti Vaittinen
On Mon, Jun 04, 2018 at 04:18:07PM +0300, Matti Vaittinen wrote: > +static struct regmap_irq_chip bd71837_irq_chip = { > + .name = "bd71837-irq", > + .irqs = bd71837_irqs, > + .num_irqs = ARRAY_SIZE(bd71837_irqs), > + .num_regs = 1, > + .irq_reg_stri

Re: [PATCH v4 2/6] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-06 Thread Matti Vaittinen
On Tue, Jun 05, 2018 at 10:46:14AM -0500, Rob Herring wrote: > On Mon, Jun 4, 2018 at 6:32 AM, Matti Vaittinen > wrote: > > On Fri, Jun 01, 2018 at 12:32:16PM -0500, Rob Herring wrote: > >> On Fri, Jun 1, 2018 at 1:25 AM, Matti Vaittinen > >> wrote: > >&g

Re: [PATCH v3 6/6] regulator: bd71837: BD71837 PMIC regulator driver

2018-06-06 Thread Matti Vaittinen
On Tue, Jun 05, 2018 at 04:58:43PM +0300, Andy Shevchenko wrote: > On Tue, May 29, 2018 at 1:02 PM, Matti Vaittinen > wrote: > > Support for controlling the 8 bucks and 7 LDOs the PMIC contains. > Thanks for the comments Andy. The regulator part of patch set v4 was already

Re: [PATCH v5 3/4] clk: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-05 Thread Matti Vaittinen
On Tue, Jun 05, 2018 at 09:49:32AM -0600, Rob Herring wrote: > On Mon, Jun 04, 2018 at 04:18:53PM +0300, Matti Vaittinen wrote: > > Document devicetree bindings for ROHM BD71837 PMIC clock output. > > > > Signed-off-by: Matti Vaittinen > > --- > > .../bind

Re: [PATCH v5 2/4] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-05 Thread Matti Vaittinen
On Tue, Jun 05, 2018 at 09:47:57AM -0600, Rob Herring wrote: > On Mon, Jun 04, 2018 at 04:18:30PM +0300, Matti Vaittinen wrote: > > Document devicetree bindings for ROHM BD71837 PMIC MFD. > > > > Signed-off-by: Matti Vaittinen > > --- > > .../devicetree/binding

Re: [PATCH v4 2/6] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-07 Thread Matti Vaittinen
On Wed, Jun 06, 2018 at 10:16:37AM -0500, Rob Herring wrote: > On Wed, Jun 6, 2018 at 2:34 AM, Matti Vaittinen > wrote: > > On Tue, Jun 05, 2018 at 10:46:14AM -0500, Rob Herring wrote: > >> On Mon, Jun 4, 2018 at 6:32 AM, Matti Vaittinen > >> wrote: > >&g

Re: Applied "regulator: bd71837: BD71837 PMIC regulator driver" to the regulator tree

2018-05-30 Thread Matti Vaittinen
On Wed, May 30, 2018 at 12:17:14PM +0100, Mark Brown wrote: > On Wed, May 30, 2018 at 02:14:25PM +0300, Matti Vaittinen wrote: > > > The patch 1/6 contains the header file > > include/linux/mfd/bd71837.h with bunch of definitions this patch is > > requiring. > >

Re: [PATCH v4 0/6] mfd/regulator/clk: bd71837: ROHM BD71837 PMIC driver

2018-05-30 Thread Matti Vaittinen
On Wed, May 30, 2018 at 12:00:00PM +0100, Mark Brown wrote: > On Wed, May 30, 2018 at 12:05:12PM +0300, Matti Vaittinen wrote: > > > Other 4 can be used on PWM or PFM switching mode. When PWM is used > > voltages can be changed without disabling regulator. On PFM this shou

[PATCH v2 0/6] mfd/regulator/clk: bd71837: ROHM BD71837 PMIC driver

2018-05-28 Thread Matti Vaittinen
nd support for gated clock. Patch 6: regulator driver supporting 8 bucks and 7 LDOs. This patch series is based on for-mfd-next --- Matti Vaittinen (6): mfd: bd71837: mfd driver for ROHM BD71837 PMIC mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC regulator: bd71837:

[PATCH v2 1/6] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-05-28 Thread Matti Vaittinen
ROHM BD71837 PMIC MFD driver providing interrupts and support for two subsystems: - clk - Regulators Signed-off-by: Matti Vaittinen <matti.vaitti...@fi.rohmeurope.com> --- drivers/mfd/Kconfig | 13 ++ drivers/mfd/Makefile| 1 + drivers/mfd/bd71837.c

[PATCH v2 4/6] clk: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-05-28 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC clock output. Signed-off-by: Matti Vaittinen <matti.vaitti...@fi.rohmeurope.com> --- .../bindings/clock/rohm,bd71837-clock.txt | 37 ++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devi

[PATCH v2 2/6] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-05-28 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC MFD. Signed-off-by: Matti Vaittinen <matti.vaitti...@fi.rohmeurope.com> --- .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 52 ++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bi

[PATCH v2 3/6] regulator: bd71837: Devicetree bindings for BD71837 regulators

2018-05-28 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC regulators. Signed-off-by: Matti Vaittinen <matti.vaitti...@fi.rohmeurope.com> --- .../bindings/regulator/rohm,bd71837-regulator.txt | 126 + 1 file changed, 126 insertions(+) create mode 100644 Documentation/devi

[PATCH v2 6/6] regulator: bd71837: BD71837 PMIC regulator driver

2018-05-28 Thread Matti Vaittinen
Support for controlling the 8 bucks and 7 LDOs the PMIC contains. Signed-off-by: Matti Vaittinen <matti.vaitti...@fi.rohmeurope.com> --- drivers/regulator/Kconfig | 11 + drivers/regulator/Makefile| 1 + drivers/regulator/bd71837-regulator.c

[PATCH v2 5/6] clk: bd71837: Add driver for BD71837 PMIC clock

2018-05-28 Thread Matti Vaittinen
Support BD71837 gateable 32768 Hz clock. Signed-off-by: Matti Vaittinen <matti.vaitti...@fi.rohmeurope.com> --- drivers/clk/Kconfig | 9 +++ drivers/clk/Makefile | 1 + drivers/clk/clk-bd71837.c | 154 ++ 3 files changed, 164 inse

Re: [PATCH v5 4/4] clk: bd71837: Add driver for BD71837 PMIC clock

2018-06-26 Thread Matti Vaittinen
for the v8 when I get it done. On Mon, Jun 25, 2018 at 04:44:57PM -0700, Stephen Boyd wrote: > Quoting Matti Vaittinen (2018-06-12 01:23:54) > > On Tue, Jun 12, 2018 at 12:44:11AM -0700, Stephen Boyd wrote: > > > Quoting Matti Vaittinen (2018-06-04 06:19:13) > > > Use u8 inst

Re: [PATCH v7 4/4] input/power: Add driver for BD71837/BD71847 PMIC power button

2018-06-20 Thread Matti Vaittinen
Hello Dmitry, First of all - thanks for taking the time to review the patch =) On Tue, Jun 19, 2018 at 10:50:28AM -0700, Dmitry Torokhov wrote: > Hi Matti, > > On Tue, Jun 19, 2018 at 01:57:09PM +0300, Matti Vaittinen wrote: > > ROHM BD71837 PMIC power button driver providing

[PATCH] input: gpio_keys: add missing include to gpio_keys.h

2018-06-27 Thread Matti Vaittinen
gpio_keys.h uses 'bool' - type which is defined in linux/types.h. Include this header. Signed-off-by: Matti Vaittinen --- include/linux/gpio_keys.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/gpio_keys.h b/include/linux/gpio_keys.h index 7160df54a6fe..3f84aeb81e48 100644

Re: [PATCH v5 4/4] clk: bd71837: Add driver for BD71837 PMIC clock

2018-06-27 Thread Matti Vaittinen
Hello Stephen, On Mon, Jun 25, 2018 at 04:46:24PM -0700, Stephen Boyd wrote: > Quoting Matti Vaittinen (2018-06-13 06:03:38) > > On Tue, Jun 12, 2018 at 11:23:54AM +0300, Matti Vaittinen wrote: > > > > > > I see. This makes sense. I need to verify from HW colleagues

Re: [PATCH v7 1/4] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-06-26 Thread Matti Vaittinen
Hello Again Eric, On Tue, Jun 26, 2018 at 01:40:40PM +0200, Enric Balletbo Serra wrote: > Hi Matti, > Missatge de Matti Vaittinen del > dia dt., 26 de juny 2018 a les 13:25: > > On Tue, Jun 26, 2018 at 11:06:33AM +0200, Enric Balletbo Serra wrote: > > > Missatge de Matti

Re: [PATCH v7 1/4] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-06-26 Thread Matti Vaittinen
nts below, some are feedback I > received when I sent some patches to this subsystem. > > Missatge de Matti Vaittinen del > dia dt., 19 de juny 2018 a les 12:57: > > > > ROHM BD71837 PMIC MFD driver providing interrupts and support > > for two subsystems: > > - clk

Re: [PATCH v7 0/4] mfd/regulator/clk/input: bd71837: ROHM BD71837 PMIC driver

2018-06-21 Thread Matti Vaittinen
On Tue, Jun 19, 2018 at 01:55:31PM +0300, Matti Vaittinen wrote: > Patch series adding support for ROHM BD71837 PMIC. > What is the preferred way when I send updated patches: 1. always resend _all_ unapplied patches even if there is no changes to some of them. (patch-vN mail thread co

Re: [PATCH v7 4/4] input/power: Add driver for BD71837/BD71847 PMIC power button

2018-06-21 Thread Matti Vaittinen
On Wed, Jun 20, 2018 at 09:43:16AM +0300, Matti Vaittinen wrote: > On Tue, Jun 19, 2018 at 10:50:28AM -0700, Dmitry Torokhov wrote: > > Hi Matti, > > > > On Tue, Jun 19, 2018 at 01:57:09PM +0300, Matti Vaittinen wrote: > > > ROHM BD71837 PMIC power button dr

[PATCH v7 2/4] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC

2018-06-19 Thread Matti Vaittinen
Document devicetree bindings for ROHM BD71837 PMIC MFD. Signed-off-by: Matti Vaittinen Reviewed-by: Rob Herring --- .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 67 ++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/rohm

[PATCH v7 1/4] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-06-19 Thread Matti Vaittinen
ROHM BD71837 PMIC MFD driver providing interrupts and support for two subsystems: - clk - Regulators Signed-off-by: Matti Vaittinen --- drivers/mfd/Kconfig | 13 ++ drivers/mfd/Makefile| 1 + drivers/mfd/bd71837.c | 221 ++ include/linux/mfd

[PATCH v7 0/4] mfd/regulator/clk/input: bd71837: ROHM BD71837 PMIC driver

2018-06-19 Thread Matti Vaittinen
: power button driver for power button connected to BD71837 This patch series is based on for-mfd-next --- Matti Vaittinen (4): mfd: bd71837: mfd driver for ROHM BD71837 PMIC mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC clk: bd71837: Add driver for BD71837 PMIC clock input/power: Add

[PATCH v7 4/4] input/power: Add driver for BD71837/BD71847 PMIC power button

2018-06-19 Thread Matti Vaittinen
ROHM BD71837 PMIC power button driver providing power-key press information to user-space. Signed-off-by: Matti Vaittinen --- drivers/input/misc/Kconfig | 10 + drivers/input/misc/Makefile | 1 + drivers/input/misc/bd718xx-pwrkey.c | 90

[PATCH v7 3/4] clk: bd71837: Add driver for BD71837 PMIC clock

2018-06-19 Thread Matti Vaittinen
Support BD71837 gateable 32768 Hz clock. Signed-off-by: Matti Vaittinen --- drivers/clk/Kconfig | 6 ++ drivers/clk/Makefile | 1 + drivers/clk/clk-bd71837.c | 146 ++ 3 files changed, 153 insertions(+) create mode 100644 drivers/clk

Re: [PATCH v5 4/4] clk: bd71837: Add driver for BD71837 PMIC clock

2018-08-03 Thread Matti Vaittinen
On Tue, Jul 31, 2018 at 11:28:58AM +0300, Matti Vaittinen wrote: > On Tue, Jun 26, 2018 at 11:13:19AM +0300, Matti Vaittinen wrote: > > On Mon, Jun 25, 2018 at 04:44:57PM -0700, Stephen Boyd wrote: > > > Quoting Matti Vaittinen (2018-06-12 01:23:54) > > > > On Tue, Ju

[PATCH v12 1/2] mfd: bd71837: mfd driver for ROHM BD71837 PMIC

2018-08-03 Thread Matti Vaittinen
ROHM BD71837 PMIC MFD driver providing interrupts and support for three subsystems: - clk - Regulators - input/power-key Signed-off-by: Matti Vaittinen Reviewed-by: Enric Balletbo i Serra --- drivers/mfd/Kconfig | 13 ++ drivers/mfd/Makefile | 1 + drivers/mfd/rohm

  1   2   3   4   5   6   7   8   9   10   >