Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'soc-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc

Pull ARM SoC updates from Arnd Bergmann:
"These are all minor bug fixes and cleanups to code in arch/arm and
arch/arm64 that is specific to one SoC, updating Kconfig symbols, the
MAINTAINERS file, and removing some dead code"

* tag 'soc-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
arm64: exynos: Enable Exynos Multi-Core Timer driver
ARM: ixp4xx: remove unused header file pata_ixp4xx_cf.h
ARM: ixp4xx: remove dead configs CPU_IXP43X and CPU_IXP46X
MAINTAINERS: Add Florian as BCM5301X and BCM53573 maintainer
ARM: samsung: Remove HAVE_S3C2410_I2C and use direct dependencies
ARM: imx: rename DEBUG_IMX21_IMX27_UART to DEBUG_IMX27_UART
ARM: imx: remove dead left-over from i.MX{27,31,35} removal
ARM: s3c: add one more "fallthrough" statement in Jive
ARM: s3c: include header for prototype of s3c2410_modify_misccr
ARM: shmobile: rcar-gen2: Add missing of_node_put()

+27 -77
+2
MAINTAINERS
··· 3636 3636 F: drivers/net/ethernet/broadcom/unimac.h 3637 3637 3638 3638 BROADCOM BCM5301X ARM ARCHITECTURE 3639 + M: Florian Fainelli <f.fainelli@gmail.com> 3639 3640 M: Hauke Mehrtens <hauke@hauke-m.de> 3640 3641 M: Rafał Miłecki <zajec5@gmail.com> 3641 3642 M: bcm-kernel-feedback-list@broadcom.com ··· 3648 3647 F: arch/arm/mach-bcm/bcm_5301x.c 3649 3648 3650 3649 BROADCOM BCM53573 ARM ARCHITECTURE 3650 + M: Florian Fainelli <f.fainelli@gmail.com> 3651 3651 M: Rafał Miłecki <rafal@milecki.pl> 3652 3652 L: bcm-kernel-feedback-list@broadcom.com 3653 3653 L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
-1
arch/arm/Kconfig
··· 479 479 select GPIO_SAMSUNG 480 480 select GPIOLIB 481 481 select GENERIC_IRQ_MULTI_HANDLER 482 - select HAVE_S3C2410_I2C if I2C 483 482 select NEED_MACH_IO_H 484 483 select S3C2410_WATCHDOG 485 484 select SAMSUNG_ATAGS
+7 -7
arch/arm/Kconfig.debug
··· 410 410 Say Y here if you want kernel low-level debugging support 411 411 on i.MX25. 412 412 413 - config DEBUG_IMX21_IMX27_UART 414 - bool "i.MX21 and i.MX27 Debug UART" 415 - depends on SOC_IMX21 || SOC_IMX27 413 + config DEBUG_IMX27_UART 414 + bool "i.MX27 Debug UART" 415 + depends on SOC_IMX27 416 416 help 417 417 Say Y here if you want kernel low-level debugging support 418 - on i.MX21 or i.MX27. 418 + on i.MX27. 419 419 420 420 config DEBUG_IMX28_UART 421 421 bool "i.MX28 Debug UART" ··· 1481 1481 int "i.MX Debug UART Port Selection" 1482 1482 depends on DEBUG_IMX1_UART || \ 1483 1483 DEBUG_IMX25_UART || \ 1484 - DEBUG_IMX21_IMX27_UART || \ 1484 + DEBUG_IMX27_UART || \ 1485 1485 DEBUG_IMX31_UART || \ 1486 1486 DEBUG_IMX35_UART || \ 1487 1487 DEBUG_IMX50_UART || \ ··· 1540 1540 default "debug/icedcc.S" if DEBUG_ICEDCC 1541 1541 default "debug/imx.S" if DEBUG_IMX1_UART || \ 1542 1542 DEBUG_IMX25_UART || \ 1543 - DEBUG_IMX21_IMX27_UART || \ 1543 + DEBUG_IMX27_UART || \ 1544 1544 DEBUG_IMX31_UART || \ 1545 1545 DEBUG_IMX35_UART || \ 1546 1546 DEBUG_IMX50_UART || \ 1547 1547 DEBUG_IMX51_UART || \ 1548 - DEBUG_IMX53_UART ||\ 1548 + DEBUG_IMX53_UART || \ 1549 1549 DEBUG_IMX6Q_UART || \ 1550 1550 DEBUG_IMX6SL_UART || \ 1551 1551 DEBUG_IMX6SX_UART || \
+9 -9
arch/arm/include/debug/imx-uart.h
··· 11 11 #define IMX1_UART_BASE_ADDR(n) IMX1_UART##n##_BASE_ADDR 12 12 #define IMX1_UART_BASE(n) IMX1_UART_BASE_ADDR(n) 13 13 14 - #define IMX21_UART1_BASE_ADDR 0x1000a000 15 - #define IMX21_UART2_BASE_ADDR 0x1000b000 16 - #define IMX21_UART3_BASE_ADDR 0x1000c000 17 - #define IMX21_UART4_BASE_ADDR 0x1000d000 18 - #define IMX21_UART_BASE_ADDR(n) IMX21_UART##n##_BASE_ADDR 19 - #define IMX21_UART_BASE(n) IMX21_UART_BASE_ADDR(n) 20 - 21 14 #define IMX25_UART1_BASE_ADDR 0x43f90000 22 15 #define IMX25_UART2_BASE_ADDR 0x43f94000 23 16 #define IMX25_UART3_BASE_ADDR 0x5000c000 ··· 18 25 #define IMX25_UART5_BASE_ADDR 0x5002c000 19 26 #define IMX25_UART_BASE_ADDR(n) IMX25_UART##n##_BASE_ADDR 20 27 #define IMX25_UART_BASE(n) IMX25_UART_BASE_ADDR(n) 28 + 29 + #define IMX27_UART1_BASE_ADDR 0x1000a000 30 + #define IMX27_UART2_BASE_ADDR 0x1000b000 31 + #define IMX27_UART3_BASE_ADDR 0x1000c000 32 + #define IMX27_UART4_BASE_ADDR 0x1000d000 33 + #define IMX27_UART_BASE_ADDR(n) IMX27_UART##n##_BASE_ADDR 34 + #define IMX27_UART_BASE(n) IMX27_UART_BASE_ADDR(n) 21 35 22 36 #define IMX31_UART1_BASE_ADDR 0x43f90000 23 37 #define IMX31_UART2_BASE_ADDR 0x43f94000 ··· 112 112 113 113 #ifdef CONFIG_DEBUG_IMX1_UART 114 114 #define UART_PADDR IMX_DEBUG_UART_BASE(IMX1) 115 - #elif defined(CONFIG_DEBUG_IMX21_IMX27_UART) 116 - #define UART_PADDR IMX_DEBUG_UART_BASE(IMX21) 117 115 #elif defined(CONFIG_DEBUG_IMX25_UART) 118 116 #define UART_PADDR IMX_DEBUG_UART_BASE(IMX25) 117 + #elif defined(CONFIG_DEBUG_IMX27_UART) 118 + #define UART_PADDR IMX_DEBUG_UART_BASE(IMX27) 119 119 #elif defined(CONFIG_DEBUG_IMX31_UART) 120 120 #define UART_PADDR IMX_DEBUG_UART_BASE(IMX31) 121 121 #elif defined(CONFIG_DEBUG_IMX35_UART)
-1
arch/arm/mach-exynos/Kconfig
··· 20 20 select GPIOLIB 21 21 select HAVE_ARM_ARCH_TIMER if ARCH_EXYNOS5 22 22 select HAVE_ARM_SCU if SMP 23 - select HAVE_S3C2410_I2C if I2C 24 23 select PINCTRL 25 24 select PINCTRL_EXYNOS 26 25 select PM_GENERIC_DOMAINS if PM
-12
arch/arm/mach-imx/Kconfig
··· 21 21 config MXC_AVIC 22 22 bool 23 23 24 - config MXC_DEBUG_BOARD 25 - bool "Enable MXC debug board(for 3-stack)" 26 - depends on MACH_MX27_3DS || MACH_MX31_3DS || MACH_MX35_3DS 27 - help 28 - The debug board is an integral part of the MXC 3-stack(PDK) 29 - platforms, it can be attached or removed from the peripheral 30 - board. On debug board, several debug devices(ethernet, UART, 31 - buttons, LEDs and JTAG) are implemented. Between the MCU and 32 - these devices, a CPLD is added as a bridge which performs 33 - data/address de-multiplexing and decode, signal level shift, 34 - interrupt control and various board functions. 35 - 36 24 config HAVE_IMX_ANATOP 37 25 bool 38 26
-2
arch/arm/mach-imx/Makefile
··· 14 14 obj-$(CONFIG_MXC_TZIC) += tzic.o 15 15 obj-$(CONFIG_MXC_AVIC) += avic.o 16 16 17 - obj-$(CONFIG_MXC_DEBUG_BOARD) += 3ds_debugboard.o 18 - 19 17 ifeq ($(CONFIG_CPU_IDLE),y) 20 18 obj-$(CONFIG_SOC_IMX5) += cpuidle-imx5.o 21 19 obj-$(CONFIG_SOC_IMX6Q) += cpuidle-imx6q.o
-13
arch/arm/mach-ixp4xx/Kconfig
··· 39 39 PrPCM1100 Processor Mezanine Module. For more information on 40 40 this platform, see <file:Documentation/arm/ixp4xx.rst>. 41 41 42 - # 43 - # Certain registers and IRQs are only enabled if supporting IXP465 CPUs 44 - # 45 - config CPU_IXP46X 46 - bool 47 - depends on MACH_IXDP465 48 - default y 49 - 50 - config CPU_IXP43X 51 - bool 52 - depends on MACH_KIXRP435 53 - default y 54 - 55 42 comment "IXP4xx Options" 56 43 57 44 config IXP4XX_PCI_LEGACY
-1
arch/arm/mach-s3c/Kconfig.s3c64xx
··· 12 12 select COMMON_CLK_SAMSUNG 13 13 select GPIO_SAMSUNG if ATAGS 14 14 select GPIOLIB 15 - select HAVE_S3C2410_I2C if I2C 16 15 select HAVE_TCM 17 16 select PLAT_SAMSUNG 18 17 select PM_GENERIC_DOMAINS if PM
+1
arch/arm/mach-s3c/gpio-samsung.c
··· 35 35 #include "gpio-core.h" 36 36 #include "gpio-cfg.h" 37 37 #include "gpio-cfg-helpers.h" 38 + #include "hardware-s3c24xx.h" 38 39 #include "pm.h" 39 40 40 41 int samsung_gpio_setpull_updown(struct samsung_gpio_chip *chip,
+1
arch/arm/mach-s3c/mach-jive.c
··· 247 247 case 1: 248 248 nand->nr_partitions = ARRAY_SIZE(jive_imageB_nand_part); 249 249 nand->partitions = jive_imageB_nand_part; 250 + break; 250 251 case 0: 251 252 /* this is already setup in the nand info */ 252 253 break;
-1
arch/arm/mach-s5pv210/Kconfig
··· 12 12 select CLKSRC_SAMSUNG_PWM 13 13 select COMMON_CLK_SAMSUNG 14 14 select GPIOLIB 15 - select HAVE_S3C2410_I2C if I2C 16 15 select PINCTRL 17 16 select PINCTRL_EXYNOS 18 17 select SOC_SAMSUNG
+4 -1
arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c
··· 154 154 return -ENODEV; 155 155 156 156 for_each_matching_node_and_match(np, rcar_gen2_quirk_match, &id) { 157 - if (!of_device_is_available(np)) 157 + if (!of_device_is_available(np)) { 158 + of_node_put(np); 158 159 break; 160 + } 159 161 160 162 ret = of_property_read_u32(np, "reg", &addr); 161 163 if (ret) /* Skip invalid entry and continue */ ··· 166 164 quirk = kzalloc(sizeof(*quirk), GFP_KERNEL); 167 165 if (!quirk) { 168 166 ret = -ENOMEM; 167 + of_node_put(np); 169 168 goto err_mem; 170 169 } 171 170
+1
arch/arm64/Kconfig.platforms
··· 89 89 config ARCH_EXYNOS 90 90 bool "ARMv8 based Samsung Exynos SoC family" 91 91 select COMMON_CLK_SAMSUNG 92 + select CLKSRC_EXYNOS_MCT 92 93 select EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS 93 94 select EXYNOS_PMU 94 95 select PINCTRL
+2 -8
drivers/i2c/busses/Kconfig
··· 963 963 This driver can also be built as a module. If so, the module will 964 964 be called i2c-rk3x. 965 965 966 - config HAVE_S3C2410_I2C 967 - bool 968 - help 969 - This will include I2C support for Samsung SoCs. If you want to 970 - include I2C support for any machine, kindly select this in the 971 - respective Kconfig file. 972 - 973 966 config I2C_S3C2410 974 967 tristate "S3C/Exynos I2C Driver" 975 - depends on HAVE_S3C2410_I2C || COMPILE_TEST 968 + depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || \ 969 + ARCH_S5PV210 || COMPILE_TEST 976 970 help 977 971 Say Y here to include support for I2C controller in the 978 972 Samsung SoCs (S3C, S5Pv210, Exynos).
-21
include/linux/platform_data/pata_ixp4xx_cf.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - #ifndef __PLATFORM_DATA_PATA_IXP4XX_H 3 - #define __PLATFORM_DATA_PATA_IXP4XX_H 4 - 5 - #include <linux/types.h> 6 - 7 - /* 8 - * This structure provide a means for the board setup code 9 - * to give information to th pata_ixp4xx driver. It is 10 - * passed as platform_data. 11 - */ 12 - struct ixp4xx_pata_data { 13 - volatile u32 *cs0_cfg; 14 - volatile u32 *cs1_cfg; 15 - unsigned long cs0_bits; 16 - unsigned long cs1_bits; 17 - void __iomem *cmd; 18 - void __iomem *ctl; 19 - }; 20 - 21 - #endif