]> git.ipfire.org Git - people/ms/linux.git/commitdiff
Merge tag 'arm-multiplatform-5.19-1' of git://git.kernel.org/pub/scm/linux/kernel...
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 May 2022 17:43:09 +0000 (10:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 May 2022 17:43:09 +0000 (10:43 -0700)
Pull ARMv4T/v5 multiplatform support from Arnd Bergmann:
 "This series has been 12 years in the making, it mostly finishes the
  work that was started with the founding of Linaro to clean up platform
  support in the kernel.

  The largest change here is a cleanup of the omap1 platform, which is
  the final ARM machine type to get converted to the common-clk
  subsystem. All the omap1 specific drivers are now made independent of
  the mach/*.h headers to allow the platform to be part of a generic
  ARMv4/v5 multiplatform kernel.

  The last bit that enables this support is still missing here while we
  wait for some last dependencies to make it into the mainline kernel
  through other subsystems.

  The s3c24xx, ixp4xx, iop32x, ep93xx and dove platforms were all almost
  at the point of allowing multiplatform kernels, this work gets
  completed here along with a few additional cleanup. At the same time,
  the s3c24xx and s3c64xx are now deprecated and expected to get removed
  in the future.

  The PXA and OMAP1 bits are in a separate branch because of
  dependencies. Once both branches are merged, only the three Intel
  StrongARM platforms (RiscPC, Footbridge/NetWinder and StrongARM1100)
  need separate kernels, and there are no plans to include these"

* tag 'arm-multiplatform-5.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (61 commits)
  ARM: ixp4xx: Consolidate Kconfig fixing issue
  ARM: versatile: Add missing of_node_put in dcscb_init
  ARM: config: Refresh IXP4xx config after multiplatform
  ARM: omap1: add back omap_set_dma_priority() stub
  ARM: omap: fix missing declaration warnings
  ARM: omap: fix address space warnings from sparse
  ARM: spear: remove include/mach/ subdirectory
  ARM: davinci: remove include/mach/ subdirectory
  ARM: omap2: remove include/mach/ subdirectory
  integrator: remove empty ap_init_early()
  ARM: s3c: fix include path
  MAINTAINERS: omap1: Add Janusz as an additional maintainer
  ARM: omap1: htc_herald: fix typos in comments
  ARM: OMAP1: fix typos in comments
  ARM: OMAP1: clock: Remove noop code
  ARM: OMAP1: clock: Remove unused code
  ARM: OMAP1: clock: Fix UART rate reporting algorithm
  ARM: OMAP1: clock: Fix early UART rate issues
  ARM: OMAP1: Prepare for conversion of OMAP1 clocks to CCF
  ARM: omap1: fix build with no SoC selected
  ...

18 files changed:
1  2 
MAINTAINERS
arch/arm/Kconfig
arch/arm/Kconfig.debug
arch/arm/configs/mini2440_defconfig
arch/arm/configs/s3c2410_defconfig
arch/arm/mach-at91/Kconfig
arch/arm/mach-davinci/board-da850-evm.c
arch/arm/mach-exynos/Kconfig
arch/arm/mach-nomadik/Kconfig
arch/arm/mach-omap2/omap4-common.c
arch/arm/mach-s3c/Kconfig.s3c24xx
arch/arm/mach-s3c/pm-s3c64xx.c
arch/arm/mach-s3c/s3c24xx.c
arch/arm/mach-sunxi/Kconfig
arch/arm/mach-versatile/spc.c
drivers/spi/Kconfig
drivers/video/fbdev/omap/lcdc.c
drivers/video/fbdev/omap/sossi.c

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
index c7741289f213eb499bd2302dbc8230448ac65659,0a2e97de3cf34ee50fca0fb07799caf6842a94e4..3ef48e79b41019753e0af36aa2ca70b94dd58323
@@@ -4,8 -4,11 +4,10 @@@ CONFIG_POSIX_MQUEUE=
  CONFIG_RELAY=y
  CONFIG_BLK_DEV_INITRD=y
  # CONFIG_COMPAT_BRK is not set
+ CONFIG_ARCH_MULTI_V4T=y
+ # CONFIG_ARCH_MULTI_V7 is not set
  CONFIG_ARCH_S3C24XX=y
  CONFIG_S3C_ADC=y
 -CONFIG_S3C24XX_PWM=y
  # CONFIG_CPU_S3C2410 is not set
  CONFIG_CPU_S3C2440=y
  CONFIG_MACH_MINI2440=y
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index abdb99fe1e972c44adb427000c9ad2860e9d72fd,93cf70c0749badb210b082099679fefbb7c1026e..e015f2497111a42133ddd4e7ddd172eda06d90ba
@@@ -1,10 -1,13 +1,10 @@@
  # SPDX-License-Identifier: GPL-2.0-only
  menuconfig ARCH_SUNXI
        bool "Allwinner SoCs"
-       depends on ARCH_MULTI_V5 || ARCH_MULTI_V7
+       depends on (CPU_LITTLE_ENDIAN && ARCH_MULTI_V5) || ARCH_MULTI_V7
        select ARCH_HAS_RESET_CONTROLLER
        select CLKSRC_MMIO
 -      select GENERIC_IRQ_CHIP
        select GPIOLIB
 -      select IRQ_DOMAIN_HIERARCHY
 -      select IRQ_FASTEOI_HIERARCHY_HANDLERS
        select PINCTRL
        select PM_OPP
        select SUN4I_TIMER
@@@ -41,10 -40,8 +41,9 @@@ config MACH_SUN7
        default ARCH_SUNXI
        select ARM_GIC
        select ARM_PSCI
-       select ARCH_SUPPORTS_BIG_ENDIAN
        select HAVE_ARM_ARCH_TIMER
        select SUN5I_HSTIMER
 +      select SUNXI_NMI_INTC
  
  config MACH_SUN8I
        bool "Allwinner sun8i Family SoCs support"
Simple merge
Simple merge
index 97d20dc0d1d0276ea704ad27e2454a38250ae085,4c9091bd936d1687510eaaa3c3f1b28ebafb3f3d..e7ce783e5215f7288b653a87d68d0aa76a00035c
@@@ -711,9 -713,9 +713,9 @@@ static int omap_lcdc_init(struct omapfb
                dev_err(fbdev->dev, "failed to adjust LCD rate\n");
                goto fail1;
        }
 -      clk_enable(lcdc.lcd_ck);
 +      clk_prepare_enable(lcdc.lcd_ck);
  
-       r = request_irq(OMAP_LCDC_IRQ, lcdc_irq_handler, 0, MODULE_NAME, fbdev);
+       r = request_irq(fbdev->int_irq, lcdc_irq_handler, 0, MODULE_NAME, fbdev);
        if (r) {
                dev_err(fbdev->dev, "unable to get IRQ\n");
                goto fail2;
@@@ -744,9 -746,9 +746,9 @@@ fail5
  fail4:
        omap_free_lcd_dma();
  fail3:
-       free_irq(OMAP_LCDC_IRQ, lcdc.fbdev);
+       free_irq(fbdev->int_irq, lcdc.fbdev);
  fail2:
 -      clk_disable(lcdc.lcd_ck);
 +      clk_disable_unprepare(lcdc.lcd_ck);
  fail1:
        clk_put(lcdc.lcd_ck);
  fail0:
@@@ -759,8 -761,8 +761,8 @@@ static void omap_lcdc_cleanup(void
                free_palette_ram();
        free_fbmem();
        omap_free_lcd_dma();
-       free_irq(OMAP_LCDC_IRQ, lcdc.fbdev);
+       free_irq(lcdc.fbdev->int_irq, lcdc.fbdev);
 -      clk_disable(lcdc.lcd_ck);
 +      clk_disable_unprepare(lcdc.lcd_ck);
        clk_put(lcdc.lcd_ck);
  }
  
Simple merge