Convert CONFIG_TWL4030_LED et al to Kconfig
authorAdam Ford <aford173@gmail.com>
Mon, 6 Aug 2018 19:26:50 +0000 (14:26 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 17 Aug 2018 17:04:00 +0000 (13:04 -0400)
This converts the following to Kconfig:
   CONFIG_TWL4030_LED
   CONFIG_TWL4030_INPUT

This also removes dead references to:
   CONFIG_TWL4030_KEYPAD

Signed-off-by: Adam Ford <aford173@gmail.com>
27 files changed:
configs/cairo_defconfig
configs/cm_t35_defconfig
configs/devkit8000_defconfig
configs/nokia_rx51_defconfig
configs/omap3_beagle_defconfig
configs/omap3_ha_defconfig
configs/omap3_overo_defconfig
configs/omap3_pandora_defconfig
configs/omap3_zoom1_defconfig
configs/sniper_defconfig
configs/tao3530_defconfig
configs/tricorder_defconfig
configs/tricorder_flash_defconfig
drivers/input/Kconfig
drivers/misc/Kconfig
include/configs/cm_t35.h
include/configs/devkit8000.h
include/configs/nokia_rx51.h
include/configs/omap3_beagle.h
include/configs/omap3_cairo.h
include/configs/omap3_overo.h
include/configs/omap3_pandora.h
include/configs/omap3_zoom1.h
include/configs/sniper.h
include/configs/tao3530.h
include/configs/tricorder.h
scripts/config_whitelist.txt

index c7124cf4259a77a87a4d2991b7d63d5e5a7f0a15..5c64d6970226333d0243986fd663777cb83399e7 100644 (file)
@@ -27,6 +27,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_MTDPARTS=y
 CONFIG_ENV_IS_IN_NAND=y
+CONFIG_TWL4030_LED=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
 CONFIG_SPL_NAND_SIMPLE=y
index f8f1862c3f3d00292eacf96f2a2d87a734bf5c4c..c78aaf93d1dca400fa0a9f5dc0082b819f42c29e 100644 (file)
@@ -39,6 +39,7 @@ CONFIG_LED_STATUS_BIT=186
 CONFIG_LED_STATUS_STATE=2
 CONFIG_LED_STATUS_BOOT_ENABLE=y
 CONFIG_LED_STATUS_BOOT=0
+CONFIG_TWL4030_LED=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_MTD_PARTITIONS=y
 CONFIG_NAND=y
index efb682837e6c70176369d45d4c54364d70f10eb2..41642abc8366f512eaeef2ad635809ab5016f8ce 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_CMD_MTDPARTS=y
 CONFIG_MTDIDS_DEFAULT="nand0=nand"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=nand:512k(x-loader),1920k(u-boot),128k(u-boot-env),4m(kernel),-(fs)"
 CONFIG_ENV_IS_IN_NAND=y
+CONFIG_TWL4030_LED=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
index b213a1844c85ad5029cb6a89ffef3a20dbfd25d7..fe2ecf6c944038684d5ea997efa0b92c55df0940 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
 # CONFIG_NET is not set
+CONFIG_TWL4030_LED=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_CONS_INDEX=3
 CONFIG_SYS_NS16550=y
index f26f5ad28c7428d952a2f7e8200f9e60877626b0..0a402ccf5f5444c912f9bcd72860c3333be52853 100644 (file)
@@ -50,6 +50,7 @@ CONFIG_LED_STATUS_BOOT=1
 CONFIG_LED_STATUS_GREEN_ENABLE=y
 CONFIG_LED_STATUS_GREEN=2
 CONFIG_LED_STATUS_CMD=y
+CONFIG_TWL4030_LED=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
index c39e9717512661b08a2a0bdbcef92fe970ff31d0..6b3fb31aaa63ce619e36cb80ae12849c5ae1256d 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_CMD_MTDPARTS=y
 CONFIG_MTDIDS_DEFAULT="nand0=nand"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=nand:512k(x-loader),1920k(u-boot),128k(u-boot-env),4m(kernel),-(fs)"
 CONFIG_ENV_IS_IN_NAND=y
+CONFIG_TWL4030_LED=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
index 8b4146dccc85b804daf6b3cc49e782242ac26c2f..0c4a021bc5058d4ffd2dff6ca4b3d84bcb82e605 100644 (file)
@@ -31,6 +31,7 @@ CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:512k(xloader),1792k(u-boot),256k(environ),8m(linux),-(rootfs)"
 CONFIG_CMD_UBI=y
 CONFIG_ENV_IS_IN_NAND=y
+CONFIG_TWL4030_LED=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
index b0b9444ab54ab99c6dbbbeee7fb9296e5e862211..6dce53834da50bd829946965486e3334ce133084 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:512k(xloader),1920k(uboot),128k(uboot-env),10m(boot),-(rootfs)"
 CONFIG_CMD_UBI=y
 CONFIG_ENV_IS_IN_NAND=y
+CONFIG_TWL4030_LED=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
index 87d72286524c17414683885be6cf46d58c8e041f..48f3391c44187a17aad00b0914f6e79e87304f8f 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_CMD_MTDPARTS=y
 CONFIG_MTDIDS_DEFAULT="nand0=nand"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=nand:512k(x-loader),1920k(u-boot),128k(u-boot-env),4m(kernel),-(fs)"
 CONFIG_ENV_IS_IN_NAND=y
+CONFIG_TWL4030_LED=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
index 8ba6bc4030f90d827a55da28598141d2b1c445da..269d59ec539e00fadc49d551b200f404d4c77cf5 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_FASTBOOT_BUF_SIZE=0x2000000
 CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=0
 CONFIG_SYS_OMAP24_I2C_SPEED=400000
+CONFIG_TWL4030_INPUT=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_CONS_INDEX=3
 CONFIG_SYS_NS16550=y
index d70d840b08321877a1b86007de7a9ed212383112..daca05e84bfe551368896e2fd2a9809a75bd850e 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_CMD_MTDPARTS=y
 CONFIG_MTDIDS_DEFAULT="nand0=nand"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=nand:512k(x-loader),1920k(u-boot),128k(u-boot-env),4m(kernel),-(fs)"
 CONFIG_ENV_IS_IN_NAND=y
+CONFIG_TWL4030_LED=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
 CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
index 98c2cbd8f5fd6bde93d0d5b2e67f8a2ffa7d0c2b..f92d391e3f63e258df50990ff4fc56a158963b0f 100644 (file)
@@ -34,6 +34,7 @@ CONFIG_LED_STATUS2=y
 CONFIG_LED_STATUS_BIT2=4
 CONFIG_LED_STATUS_STATE2=2
 CONFIG_LED_STATUS_CMD=y
+CONFIG_TWL4030_LED=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
 CONFIG_SPL_NAND_SIMPLE=y
index ed851c7267027a17632d7b96d7831d94f73e5b31..b44a76656ef02e52229fb07c71117eede59a6b3e 100644 (file)
@@ -33,6 +33,7 @@ CONFIG_LED_STATUS2=y
 CONFIG_LED_STATUS_BIT2=4
 CONFIG_LED_STATUS_STATE2=2
 CONFIG_LED_STATUS_CMD=y
+CONFIG_TWL4030_LED=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_NAND=y
 CONFIG_SPL_NAND_SIMPLE=y
index b3873c140d054a680d1bb3d39f8f09a5d3ff4fb6..7ffb949f12dced0827bc8a994375019fb0c0f328 100644 (file)
@@ -24,3 +24,8 @@ config I8042_KEYB
          driver handles English and German keyboards - set the environment
          variable 'keymap' to "de" to select German. Keyboard repeat is
          handled by the keyboard itself.
+
+config TWL4030_INPUT
+       bool "Enable TWL4030 Input controller"
+       help
+         Enable TWL4030 Input controller
index 6bcd49a1147e79a319a1059dff7501f7d737ef93..c2b7cc15db155f88759c11fbeb41372c0c0ed8b6 100644 (file)
@@ -195,6 +195,11 @@ config TEGRA186_BPMP
          can make requests to the BPMP. This driver is similar to an MFD
          driver in the Linux kernel.
 
+config TWL4030_LED
+       bool "Enable TWL4030 LED controller"
+       help
+         Enable this to add support for the TWL4030 LED controller.
+
 config WINBOND_W83627
        bool "Enable Winbond Super I/O driver"
        help
index c7ac8d1fcc3e7f74c8eba2b75f0388316e9fbb2c..4970a16f5fb6b958a0e3106a6317ff3990417dcc 100644 (file)
@@ -82,7 +82,6 @@
 /*
  * TWL4030
  */
-#define CONFIG_TWL4030_LED
 
 /*
  * Board NAND Info.
index dae76c3fbd5d3ae3f223203435f42fae3d23a547..1b175be387071442871d86106b31f3693674620f 100644 (file)
@@ -54,7 +54,6 @@
 #undef CONFIG_DM9000_DEBUG
 
 /* TWL4030 */
-#define CONFIG_TWL4030_LED             1
 
 /* Board NAND Info */
 #define CONFIG_JFFS2_NAND
index f0b512c4fb1c82fcd6a8c95611292a97ad732be9..4bc0ecaf09fd9673a6907b2d95ab6a93335c7032 100644 (file)
@@ -92,8 +92,6 @@
 /*
  * TWL4030
  */
-#define CONFIG_TWL4030_LED
-#define CONFIG_TWL4030_KEYPAD
 
 #define GPIO_SLIDE                     71
 
index 1fbe27e1aad9bef4b0b2a6c80a02f62c80aa5538..7698a90c4e98115ec609286c6cbff5fc077e51b4 100644 (file)
@@ -60,7 +60,6 @@
 /* DSS Support */
 
 /* TWL4030 LED Support */
-#define CONFIG_TWL4030_LED
 
 /* Environment */
 #define CONFIG_ENV_SIZE                 SZ_128K
index 481cad5523141001d410d9ad198d9f360d5babbb..01334168af456ea5fe622630a29b14af5220f3aa 100644 (file)
@@ -46,7 +46,6 @@
 /*
  * TWL4030
  */
-#define CONFIG_TWL4030_LED             1
 
 /*
  * Board NAND Info.
index ebbde7852048af2e4c3d463761afd19fb745a371..35f3af4ae9ab7d631ea81f7e3eb0c00644e7c728 100644 (file)
@@ -29,7 +29,6 @@
 /* I2C Support */
 
 /* TWL4030 LED */
-#define CONFIG_TWL4030_LED
 
 /* USB EHCI */
 #define CONFIG_OMAP_EHCI_PHY1_RESET_GPIO       183
index 81c243203fc2c8a337b5ea14142a21b6b54c9c11..4e2eaa9952c4c826f12612cd18908c09c208fa32 100644 (file)
@@ -24,7 +24,6 @@
  */
 
 /* TWL4030 LED */
-#define CONFIG_TWL4030_LED
 
 /*
  * NS16550 Configuration
index 8d35efd7462f296933b9d0c1598a8fc1e14108d9..0a02ecdc149767b98fa69fbbf2bd618750f43d31 100644 (file)
@@ -48,7 +48,6 @@
 /*
  * TWL4030
  */
-#define CONFIG_TWL4030_LED             1
 
 /*
  * Board NAND Info.
index 7af035c3da2b8bdfb11703c9c62dc109139fb35a..aa78684b02fcfdb7070044ed5425af89ac937427 100644 (file)
@@ -60,8 +60,6 @@
  * Input
  */
 
-#define CONFIG_TWL4030_INPUT
-
 /*
  * SPL
  */
index 556219bd9f925f86cbcb38e08f8aead7c3e46f63..1384a35c0cfe6c4c675f898ee771f82e604cd86d 100644 (file)
@@ -63,7 +63,6 @@
 /*
  * TWL4030
  */
-#define CONFIG_TWL4030_LED
 
 /*
  * Board NAND Info.
index 5fce1c634da5b25aa38b0edeadb8cc388343e8fd..cba49033a9a016fafb77ee88cd4f8856f2eebb34 100644 (file)
@@ -60,7 +60,6 @@
 #define CONFIG_SYS_EEPROM_BUS_NUM      1
 
 /* TWL4030 */
-#define CONFIG_TWL4030_LED
 
 /* Board NAND Info */
 #define CONFIG_SYS_NAND_BASE           NAND_BASE       /* physical address */
index 83d9793a26bc4ce56c96fd23c96d0b49341ccdb7..63dd154c82c55031d8081bdacc2706e6a3c69d2d 100644 (file)
@@ -4497,9 +4497,6 @@ CONFIG_TULIP_FIX_DAVICOM
 CONFIG_TULIP_SELECT_MEDIA
 CONFIG_TULIP_USE_IO
 CONFIG_TUXX1
-CONFIG_TWL4030_INPUT
-CONFIG_TWL4030_KEYPAD
-CONFIG_TWL4030_LED
 CONFIG_TWL6030_INPUT
 CONFIG_TWL6030_POWER
 CONFIG_TWR