Re: [RFC PATCH regulator] regulator: ready_mask_table[] can be static

2019-04-16 Thread Pascal PAILLET-LME
The same patch was proposed by YueHaibing Acked-by: Pascal Paillet thank you, pascal Le 04/15/2019 06:52 PM, kbuild test robot a écrit : > Fixes: 6cdae8173f67 ("regulator: Add support for stm32 power regulators") > Signed-off-by: kbuild test robot > --- > stm32-pwr.c |6 +++--- > 1

[PATCH v2 0/2] Add support for STM32MP1 power regulators

2019-04-15 Thread Pascal PAILLET-LME
The POWER block of the STM32MP1 integrates 3 fixed regulators with a ready status bit for each one. The goal of this patchset is to add support those regulators. Pascal Paillet (2): changes in v2: * add COMPILE_TEST switch * do not test ready in is_enabled() callback * remove of_regulator_match *

[PATCH v2 1/2] dt-bindings: regulator: Add stm32mp1 pwr regulators

2019-04-15 Thread Pascal PAILLET-LME
Document devicetree bindings for stm32mp1 pwr regulators. Signed-off-by: Pascal Paillet --- .../bindings/regulator/st,stm32mp1-pwr-reg.txt | 43 ++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.txt

[PATCH v2 2/2] regulator: Add support for stm32 power regulators

2019-04-15 Thread Pascal PAILLET-LME
Add support for 1V1 1V8 USB3V3 power regulators. Signed-off-by: Pascal Paillet --- drivers/regulator/Kconfig | 7 ++ drivers/regulator/Makefile| 1 + drivers/regulator/stm32-pwr.c | 190 ++ 3 files changed, 198 insertions(+) create mode

[PATCH v2 2/3] ARM: dts: stm32: add stpmic1 support on stm32mp157a dk1 board

2019-04-09 Thread Pascal PAILLET-LME
This patch adds stpmic1 support on stm32mp157a dk1 board. The STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. The DMAs are disabled because the PMIC generates a very few traffic and DMA channels may lack

[PATCH v2 0/3] Add support for STPMIC1

2019-04-09 Thread Pascal PAILLET-LME
Add support for STPMIC1 on: - stm32mp157c ed1 board - stm32mp157a dk1 board - arm multi_v7_defconfig Pascal Paillet (3): changes in v2: * Describe why we disable the DMAs for PMIC ARM: dts: stm32: add stpmic1 support on stm32mp157c ed1 board ARM: dts: stm32: add stpmic1 support on

[PATCH v2 3/3] ARM: multi_v7_defconfig: Enable support for STPMIC1

2019-04-09 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 --- arch/arm/configs/multi_v7_defconfig | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v2 1/3] ARM: dts: stm32: add stpmic1 support on stm32mp157c ed1 board

2019-04-09 Thread Pascal PAILLET-LME
This patch adds stpmic1 support on stm32mp157c ed1 board. The STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 regulators, 3 power switches, a watchdog and an input for a power on key. The DMAs are disabled because the PMIC generates a very few traffic and DMA channels may lack

[PATCH 1/2] dt-bindings: regulator: Add stm32mp1 pwr regulators

2019-04-08 Thread Pascal PAILLET-LME
Document devicetree bindings for stm32mp1 pwr regulators. Signed-off-by: Pascal Paillet --- .../bindings/regulator/st,stm32mp1-pwr-reg.txt | 43 ++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.txt

[PATCH 0/2] Add support for STM32MP1 power regulators

2019-04-08 Thread Pascal PAILLET-LME
The POWER block of the STM32MP1 integrates 3 fixed regulators with a ready status bit for each one. The goal of this patchset is to add support those regulators. Pascal Paillet (2): dt-bindings: regulator: Add stm32mp1 pwr regulators regulator: Add support for stm32 power regulators

[PATCH 2/2] regulator: Add support for stm32 power regulators

2019-04-08 Thread Pascal PAILLET-LME
Add support for 1V1 1V8 USB3V3 power regulators. Signed-off-by: Pascal Paillet --- drivers/regulator/Kconfig | 7 ++ drivers/regulator/Makefile| 1 + drivers/regulator/stm32-pwr.c | 193 ++ 3 files changed, 201 insertions(+) create mode

Re: [PATCH 1/3] ARM: dts: stm32: add stpmic1 support on stm32mp157c ed1 board

2019-04-08 Thread Pascal PAILLET-LME
Hello! Le 04/08/2019 02:05 PM, Linus Walleij a écrit : > On Wed, Apr 3, 2019 at 3:41 PM Pascal PAILLET-LME wrote: > >> This patch adds stpmic1 support on stm32mp157c ed1 board. >> The STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10 >> regulators, 3 po

[PATCH 2/3] ARM: dts: stm32: add stpmic1 support on stm32mp157a dk1 board

