[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 fil

[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 ha

[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 nam

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 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(+) crea

[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 file

[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 Doc

[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 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 --- drivers/input/misc/Kconf

[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 ++ 1

[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 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 b

[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 | 1

[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(+) d

[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 a

[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 +- include/linux/regulator/dri

[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 fil

<    1   2