Skip to content

MIPS: ath79: convert target to pure OF

John Crispin linux-devicetree linux-mips 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest25 patches 10 repliesIn review
  2. v125 patches 9 repliesSuperseded

Changes in v2 from the cover letter

* minor fixes in DT binding docs
* add a few missing SoBs
* add the SPI patch to the series
* drop the unreachable patch

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/25MIPS: ath79: add lots of missing registersarch/mips/include/asm/mach-ath79/ar71xx_regs.h+770 -10 replies
2/25MIPS: ath79: add support for QCA953x QCA956x TP9343arch/mips/ath79/clock.c arch/mips/ath79/common.c arch/mips/ath79/early_printk.c +2 more+269 -30 replies
3/25MIPS: ath79: select the PINCTRL subsystemarch/mips/Kconfig+1 -00 replies
4/25MIPS: ath79: fix register address in ath79_ddr_wb_flush()arch/mips/ath79/common.c+1 -13 replies
5/25MIPS: ath79: fix system restartarch/mips/ath79/setup.c arch/mips/include/asm/mach-ath79/ath79.h+2 -00 replies
6/25MIPS: ath79: finetune cpu-overridesarch/mips/include/asm/mach-ath79/cpu-feature-overrides.h+6 -00 replies
7/25MIPS: ath79: enable uart during early_prinkarch/mips/ath79/early_printk.c+43 -11 reply
8/25MIPS: ath79: get PCIe controller out of resetarch/mips/pci/pci-ar724x.c+42 -00 replies
9/25dt-bindings: PCI: qcom,ar7100: adds binding docDocumentation/devicetree/bindings/pci/qcom,ar7100-pci.txt+38 -02 replies
10/25MIPS: pci-ar71xx: convert to OFarch/mips/pci/pci-ar71xx.c+41 -410 replies
11/25dt-bindings: PCI: qcom,ar7240: adds binding docDocumentation/devicetree/bindings/pci/qcom,ar7240-pci.txt+42 -02 replies
12/25MIPS: pci-ar724x: convert to OFarch/mips/pci/pci-ar724x.c+42 -460 replies
13/25MIPS: ath79: add helpers for setting clocks and expose the ref clockarch/mips/ath79/clock.c include/dt-bindings/clock/ath79-clk.h+68 -630 replies
14/25MIPS: ath79: move legacy "wdt" and "uart" clock aliases out of soc initarch/mips/ath79/clock.c+17 -210 replies
15/25MIPS: ath79: pass PLL base to clock init functionsarch/mips/ath79/clock.c+30 -300 replies
16/25MIPS: ath79: make specifying the reference clock in DT optionalarch/mips/ath79/clock.c+40 -440 replies
17/25MIPS: ath79: support setting up clock via DT on all SoC typesarch/mips/ath79/clock.c+22 -170 replies
18/25MIPS: ath79: export switch MDIO reference clockarch/mips/ath79/clock.c include/dt-bindings/clock/ath79-clk.h+10 -10 replies
19/25MIPS: ath79: drop legacy IRQ codearch/mips/ath79/Makefile arch/mips/ath79/irq.c arch/mips/ath79/setup.c +1 more+7 -1740 replies
20/25MIPS: ath79: drop machfilesarch/mips/Kconfig arch/mips/ath79/Kconfig arch/mips/ath79/Makefile +9 more+9 -9190 replies
21/25MIPS: ath79: drop legacy pci codearch/mips/ath79/Makefile arch/mips/ath79/pci.c arch/mips/ath79/pci.h +2 more+22 -3090 replies
22/25MIPS: ath79: drop platform device registration codearch/mips/ath79/Makefile arch/mips/ath79/common.h arch/mips/ath79/dev-common.c +12 more+0 -8350 replies
23/25MIPS: ath79: drop !OF clock codearch/mips/ath79/clock.c arch/mips/ath79/common.h+0 -590 replies
24/25MIPS: ath79: sanitize symbolsarch/mips/Kconfig arch/mips/ath79/Kconfig arch/mips/pci/Makefile+8 -400 replies
25/25spi: ath79: drop pdata supportarch/mips/include/asm/mach-ath79/ath79_spi_platform.h drivers/spi/spi-ath79.c+0 -270 replies

Reviews trailers per patch

1 of 25 patches has a Reviewed-by or Acked-by.

PatchMark Brown
1/25
2/25
3/25
4/25
5/25
6/25
7/25
8/25
9/25
10/25
11/25
12/25
13/25
14/25
15/25
16/25
17/25
18/25
19/25
20/25
21/25
22/25
23/25
24/25
25/25A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH V2 00/25] MIPS: ath79: convert target to pure OF

In the last couple of months we have been conevrting this target to OF inside OpenWrt. This series is an aggragte of all the patches that have been produced in that period. There have been plenty of dts contributions already and we hope to be able to drop the old mach file based target in the not too distant future.

Felix Fietkau (9):
MIPS: ath79: fix register address in ath79_ddr_wb_flush()
MIPS: ath79: fix system restart
MIPS: ath79: finetune cpu-overrides
MIPS: ath79: add helpers for setting clocks and expose the ref clock
MIPS: ath79: move legacy "wdt" and "uart" clock aliases out of soc
init
MIPS: ath79: pass PLL base to clock init functions
MIPS: ath79: make specifying the reference clock in DT optional
MIPS: ath79: support setting up clock via DT on all SoC types
MIPS: ath79: export switch MDIO reference clock

Gabor Juhos (2):
MIPS: ath79: add lots of missing registers
MIPS: ath79: enable uart during early_prink

