|
|
Subscribe / Log in / New account

regulator: mp8859: add driver for DC/DC converter used on rk3399-roc-pc board

From:  Markus Reichl <m.reichl-AT-fivetechno.de>
To:  linux-rockchip-AT-lists.infradead.org
Subject:  [PATCH 0/5] regulator: mp8859: add driver for DC/DC converter used on rk3399-roc-pc board
Date:  Sat, 4 Jan 2020 16:32:44 +0100
Message-ID:  <20200104153321.6584-1-m.reichl@fivetechno.de>
Cc:  Markus Reichl <m.reichl-AT-fivetechno.de>, "Angus Ainslie (Purism)" <angus-AT-akkea.ca>, devicetree-AT-vger.kernel.org, Heiko Stuebner <heiko-AT-sntech.de>, Jagan Teki <jagan-AT-amarulasolutions.com>, Laurent Pinchart <laurent.pinchart-AT-ideasonboard.com>, Linus Walleij <linus.walleij-AT-linaro.org>, linux-arm-kernel-AT-lists.infradead.org, linux-kernel-AT-vger.kernel.org, Maxime Ripard <mripard-AT-kernel.org>, Rob Herring <robh-AT-kernel.org>, Shawn Guo <shawnguo-AT-kernel.org>, Stephan Gerhold <stephan-AT-gerhold.net>
Archive-link:  Article

On rk3399-roc-pc board a voltage regulator MP8859 from Monolithic Power Systems
is used to supply the 12V power line. This delivers 5V as a default value after
boot. The voltage is controllable via I2C.
Add a basic driver to set and get the voltage of the MP8859 and add a matching
node with fixed 12V in the DT of the board. 

Markus Reichl (5):
  regulator: mp8859: add driver
  regulator: mp8859: add config option and build entry
  dt-bindings: add vendor Monolithic Power Systems
  dt-bindings: regulator: add MPS mp8859 voltage regulator
  arm64: dts: rockchip: Enable mp8859 regulator on rk3399-roc-pc

 .../devicetree/bindings/regulator/mp8859.txt  |  22 +++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 .../boot/dts/rockchip/rk3399-roc-pc.dtsi      |  32 ++--
 drivers/regulator/Kconfig                     |  11 ++
 drivers/regulator/Makefile                    |   1 +
 drivers/regulator/mp8859.c                    | 156 ++++++++++++++++++
 6 files changed, 210 insertions(+), 14 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/regulator/mp8859.txt
 create mode 100644 drivers/regulator/mp8859.c

-- 
2.24.1



Copyright © 2020, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds