public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] sunxi: power: add support for sy8106a driver
Date: Sun, 21 Feb 2016 16:00:10 +0100	[thread overview]
Message-ID: <877fhyaz2d.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1455054147-7866-1-git-send-email-hdegoede@redhat.com> (Hans de Goede's message of "Tue, 9 Feb 2016 22:42:27 +0100")

>>>>> "Hans" == Hans de Goede <hdegoede@redhat.com> writes:

 > From: Jelle van der Waa <jelle@vdwaa.nl>
 > SY8106A is a PMIC which is used on the Allwinner
 > H3 Orange Pi Pc board. The VOUT1_SEL register is
 > implemented to set thea default V-CPU voltage to 1200 mV.

 > Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
 > [hdegoede at redhat.com: Polish Kconfig parts a bit]
 > Signed-off-by: Hans de Goede <hdegoede@redhat.com>
 > ---
 >  board/sunxi/Kconfig            |  6 +++++-
 >  board/sunxi/board.c            |  5 +++++
 >  configs/orangepi_pc_defconfig  |  1 -
 >  drivers/power/Kconfig          | 18 +++++++++++++++++-
 >  drivers/power/Makefile         |  1 +
 >  drivers/power/sy8106a.c        | 23 +++++++++++++++++++++++
 >  include/configs/sunxi-common.h |  6 ++++--
 >  include/sy8106a.h              |  5 +++++
 >  8 files changed, 60 insertions(+), 5 deletions(-)
 >  create mode 100644 drivers/power/sy8106a.c
 >  create mode 100644 include/sy8106a.h

 > diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
 > index a334aa3..449d9dd 100644
 > --- a/board/sunxi/Kconfig
 > +++ b/board/sunxi/Kconfig
 > @@ -372,11 +372,15 @@ config I2C3_ENABLE
 >  	See I2C0_ENABLE help text.
 >  endif
 
 > +if SUNXI_GEN_SUN6I
 >  config R_I2C_ENABLE
 >  	bool "Enable the PRCM I2C/TWI controller"
 > -	default n
 > +	# This is used for the pmic on H3
 > +	default y if MACH_SUN8I_H3
 > +	default n if !MACH_SUN8I_H3

Default is 'n', so the last line can be removed.


-- 
Bye, Peter Korsgaard

      parent reply	other threads:[~2016-02-21 15:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-09 21:42 [U-Boot] [PATCH] sunxi: power: add support for sy8106a driver Hans de Goede
2016-02-10 10:31 ` Siarhei Siamashka
2016-02-21 15:00 ` Peter Korsgaard [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=877fhyaz2d.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.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