public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot,v5,1/3] power: add FAN53555 family support
Date: Mon, 10 Dec 2018 01:01:54 +0100	[thread overview]
Message-ID: <E1gW91G-0005HS-Rz@mail.theobroma-systems.com> (raw)
In-Reply-To: <1543604410-42192-1-git-send-email-philipp.tomsich@theobroma-systems.com>

> This adds a driver for the FAN53555 family of regulators and wraps it
> in a PMIC implementation.
> 
> While these devices support a 'normal' and 'suspend' mode (controlled
> via an external pin) to switch between two programmable voltages, this
> incarnation of the driver assumes that the device is always operating
> in 'normal' mode.
> 
> Only setting/reading the programmed voltage is supported at this time
> and the following device functionality remains unsupported:
>   - switching the selected voltage (via a GPIO)
>   - disabling the voltage output via software-control
> This matches the functionality of the Linux driver.
> 
> Tested on a RK3399-Q7 (with 'option 5' devices): setting voltages from
> the U-Boot shell and verifying output voltages on the board.
> 
> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com>
> ---
> 
> Changes in v5:
> - introduced a PMIC (as requested by SJG) to wrap the single regulator
> 
> Changes in v4:
> - fix issues introduced when updating for review comments (sorry for
>   this: my submit-branch had diverged from the WIP-branch I used for
>   testing and I didn't notice)
> 
> Changes in v3:
> - update for review comments
> 
> Changes in v2:
> - adapted documentation on the device-tree binding from Linux
> 
>  doc/device-tree-bindings/regulator/fan53555.txt |  23 +++
>  drivers/power/pmic/Kconfig                      |  14 ++
>  drivers/power/pmic/Makefile                     |   1 +
>  drivers/power/pmic/fan53555.c                   |  82 +++++++++
>  drivers/power/regulator/Kconfig                 |  16 ++
>  drivers/power/regulator/Makefile                |   1 +
>  drivers/power/regulator/fan53555.c              | 222 ++++++++++++++++++++++++
>  7 files changed, 359 insertions(+)
>  create mode 100644 doc/device-tree-bindings/regulator/fan53555.txt
>  create mode 100644 drivers/power/pmic/fan53555.c
>  create mode 100644 drivers/power/regulator/fan53555.c
> 

Applied to u-boot-rockchip, thanks!

      parent reply	other threads:[~2018-12-10  0:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-30 19:00 [U-Boot] [PATCH v5 1/3] power: add FAN53555 family support Philipp Tomsich
2018-11-30 19:00 ` [U-Boot] [PATCH v5 2/3] rockchip: rk3399-puma: defconfig: enable FAN53555 regulator driver Philipp Tomsich
2018-12-10  0:01   ` [U-Boot] [U-Boot, v5, " Philipp Tomsich
2018-11-30 19:00 ` [U-Boot] [PATCH v5 3/3] rockchip: rk3399-puma: enable fan53555 regulators in DTS Philipp Tomsich
2018-12-10  0:01   ` [U-Boot] [U-Boot, v5, " Philipp Tomsich
2018-12-10  0:01 ` Philipp Tomsich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1gW91G-0005HS-Rz@mail.theobroma-systems.com \
    --to=philipp.tomsich@theobroma-systems.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox