Re: [PATCH 2/8] mfd: stpmu1: add stpmu1 pmic driver

2018-08-21 Thread Pascal PAILLET-LME
Hi, Thanks a lot for the review ! I just have a question below regarding populate method. Le 07/10/2018 12:38 AM, Enric Balletbo Serra a écrit : > Hi Pascal, > > Thanks for the patch some comments below. > > Missatge de Pascal PAILLET-LME del dia dj., 5 de > jul. 2018 a

[PATCH V2 4/8] regulator: stpmic1: add stpmic1 regulator driver

2018-09-07 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 PMIC embeds several regulators and witches with different capabilities. Signed-off-by: pascal paillet --- changes in v2: * the hardware component has been renamed from stpmu1 to stpmic1 ! * change headers * rework map_mode function * remove proprietary get

[PATCH V2 0/8] Introduce STPMIC1 PMIC Driver

2018-09-07 Thread Pascal PAILLET-LME
From: pascal paillet The goal of this patch-set is to propose a driver for the STPMIC1 PMIC from STMicroelectronics. The STPMIC1 regulators supply power to an application processor as well as to external system peripherals such as DDR, Flash memories and system devices. It also features onkey

[PATCH V2 6/8] input: stpmic1: add stpmic1 onkey driver

2018-09-07 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 pmic is able to manage an onkey button. This driver exposes the stpmic1 onkey as an input device. It can also be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: pascal paillet --- changes in v2: * the

[PATCH V2 3/8] dt-bindings: regulator: document stpmic1 pmic regulators

2018-09-07 Thread Pascal PAILLET-LME
From: pascal paillet The STPMIC1 regulators supply power to the application processor as well as to the external system peripherals such as DDR, Flash memories and system devices. Signed-off-by: pascal paillet --- changes in v2: * the hardware component has been renamed from stpmu1 to stpmic1

[PATCH V2 7/8] dt-bindings: watchdog: document stpmic1 pmic watchdog

2018-09-07 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 PMIC embeds a watchdog which is disabled by default. In case of watchdog, the PMIC goes off. Signed-off-by: pascal paillet --- Documentation/devicetree/bindings/watchdog/st,stpmic1-wdt.txt | 11 +++ 1 file changed, 11 insertions(+) create mode 100644

[PATCH V2 2/8] mfd: stpmic1: add stpmic1 driver

2018-09-07 Thread Pascal PAILLET-LME
From: pascal paillet stpmic1 is a pmic from STMicroelectronics. The stpmic1 integrates 10 regulators and 3 switches with various capabilities. Signed-off-by: pascal paillet --- changes in v2: * the hardware component has been renamed from stpmu1 to stpmic1 ! * Handle remarks from Enric *

[PATCH V2 5/8] dt-bindings: input: document stpmic1 pmic onkey

2018-09-07 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 pmic is able to manage an onkey button. It can be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: pascal paillet --- .../devicetree/bindings/input/st,stpmic1-onkey.txt | 31 ++ 1

[PATCH V2 8/8] watchdog: stpmic1: add stpmic1 watchdog driver

2018-09-07 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 PMIC embeds a watchdog which is disabled by default. As soon as the watchdog is started, it must be refreshed periodically otherwise the PMIC goes off. Signed-off-by: pascal paillet --- changes in v2: * the hardware component has been renamed from stpmu1 to

[PATCH V2 1/8] dt-bindings: mfd: document stpmic1

2018-09-07 Thread Pascal PAILLET-LME
From: pascal paillet stpmic1 is a pmic from STMicroelectronics. The stpmic1 integrates 10 regulators and 3 switches with various capabilities. Signed-off-by: pascal paillet --- changes in v2: * the hardware component has been renamed from stpmu1 to stpmic1 ! * replace _ with - in properties

[PATCH 3/3] regulator: core: Change suspend_late to suspend

2018-07-05 Thread Pascal PAILLET-LME
From: pascal paillet Change suspend_late ops to suspend normal ops. The goal is to avoid requesting all the regulator drivers to be operational in suspend late phase. Signed-off-by: pascal paillet --- drivers/regulator/core.c | 26 +-

[PATCH 1/3] driver core: Add device_link_remove function

2018-07-05 Thread Pascal PAILLET-LME
From: pascal paillet Device_link_remove uses the same arguments than device_link_add. The Goal is to avoid storing the link pointer. Signed-off-by: pascal paillet --- drivers/base/core.c| 30 ++ include/linux/device.h | 1 + 2 files changed, 31 insertions(+)

[PATCH 2/3] regulator: core: Link consumer with regulator driver

2018-07-05 Thread Pascal PAILLET-LME
From: pascal paillet Add a device link between the consumer and the driver so that the consumer is not suspended before the driver. The goal is to avoid implementing suspend_late ops in regulator drivers. Signed-off-by: pascal paillet --- drivers/regulator/core.c | 18 -- 1

[PATCH 0/3] link regulator consumer with driver

2018-07-05 Thread Pascal PAILLET-LME
From: pascal paillet The goal of this patch-set is to ensure that a regulator driver is not suspended before regulator consumer. Currently this is done by implementing suspend_late() ops in the regulator driver but this is painful for an I2C controlled regulator. Instead, the proposal is to add

[PATCH 3/8] dt-bindings: regulator: document stpmu1 pmic regulators

2018-07-05 Thread Pascal PAILLET-LME
From: pascal paillet The STPMU1 regulators supply power to the application processor as well as to the external system peripherals such as DDR, Flash memories and system devices. Signed-off-by: pascal paillet --- .../bindings/regulator/st,stpmu1-regulator.txt | 72 ++

[PATCH 6/8] input: stpmu1: add stpmu1 onkey driver

2018-07-05 Thread Pascal PAILLET-LME
From: pascal paillet The stpmu1 pmic is able to manage an onkey button. This driver exposes the stpmu1 onkey as an input device. It can also be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: pascal paillet ---

[PATCH 2/8] mfd: stpmu1: add stpmu1 pmic driver

2018-07-05 Thread Pascal PAILLET-LME
From: pascal paillet stpmu1 is a pmic from STMicroelectronics. The stpmu1 integrates 10 regulators and 3 switches with various capabilities. Signed-off-by: pascal paillet --- drivers/mfd/Kconfig | 14 ++ drivers/mfd/Makefile| 1 + drivers/mfd/stpmu1.c

[PATCH 4/8] regulator: stpmu1: add stpmu1 regulator driver

2018-07-05 Thread Pascal PAILLET-LME
From: pascal paillet The stpmu1 PMIC embeds several regulators and witches with different capabilities. Signed-off-by: pascal paillet --- drivers/regulator/Kconfig| 12 + drivers/regulator/Makefile | 2 + drivers/regulator/stpmu1_regulator.c | 919

[PATCH 7/8] dt-bindings: watchdog: document stpmu1 pmic watchdog

2018-07-05 Thread Pascal PAILLET-LME
From: pascal paillet The stpmu1 PMIC embeds a watchdog which is disabled by default. In case of watchdog, the PMIC goes off. Signed-off-by: pascal paillet --- Documentation/devicetree/bindings/watchdog/st,stpmu1-wdt.txt | 11 +++ 1 file changed, 11 insertions(+) create mode 100644

[PATCH 5/8] dt-bindings: input: document stpmu1 pmic onkey

2018-07-05 Thread Pascal PAILLET-LME
From: pascal paillet The stpmu1 pmic is able to manage an onkey button. It can be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: pascal paillet --- .../devicetree/bindings/input/st,stpmu1-onkey.txt | 31 ++ 1

[PATCH 1/8] dt-bindings: mfd: document stpmu1 pmic

2018-07-05 Thread Pascal PAILLET-LME
From: pascal paillet stpmu1 is a pmic from STMicroelectronics. The stpmu1 integrates 10 regulators and 3 switches with various capabilities. Signed-off-by: pascal paillet --- .../devicetree/bindings/mfd/st,stpmu1.txt | 138 + 1 file changed, 138 insertions(+)

[PATCH 0/8] Introduce STPMU1 PMIC Driver

2018-07-05 Thread Pascal PAILLET-LME
From: pascal paillet The goal of this patch-set is to propose a driver for the STPMU1 PMIC from ST Microelectronics. The STPMU1 regulators supply power to an application processor as well as to external system peripherals such as DDR, Flash memories and system devices. It also features onkey

[PATCH 8/8] watchdog: stpmu1: add stpmu1 watchdog driver

2018-07-05 Thread Pascal PAILLET-LME
From: pascal paillet The stpmu1 PMIC embeds a watchdog which is disabled by default. As soon as the watchdog is started, it must be refreshed periodically otherwise the PMIC goes off. Signed-off-by: pascal paillet --- drivers/watchdog/Kconfig | 12 +++ drivers/watchdog/Makefile |

[PATCH v4 4/8] regulator: stpmic1: add stpmic1 regulator driver

2018-10-18 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 PMIC embeds several regulators and switches with different capabilities. Signed-off-by: pascal paillet --- changes in v4: nothing drivers/regulator/Kconfig | 12 + drivers/regulator/Makefile| 1 +

[PATCH v4 1/8] dt-bindings: mfd: document stpmic1

2018-10-18 Thread Pascal PAILLET-LME
From: pascal paillet stpmic1 is a pmic from STMicroelectronics. The STPMIC1 integrates 10 regulators , 3 switches, a watchdog and an input for a power on key. Signed-off-by: pascal paillet --- changes in v4: * remove interrupt-parent description * pmic1@33 renamed to pmic@33 * fix indentation

