From: Lukasz Majewski <l.majewski@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 01/10] power: Rename CONFIG_PMIC_... to CONFIG_POWER_...
Date: Thu, 27 Mar 2014 17:32:51 +0100 [thread overview]
Message-ID: <20140327173251.18ade455@amdc2363> (raw)
In-Reply-To: <1395856590-21917-2-git-send-email-sjg@chromium.org>
Hi Simon,
> Commit be3b51aa did this mostly, but several have been added since.
> Do the job again.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
> drivers/power/power_fsl.c | 6 +++---
> include/configs/arndale.h | 4 ++--
> include/configs/exynos5250-dt.h | 2 +-
> include/configs/mx25pdk.h | 2 +-
> include/configs/mx35pdk.h | 2 +-
> include/configs/mx53evk.h | 2 +-
> include/configs/mx53loco.h | 2 +-
> include/configs/woodburn_common.h | 2 +-
> 8 files changed, 11 insertions(+), 11 deletions(-)
>
> diff --git a/drivers/power/power_fsl.c b/drivers/power/power_fsl.c
> index ac0b541..a64161b 100644
> --- a/drivers/power/power_fsl.c
> +++ b/drivers/power/power_fsl.c
> @@ -11,9 +11,9 @@
> #include <fsl_pmic.h>
> #include <errno.h>
>
> -#if defined(CONFIG_PMIC_FSL_MC13892)
> +#if defined(CONFIG_POWER_FSL_MC13892)
> #define FSL_PMIC_I2C_LENGTH 3
> -#elif defined(CONFIG_PMIC_FSL_MC34704)
> +#elif defined(CONFIG_POWER_FSL_MC34704)
> #define FSL_PMIC_I2C_LENGTH 1
> #endif
>
> @@ -51,7 +51,7 @@ int pmic_init(unsigned char bus)
> p->hw.i2c.addr = CONFIG_SYS_FSL_PMIC_I2C_ADDR;
> p->hw.i2c.tx_num = FSL_PMIC_I2C_LENGTH;
> #else
> -#error "You must select CONFIG_POWER_SPI or CONFIG_PMIC_I2C"
> +#error "You must select CONFIG_POWER_SPI or CONFIG_POWER_I2C"
> #endif
>
> return 0;
> diff --git a/include/configs/arndale.h b/include/configs/arndale.h
> index 515facf..30ecd45 100644
> --- a/include/configs/arndale.h
> +++ b/include/configs/arndale.h
> @@ -224,8 +224,8 @@
>
> /* PMIC */
> #define CONFIG_PMIC
> -#define CONFIG_PMIC_I2C
> -#define CONFIG_PMIC_MAX77686
> +#define CONFIG_POWER_I2C
> +#define CONFIG_POWER_MAX77686
>
> #define CONFIG_DEFAULT_DEVICE_TREE exynos5250-arndale
>
> diff --git a/include/configs/exynos5250-dt.h
> b/include/configs/exynos5250-dt.h index b7ff472..9d1d56a 100644
> --- a/include/configs/exynos5250-dt.h
> +++ b/include/configs/exynos5250-dt.h
> @@ -45,7 +45,7 @@
> #define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
>
> /* PMIC */
> -#define CONFIG_PMIC_MAX77686
> +#define CONFIG_POWER_MAX77686
>
> /* Sound */
> #define CONFIG_CMD_SOUND
> diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h
> index af6aafa..571d45a 100644
> --- a/include/configs/mx25pdk.h
> +++ b/include/configs/mx25pdk.h
> @@ -106,7 +106,7 @@
> #define CONFIG_POWER
> #define CONFIG_POWER_I2C
> #define CONFIG_POWER_FSL
> -#define CONFIG_PMIC_FSL_MC34704
> +#define CONFIG_POWER_FSL_MC34704
> #define CONFIG_SYS_FSL_PMIC_I2C_ADDR 0x54
>
> #define CONFIG_DOS_PARTITION
> diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h
> index 0a46f4c..ab48144 100644
> --- a/include/configs/mx35pdk.h
> +++ b/include/configs/mx35pdk.h
> @@ -52,7 +52,7 @@
> #define CONFIG_POWER
> #define CONFIG_POWER_I2C
> #define CONFIG_POWER_FSL
> -#define CONFIG_PMIC_FSL_MC13892
> +#define CONFIG_POWER_FSL_MC13892
> #define CONFIG_SYS_FSL_PMIC_I2C_ADDR 0x08
> #define CONFIG_RTC_MC13XXX
>
> diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h
> index 3f0d80a..042cdd0 100644
> --- a/include/configs/mx53evk.h
> +++ b/include/configs/mx53evk.h
> @@ -45,7 +45,7 @@
> #define CONFIG_POWER_I2C
> #define CONFIG_POWER_FSL
> #define CONFIG_SYS_FSL_PMIC_I2C_ADDR 8
> -#define CONFIG_PMIC_FSL_MC13892
> +#define CONFIG_POWER_FSL_MC13892
> #define CONFIG_RTC_MC13XXX
>
> /* MMC Configs */
> diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
> index 1415584..365d072 100644
> --- a/include/configs/mx53loco.h
> +++ b/include/configs/mx53loco.h
> @@ -80,7 +80,7 @@
> #define CONFIG_POWER_I2C
> #define CONFIG_DIALOG_POWER
> #define CONFIG_POWER_FSL
> -#define CONFIG_PMIC_FSL_MC13892
> +#define CONFIG_POWER_FSL_MC13892
> #define CONFIG_SYS_DIALOG_PMIC_I2C_ADDR 0x48
> #define CONFIG_SYS_FSL_PMIC_I2C_ADDR 0x8
>
> diff --git a/include/configs/woodburn_common.h
> b/include/configs/woodburn_common.h index 695bc23..259205e 100644
> --- a/include/configs/woodburn_common.h
> +++ b/include/configs/woodburn_common.h
> @@ -55,7 +55,7 @@
> #define CONFIG_POWER
> #define CONFIG_POWER_I2C
> #define CONFIG_POWER_FSL
> -#define CONFIG_PMIC_FSL_MC13892
> +#define CONFIG_POWER_FSL_MC13892
> #define CONFIG_SYS_FSL_PMIC_I2C_ADDR 0x8
> #define CONFIG_RTC_MC13XXX
>
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 16:32 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 [this message]
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
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=20140327173251.18ade455@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