2019-04-03 Thread Pascal PAILLET-LME
This patch adds stpmic1 support on stm32mp157a dk1 board. The 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 --- arch/arm/boot/dts/stm32mp157a-dk1.dts | 157

[PATCH 1/3] ARM: dts: stm32: add stpmic1 support on stm32mp157c ed1 board

2019-04-03 Thread Pascal PAILLET-LME
This patch adds stpmic1 support on stm32mp157c ed1 board. The 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 --- arch/arm/boot/dts/stm32mp157c-ed1.dts | 155

[PATCH 0/3] Add support for STPMIC1

2019-04-03 Thread Pascal PAILLET-LME
Add support for STPMIC1 on: - stm32mp157c ed1 board - stm32mp157a dk1 board - arm multi_v7_defconfig Pascal Paillet (3): ARM: dts: stm32: add stpmic1 support on stm32mp157c ed1 board ARM: dts: stm32: add stpmic1 support on stm32mp157a dk1 board ARM: multi_v7_defconfig: Enable support for

[PATCH 3/3] ARM: multi_v7_defconfig: Enable support for STPMIC1

2019-04-03 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 --- arch/arm/configs/multi_v7_defconfig | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 4/8] dt-bindings: regulator: remove regulator pull-down support for stpmic1

2019-02-19 Thread Pascal PAILLET-LME
Regulator high pull down are enabled by default so remove support in the driver. Signed-off-by: Pascal Paillet --- Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH 0/8] STPMIC1 Fixes

2019-02-19 Thread Pascal PAILLET-LME
The goal of this patch-set is to improve the stpmic1 regulator driver: with Fixes: - Simplify regulator registration code - Remove support of regulator pull-down - Fix buck1 voltage range - Fix binding documentation with a new feature: - Add support for active discharge Pascal Paillet (8):

[PATCH 3/8] dt-bindings: regulator: remove interrupt-parent description on stpmic1

2019-02-19 Thread Pascal PAILLET-LME
The interrupt parent description is not needed as the parent is a parent node with 'interrupt-controller' property. Signed-off-by: pascal paillet --- Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH 1/8] regulator: stpmic1: Use regulator mode definition from bindings

2019-02-19 Thread Pascal PAILLET-LME
Get the regulator mode definition from the bindings header. Signed-off-by: pascal paillet --- drivers/regulator/stpmic1_regulator.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/stpmic1_regulator.c b/drivers/regulator/stpmic1_regulator.c index

[PATCH 7/8] dt-bindings: regulator: Add active discharge support for stpmic1

2019-02-19 Thread Pascal PAILLET-LME
Add support for active discharge for USB power switches. Signed-off-by: pascal paillet --- Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt

[PATCH 6/8] regulator: stpmic1: Change buck1 voltage range

2019-02-19 Thread Pascal PAILLET-LME
Change buck1 voltage range to be conform with the data-sheet. Signed-off-by: pascal paillet --- drivers/regulator/stpmic1_regulator.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/stpmic1_regulator.c b/drivers/regulator/stpmic1_regulator.c index

[PATCH 5/8] regulator: stpmic1: Remove support for regulator pull down

2019-02-19 Thread Pascal PAILLET-LME
Regulator high pull down are enabled by default so remove support in the driver. Signed-off-by: pascal paillet --- drivers/regulator/stpmic1_regulator.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/regulator/stpmic1_regulator.c

[PATCH 8/8] regulator: stpmic1: Add active discharge support

2019-02-19 Thread Pascal PAILLET-LME
Add support for active discharge for USB power switches. Signed-off-by: pascal paillet --- drivers/regulator/stpmic1_regulator.c | 68 --- 1 file changed, 55 insertions(+), 13 deletions(-) diff --git a/drivers/regulator/stpmic1_regulator.c

[PATCH 2/8] regulator: stpmic1: Simplify regulators registration

2019-02-19 Thread Pascal PAILLET-LME
Stop using a regulator_init callback. This leads to a more simple regulator registration code. This also permits to spuress struct stpmic1_regulator. Also rename stpmic1_regulators_matches to stpmic1_matches. Signed-off-by: pascal paillet --- drivers/regulator/stpmic1_regulator.c | 168

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

[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

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

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

2018-12-14 Thread Pascal PAILLET-LME
Hello Lee, Le 12/14/2018 01:47 PM, Lee Jones a écrit : > changes in v7: > * rebase on regul/for-next > >dt-bindings: mfd: document stpmic1 >mfd: stpmic1: add stpmic1 driver >dt-bindings: input: document stpmic1 pmic onkey >input: stpmic1: add stpmic1 onkey driver >dt-bindings:

[PATCH v8 0/6] Introduce STPMIC1 PMIC Driver

2018-12-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 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

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

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

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

[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

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

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

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

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

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

[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

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

  1   2   >