Skip to content

RFC MIPS: ath79: AR9331: add devicetree support

Antony Pavlov linux-clk linux-devicetree linux-mips lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 RFC Latest6 of 15 patches 16 repliesIn review
  2. v4 RFC7 of 15 patches 0 repliesSuperseded
  3. v3 RFC6 of 14 patches 9 repliesSuperseded

Changes in v5 from the cover letter

* AR3132-related patches are postponed;
* drivers/clk/clk-ath79.c is rewritten;
* DPTechnics DPT-Module board support is added;
* TP-LINK MR3020 USB support is added;
* gpio polled keys support is added for all boards;
* appended DTB is used, so now we can use single vmlinux.bin image for all boards.

6 of 15 patches are in this archive. The cover letter announces 15.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15WIP: clk: add Atheros AR933X SoCs clock driverdrivers/clk/Makefile drivers/clk/clk-ath79.c include/dt-bindings/clock/ath79-clk.h+377 -04 replies
3/15MIPS: ath79: use clk-ath79.c driver for AR933Xarch/mips/ath79/clock.c+4 -23 replies
4/15WIP: MIPS: ath79: setup.c: disable platform code for OF boardsarch/mips/ath79/setup.c+9 -81 reply
7/15usb: ehci: add vbus-gpio parameterdrivers/usb/host/ehci-platform.c+22 -08 replies
8/15MIPS: tl_mr3020: enable usb supportarch/mips/boot/dts/qca/tl_mr3020.dts+9 -00 replies
15/15WIP: MIPS: ath79: add AR9331 devicetree defconfigarch/mips/configs/ar9331-dt-raw_defconfig+100 -00 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRob HerringMarek VasutAlban Bedel
SeriesA-b A-b A-b A-b A-b A-b
1/15
3/15A-b
4/15R-b
7/15
8/15
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [RFC v5 00/15] MIPS: ath79: AR9331: add devicetree support

This patchseries relies on additonal USB support and appended DTB handling patches by Alban Bedel:

* https://patchwork.linux-mips.org/patch/11497/
* https://patchwork.linux-mips.org/patch/11495/

* MIPS: OF: Rework the appended DTB handling to keep the PROM arguments

    https://github.com/AlbanBedel/linux/commit/3e1bb5db49a9da1d5d9c90d345fd114f00596c19

* MIPS: ath79: Add support for DTB passed using the UHI boot protocol

    https://github.com/AlbanBedel/linux/commit/b0229b82f84c3e054308eb481d0f4a782fc8ac41

* MIPS: ath79: Remove the builtin DTB support

    https://github.com/AlbanBedel/linux/commit/0b8843b069e525db690c253e03b7a15bc1d1f0df

Changes since RFC v4:

* AR3132-related patches are postponed;
* drivers/clk/clk-ath79.c is rewritten;
* DPTechnics DPT-Module board support is added;
* TP-LINK MR3020 USB support is added;
* gpio polled keys support is added for all boards;
* appended DTB is used, so now we can use single vmlinux.bin image for all boards.

Changes since RFC v3:

* clk: get pll registers base address from devicetree node
* MIPS: dts: qca: ar9132: use short references for usb too
* MIPS: dts: qca: ar9331: add usb support
* MIPS: ath79: Dragino MS14: enable usb support

Changes since RFC v2:

* add Onion Omega board support;
* add AR9132 SoC clock driver;
* add AR9132 devicetree fixes.

Changes since RFC v1:

* add Dragino MS14 board support;
* add "ref" oscillator input clock for pll-controller; add necessary nodes to board dts files.

Antony Pavlov (15):
WIP: clk: add Atheros AR933X SoCs clock driver
dt-bindings: clock: qca,ath79-pll: fix copy-paste typos
MIPS: ath79: use clk-ath79.c driver for AR933X
WIP: MIPS: ath79: setup.c: disable platform code for OF boards
MIPS: dts: qca: introduce AR9331 devicetree
MIPS: ath79: add initial support for TP-LINK MR3020
usb: ehci: add vbus-gpio parameter
MIPS: tl_mr3020: enable usb support
devicetree: add Dragino vendor id
MIPS: ath79: add initial support for Dragino MS14 (Dragino 2)
devicetree: add Onion Corporation vendor id
MIPS: ath79: add initial support for Onion Omega
devicetree: add DPTechnics vendor id
MIPS: ath79: add DPT-Module support
WIP: MIPS: ath79: add AR9331 devicetree defconfig

 .../devicetree/bindings/clock/qca,ath79-pll.txt    |   4 +-
 .../devicetree/bindings/vendor-prefixes.txt        |   3 +
 arch/mips/ath79/clock.c                            |   6 +-
 arch/mips/ath79/setup.c                            |  17 +-
 arch/mips/boot/dts/qca/Makefile                    |   4 +
 arch/mips/boot/dts/qca/ar9331.dtsi                 | 157 +++++++++
 arch/mips/boot/dts/qca/dpt_module.dts              |  77 +++++
 arch/mips/boot/dts/qca/dragino_ms14.dts            | 101 ++++++
 arch/mips/boot/dts/qca/omega.dts                   |  77 +++++
 arch/mips/boot/dts/qca/tl_mr3020.dts               | 108 +++++++
 arch/mips/configs/ar9331-dt-raw_defconfig          | 100 ++++++
 drivers/clk/Makefile                               |   1 +
 drivers/clk/clk-ath79.c                            | 354 +++++++++++++++++++++
 drivers/usb/host/ehci-platform.c                   |  22 ++
 include/dt-bindings/clock/ath79-clk.h              |  22 ++
 15 files changed, 1041 insertions(+), 12 deletions(-)
 create mode 100644 arch/mips/boot/dts/qca/ar9331.dtsi
 create mode 100644 arch/mips/boot/dts/qca/dpt_module.dts
 create mode 100644 arch/mips/boot/dts/qca/dragino_ms14.dts
 create mode 100644 arch/mips/boot/dts/qca/omega.dts
 create mode 100644 arch/mips/boot/dts/qca/tl_mr3020.dts
 create mode 100644 arch/mips/configs/ar9331-dt-raw_defconfig
 create mode 100644 drivers/clk/clk-ath79.c
 create mode 100644 include/dt-bindings/clock/ath79-clk.h
Signature · 1 line
2.7.0