[PATCH v4 2/8] mfd: stpmic1: add stpmic1 driver

2018-10-18 Thread Pascal PAILLET-LME
From: pascal paillet stpmic1 is a pmic from STMicroelectronics. The STPMIC1 integrates 10 regulators , 3 switches, a watchdog and an input for a power on key. Signed-off-by: pascal paillet --- changes in v4: * rename PONKEY_PU_ACTIVE to PONKEY_PU_INACTIVE drivers/mfd/Kconfig | 13 ++

[PATCH v4 8/8] watchdog: stpmic1: add stpmic1 watchdog driver

2018-10-18 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 PMIC embeds a watchdog which is disabled by default. As soon as the watchdog is started, it must be refreshed periodically otherwise the PMIC goes off. Signed-off-by: pascal paillet --- changes in v4: * fix stop watchdog function * Kconfig: fix grammar issue

[PATCH v4 6/8] input: stpmic1: add stpmic1 onkey driver

2018-10-18 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 pmic is able to manage an onkey button. This driver exposes the stpmic1 onkey as an input device. It can also be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: pascal paillet --- changes in v4: *

[PATCH v4 3/8] dt-bindings: regulator: document stpmic1 pmic regulators

2018-10-18 Thread Pascal PAILLET-LME
From: pascal paillet The STPMIC1 regulators supply power to the application processor as well as to the external system peripherals such as DDR, Flash memories and system devices. Signed-off-by: pascal paillet Reviewed-by: Rob Herring --- changes in v4: nothing

[PATCH v4 7/8] dt-bindings: watchdog: document stpmic1 pmic watchdog

2018-10-18 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 PMIC embeds a watchdog which is disabled by default. In case of watchdog, the PMIC goes off. Signed-off-by: pascal paillet Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/watchdog/st,stpmic1-wdt.txt | 11 +++ 1 file changed, 11

[PATCH v4 0/8] Introduce STPMIC1 PMIC Driver

2018-10-18 Thread Pascal PAILLET-LME
The goal of this patch-set is to propose a driver for the STPMIC1 PMIC from STMicroelectronics. The STPMIC1 regulators supply power to an application processor as well as to external system peripherals such as DDR, Flash memories and system devices. It also features onkey button input and an

[PATCH v4 5/8] dt-bindings: input: document stpmic1 pmic onkey

2018-10-18 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 pmic is able to manage an onkey button. It can be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: pascal paillet Reviewed-by: Rob Herring --- changes in v4: * remove interrupt-parent description *

Re: [PATCH] regulator: stpmic1: Return REGULATOR_MODE_INVALID for invalid mode

2018-10-18 Thread Pascal PAILLET-LME
Hi Axel, Thank you for your comment. As the driver is merged, I will make the change in a future patch-set. Best regards, Pascal. Le 10/09/2018 10:52 AM, Axel Lin a écrit : > -EINVAL is not a valid return value for .of_map_mode, return > REGULATOR_MODE_INVALID instead. > > Signed-off-by: Axel

Re: [PATCH v4 4/8] regulator: stpmic1: add stpmic1 regulator driver

