Merge tag 'armsoc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 6 Mar 2019 18:22:26 +0000 (10:22 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 6 Mar 2019 18:22:26 +0000 (10:22 -0800)
Pull ARM SoC late updates from Arnd Bergmann:
 "Here are two branches that came relatively late during the linux-5.0
  development cycle and have dependencies on the other branches:

   - On the TI OMAP platform, the CPSW Ethernet PHY mode selection
     driver is being replaced, this puts the final pieces in place

   - On the DaVinci platform, the interrupt handling code in arch/arm
     gets moved into a regular device driver in drivers/irqchip.

  Since they both had some time in linux-next after the 5.0-rc8 release,
  I'm sending them along with the other updates"

* tag 'armsoc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (38 commits)
  net: ethernet: ti: cpsw: deprecate cpsw-phy-sel driver
  ARM: davinci: remove intc related fields from davinci_soc_info
  irqchip: davinci-cp-intc: move the driver to drivers/irqchip
  ARM: davinci: cp-intc: remove redundant comments
  ARM: davinci: cp-intc: drop GPL license boilerplate
  ARM: davinci: cp-intc: use readl/writel_relaxed()
  ARM: davinci: cp-intc: unify error handling
  ARM: davinci: cp-intc: improve coding style
  ARM: davinci: cp-intc: request the memory region before remapping it
  ARM: davinci: cp-intc: use the new-style config structure
  ARM: davinci: cp-intc: convert all hex numbers to lowercase
  ARM: davinci: cp-intc: use a common prefix for all symbols
  ARM: davinci: cp-intc: add the new config structures for da8xx SoCs
  irqchip: davinci-cp-intc: add a new config structure
  ARM: davinci: cp-intc: add a wrapper around cp_intc_init()
  ARM: davinci: cp-intc: remove cp_intc.h
  irqchip: davinci-aintc: move the driver to drivers/irqchip
  ARM: davinci: aintc: remove unnecessary includes
  ARM: davinci: aintc: remove the timer-specific irq_set_handler()
  ARM: davinci: aintc: request memory region before remapping it
  ...

1  2 
arch/arm/Kconfig
drivers/irqchip/Kconfig
drivers/irqchip/Makefile

diff --combined arch/arm/Kconfig
@@@ -2,7 -2,6 +2,7 @@@
  config ARM
        bool
        default y
 +      select ARCH_32BIT_OFF_T
        select ARCH_CLOCKSOURCE_DATA
        select ARCH_DISCARD_MEMBLOCK if !HAVE_ARCH_PFN_VALID && !KEXEC
        select ARCH_HAS_DEBUG_VIRTUAL if MMU
@@@ -590,11 -589,13 +590,13 @@@ config ARCH_DAVINC
        select GENERIC_ALLOCATOR
        select GENERIC_CLOCKEVENTS
        select GENERIC_IRQ_CHIP
+       select GENERIC_IRQ_MULTI_HANDLER
        select GPIOLIB
        select HAVE_IDE
        select PM_GENERIC_DOMAINS if PM
        select PM_GENERIC_DOMAINS_OF if PM && OF
        select RESET_CONTROLLER
+       select SPARSE_IRQ
        select USE_OF
        select ZONE_DMA
        help
@@@ -751,8 -752,6 +753,8 @@@ source "arch/arm/mach-mediatek/Kconfig
  
  source "arch/arm/mach-meson/Kconfig"
  
 +source "arch/arm/mach-milbeaut/Kconfig"
 +
  source "arch/arm/mach-mmp/Kconfig"
  
  source "arch/arm/mach-moxart/Kconfig"
@@@ -1403,7 -1402,6 +1405,7 @@@ config NR_CPU
  config HOTPLUG_CPU
        bool "Support for hot-pluggable CPUs"
        depends on SMP
 +      select GENERIC_IRQ_MIGRATION
        help
          Say Y here to experiment with turning CPUs off and on.  CPUs
          can be controlled through /sys/devices/system/cpu.
diff --combined drivers/irqchip/Kconfig
@@@ -129,6 -129,16 +129,16 @@@ config BRCMSTB_L2_IR
        select GENERIC_IRQ_CHIP
        select IRQ_DOMAIN
  
+ config DAVINCI_AINTC
+       bool
+       select GENERIC_IRQ_CHIP
+       select IRQ_DOMAIN
+ config DAVINCI_CP_INTC
+       bool
+       select GENERIC_IRQ_CHIP
+       select IRQ_DOMAIN
  config DW_APB_ICTL
        bool
        select GENERIC_IRQ_CHIP
@@@ -406,15 -416,6 +416,15 @@@ config IMX_IRQSTEE
        help
          Support for the i.MX IRQSTEER interrupt multiplexer/remapper.
  
 +config LS1X_IRQ
 +      bool "Loongson-1 Interrupt Controller"
 +      depends on MACH_LOONGSON32
 +      default y
 +      select IRQ_DOMAIN
 +      select GENERIC_IRQ_CHIP
 +      help
 +        Support for the Loongson-1 platform Interrupt Controller.
 +
  endmenu
  
  config SIFIVE_PLIC
diff --combined drivers/irqchip/Makefile
@@@ -6,6 -6,8 +6,8 @@@ obj-$(CONFIG_ATH79)                      += irq-ath79-cpu.
  obj-$(CONFIG_ATH79)                   += irq-ath79-misc.o
  obj-$(CONFIG_ARCH_BCM2835)            += irq-bcm2835.o
  obj-$(CONFIG_ARCH_BCM2835)            += irq-bcm2836.o
+ obj-$(CONFIG_DAVINCI_AINTC)           += irq-davinci-aintc.o
+ obj-$(CONFIG_DAVINCI_CP_INTC)         += irq-davinci-cp-intc.o
  obj-$(CONFIG_ARCH_EXYNOS)             += exynos-combiner.o
  obj-$(CONFIG_FARADAY_FTINTC010)               += irq-ftintc010.o
  obj-$(CONFIG_ARCH_HIP04)              += irq-hip04.o
@@@ -94,4 -96,3 +96,4 @@@ obj-$(CONFIG_CSKY_APB_INTC)           += irq-csk
  obj-$(CONFIG_SIFIVE_PLIC)             += irq-sifive-plic.o
  obj-$(CONFIG_IMX_IRQSTEER)            += irq-imx-irqsteer.o
  obj-$(CONFIG_MADERA_IRQ)              += irq-madera.o
 +obj-$(CONFIG_LS1X_IRQ)                        += irq-ls1x.o