From: Linus Walleij <linus.walleij@linaro.org>
To: linux-arm-kernel@lists.infradead.org,
Imre Kaloz <kaloz@openwrt.org>,
Krzysztof Halasa <khalasa@piap.pl>
Cc: Olof Johansson <olof@lixom.net>,
Tim Harvey <tharvey@gateworks.com>,
Linus Walleij <linus.walleij@linaro.org>,
Arnd Bergmann <arnd@arndb.de>
Subject: [PATCH 00/17 v1] ARM: ixp4xx: Modernize and DT support
Date: Sun, 3 Feb 2019 22:41:48 +0100 [thread overview]
Message-ID: <20190203214205.13594-1-linus.walleij@linaro.org> (raw)
This modernizes the IXP4xx platform and adds initial Device Tree
Support. We migrate to MULTI_IRQ_HANDLER, bumps the IRQs to
offset 16, converts to SPARSE_IRQ, then we add proper subsystem
drivers in each subsystem for irqchip, GPIO and clocksource and
switch over to using these new drivers.
Then we add DT bindings to all of these aforementioned drivers,
add add support for probing each from device tree (keeping the
boardfile path).
Then we add Device Tree boot support.
The last patch shows how some basic (working) device trees will
look.
We will not delete any boardfiles until we support the
corresponding board fully with a device tree, which requires
things like PCI support which we can work on using this as
a base.
A working set of base patches that boots to prompto from
initramfs on NSLU2 and GW2358-4 is provided on this branch:
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git/log/?h=ixp4
I am now collecting feedback and ACKs for the patches. I aim
to create a branch in the GPIO tree and ask the ARM SoC tree
to pull it in. It will be best to keep all patches in one
branch since I mess with MAINTAINERS after each commit (as
requested by checkpatch!).
Obviously I am looking for the IXP4xx maintainers to review
and consent to this change or I cannot move ahead. I think
it is best that I queue up a branch and send to ARM SoC
but if you IXP4xx folks want to do it in some other way
I am happy to hear.
Linus Walleij (17):
ARM: ixp4xx: Convert to MULTI_IRQ_HANDLER
ARM: ixp4xx: Pass IRQ resource to beeper
ARM: ixp4xx: Convert to SPARSE_IRQ
irqchip: Add driver for IXP4xx
gpio: ixp4xx: Add driver for the IXP4xx GPIO
ARM: ixp4xx: Switch to use new IRQ+GPIO drivers
clocksource/drivers/ixp4xx: Add driver
ARM: ixp4xx: Switch to use new timer driver
irqchip: ixp4xx: Add DT bindings
irqchip: ixp4xx: Add OF initialization support
clocksource/drivers/ixp4xx: Add DT bindings
clocksource/drivers/ixp4xx: Add OF initialization support
gpio: ixp4xx: Add DT bindings
gpio: ixp4xx: Add OF probing support
ARM: ixp4xx: Add DT bindings
ARM: ixp4xx: Add device tree boot support
RFC: ARM: dts: Add some initial IXP4xx device trees
.../devicetree/bindings/arm/intel-ixp4xx.yaml | 22 +
.../bindings/gpio/intel,ixp4xx-gpio.txt | 38 ++
.../intel,ixp4xx-interrupt.txt | 33 ++
.../bindings/timer/intel,ixp4xx-timer.txt | 18 +
MAINTAINERS | 9 +
arch/arm/Kconfig | 5 +-
arch/arm/boot/dts/Makefile | 3 +
.../boot/dts/intel-ixp42x-linksys-nslu2.dts | 111 ++++
arch/arm/boot/dts/intel-ixp42x.dtsi | 25 +
.../dts/intel-ixp43x-gateworks-gw2358-4.dts | 96 ++++
arch/arm/boot/dts/intel-ixp43x.dtsi | 15 +
arch/arm/boot/dts/intel-ixp45x-ixp46x.dtsi | 34 ++
arch/arm/boot/dts/intel-ixp4xx.dtsi | 58 +++
arch/arm/mach-ixp4xx/Kconfig | 14 +
arch/arm/mach-ixp4xx/Makefile | 3 +
arch/arm/mach-ixp4xx/avila-pci.c | 2 +
arch/arm/mach-ixp4xx/avila-setup.c | 2 +
arch/arm/mach-ixp4xx/common.c | 426 ++--------------
arch/arm/mach-ixp4xx/coyote-pci.c | 2 +
arch/arm/mach-ixp4xx/coyote-setup.c | 2 +
arch/arm/mach-ixp4xx/dsmg600-pci.c | 2 +
arch/arm/mach-ixp4xx/dsmg600-setup.c | 5 +-
arch/arm/mach-ixp4xx/fsg-pci.c | 2 +
arch/arm/mach-ixp4xx/fsg-setup.c | 2 +
arch/arm/mach-ixp4xx/gateway7001-pci.c | 2 +
arch/arm/mach-ixp4xx/gateway7001-setup.c | 2 +
arch/arm/mach-ixp4xx/gtwx5715-pci.c | 2 +
arch/arm/mach-ixp4xx/gtwx5715-setup.c | 2 +
.../mach-ixp4xx/include/mach/entry-macro.S | 41 --
arch/arm/mach-ixp4xx/include/mach/irqs.h | 75 ---
.../mach-ixp4xx/include/mach/ixp4xx-regs.h | 89 ----
arch/arm/mach-ixp4xx/irqs.h | 68 +++
arch/arm/mach-ixp4xx/ixdp425-pci.c | 2 +
arch/arm/mach-ixp4xx/ixdp425-setup.c | 2 +
arch/arm/mach-ixp4xx/ixdpg425-pci.c | 2 +
arch/arm/mach-ixp4xx/ixp4xx-of.c | 49 ++
arch/arm/mach-ixp4xx/ixp4xx_npe.c | 5 +
arch/arm/mach-ixp4xx/ixp4xx_qmgr.c | 7 +
arch/arm/mach-ixp4xx/nas100d-pci.c | 2 +
arch/arm/mach-ixp4xx/nas100d-setup.c | 5 +-
arch/arm/mach-ixp4xx/nslu2-pci.c | 2 +
arch/arm/mach-ixp4xx/nslu2-setup.c | 12 +-
arch/arm/mach-ixp4xx/wg302v2-pci.c | 2 +
arch/arm/mach-ixp4xx/wg302v2-setup.c | 2 +
drivers/clocksource/Kconfig | 7 +
drivers/clocksource/Makefile | 1 +
drivers/clocksource/timer-ixp4xx.c | 284 +++++++++++
drivers/gpio/Kconfig | 12 +
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-ixp4xx.c | 473 ++++++++++++++++++
drivers/input/misc/ixp4xx-beeper.c | 20 +-
drivers/irqchip/Kconfig | 6 +
drivers/irqchip/Makefile | 1 +
drivers/irqchip/irq-ixp4xx.c | 405 +++++++++++++++
drivers/net/ethernet/xscale/ixp4xx_eth.c | 10 +
drivers/watchdog/ixp4xx_wdt.c | 9 +
include/linux/irqchip/irq-ixp4xx.h | 12 +
include/linux/platform_data/timer-ixp4xx.h | 11 +
58 files changed, 1940 insertions(+), 614 deletions(-)
create mode 100644 Documentation/devicetree/bindings/arm/intel-ixp4xx.yaml
create mode 100644 Documentation/devicetree/bindings/gpio/intel,ixp4xx-gpio.txt
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/intel,ixp4xx-interrupt.txt
create mode 100644 Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.txt
create mode 100644 arch/arm/boot/dts/intel-ixp42x-linksys-nslu2.dts
create mode 100644 arch/arm/boot/dts/intel-ixp42x.dtsi
create mode 100644 arch/arm/boot/dts/intel-ixp43x-gateworks-gw2358-4.dts
create mode 100644 arch/arm/boot/dts/intel-ixp43x.dtsi
create mode 100644 arch/arm/boot/dts/intel-ixp45x-ixp46x.dtsi
create mode 100644 arch/arm/boot/dts/intel-ixp4xx.dtsi
delete mode 100644 arch/arm/mach-ixp4xx/include/mach/entry-macro.S
delete mode 100644 arch/arm/mach-ixp4xx/include/mach/irqs.h
create mode 100644 arch/arm/mach-ixp4xx/irqs.h
create mode 100644 arch/arm/mach-ixp4xx/ixp4xx-of.c
create mode 100644 drivers/clocksource/timer-ixp4xx.c
create mode 100644 drivers/gpio/gpio-ixp4xx.c
create mode 100644 drivers/irqchip/irq-ixp4xx.c
create mode 100644 include/linux/irqchip/irq-ixp4xx.h
create mode 100644 include/linux/platform_data/timer-ixp4xx.h
--
2.20.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2019-02-03 21:42 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-03 21:41 Linus Walleij [this message]
2019-02-03 21:41 ` [PATCH 01/17 v1] ARM: ixp4xx: Convert to MULTI_IRQ_HANDLER Linus Walleij
2019-02-03 21:41 ` [PATCH 02/17 v1] ARM: ixp4xx: Pass IRQ resource to beeper Linus Walleij
2019-02-03 21:41 ` [PATCH 03/17 v1] ARM: ixp4xx: Convert to SPARSE_IRQ Linus Walleij
2019-02-03 21:41 ` [PATCH 04/17 v1] irqchip: Add driver for IXP4xx Linus Walleij
2019-02-11 15:30 ` Marc Zyngier
2019-02-11 20:58 ` Linus Walleij
2019-02-11 22:11 ` Marc Zyngier
2019-02-18 7:06 ` Krzysztof Hałasa
2019-02-18 7:16 ` Linus Walleij
2019-02-18 7:35 ` Krzysztof Hałasa
2019-02-18 9:40 ` Arnd Bergmann
2019-02-18 12:03 ` Krzysztof Hałasa
2019-02-18 12:44 ` Arnd Bergmann
2019-02-19 6:51 ` Krzysztof Hałasa
2019-02-19 9:46 ` Arnd Bergmann
2019-02-20 7:35 ` Krzysztof Hałasa
2019-02-18 9:18 ` Arnd Bergmann
2019-02-03 21:41 ` [PATCH 05/17 v1] gpio: ixp4xx: Add driver for the IXP4xx GPIO Linus Walleij
2019-02-06 16:03 ` Bartosz Golaszewski
2019-02-21 8:50 ` Linus Walleij
2019-02-03 21:41 ` [PATCH 06/17 v1] ARM: ixp4xx: Switch to use new IRQ+GPIO drivers Linus Walleij
2019-02-03 21:41 ` [PATCH 07/17 v1] clocksource/drivers/ixp4xx: Add driver Linus Walleij
2019-02-03 21:41 ` [PATCH 08/17 v1] ARM: ixp4xx: Switch to use new timer driver Linus Walleij
2019-02-03 21:41 ` [PATCH 09/17 v1] irqchip: ixp4xx: Add DT bindings Linus Walleij
2019-02-18 21:25 ` Rob Herring
2019-02-03 21:41 ` [PATCH 10/17 v1] irqchip: ixp4xx: Add OF initialization support Linus Walleij
2019-02-03 21:41 ` [PATCH 11/17 v1] clocksource/drivers/ixp4xx: Add DT bindings Linus Walleij
2019-02-18 21:26 ` Rob Herring
2019-02-18 22:10 ` Daniel Lezcano
2019-02-03 21:42 ` [PATCH 12/17 v1] clocksource/drivers/ixp4xx: Add OF initialization support Linus Walleij
2019-02-11 11:26 ` Daniel Lezcano
2019-02-03 21:42 ` [PATCH 13/17 v1] gpio: ixp4xx: Add DT bindings Linus Walleij
2019-02-06 16:05 ` Bartosz Golaszewski
2019-02-18 21:27 ` Rob Herring
2019-02-03 21:42 ` [PATCH 14/17 v1] gpio: ixp4xx: Add OF probing support Linus Walleij
2019-02-06 16:13 ` Bartosz Golaszewski
2019-02-21 8:55 ` Linus Walleij
2019-02-03 21:42 ` [PATCH 15/17 v1] ARM: ixp4xx: Add DT bindings Linus Walleij
2019-02-04 15:16 ` Rob Herring
2019-02-08 19:37 ` Linus Walleij
2019-02-03 21:42 ` [PATCH 16/17 v1] ARM: ixp4xx: Add device tree boot support Linus Walleij
2019-02-03 21:42 ` [PATCH 17/17 v1] RFC: ARM: dts: Add some initial IXP4xx device trees Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190203214205.13594-1-linus.walleij@linaro.org \
--to=linus.walleij@linaro.org \
--cc=arnd@arndb.de \
--cc=kaloz@openwrt.org \
--cc=khalasa@piap.pl \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=olof@lixom.net \
--cc=tharvey@gateworks.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).