ARM: mach-shmobile: driver kconfig update
Subsystems (9)
PATCH 1/1 ARM: mach-shmobile: driver kconfig update
From: Magnus Damm <[email protected]>
This patch updates the Kconfig entries for various SuperH drivers to enable use on SH-Mobile G-series.
While at it, add a HAVE_CLK dependency for drivers that use the clock framework.
---
Applies to linux-next, depends on a flctl patch.
drivers/i2c/busses/Kconfig | 2 +- drivers/input/keyboard/Kconfig | 2 +- drivers/mfd/Kconfig | 2 +- drivers/mmc/host/Kconfig | 2 +- drivers/mtd/nand/Kconfig | 2 +- drivers/spi/Kconfig | 2 +- drivers/video/Kconfig | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-)
drivers/i2c/busses/Kconfig +1 -1
@@ -520,7 +520,7 @@ config I2C_SH7760 config I2C_SH_MOBILE tristate "SuperH Mobile I2C Controller" - depends on SUPERH + depends on (SUPERH || ARCH_SHMOBILE) && HAVE_CLK help If you say yes to this option, support will be included for the built-in I2C interface on the Renesas SH-Mobile processor.
drivers/input/keyboard/Kconfig +1 -1
@@ -363,7 +363,7 @@ config KEYBOARD_SUNKBD config KEYBOARD_SH_KEYSC tristate "SuperH KEYSC keypad support" - depends on SUPERH + depends on SUPERH || ARCH_SHMOBILE help Say Y here if you want to use a keypad attached to the KEYSC block on SuperH processors such as sh7722 and sh7343.
drivers/mfd/Kconfig +1 -1
@@ -47,7 +47,7 @@ config MFD_ASIC3 config MFD_SH_MOBILE_SDHI bool "Support for SuperH Mobile SDHI" - depends on SUPERH + depends on (SUPERH || ARCH_SHMOBILE) && HAVE_CLK select MFD_CORE ---help--- This driver supports the SDHI hardware block found in many
drivers/mmc/host/Kconfig +1 -1
@@ -368,7 +368,7 @@ config MMC_SDRICOH_CS config MMC_TMIO tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support" - depends on MFD_TMIO || MFD_ASIC3 || SUPERH + depends on MFD_TMIO || MFD_ASIC3 || SUPERH || ARCH_SHMOBILE help This provides support for the SD/MMC cell found in TC6393XB, T7L66XB and also HTC ASIC3
drivers/mtd/nand/Kconfig +1 -1
@@ -451,7 +451,7 @@ config MTD_NAND_NOMADIK config MTD_NAND_SH_FLCTL tristate "Support for NAND on Renesas SuperH FLCTL" - depends on MTD_NAND && SUPERH + depends on MTD_NAND && (SUPERH || ARCH_SHMOBILE) help Several Renesas SuperH CPU has FLCTL. This option enables support for NAND Flash using FLCTL.
drivers/spi/Kconfig +1 -1
@@ -246,7 +246,7 @@ config SPI_S3C64XX config SPI_SH_MSIOF tristate "SuperH MSIOF SPI controller" - depends on SUPERH && HAVE_CLK + depends on (SUPERH || ARCH_SHMOBILE) && HAVE_CLK select SPI_BITBANG help SPI driver for SuperH MSIOF blocks.
drivers/video/Kconfig +1 -1
@@ -1867,7 +1867,7 @@ config FB_W100 config FB_SH_MOBILE_LCDC tristate "SuperH Mobile LCDC framebuffer support" - depends on FB && SUPERH && HAVE_CLK + depends on FB && (SUPERH || ARCH_SHMOBILE) && HAVE_CLK select FB_SYS_FILLRECT select FB_SYS_COPYAREA select FB_SYS_IMAGEBLIT
Quoted 3 lines · Magnus Damm
This patch updates the
Kconfigentries for various SuperH drivers to enable use on SH-Mobile G-series.
Why? If you have a user for one of these, then send the Kconfig-enabling part along with that patch, otherwise this is just introducing merge conflicts for no reason whatsoever.
Quoted 3 lines
While at it, add a
HAVE_CLKdependency for drivers that use the clock framework.
HAVE_CLK is really only useful for drivers that are generically exposed. For ones that are restricted to SUPERH || ARCH_SHMOBILE it doesn't really make any sense, since the clock framework will always be there anyways.