mbox series

[GIT,PULL] DaVinci SoC updates for v5.1 (part 3)

Message ID 26892a0a-c6c4-6409-44cf-1f407ac21482@ti.com
State New
Headers show
Series [GIT,PULL] DaVinci SoC updates for v5.1 (part 3) | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci.git tags/davinci-for-v5.1/soc-part3

Message

Sekhar Nori Feb. 19, 2019, 3:35 p.m. UTC
Hi Arnd, Olof,

This is a late request to pull some further SoC updates for DaVinci.
The patches have been in the works for a while, but we received the
final maintainer acks only yesterday.

I hope we can merge this for v5.1. We have further clean-ups for
mach-davinci planned, and it will be good to get this out of the
way.

I have run randconfig builds with a previous version of this series.
I am running afresh with this branch too. The branch merges without
conflicts into latest linux-next/master.

Thanks,
Sekhar

The following changes since commit 23fa70e40a42e8dfeac654b8cc0e5b463e54af25:

  usb: ohci-da8xx: remove unused callbacks from platform data (2019-02-12 13:48:59 +0530)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci.git tags/davinci-for-v5.1/soc-part3

for you to fetch changes up to 49b654fd43b29e8decaa38035eed9ca8f221e48a:

  ARM: davinci: remove intc related fields from davinci_soc_info (2019-02-19 20:04:07 +0530)

----------------------------------------------------------------
DaVinci SoC updates for v5.1 (part 3)
-------------------------------------
This pull request gets rid of mach-davinci private interrupt controller
implmentations (aintc and cp_initc) and moves them to drivers/irqchip.

mach/irqs.h usage outside of mach-davinci has been rid of.

The driver changes (input and irqchip) have been acked by respective
maintainers.

----------------------------------------------------------------
Bartosz Golaszewski (37):
      input: davinci_keyscan: remove unnecessary includes
      ARM: davinci: remove intc_host_map from davinci_soc_info struct
      ARM: davinci: aintc: use irq domain
      ARM: davinci: select GENERIC_IRQ_MULTI_HANDLER
      ARM: davinci: remove davinci_intc_type
      ARM: davinci: pull davinci_intc_base into the respective intc drivers
      ARM: davinci: wrap HW interrupt numbers with a macro
      ARM: davinci: select SPARSE_IRQ
      ARM: davinci: make irqs.h a local header
      ARM: davinci: aintc: drop GPL license boilerplate
      ARM: davinci: aintc: wrap davinci_irq_init() with a helper
      ARM: davinci: aintc: use a common prefix for symbols in the driver
      ARM: davinci: aintc: drop the 00 prefix from register offsets
      ARM: davinci: aintc: use writel_relaxed()
      irqchip: davinci-aintc: add a new config structure
      ARM: davinci: aintc: use the new irqchip config structure in dm* SoCs
      ARM: davinci: aintc: use the new config structure
      ARM: davinci: aintc: unify error handling
      ARM: davinci: aintc: request memory region before remapping it
      ARM: davinci: aintc: remove the timer-specific irq_set_handler()
      ARM: davinci: aintc: remove unnecessary includes
      irqchip: davinci-aintc: move the driver to drivers/irqchip
      ARM: davinci: cp-intc: remove cp_intc.h
      ARM: davinci: cp-intc: add a wrapper around cp_intc_init()
      irqchip: davinci-cp-intc: add a new config structure
      ARM: davinci: cp-intc: add the new config structures for da8xx SoCs
      ARM: davinci: cp-intc: use a common prefix for all symbols
      ARM: davinci: cp-intc: convert all hex numbers to lowercase
      ARM: davinci: cp-intc: use the new-style config structure
      ARM: davinci: cp-intc: request the memory region before remapping it
      ARM: davinci: cp-intc: improve coding style
      ARM: davinci: cp-intc: unify error handling
      ARM: davinci: cp-intc: use readl/writel_relaxed()
      ARM: davinci: cp-intc: drop GPL license boilerplate
      ARM: davinci: cp-intc: remove redundant comments
      irqchip: davinci-cp-intc: move the driver to drivers/irqchip
      ARM: davinci: remove intc related fields from davinci_soc_info

 arch/arm/Kconfig                                 |   2 +
 arch/arm/mach-davinci/Kconfig                    |  19 +-
 arch/arm/mach-davinci/Makefile                   |   3 -
 arch/arm/mach-davinci/asp.h                      |   8 +-
 arch/arm/mach-davinci/board-da830-evm.c          |   5 +-
 arch/arm/mach-davinci/board-da850-evm.c          |   5 +-
 arch/arm/mach-davinci/board-dm355-evm.c          |   2 +-
 arch/arm/mach-davinci/board-dm355-leopard.c      |   2 +-
 arch/arm/mach-davinci/board-dm365-evm.c          |   2 +-
 arch/arm/mach-davinci/board-dm644x-evm.c         |   8 +-
 arch/arm/mach-davinci/board-dm646x-evm.c         |   6 +-
 arch/arm/mach-davinci/board-mityomapl138.c       |   3 +-
 arch/arm/mach-davinci/board-neuros-osd2.c        |   2 +-
 arch/arm/mach-davinci/board-omapl138-hawk.c      |   3 +-
 arch/arm/mach-davinci/board-sffsdr.c             |   2 +-
 arch/arm/mach-davinci/common.c                   |   3 -
 arch/arm/mach-davinci/cp_intc.c                  | 215 -------------------
 arch/arm/mach-davinci/cp_intc.h                  |  57 -----
 arch/arm/mach-davinci/da830.c                    | 128 ++---------
 arch/arm/mach-davinci/da850.c                    | 154 +++-----------
 arch/arm/mach-davinci/davinci.h                  |   4 +
 arch/arm/mach-davinci/devices-da8xx.c            | 147 ++++++-------
 arch/arm/mach-davinci/devices.c                  |  40 ++--
 arch/arm/mach-davinci/dm355.c                    |  78 ++++---
 arch/arm/mach-davinci/dm365.c                    | 102 +++++----
 arch/arm/mach-davinci/dm644x.c                   |  68 +++---
 arch/arm/mach-davinci/dm646x.c                   |  82 ++++---
 arch/arm/mach-davinci/include/mach/common.h      |  14 +-
 arch/arm/mach-davinci/include/mach/da8xx.h       |   2 +
 arch/arm/mach-davinci/include/mach/entry-macro.S |  39 ----
 arch/arm/mach-davinci/irq.c                      | 117 ----------
 arch/arm/mach-davinci/{include/mach => }/irqs.h  |   4 -
 arch/arm/mach-davinci/usb-da8xx.c                |   9 +-
 arch/arm/mach-davinci/usb.c                      |  15 +-
 drivers/input/keyboard/davinci_keyscan.c         |   4 -
 drivers/irqchip/Kconfig                          |  10 +
 drivers/irqchip/Makefile                         |   2 +
 drivers/irqchip/irq-davinci-aintc.c              | 163 ++++++++++++++
 drivers/irqchip/irq-davinci-cp-intc.c            | 260 +++++++++++++++++++++++
 include/linux/irqchip/irq-davinci-aintc.h        |  27 +++
 include/linux/irqchip/irq-davinci-cp-intc.h      |  25 +++
 41 files changed, 880 insertions(+), 961 deletions(-)
 delete mode 100644 arch/arm/mach-davinci/cp_intc.c
 delete mode 100644 arch/arm/mach-davinci/cp_intc.h
 delete mode 100644 arch/arm/mach-davinci/include/mach/entry-macro.S
 delete mode 100644 arch/arm/mach-davinci/irq.c
 rename arch/arm/mach-davinci/{include/mach => }/irqs.h (98%)
 create mode 100644 drivers/irqchip/irq-davinci-aintc.c
 create mode 100644 drivers/irqchip/irq-davinci-cp-intc.c
 create mode 100644 include/linux/irqchip/irq-davinci-aintc.h
 create mode 100644 include/linux/irqchip/irq-davinci-cp-intc.h

