mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 09:41:54 +09:00
Merge tag 'samsung-soc-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into arm/soc
Samsung mach/soc changes for v5.17 1. Minor fixes for S3C platforms. 2. Remove HAVE_S3C2410_I2C Kconfig symbol - not really useful. * tag 'samsung-soc-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: ARM: samsung: Remove HAVE_S3C2410_I2C and use direct dependencies ARM: s3c: add one more "fallthrough" statement in Jive ARM: s3c: include header for prototype of s3c2410_modify_misccr Link: https://lore.kernel.org/r/20211220115530.30961-3-krzysztof.kozlowski@canonical.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -479,7 +479,6 @@ config ARCH_S3C24XX
|
||||
select GPIO_SAMSUNG
|
||||
select GPIOLIB
|
||||
select GENERIC_IRQ_MULTI_HANDLER
|
||||
select HAVE_S3C2410_I2C if I2C
|
||||
select NEED_MACH_IO_H
|
||||
select S3C2410_WATCHDOG
|
||||
select SAMSUNG_ATAGS
|
||||
|
||||
@@ -20,7 +20,6 @@ menuconfig ARCH_EXYNOS
|
||||
select GPIOLIB
|
||||
select HAVE_ARM_ARCH_TIMER if ARCH_EXYNOS5
|
||||
select HAVE_ARM_SCU if SMP
|
||||
select HAVE_S3C2410_I2C if I2C
|
||||
select PINCTRL
|
||||
select PINCTRL_EXYNOS
|
||||
select PM_GENERIC_DOMAINS if PM
|
||||
|
||||
@@ -12,7 +12,6 @@ menuconfig ARCH_S3C64XX
|
||||
select COMMON_CLK_SAMSUNG
|
||||
select GPIO_SAMSUNG if ATAGS
|
||||
select GPIOLIB
|
||||
select HAVE_S3C2410_I2C if I2C
|
||||
select HAVE_TCM
|
||||
select PLAT_SAMSUNG
|
||||
select PM_GENERIC_DOMAINS if PM
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include "gpio-core.h"
|
||||
#include "gpio-cfg.h"
|
||||
#include "gpio-cfg-helpers.h"
|
||||
#include "hardware-s3c24xx.h"
|
||||
#include "pm.h"
|
||||
|
||||
int samsung_gpio_setpull_updown(struct samsung_gpio_chip *chip,
|
||||
|
||||
@@ -247,6 +247,7 @@ static int __init jive_mtdset(char *options)
|
||||
case 1:
|
||||
nand->nr_partitions = ARRAY_SIZE(jive_imageB_nand_part);
|
||||
nand->partitions = jive_imageB_nand_part;
|
||||
break;
|
||||
case 0:
|
||||
/* this is already setup in the nand info */
|
||||
break;
|
||||
|
||||
@@ -12,7 +12,6 @@ config ARCH_S5PV210
|
||||
select CLKSRC_SAMSUNG_PWM
|
||||
select COMMON_CLK_SAMSUNG
|
||||
select GPIOLIB
|
||||
select HAVE_S3C2410_I2C if I2C
|
||||
select PINCTRL
|
||||
select PINCTRL_EXYNOS
|
||||
select SOC_SAMSUNG
|
||||
|
||||
@@ -963,16 +963,10 @@ config I2C_RK3X
|
||||
This driver can also be built as a module. If so, the module will
|
||||
be called i2c-rk3x.
|
||||
|
||||
config HAVE_S3C2410_I2C
|
||||
bool
|
||||
help
|
||||
This will include I2C support for Samsung SoCs. If you want to
|
||||
include I2C support for any machine, kindly select this in the
|
||||
respective Kconfig file.
|
||||
|
||||
config I2C_S3C2410
|
||||
tristate "S3C/Exynos I2C Driver"
|
||||
depends on HAVE_S3C2410_I2C || COMPILE_TEST
|
||||
depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || \
|
||||
ARCH_S5PV210 || COMPILE_TEST
|
||||
help
|
||||
Say Y here to include support for I2C controller in the
|
||||
Samsung SoCs (S3C, S5Pv210, Exynos).
|
||||
|
||||
Reference in New Issue
Block a user