lkml.org 
[lkml]   [2018]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH v3 0/8] Introduce STPMIC1 PMIC Driver
    Date
    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 hardware watchdog.
    The STPMIC1 is controlled via I2C.

    Main driver is drivers/mfd/stpmic1 that handle I2C regmap configuration and
    irqchip. stpmic1_regulator, stpmic1_onkey and stpmic1_wdt need stpmic1 mfd
    as parent.

    stpmic1 mfd and regulator drivers maybe mandatory at boot time.

    changes in v3:
    * Rebase oo regul/for-next
    * Rename struct stpmic1_dev by struct stpmic1.

    pascal paillet (8):
    dt-bindings: mfd: document stpmic1
    mfd: stpmic1: add stpmic1 driver
    dt-bindings: regulator: document stpmic1 pmic regulators
    regulator: stpmic1: add stpmic1 regulator driver
    dt-bindings: input: document stpmic1 pmic onkey
    input: stpmic1: add stpmic1 onkey driver
    dt-bindings: watchdog: document stpmic1 pmic watchdog
    watchdog: stpmic1: add stpmic1 watchdog driver

    .../devicetree/bindings/input/st,stpmic1-onkey.txt | 30 +
    .../devicetree/bindings/mfd/st,stpmic1.txt | 133 ++++
    .../bindings/regulator/st,stpmic1-regulator.txt | 68 +++
    .../bindings/watchdog/st,stpmic1-wdt.txt | 11 +
    drivers/input/misc/Kconfig | 11 +
    drivers/input/misc/Makefile | 2 +
    drivers/input/misc/stpmic1_onkey.c | 248 ++++++++
    drivers/mfd/Kconfig | 13 +
    drivers/mfd/Makefile | 1 +
    drivers/mfd/stpmic1.c | 401 ++++++++++++
    drivers/regulator/Kconfig | 12 +
    drivers/regulator/Makefile | 1 +
    drivers/regulator/stpmic1_regulator.c | 674 +++++++++++++++++++++
    drivers/watchdog/Kconfig | 12 +
    drivers/watchdog/Makefile | 1 +
    drivers/watchdog/stpmic1_wdt.c | 138 +++++
    include/dt-bindings/mfd/st,stpmic1.h | 46 ++
    include/linux/mfd/stpmic1.h | 212 +++++++
    18 files changed, 2014 insertions(+)
    create mode 100644 Documentation/devicetree/bindings/input/st,stpmic1-onkey.txt
    create mode 100644 Documentation/devicetree/bindings/mfd/st,stpmic1.txt
    create mode 100644 Documentation/devicetree/bindings/regulator/st,stpmic1-regulator.txt
    create mode 100644 Documentation/devicetree/bindings/watchdog/st,stpmic1-wdt.txt
    create mode 100644 drivers/input/misc/stpmic1_onkey.c
    create mode 100644 drivers/mfd/stpmic1.c
    create mode 100644 drivers/regulator/stpmic1_regulator.c
    create mode 100644 drivers/watchdog/stpmic1_wdt.c
    create mode 100644 include/dt-bindings/mfd/st,stpmic1.h
    create mode 100644 include/linux/mfd/stpmic1.h

    --
    1.9.1

    \
     
     \ /
      Last update: 2018-10-08 18:31    [W:5.193 / U:0.368 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site