power: stpmu1: rename files to stpmic1
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 4 Feb 2019 10:26:16 +0000 (11:26 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 12 Apr 2019 14:09:13 +0000 (16:09 +0200)
Prepare file modification for kernel alignment and
rename driver to stpmic1.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
arch/arm/dts/stm32mp157c-ed1.dts
board/st/stm32mp1/board.c
board/st/stm32mp1/spl.c
drivers/power/pmic/Makefile
drivers/power/pmic/stpmic1.c [moved from drivers/power/pmic/stpmu1.c with 98% similarity]
drivers/power/regulator/Makefile
drivers/power/regulator/stpmic1.c [moved from drivers/power/regulator/stpmu1.c with 99% similarity]
include/dt-bindings/mfd/st,stpmic1.h [moved from include/dt-bindings/mfd/st,stpmu1.h with 100% similarity]
include/power/stpmic1.h [moved from include/power/stpmu1.h with 100% similarity]

index 7a9b742..ddee286 100644 (file)
@@ -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";
index 5f31ea9..1bb9779 100644 (file)
@@ -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)
index f3db0d6..1202297 100644 (file)
@@ -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)
index 637352a..147ac76 100644 (file)
@@ -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
similarity index 98%
rename from drivers/power/pmic/stpmu1.c
rename to drivers/power/pmic/stpmic1.c
index 47af012..157ce8b 100644 (file)
@@ -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
 
index f617ce7..cfc91e8 100644 (file)
@@ -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
similarity index 99%
rename from drivers/power/regulator/stpmu1.c
rename to drivers/power/regulator/stpmic1.c
index 2e64051..c62a19a 100644 (file)
@@ -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;