Skip to contentSkip to conversation

configs: trats2: enable the max77686 regulator config

PATCH New Jaehoon Chung 2 participants 4 messages Jan 25, 2018 1 message not in the archive Library code

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): CGME20180125071104epcas2p3ae5d16f9df523eca59d8df5f56be966e@epcas2p3.samsung.com

#1 lore raw

PATCH v2 1/3 configs: trats2: enable the max77686 regulator config

Enable the CONFIG_DM_REGULATOR_MAX77686 for using regulator driver.

---
 configs/trats2_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/trats2_defconfig +2 -0
index aaa25a9bc7..dab62530e7 100644
@@ -46,6 +46,8 @@ CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_S5P=y
 CONFIG_DM_PMIC=y
 CONFIG_DM_PMIC_MAX77686=y
+CONFIG_DM_REGULATOR=y
+CONFIG_DM_REGULATOR_MAX77686=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_GADGET=y
Signature · 1 line
2.15.1
#2 lore raw

PATCH v2 2/3 power: pmic_max77686: remove the old pmic_max77686 file

max77686 pmic is supporting with max77686.c under pmic/ and regulator/ direnctroy. Remove pmic_max77686.c what didn't use anywhere. Instead, enable CONFIG_DM_REGULATOR_MAX77686 and CONFIG_DM_PMIC_MAX77686.

---
 drivers/power/pmic/Makefile        |   1 -
 drivers/power/pmic/pmic_max77686.c | 304 -------------------------------------
 2 files changed, 305 deletions(-)
 delete mode 100644 drivers/power/pmic/pmic_max77686.c
drivers/power/pmic/Makefile +0 -1
index 7d6c583d34..265b7cb2f6 100644
@@ -29,7 +29,6 @@ obj-$(CONFIG_POWER_MAX77696) += pmic_max77696.o
 obj-$(CONFIG_POWER_MAX8998) += pmic_max8998.o
 obj-$(CONFIG_POWER_MAX8997) += pmic_max8997.o
 obj-$(CONFIG_POWER_MUIC_MAX8997) += muic_max8997.o
-obj-$(CONFIG_POWER_MAX77686) += pmic_max77686.o
 obj-$(CONFIG_POWER_PFUZE100) += pmic_pfuze100.o
 obj-$(CONFIG_POWER_PFUZE3000) += pmic_pfuze3000.o
 obj-$(CONFIG_POWER_TPS65217) += pmic_tps65217.o
drivers/power/pmic/pmic_max77686.c deleted +0 -304

304 lines not on this page · raw message

Signature · 1 line
2.15.1
#3 lore raw

PATCH v2 3/3 lib: fdtdec: drop the old compatible about max77686

In reply to Jaehoon Chung

Drop the old compatible about max77686.

---
 include/fdtdec.h | 1 -
 lib/fdtdec.c     | 1 -
 2 files changed, 2 deletions(-)
include/fdtdec.h +0 -1
index 4afb9ac501..59f589bc01 100644
@@ -136,7 +136,6 @@ enum fdt_compat_id {
 	COMPAT_SAMSUNG_EXYNOS_MIPI_DSI,	/* Exynos mipi dsi */
 	COMPAT_SAMSUNG_EXYNOS_DWMMC,	/* Exynos DWMMC controller */
 	COMPAT_SAMSUNG_EXYNOS_MMC,	/* Exynos MMC controller */
-	COMPAT_MAXIM_MAX77686_PMIC,	/* MAX77686 PMIC */
 	COMPAT_GENERIC_SPI_FLASH,	/* Generic SPI Flash chip */
 	COMPAT_MAXIM_98095_CODEC,	/* MAX98095 Codec */
 	COMPAT_SAMSUNG_EXYNOS5_I2C,	/* Exynos5 High Speed I2C Controller */
lib/fdtdec.c +0 -1
index df9d9ae433..58830aa370 100644
@@ -48,7 +48,6 @@ static const char * const compat_names[COMPAT_COUNT] = {
 	COMPAT(SAMSUNG_EXYNOS_MIPI_DSI, "samsung,exynos-mipi-dsi"),
 	COMPAT(SAMSUNG_EXYNOS_DWMMC, "samsung,exynos-dwmmc"),
 	COMPAT(SAMSUNG_EXYNOS_MMC, "samsung,exynos-mmc"),
-	COMPAT(MAXIM_MAX77686_PMIC, "maxim,max77686"),
 	COMPAT(GENERIC_SPI_FLASH, "spi-flash"),
 	COMPAT(MAXIM_98095_CODEC, "maxim,max98095-codec"),
 	COMPAT(SAMSUNG_EXYNOS5_I2C, "samsung,exynos5-hsi2c"),
Signature · 1 line
2.15.1
#4 lore raw

PATCH v2 3/3 lib: fdtdec: drop the old compatible about max77686

Quoted 33 lines · On Thu, 25 Jan 2018 16:11:03 +0900 Jaehoon Chung <[email protected]> wrote:

Drop the old compatible about max77686.

---
 include/fdtdec.h | 1 -
 lib/fdtdec.c     | 1 -
 2 files changed, 2 deletions(-)
include/fdtdec.h +0 -0
index 4afb9ac501..59f589bc01 100644
@@ -136,7 +136,6 @@ enum fdt_compat_id {
 	COMPAT_SAMSUNG_EXYNOS_MIPI_DSI,	/* Exynos mipi dsi */
 	COMPAT_SAMSUNG_EXYNOS_DWMMC,	/* Exynos DWMMC

controller */ COMPAT_SAMSUNG_EXYNOS_MMC, /* Exynos MMC
controller */

include/fdtdec.h +0 -1
-	COMPAT_MAXIM_MAX77686_PMIC,	/* MAX77686 PMIC */
 	COMPAT_GENERIC_SPI_FLASH,	/* Generic SPI Flash chip */
 	COMPAT_MAXIM_98095_CODEC,	/* MAX98095 Codec */
 	COMPAT_SAMSUNG_EXYNOS5_I2C,	/* Exynos5 High Speed I2C

Controller */ diff --git a/lib/fdtdec.c b/lib/fdtdec.c index df9d9ae433..58830aa370 100644

lib/fdtdec.c +0 -1
@@ -48,7 +48,6 @@ static const char * const
 compat_names[COMPAT_COUNT] = { COMPAT(SAMSUNG_EXYNOS_MIPI_DSI,
 "samsung,exynos-mipi-dsi"), COMPAT(SAMSUNG_EXYNOS_DWMMC,
 "samsung,exynos-dwmmc"), COMPAT(SAMSUNG_EXYNOS_MMC,
 "samsung,exynos-mmc"),
-	COMPAT(MAXIM_MAX77686_PMIC, "maxim,max77686"),
 	COMPAT(GENERIC_SPI_FLASH, "spi-flash"),
 	COMPAT(MAXIM_98095_CODEC, "maxim,max98095-codec"),
Quoted 1 line

COMPAT(SAMSUNG_EXYNOS5_I2C, "samsung,exynos5-hsi2c"),

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-10 Fax: (+49)-8142-66989-80 Email: wd 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/20180125/ed2b7442/attachment.sig>