Comments

Sekhar Nori Feb. 20, 2019, 11:08 a.m. UTC | #1
On 19/02/19 9:05 PM, Sekhar Nori wrote:
> Hi Arnd, Olof,
> 
> This is a late request to pull some further SoC updates for DaVinci.
> The patches have been in the works for a while, but we received the
> final maintainer acks only yesterday.
> 
> I hope we can merge this for v5.1. We have further clean-ups for
> mach-davinci planned, and it will be good to get this out of the
> way.
> 
> I have run randconfig builds with a previous version of this series.
> I am running afresh with this branch too. The branch merges without

This is done and no new randconfig issues were found with this series
(10 random + 1 allnoconfig builds)

Thanks,
Sekhar
Arnd Bergmann Feb. 20, 2019, 3:21 p.m. UTC | #2
On Wed, Feb 20, 2019 at 12:08 PM Sekhar Nori <nsekhar@ti.com> wrote:
>
> On 19/02/19 9:05 PM, Sekhar Nori wrote:
> > Hi Arnd, Olof,
> >
> > This is a late request to pull some further SoC updates for DaVinci.
> > The patches have been in the works for a while, but we received the
> > final maintainer acks only yesterday.
> >
> > I hope we can merge this for v5.1. We have further clean-ups for
> > mach-davinci planned, and it will be good to get this out of the
> > way.
> >
> > I have run randconfig builds with a previous version of this series.
> > I am running afresh with this branch too. The branch merges without
>
> This is done and no new randconfig issues were found with this series
> (10 random + 1 allnoconfig builds)

I've pulled the branch into arm/late for now. All the patches look
really nice, so agree we should have them in v5.1, but given
the timing I wasn't quite comfortable enough with having them
in arm/soc right away, in case something does come up.

If all goes well, we might end up merging it into arm/soc before
sendinng out the pull requests, but it depends a bit on the timing
of the merge window and how much more testing I can get done.

If it's not part of the initial pull requests, we can aim for sending
this in the second half of the merge window.

       Arnd