power: Convert CONFIG_PMIC_AS3722 to Kconfig
authorSimon Glass <sjg@chromium.org>
Thu, 27 Apr 2017 04:27:46 +0000 (22:27 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 30 Apr 2017 14:29:50 +0000 (10:29 -0400)
This converts the following to Kconfig:
   CONFIG_PMIC_AS3722

Signed-off-by: Simon Glass <sjg@chromium.org>
configs/apalis-tk1_defconfig
configs/cei-tk1-som_defconfig
configs/jetson-tk1_defconfig
configs/nyan-big_defconfig
drivers/power/pmic/Kconfig
include/configs/apalis-tk1.h
include/configs/cei-tk1-som.h
include/configs/jetson-tk1.h
include/configs/nyan-big.h
scripts/config_whitelist.txt

index 10862e56e753341bad0b93c54ee80c473db8c842..648be92fcbbc9c00baa0742ce71e8ef80f441468 100644 (file)
@@ -34,6 +34,7 @@ CONFIG_PCI=y
 CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCI_TEGRA=y
+CONFIG_PMIC_AS3722=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
index 88b93cb0ffaf60d4d39e920d5d6f6f89b658a452..dd6fd498b7f0a1c6f354960a4fca52760ce56cde 100644 (file)
@@ -38,6 +38,7 @@ CONFIG_PCI=y
 CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCI_TEGRA=y
+CONFIG_PMIC_AS3722=y
 CONFIG_SYS_NS16550=y
 CONFIG_TEGRA114_SPI=y
 CONFIG_USB=y
index 58d41846007337f86d1b3dc2e7a27f7bc4c48af2..2c3f1748d8f7822445900b7a5bfab2dded0501a6 100644 (file)
@@ -38,6 +38,7 @@ CONFIG_PCI=y
 CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCI_TEGRA=y
+CONFIG_PMIC_AS3722=y
 CONFIG_SYS_NS16550=y
 CONFIG_TEGRA114_SPI=y
 CONFIG_USB=y
index 63f1a6f03f9157418016e92cbd5dcc89555832aa..b132eb1f601057cbb366f53f17f6ba62bdeee322 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_CROS_EC_SPI=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_DM_PMIC=y
+CONFIG_PMIC_AS3722=y
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_PWM_TEGRA=y
index 03fea078daa5a57b3f8b6908de60a3a0ab393246..4891b1704e8ba45eda39981d377746e6d821fa59 100644 (file)
@@ -40,6 +40,14 @@ config PMIC_ACT8846
        functions. It uses an I2C interface and is designed for use with
        tablets and smartphones.
 
+config PMIC_AS3722
+       bool "Enable support for the Austria Micro Systems (AMS) AS7322 PMIC"
+       help
+         The AS3722 includes 7 DC/DC buck convertors, 11 low-noise LDOs, a
+         real-time clock, GPIOs, ADC and a few other features. It uses an I2C
+         interface and is designs to cover most of the power managementment
+         required for a tablets or laptop.
+
 config DM_PMIC_PFUZE100
        bool "Enable Driver Model for PMIC PFUZE100"
        depends on DM_PMIC
index a64037b5954ee82c6c707cd297e8d086ff267785..c6c956e1ee1a50d0495ea41f61079953b0dd9564 100644 (file)
@@ -11,9 +11,6 @@
 
 #include <linux/sizes.h>
 
-/* enable PMIC */
-#define CONFIG_PMIC_AS3722
-
 #include "tegra124-common.h"
 
 #define CONFIG_ARCH_MISC_INIT
index de56920fe99533cfd947170ac7f2c3b87ba5f9fb..8185926590ed3b1442676a72db76c7f2753b70ed 100644 (file)
@@ -14,9 +14,6 @@
 
 #include <linux/sizes.h>
 
-/* enable PMIC */
-#define CONFIG_PMIC_AS3722
-
 #include "tegra124-common.h"
 
 /* High-level configuration options */
index 5482f55ce0a0fa8c3483f02b6d27ed060b7a5eb4..b31ba6a4ee544e8789a4d5c416c3e11c162d8c08 100644 (file)
@@ -10,9 +10,6 @@
 
 #include <linux/sizes.h>
 
-/* enable PMIC */
-#define CONFIG_PMIC_AS3722
-
 #include "tegra124-common.h"
 
 /* High-level configuration options */
index 906423dba9486a7523102f7f841d3c1cfdb94977..a3a2a8cbccecbf5fdf99c0bf1a5d2fe85d2d8a7b 100644 (file)
@@ -31,7 +31,6 @@
 #define CONFIG_ENV_OFFSET              (-CONFIG_ENV_SIZE)
 
 /* LCD support */
-#define CONFIG_PMIC_AS3722
 #define CONFIG_SYS_WHITE_ON_BLACK
 #define CONFIG_CMD_BMP
 
index 1349fb0f7d87445421ea4c21a64724f3c364dbe9..f639d2b0824d911b1705bacc061ff47442e348fd 100644 (file)
@@ -2230,7 +2230,6 @@ CONFIG_PMECC_INDEX_TABLE_OFFSET
 CONFIG_PMECC_SECTOR_SIZE
 CONFIG_PME_PLAT_CLK_DIV
 CONFIG_PMIC
-CONFIG_PMIC_AS3722
 CONFIG_PMU
 CONFIG_PMW_BASE
 CONFIG_PM_SLEEP