2018-10-24 Thread Pascal PAILLET-LME
Hello Mark, Le 10/19/2018 01:50 PM, Mark Brown a écrit : > On Thu, Oct 18, 2018 at 09:02:12AM +0000, Pascal PAILLET-LME wrote: > >> +for (i = 0; i < ARRAY_SIZE(stpmic1_regulator_cfgs); i++) { >> +/* Parse DT & find regulators to register */

Re: [PATCH v4 4/8] regulator: stpmic1: add stpmic1 regulator driver

2018-10-25 Thread Pascal PAILLET-LME
Hello Mark, Le 10/24/2018 03:17 PM, Mark Brown a écrit : > On Wed, Oct 24, 2018 at 12:54:46PM +0000, Pascal PAILLET-LME wrote: > >> I'm sorry, I'm not sure to understand. Would you prefer to not register >> regulators that >> are not described in the device-tree ? >

Re: [PATCH v4 1/8] dt-bindings: mfd: document stpmic1

2018-10-26 Thread Pascal PAILLET-LME
s device is any different to the 100's of devices > which are already supported in DT. > >>> On Thu, 18 Oct 2018, Pascal PAILLET-LME wrote: >>> >>>> From: pascal paillet >>>> +Optional parent device properties: >>>> +- st,main-control-regist

[PATCH v5 0/8] Introduce STPMIC1 PMIC Driver

2018-10-29 Thread Pascal PAILLET-LME
The goal of this patch-set is to propose a driver for the STPMIC1 PMIC from STMicroelectronics. The STPMIC1 regulators supply power to an application processor as well as to external system peripherals such as DDR, Flash memories and system devices. It also features onkey button input and an

[PATCH v5 8/8] watchdog: stpmic1: add stpmic1 watchdog driver

2018-10-29 Thread Pascal PAILLET-LME
The stpmic1 PMIC embeds a watchdog which is disabled by default. As soon as the watchdog is started, it must be refreshed periodically otherwise the PMIC goes off. Signed-off-by: Pascal Paillet --- changes in v5: * initialize wdtdev.parent * fix checkpatch warning drivers/watchdog/Kconfig

[PATCH v5 7/8] dt-bindings: watchdog: document stpmic1 pmic watchdog

2018-10-29 Thread Pascal PAILLET-LME
The stpmic1 PMIC embeds a watchdog which is disabled by default. In case of watchdog, the PMIC goes off. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring --- changes in v5: nothing Documentation/devicetree/bindings/watchdog/st,stpmic1-wdt.txt | 11 +++ 1 file changed, 11

[PATCH v5 5/8] dt-bindings: input: document stpmic1 pmic onkey

2018-10-29 Thread Pascal PAILLET-LME
The stpmic1 pmic is able to manage an onkey button. It can be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring --- changes in v5: nothing .../devicetree/bindings/input/st,stpmic1-onkey.txt | 28

[PATCH v5 3/8] dt-bindings: regulator: document stpmic1 pmic regulators

2018-10-29 Thread Pascal PAILLET-LME
The STPMIC1 regulators supply power to the application processor as well as to the external system peripherals such as DDR, Flash memories and system devices. Signed-off-by: Pascal Paillet --- changes in v5: * describe regulator-active-discharge is available for power switches * remove interrupt

[PATCH v5 4/8] regulator: stpmic1: add stpmic1 regulator driver

2018-10-29 Thread Pascal PAILLET-LME
The stpmic1 PMIC embeds several regulators and switches with different capabilities. Signed-off-by: Pascal Paillet --- changes in v5: * rework probe: do not modify init data * merge stpmic1_regulator_init and stpmic1_regulator_parse_dt in the probe fn * map_mode returns REGULATOR_MODE_INVALID *

[PATCH v5 6/8] input: stpmic1: add stpmic1 onkey driver

2018-10-29 Thread Pascal PAILLET-LME
The stpmic1 pmic is able to manage an onkey button. This driver exposes the stpmic1 onkey as an input device. It can also be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: Pascal Paillet --- changes in v5: * fix checkpatch warning

[PATCH v5 1/8] dt-bindings: mfd: document stpmic1

2018-10-29 Thread Pascal PAILLET-LME
stpmic1 is a pmic from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. Signed-off-by: Pascal Paillet --- changes in v5: * removed st properties * added buck modes definitions in the header

[PATCH v5 2/8] mfd: stpmic1: add stpmic1 driver

2018-10-29 Thread Pascal PAILLET-LME
stpmic1 is a pmic from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. Signed-off-by: Pascal Paillet --- changes in v5: * use macro to define regmap register ranges * use REGMAP_IRQ_REG marco to define interrupts * remove st

Re: [PATCH v3 5/8] dt-bindings: input: document stpmic1 pmic onkey

2018-10-09 Thread Pascal PAILLET-LME
Le 10/08/2018 06:29 PM, Pascal PAILLET-LME a écrit : > From: pascal paillet > > The stpmic1 pmic is able to manage an onkey button. It can be configured > to shut-down the power supplies on a long key-press with an adjustable > duration. > > Signed-off-by: pascal paillet

[PATCH v3 6/8] input: stpmic1: add stpmic1 onkey driver

2018-10-08 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 pmic is able to manage an onkey button. This driver exposes the stpmic1 onkey as an input device. It can also be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: pascal paillet --- changes in v3: *

[PATCH v3 3/8] dt-bindings: regulator: document stpmic1 pmic regulators

2018-10-08 Thread Pascal PAILLET-LME
From: pascal paillet The STPMIC1 regulators supply power to the application processor as well as to the external system peripherals such as DDR, Flash memories and system devices. Signed-off-by: pascal paillet --- changes in v3: nothing .../bindings/regulator/st,stpmic1-regulator.txt| 68

[PATCH v3 1/8] dt-bindings: mfd: document stpmic1

2018-10-08 Thread Pascal PAILLET-LME
From: pascal paillet stpmic1 is a pmic from STMicroelectronics. The STPMIC1 integrates 10 regulators ,3 switches, a watchdog and an input for a power on key. Signed-off-by: pascal paillet --- changes in v3: * Replace st,onkey-long-press-seconds by power-off-time-sec. * Replace

[PATCH v3 2/8] mfd: stpmic1: add stpmic1 driver

2018-10-08 Thread Pascal PAILLET-LME
From: pascal paillet stpmic1 is a pmic from STMicroelectronics. The STPMIC1 integrates 10 regulators ,3 switches, a watchdog and an input for a power on key. Signed-off-by: pascal paillet --- changes in v3: * Rename struct stpmic1_dev by struct stpmic1. * Rework i2c client data. * Clean device

[PATCH v3 8/8] watchdog: stpmic1: add stpmic1 watchdog driver

2018-10-08 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 PMIC embeds a watchdog which is disabled by default. As soon as the watchdog is started, it must be refreshed periodically otherwise the PMIC goes off. Signed-off-by: pascal paillet --- changes in v3: * Rename struct stpmic1_dev by struct stpmic1. * Add

[PATCH v3 4/8] regulator: stpmic1: add stpmic1 regulator driver

2018-10-08 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 PMIC embeds several regulators and switches with different capabilities. Signed-off-by: pascal paillet --- changes in v3: * Rename struct stpmic1_dev by struct stpmic1. * Remove useless struct stpmic1_device_data. * Fix typo in commit message. * Add email

[PATCH v3 5/8] dt-bindings: input: document stpmic1 pmic onkey

2018-10-08 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 pmic is able to manage an onkey button. It can be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: pascal paillet --- changes in v3: * Replace st,onkey-long-press-seconds and st,onkey-pwroff-enabled by

[PATCH v3 7/8] dt-bindings: watchdog: document stpmic1 pmic watchdog

2018-10-08 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 PMIC embeds a watchdog which is disabled by default. In case of watchdog, the PMIC goes off. Signed-off-by: pascal paillet Reviewed-by: Rob Herring --- changes in v3: nothing Documentation/devicetree/bindings/watchdog/st,stpmic1-wdt.txt | 11 +++ 1

[PATCH v3 0/8] Introduce STPMIC1 PMIC Driver

2018-10-08 Thread Pascal PAILLET-LME
The goal of this patch-set is to propose a driver for the STPMIC1 PMIC from STMicroelectronics. The STPMIC1 regulators supply power to an application processor as well as to external system peripherals such as DDR, Flash memories and system devices. It also features onkey button input and an

Re: [PATCH v7 0/7] Introduce STPMIC1 PMIC Driver

2018-12-05 Thread Pascal PAILLET-LME
pascal paillet (p.pail...@st.com) Le Mans / France Microcontrollers and Digital ICs Group | Application Development TEL: +33.(0)2.44.02.74.69 | TINA: 166 7469 Le 12/05/2018 10:36 AM, Lee Jones a écrit : > On Tue, 04 Dec 2018, Pascal PAILLET-LME wrote: >> Le 12/03/2018 08:11 AM, Lee Jone

Re: [PATCH v7 0/7] Introduce STPMIC1 PMIC Driver

2018-12-04 Thread Pascal PAILLET-LME
Hi Lee, Le 12/03/2018 08:11 AM, Lee Jones a écrit : > On Fri, 30 Nov 2018, Pascal PAILLET-LME wrote: > >> The goal of this patch-set is to propose a driver for the STPMIC1 PMIC from >> STMicroelectronics. >> The STPMIC1 regulators supply power to an application processor a

[PATCH v7 0/7] Introduce STPMIC1 PMIC Driver

2018-11-30 Thread Pascal PAILLET-LME
The goal of this patch-set is to propose a driver for the STPMIC1 PMIC from STMicroelectronics. The STPMIC1 regulators supply power to an application processor as well as to external system peripherals such as DDR, Flash memories and system devices. It also features onkey button input and an

[PATCH v7 3/7] dt-bindings: input: document stpmic1 pmic onkey

2018-11-30 Thread Pascal PAILLET-LME
The stpmic1 pmic is able to manage an onkey button. It can be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring --- changes in v7: nothing .../devicetree/bindings/input/st,stpmic1-onkey.txt | 28

[PATCH v7 2/7] mfd: stpmic1: add stpmic1 driver

2018-11-30 Thread Pascal PAILLET-LME
STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. Signed-off-by: Pascal Paillet Acked-for-MFD-by: Lee Jones --- changes in v7: nothing drivers/mfd/Kconfig | 16 drivers/mfd/Makefile

[PATCH v7 4/7] input: stpmic1: add stpmic1 onkey driver

2018-11-30 Thread Pascal PAILLET-LME
The stpmic1 pmic is able to manage an onkey button. This driver exposes the stpmic1 onkey as an input device. It can also be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: Pascal Paillet Acked-by: Dmitry Torokhov --- changes in v7:

[PATCH v7 5/7] dt-bindings: watchdog: document stpmic1 pmic watchdog

2018-11-30 Thread Pascal PAILLET-LME
The stpmic1 PMIC embeds a watchdog which is disabled by default. In case of watchdog, the PMIC goes off. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring Reviewed-by: Guenter Roeck --- changes in v7: nothing Documentation/devicetree/bindings/watchdog/st,stpmic1-wdt.txt | 11 +++

[PATCH v7 1/7] dt-bindings: mfd: document stpmic1

2018-11-30 Thread Pascal PAILLET-LME
STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones --- changes in v7: nothing

[PATCH v7 6/7] watchdog: stpmic1: add stpmic1 watchdog driver

2018-11-30 Thread Pascal PAILLET-LME
The stpmic1 PMIC embeds a watchdog which is disabled by default. As soon as the watchdog is started, it must be refreshed periodically otherwise the PMIC goes off. Signed-off-by: Pascal Paillet Reviewed-by: Guenter Roeck --- changes in v7: nothing drivers/watchdog/Kconfig | 12

[PATCH v7 7/7] regulator: stpmic1: fix regulator_lock usage

2018-11-30 Thread Pascal PAILLET-LME
fix a compilation issue due to regulator_lock usage. Signed-off-by: Pascal Paillet --- changes in v7: * new patch due to rebase on regul/for-next drivers/regulator/stpmic1_regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/stpmic1_regulator.c

Re: [PATCH v6 3/8] dt-bindings: regulator: document stpmic1 pmic regulators

2018-11-30 Thread Pascal PAILLET-LME
Le 11/28/2018 10:48 AM, Mark Brown a écrit : > On Tue, Nov 27, 2018 at 04:52:15PM +0000, Pascal PAILLET-LME wrote: >> The STPMIC1 regulators supply power to the application processor as well as >> to the external system peripherals such as DDR, Flash memories and system >>

[PATCH v6 3/8] dt-bindings: regulator: document stpmic1 pmic regulators

2018-11-27 Thread Pascal PAILLET-LME
The STPMIC1 regulators supply power to the application processor as well as to the external system peripherals such as DDR, Flash memories and system devices. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring --- changes in v6: * remove interrupt parent

[PATCH v6 5/8] dt-bindings: input: document stpmic1 pmic onkey

2018-11-27 Thread Pascal PAILLET-LME
The stpmic1 pmic is able to manage an onkey button. It can be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring --- changes in v6: nothing .../devicetree/bindings/input/st,stpmic1-onkey.txt | 28

[PATCH v6 8/8] watchdog: stpmic1: add stpmic1 watchdog driver

2018-11-27 Thread Pascal PAILLET-LME
The stpmic1 PMIC embeds a watchdog which is disabled by default. As soon as the watchdog is started, it must be refreshed periodically otherwise the PMIC goes off. Signed-off-by: Pascal Paillet Reviewed-by: Guenter Roeck --- changes in v6: nothing drivers/watchdog/Kconfig | 12

[PATCH v6 7/8] dt-bindings: watchdog: document stpmic1 pmic watchdog

2018-11-27 Thread Pascal PAILLET-LME
The stpmic1 PMIC embeds a watchdog which is disabled by default. In case of watchdog, the PMIC goes off. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring Reviewed-by: Guenter Roeck --- changes in v6: nothing Documentation/devicetree/bindings/watchdog/st,stpmic1-wdt.txt | 11 +++

[PATCH v6 2/8] mfd: stpmic1: add stpmic1 driver

2018-11-27 Thread Pascal PAILLET-LME
STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. Signed-off-by: Pascal Paillet --- changes in v6: * replace i2c_device_id by of_device_id * fix commit message and Kconfig description

[PATCH v6 4/8] regulator: stpmic1: add stpmic1 regulator driver

2018-11-27 Thread Pascal PAILLET-LME
The stpmic1 PMIC embeds several regulators and switches with different capabilities. Signed-off-by: Pascal Paillet --- changes in v6: nothing drivers/regulator/Kconfig | 12 + drivers/regulator/Makefile| 1 + drivers/regulator/stpmic1_regulator.c | 667

[PATCH v6 0/8] Introduce STPMIC1 PMIC Driver

2018-11-27 Thread Pascal PAILLET-LME
The goal of this patch-set is to propose a driver for the STPMIC1 PMIC from STMicroelectronics. The STPMIC1 regulators supply power to an application processor as well as to external system peripherals such as DDR, Flash memories and system devices. It also features onkey button input and an

[PATCH v6 1/8] dt-bindings: mfd: document stpmic1

2018-11-27 Thread Pascal PAILLET-LME
STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones --- changes in v6: * fix commit message

[PATCH v6 6/8] input: stpmic1: add stpmic1 onkey driver

2018-11-27 Thread Pascal PAILLET-LME
The stpmic1 pmic is able to manage an onkey button. This driver exposes the stpmic1 onkey as an input device. It can also be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: Pascal Paillet Acked-by: Dmitry Torokhov --- changes in v6:

Re: [PATCH v5 2/8] mfd: stpmic1: add stpmic1 driver

2018-11-26 Thread Pascal PAILLET-LME
Hi Lee, I have just one question regarding i2c_device_id. Le 11/13/2018 08:40 AM, Lee Jones a écrit : > On Mon, 29 Oct 2018, Pascal PAILLET-LME wrote: > >> stpmic1 is a pmic from STMicroelectronics. The STPMIC1 integrates 10 > "STPMIC1 is a PMIC" > >> regula

[PATCH RESEND v8 5/6] dt-bindings: watchdog: document stpmic1 pmic watchdog

2019-01-14 Thread Pascal PAILLET-LME
The stpmic1 PMIC embeds a watchdog which is disabled by default. In case of watchdog, the PMIC goes off. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring Reviewed-by: Guenter Roeck --- changes in v8: nothing Documentation/devicetree/bindings/watchdog/st,stpmic1-wdt.txt | 11 +++

[PATCH RESEND v8 6/6] watchdog: stpmic1: add stpmic1 watchdog driver

2019-01-14 Thread Pascal PAILLET-LME
The stpmic1 PMIC embeds a watchdog which is disabled by default. As soon as the watchdog is started, it must be refreshed periodically otherwise the PMIC goes off. Signed-off-by: Pascal Paillet Reviewed-by: Guenter Roeck --- changes in v8: nothing drivers/watchdog/Kconfig | 12

[PATCH RESEND v8 1/6] dt-bindings: mfd: document stpmic1

2019-01-14 Thread Pascal PAILLET-LME
STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones --- changes in v8: nothing

[PATCH RESEND v8 2/6] mfd: stpmic1: add stpmic1 driver

2019-01-14 Thread Pascal PAILLET-LME
STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. Signed-off-by: Pascal Paillet Acked-for-MFD-by: Lee Jones --- changes in v8: nothing drivers/mfd/Kconfig | 16 drivers/mfd/Makefile

[PATCH RESEND v8 0/6] Introduce STPMIC1 PMIC Driver

2019-01-14 Thread Pascal PAILLET-LME
The goal of this patch-set is to propose a driver for the STPMIC1 PMIC from STMicroelectronics. The STPMIC1 regulators supply power to an application processor as well as to external system peripherals such as DDR, Flash memories and system devices. It also features onkey button input and an

[PATCH RESEND v8 4/6] input: stpmic1: add stpmic1 onkey driver

2019-01-14 Thread Pascal PAILLET-LME
The stpmic1 pmic is able to manage an onkey button. This driver exposes the stpmic1 onkey as an input device. It can also be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: Pascal Paillet Acked-by: Dmitry Torokhov --- changes in v8:

[PATCH RESEND v8 3/6] dt-bindings: input: document stpmic1 pmic onkey

2019-01-14 Thread Pascal PAILLET-LME
The stpmic1 pmic is able to manage an onkey button. It can be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring --- changes in v8: nothing .../devicetree/bindings/input/st,stpmic1-onkey.txt | 28

Re: [PATCH] regulator: stpmic1: Remove regul_id and *regmap from struct stpmic1_regulator

2019-02-11 Thread Pascal PAILLET-LME
Hello Axel, Le 02/09/2019 05:39 AM, Axel Lin a écrit : > At the context with *rdev available, there is no problem to get regulator > id and *regmap, so no need to store them in struct stpmic1_regulator. > > Signed-off-by: Axel Lin > --- > drivers/regulator/stpmic1_regulator.c | 10 ++ >

Re: [PATCH v5 2/8] mfd: stpmic1: add stpmic1 driver

2018-11-26 Thread Pascal PAILLET-LME
Hi Lee, I have just one question regarding i2c_device_id. Le 11/13/2018 08:40 AM, Lee Jones a écrit : > On Mon, 29 Oct 2018, Pascal PAILLET-LME wrote: > >> stpmic1 is a pmic from STMicroelectronics. The STPMIC1 integrates 10 > "STPMIC1 is a PMIC" > >> regula

[PATCH v6 3/8] dt-bindings: regulator: document stpmic1 pmic regulators

2018-11-27 Thread Pascal PAILLET-LME
The STPMIC1 regulators supply power to the application processor as well as to the external system peripherals such as DDR, Flash memories and system devices. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring --- changes in v6: * remove interrupt parent

[PATCH v6 5/8] dt-bindings: input: document stpmic1 pmic onkey

2018-11-27 Thread Pascal PAILLET-LME
The stpmic1 pmic is able to manage an onkey button. It can be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring --- changes in v6: nothing .../devicetree/bindings/input/st,stpmic1-onkey.txt | 28

[PATCH v6 4/8] regulator: stpmic1: add stpmic1 regulator driver

2018-11-27 Thread Pascal PAILLET-LME
The stpmic1 PMIC embeds several regulators and switches with different capabilities. Signed-off-by: Pascal Paillet --- changes in v6: nothing drivers/regulator/Kconfig | 12 + drivers/regulator/Makefile| 1 + drivers/regulator/stpmic1_regulator.c | 667

[PATCH v6 0/8] Introduce STPMIC1 PMIC Driver

2018-11-27 Thread Pascal PAILLET-LME
The goal of this patch-set is to propose a driver for the STPMIC1 PMIC from STMicroelectronics. The STPMIC1 regulators supply power to an application processor as well as to external system peripherals such as DDR, Flash memories and system devices. It also features onkey button input and an

[PATCH v6 1/8] dt-bindings: mfd: document stpmic1

2018-11-27 Thread Pascal PAILLET-LME
STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones --- changes in v6: * fix commit message

[PATCH v6 6/8] input: stpmic1: add stpmic1 onkey driver

2018-11-27 Thread Pascal PAILLET-LME
The stpmic1 pmic is able to manage an onkey button. This driver exposes the stpmic1 onkey as an input device. It can also be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: Pascal Paillet Acked-by: Dmitry Torokhov --- changes in v6:

[PATCH v6 2/8] mfd: stpmic1: add stpmic1 driver

2018-11-27 Thread Pascal PAILLET-LME
STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. Signed-off-by: Pascal Paillet --- changes in v6: * replace i2c_device_id by of_device_id * fix commit message and Kconfig description

[PATCH v6 8/8] watchdog: stpmic1: add stpmic1 watchdog driver

2018-11-27 Thread Pascal PAILLET-LME
The stpmic1 PMIC embeds a watchdog which is disabled by default. As soon as the watchdog is started, it must be refreshed periodically otherwise the PMIC goes off. Signed-off-by: Pascal Paillet Reviewed-by: Guenter Roeck --- changes in v6: nothing drivers/watchdog/Kconfig | 12

[PATCH v6 7/8] dt-bindings: watchdog: document stpmic1 pmic watchdog

2018-11-27 Thread Pascal PAILLET-LME
The stpmic1 PMIC embeds a watchdog which is disabled by default. In case of watchdog, the PMIC goes off. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring Reviewed-by: Guenter Roeck --- changes in v6: nothing Documentation/devicetree/bindings/watchdog/st,stpmic1-wdt.txt | 11 +++

[PATCH v8 6/6] watchdog: stpmic1: add stpmic1 watchdog driver

2018-12-14 Thread Pascal PAILLET-LME
The stpmic1 PMIC embeds a watchdog which is disabled by default. As soon as the watchdog is started, it must be refreshed periodically otherwise the PMIC goes off. Signed-off-by: Pascal Paillet Reviewed-by: Guenter Roeck --- changes in v8: nothing drivers/watchdog/Kconfig | 12

[PATCH v8 1/6] dt-bindings: mfd: document stpmic1

2018-12-14 Thread Pascal PAILLET-LME
STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones --- changes in v8: nothing

[PATCH v8 5/6] dt-bindings: watchdog: document stpmic1 pmic watchdog

2018-12-14 Thread Pascal PAILLET-LME
The stpmic1 PMIC embeds a watchdog which is disabled by default. In case of watchdog, the PMIC goes off. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring Reviewed-by: Guenter Roeck --- changes in v8: nothing Documentation/devicetree/bindings/watchdog/st,stpmic1-wdt.txt | 11 +++

[PATCH v8 4/6] input: stpmic1: add stpmic1 onkey driver

2018-12-14 Thread Pascal PAILLET-LME
The stpmic1 pmic is able to manage an onkey button. This driver exposes the stpmic1 onkey as an input device. It can also be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: Pascal Paillet Acked-by: Dmitry Torokhov --- changes in v8:

[PATCH v8 2/6] mfd: stpmic1: add stpmic1 driver

2018-12-14 Thread Pascal PAILLET-LME
STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. Signed-off-by: Pascal Paillet Acked-for-MFD-by: Lee Jones --- changes in v8: nothing drivers/mfd/Kconfig | 16 drivers/mfd/Makefile

[PATCH v8 3/6] dt-bindings: input: document stpmic1 pmic onkey

2018-12-14 Thread Pascal PAILLET-LME
The stpmic1 pmic is able to manage an onkey button. It can be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: Pascal Paillet Reviewed-by: Rob Herring --- changes in v8: nothing .../devicetree/bindings/input/st,stpmic1-onkey.txt | 28

  1   2   >