From: Lukasz Majewski <l.majewski@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 05/10] exynos5: support tps65090 pmic
Date: Thu, 27 Mar 2014 18:28:28 +0100 [thread overview]
Message-ID: <20140327182828.420668e3@amdc2363> (raw)
In-Reply-To: <1395856590-21917-6-git-send-email-sjg@chromium.org>
Hi Simon,
> From: Aaron Durbin <adurbin@chromium.org>
>
> The TSP65090 is a PMIC on some exynos5 boards. The init function is
> called for the TPS65090 pmic. If that device is not a part of the
> device tree (returns -ENODEV) then continue. Otherwise return a
> failure.
>
> Signed-off-by: Aaron Durbin <adurbin@chromium.org>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> ---
>
> board/samsung/common/board.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/board/samsung/common/board.c
> b/board/samsung/common/board.c index 3866495..654bdb6 100644
> --- a/board/samsung/common/board.c
> +++ b/board/samsung/common/board.c
> @@ -23,6 +23,7 @@
> #include <power/pmic.h>
> #include <asm/arch/sromc.h>
> #include <power/max77686_pmic.h>
> +#include <power/tps65090_pmic.h>
>
> DECLARE_GLOBAL_DATA_PTR;
>
> @@ -261,6 +262,12 @@ int power_init_board(void)
> ret = max77686_init();
> #endif
>
> + /* The TPS65090 may not be in the device tree. If so, it is
> not
> + * an error. */
> + ret = tps65090_init();
> + if (ret == 0 || ret == -ENODEV)
> + return 0;
> +
> return ret;
> }
> #endif
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
--
Best regards,
Lukasz Majewski
Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
next prev parent reply other threads:[~2014-03-27 17:28 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-26 17:56 [U-Boot] [PATCH 0/10] Enable LCD display on snow Simon Glass
2014-03-26 17:56 ` [U-Boot] [PATCH 01/10] power: Rename CONFIG_PMIC_... to CONFIG_POWER_ Simon Glass
2014-03-27 16:32 ` Lukasz Majewski
2014-03-26 17:56 ` [U-Boot] [PATCH 02/10] power: Add support for TPS65090 PMU chip Simon Glass
2014-03-27 17:59 ` Lukasz Majewski
2014-03-30 0:14 ` Simon Glass
2014-03-31 14:33 ` Lukasz Majewski
2014-03-31 17:27 ` Simon Glass
2014-03-31 20:59 ` Lukasz Majewski
2014-03-26 17:56 ` [U-Boot] [PATCH 03/10] exynos5: Enable tps65090 on smdk5250 Simon Glass
2014-03-29 22:40 ` Ajay kumar
2014-03-30 0:22 ` Simon Glass
2014-03-26 17:56 ` [U-Boot] [PATCH 04/10] power: Explicitly select pmic device's bus Simon Glass
2014-03-27 17:33 ` Lukasz Majewski
2014-03-30 0:17 ` Simon Glass
2014-03-31 5:17 ` Heiko Schocher
2014-03-31 6:17 ` Lukasz Majewski
2014-04-01 4:58 ` Heiko Schocher
2014-03-31 14:36 ` Lukasz Majewski
2014-04-01 4:59 ` Heiko Schocher
2014-03-26 17:56 ` [U-Boot] [PATCH 05/10] exynos5: support tps65090 pmic Simon Glass
2014-03-27 12:13 ` Minkyu Kang
2014-03-30 0:18 ` Simon Glass
2014-03-27 17:28 ` Lukasz Majewski [this message]
2014-03-26 17:56 ` [U-Boot] [PATCH 06/10] exynos: Enable PSHOLD in SPL Simon Glass
2014-03-27 17:13 ` Lukasz Majewski
2014-03-26 17:56 ` [U-Boot] [PATCH 07/10] exynos: dts: Disable cros_ec interrupts due to broken GPIOs Simon Glass
2014-03-26 17:56 ` [U-Boot] [PATCH 08/10] exynos: dts: Enable LCD for snow Simon Glass
2014-03-27 17:23 ` Lukasz Majewski
2014-03-30 0:24 ` Simon Glass
2014-03-26 17:56 ` [U-Boot] [PATCH 09/10] exynos: Enable the LCD backlight " Simon Glass
2014-03-27 12:13 ` Minkyu Kang
2014-03-27 17:25 ` Lukasz Majewski
2014-03-29 22:35 ` Ajay kumar
2014-03-30 0:06 ` Simon Glass
2014-03-26 17:56 ` [U-Boot] [PATCH 10/10] initcall: Improve debugging support Simon Glass
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=20140327182828.420668e3@amdc2363 \
--to=l.majewski@samsung.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