John Crispin (12):
MIPS: ath79: select the PINCTRL subsystem
dt-bindings: PCI: qcom,ar7100: adds binding doc
MIPS: pci-ar71xx: convert to OF
dt-bindings: PCI: qcom,ar7240: adds binding doc
MIPS: pci-ar724x: convert to OF
MIPS: ath79: drop legacy IRQ code
MIPS: ath79: drop machfiles
MIPS: ath79: drop legacy pci code
MIPS: ath79: drop platform device registration code
MIPS: ath79: drop !OF clock code
MIPS: ath79: sanitize symbols
spi: ath79: drop pdata support

Mathias Kresin (1):
MIPS: ath79: get PCIe controller out of reset

Matthias Schiffer (1):
MIPS: ath79: add support for QCA953x QCA956x TP9343

---
Changes in V1->V2
* minor fixes in DT binding docs
* add a few missing SoBs
* add the SPI patch to the series
* drop the unreachable patch

 .../devicetree/bindings/pci/qcom,ar7100-pci.txt    |  38 +
 .../devicetree/bindings/pci/qcom,ar7240-pci.txt    |  42 ++
 arch/mips/Kconfig                                  |   4 +-
 arch/mips/ath79/Kconfig                            | 117 +---
 arch/mips/ath79/Makefile                           |  23 +-
 arch/mips/ath79/clock.c                            | 463 ++++++++-----
 arch/mips/ath79/common.c                           |  10 +-
 arch/mips/ath79/common.h                           |   5 -
 arch/mips/ath79/dev-common.c                       | 159 -----
 arch/mips/ath79/dev-common.h                       |  18 -
 arch/mips/ath79/dev-gpio-buttons.c                 |  56 --
 arch/mips/ath79/dev-gpio-buttons.h                 |  23 -
 arch/mips/ath79/dev-leds-gpio.c                    |  54 --
 arch/mips/ath79/dev-leds-gpio.h                    |  21 -
 arch/mips/ath79/dev-spi.c                          |  38 -
 arch/mips/ath79/dev-spi.h                          |  22 -
 arch/mips/ath79/dev-usb.c                          | 242 -------
 arch/mips/ath79/dev-usb.h                          |  17 -
 arch/mips/ath79/dev-wmac.c                         | 155 -----
 arch/mips/ath79/dev-wmac.h                         |  17 -
 arch/mips/ath79/early_printk.c                     |  48 +-
 arch/mips/ath79/irq.c                              | 169 -----
 arch/mips/ath79/mach-ap121.c                       |  92 ---
 arch/mips/ath79/mach-ap136.c                       | 156 -----
 arch/mips/ath79/mach-ap81.c                        | 100 ---
 arch/mips/ath79/mach-db120.c                       | 136 ----
 arch/mips/ath79/mach-pb44.c                        | 128 ----
 arch/mips/ath79/mach-ubnt-xm.c                     | 126 ----
 arch/mips/ath79/machtypes.h                        |  28 -
 arch/mips/ath79/pci.c                              | 273 --------
 arch/mips/ath79/pci.h                              |  35 -
 arch/mips/ath79/setup.c                            | 113 ++-
 arch/mips/include/asm/mach-ath79/ar71xx_regs.h     | 771 ++++++++++++++++++++-
 arch/mips/include/asm/mach-ath79/ath79.h           |  38 +-
 .../include/asm/mach-ath79/ath79_spi_platform.h    |  19 -
 .../include/asm/mach-ath79/cpu-feature-overrides.h |   6 +
 arch/mips/pci/Makefile                             |   3 +-
 arch/mips/pci/fixup-ath79.c                        |  21 +
 arch/mips/pci/pci-ar71xx.c                         |  82 +--
 arch/mips/pci/pci-ar724x.c                         | 130 ++--
 drivers/spi/spi-ath79.c                            |   8 -
 include/dt-bindings/clock/ath79-clk.h              |   4 +-
 42 files changed, 1454 insertions(+), 2556 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pci/qcom,ar7100-pci.txt
 create mode 100644 Documentation/devicetree/bindings/pci/qcom,ar7240-pci.txt
 delete mode 100644 arch/mips/ath79/dev-common.c
 delete mode 100644 arch/mips/ath79/dev-common.h
 delete mode 100644 arch/mips/ath79/dev-gpio-buttons.c
 delete mode 100644 arch/mips/ath79/dev-gpio-buttons.h
 delete mode 100644 arch/mips/ath79/dev-leds-gpio.c
 delete mode 100644 arch/mips/ath79/dev-leds-gpio.h
 delete mode 100644 arch/mips/ath79/dev-spi.c
 delete mode 100644 arch/mips/ath79/dev-spi.h
 delete mode 100644 arch/mips/ath79/dev-usb.c
 delete mode 100644 arch/mips/ath79/dev-usb.h
 delete mode 100644 arch/mips/ath79/dev-wmac.c
 delete mode 100644 arch/mips/ath79/dev-wmac.h
 delete mode 100644 arch/mips/ath79/irq.c
 delete mode 100644 arch/mips/ath79/mach-ap121.c
 delete mode 100644 arch/mips/ath79/mach-ap136.c
 delete mode 100644 arch/mips/ath79/mach-ap81.c
 delete mode 100644 arch/mips/ath79/mach-db120.c
 delete mode 100644 arch/mips/ath79/mach-pb44.c
 delete mode 100644 arch/mips/ath79/mach-ubnt-xm.c
 delete mode 100644 arch/mips/ath79/machtypes.h
 delete mode 100644 arch/mips/ath79/pci.c
 delete mode 100644 arch/mips/ath79/pci.h
 delete mode 100644 arch/mips/include/asm/mach-ath79/ath79_spi_platform.h
 create mode 100644 arch/mips/pci/fixup-ath79.c
Signature · 1 line
2.11.0