public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/8] power: stpmu1: rename files to stpmic1
Date: Tue, 5 Feb 2019 07:33:06 +0100	[thread overview]
Message-ID: <20190205073306.5b2e5267@jawa> (raw)
In-Reply-To: <1549275982-15102-3-git-send-email-patrick.delaunay@st.com>

On Mon, 4 Feb 2019 11:26:16 +0100
Patrick Delaunay <patrick.delaunay@st.com> wrote:

> Prepare file modification for kernel alignment and
> rename driver to stpmic1.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> ---
> 
>  arch/arm/dts/stm32mp157c-ed1.dts                      | 2 +-
>  board/st/stm32mp1/board.c                             | 2 +-
>  board/st/stm32mp1/spl.c                               | 2 +-
>  drivers/power/pmic/Makefile                           | 2 +-
>  drivers/power/pmic/{stpmu1.c => stpmic1.c}            | 2 +-
>  drivers/power/regulator/Makefile                      | 2 +-
>  drivers/power/regulator/{stpmu1.c => stpmic1.c}       | 2 +-
>  include/dt-bindings/mfd/{st,stpmu1.h => st,stpmic1.h} | 0
>  include/power/{stpmu1.h => stpmic1.h}                 | 0
>  9 files changed, 7 insertions(+), 7 deletions(-)
>  rename drivers/power/pmic/{stpmu1.c => stpmic1.c} (98%)
>  rename drivers/power/regulator/{stpmu1.c => stpmic1.c} (99%)
>  rename include/dt-bindings/mfd/{st,stpmu1.h => st,stpmic1.h} (100%)
>  rename include/power/{stpmu1.h => stpmic1.h} (100%)
> 
> diff --git a/arch/arm/dts/stm32mp157c-ed1.dts
> b/arch/arm/dts/stm32mp157c-ed1.dts index 7a9b742..ddee286 100644
> --- a/arch/arm/dts/stm32mp157c-ed1.dts
> +++ b/arch/arm/dts/stm32mp157c-ed1.dts
> @@ -8,7 +8,7 @@
>  #include "stm32mp157c.dtsi"
>  #include "stm32mp157-pinctrl.dtsi"
>  #include <dt-bindings/gpio/gpio.h>
> -#include <dt-bindings/mfd/st,stpmu1.h>
> +#include <dt-bindings/mfd/st,stpmic1.h>
>  
>  / {
>  	model = "STMicroelectronics STM32MP157C eval daughter";
> diff --git a/board/st/stm32mp1/board.c b/board/st/stm32mp1/board.c
> index 5f31ea9..1bb9779 100644
> --- a/board/st/stm32mp1/board.c
> +++ b/board/st/stm32mp1/board.c
> @@ -8,7 +8,7 @@
>  #include <asm/io.h>
>  #include <asm/arch/ddr.h>
>  #include <power/pmic.h>
> -#include <power/stpmu1.h>
> +#include <power/stpmic1.h>
>  
>  #ifdef CONFIG_DEBUG_UART_BOARD_INIT
>  void board_debug_uart_init(void)
> diff --git a/board/st/stm32mp1/spl.c b/board/st/stm32mp1/spl.c
> index f3db0d6..1202297 100644
> --- a/board/st/stm32mp1/spl.c
> +++ b/board/st/stm32mp1/spl.c
> @@ -11,7 +11,7 @@
>  #include <asm/io.h>
>  #include <post.h>
>  #include <power/pmic.h>
> -#include <power/stpmu1.h>
> +#include <power/stpmic1.h>
>  #include <asm/arch/ddr.h>
>  
>  void spl_board_init(void)
> diff --git a/drivers/power/pmic/Makefile b/drivers/power/pmic/Makefile
> index 637352a..147ac76 100644
> --- a/drivers/power/pmic/Makefile
> +++ b/drivers/power/pmic/Makefile
> @@ -23,7 +23,7 @@ obj-$(CONFIG_DM_PMIC_TPS65910) += pmic_tps65910_dm.o
>  obj-$(CONFIG_$(SPL_)PMIC_PALMAS) += palmas.o
>  obj-$(CONFIG_$(SPL_)PMIC_LP873X) += lp873x.o
>  obj-$(CONFIG_$(SPL_)PMIC_LP87565) += lp87565.o
> -obj-$(CONFIG_PMIC_STPMU1) += stpmu1.o
> +obj-$(CONFIG_PMIC_STPMU1) += stpmic1.o
>  
>  obj-$(CONFIG_POWER_LTC3676) += pmic_ltc3676.o
>  obj-$(CONFIG_POWER_MAX77696) += pmic_max77696.o
> diff --git a/drivers/power/pmic/stpmu1.c
> b/drivers/power/pmic/stpmic1.c similarity index 98%
> rename from drivers/power/pmic/stpmu1.c
> rename to drivers/power/pmic/stpmic1.c
> index 47af012..157ce8b 100644
> --- a/drivers/power/pmic/stpmu1.c
> +++ b/drivers/power/pmic/stpmic1.c
> @@ -8,7 +8,7 @@
>  #include <errno.h>
>  #include <i2c.h>
>  #include <power/pmic.h>
> -#include <power/stpmu1.h>
> +#include <power/stpmic1.h>
>  
>  #define STMPU1_NUM_OF_REGS 0x100
>  
> diff --git a/drivers/power/regulator/Makefile
> b/drivers/power/regulator/Makefile index f617ce7..cfc91e8 100644
> --- a/drivers/power/regulator/Makefile
> +++ b/drivers/power/regulator/Makefile
> @@ -24,4 +24,4 @@ obj-$(CONFIG_$(SPL_)DM_REGULATOR_LP873X) +=
> lp873x_regulator.o obj-$(CONFIG_$(SPL_)DM_REGULATOR_LP87565) +=
> lp87565_regulator.o obj-$(CONFIG_$(SPL_)DM_REGULATOR_STM32_VREFBUF)
> += stm32-vrefbuf.o obj-$(CONFIG_DM_REGULATOR_TPS65910) +=
> tps65910_regulator.o -obj-$(CONFIG_$(SPL_)DM_REGULATOR_STPMU1) +=
> stpmu1.o +obj-$(CONFIG_$(SPL_)DM_REGULATOR_STPMU1) += stpmic1.o
> diff --git a/drivers/power/regulator/stpmu1.c
> b/drivers/power/regulator/stpmic1.c similarity index 99%
> rename from drivers/power/regulator/stpmu1.c
> rename to drivers/power/regulator/stpmic1.c
> index 2e64051..c62a19a 100644
> --- a/drivers/power/regulator/stpmu1.c
> +++ b/drivers/power/regulator/stpmic1.c
> @@ -9,7 +9,7 @@
>  #include <errno.h>
>  #include <power/pmic.h>
>  #include <power/regulator.h>
> -#include <power/stpmu1.h>
> +#include <power/stpmic1.h>
>  
>  struct stpmu1_range {
>  	int min_uv;
> diff --git a/include/dt-bindings/mfd/st,stpmu1.h
> b/include/dt-bindings/mfd/st,stpmic1.h similarity index 100%
> rename from include/dt-bindings/mfd/st,stpmu1.h
> rename to include/dt-bindings/mfd/st,stpmic1.h
> diff --git a/include/power/stpmu1.h b/include/power/stpmic1.h
> similarity index 100%
> rename from include/power/stpmu1.h
> rename to include/power/stpmic1.h

Reviewed-by: Lukasz Majewski <lukma@denx.de>


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190205/46c1f185/attachment.sig>

  reply	other threads:[~2019-02-05  6:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-04 10:26 [U-Boot] [PATCH 0/8] pmic: stpmic1: rename and update stpmic1 driver Patrick Delaunay
2019-02-04 10:26 ` [U-Boot] [PATCH 1/8] regulator: stpmu1: update buck1 range Patrick Delaunay
2019-02-04 10:26 ` [U-Boot] [PATCH 2/8] power: stpmu1: rename files to stpmic1 Patrick Delaunay
2019-02-05  6:33   ` Lukasz Majewski [this message]
2019-02-04 10:26 ` [U-Boot] [PATCH 3/8] power: rename stpmu1 to official name stpmic1 Patrick Delaunay
2019-02-05  6:33   ` Lukasz Majewski
2019-02-04 10:26 ` [U-Boot] [PATCH 4/8] stpmic1: update register names Patrick Delaunay
2019-02-04 10:26 ` [U-Boot] [PATCH 5/8] pmic: stpmu1: add power switch off support Patrick Delaunay
2019-02-04 10:26 ` [U-Boot] [PATCH 6/8] stm32mp1: add command poweroff Patrick Delaunay
2019-02-04 10:26 ` [U-Boot] [PATCH 7/8] stm32mp1: dts: activate psci-1.0 Patrick Delaunay
2019-02-04 10:26 ` [U-Boot] [PATCH 8/8] stpmic1: add NVM update support in fuse command Patrick Delaunay

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=20190205073306.5b2e5267@jawa \
    --to=lukma@denx.de \
    --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