Skip to content

MIPS: ath79: update devicetree support for AR9132 and AR9331

Antony Pavlov linux-clk linux-devicetree linux-mips 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 of 18 patches 0 repliesNew
  2. v1 RFC1 patch 1 replySuperseded

Changes in v2 from the cover letter

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

7 of 18 patches are in this archive. The cover letter announces 18.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/18MIPS: ath79: Fix the ar724x clock calculationarch/mips/ath79/clock.c+3 -30 replies
3/18MIPS: ath79: Fix the ar913x reference clock ratearch/mips/ath79/clock.c+1 -370 replies
6/18MIPS: dts: qca: ar9132_tl_wr1043nd_v1.dts: use "ref" for reference clock namearch/mips/boot/dts/qca/ar9132_tl_wr1043nd_v1.dts+1 -10 replies
7/18MIPS: ath79: introduce <dt-bindings/clock/ath79-clk.h>arch/mips/ath79/clock.c arch/mips/boot/dts/qca/ar9132.dtsi include/dt-bindings/clock/ath79-clk.h+41 -190 replies
8/18MIPS: ath79: update devicetree clock support for AR9132arch/mips/ath79/clock.c arch/mips/ath79/setup.c arch/mips/boot/dts/qca/ar9132.dtsi+112 -290 replies
9/18MIPS: ath79: setup.c: disable platform code for OF boardsarch/mips/ath79/setup.c+8 -70 replies
11/18MIPS: ath79: update devicetree clock support for AR9331arch/mips/ath79/clock.c+74 -460 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRob HerringMarek VasutAlban BedelAntony Pavlov
SeriesA-b A-b A-b A-b A-b A-b A-b
2/18
3/18T-b
6/18
7/18
8/18
9/18R-b
11/18

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

Read the v2 thread

Cover letter [PATCH v2 00/18] MIPS: ath79: update devicetree support for AR9132 and AR9331

Hi all,

This patch series combines patches previously introduced
in 'MIPS: ath79: update devicetree support for AR9132'
and '[RFC v5 00/15] MIPS: ath79: AR9331: add devicetree support' (please see https://www.linux-mips.org/archives/linux-mips/2016-02/msg00473.html
and https://www.linux-mips.org/archives/linux-mips/2016-02/msg00317.html
respectively).

The patch series relies on additional 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

The patch series with Alban's patches and defconfigs is available at github:

    https://github.com/frantony/linux/tree/20160317.ralf-ath79-dt

Changes since RFC v5 and PATCH v1 series:

* keep current ath79 pll output clock numbering:

    (drop ATH79_CLK_REF, use dtc reference 'ref' clock instead);
    separate out 'MIPS: ath79: introduce <dt-bindings/clock/ath79-clk.h>' patch;
  * use chipidea,usb2 driver for AR9331 USB host (instead of
    generic-ehci driver); use regulator-fixed driver
    for TP-Link MR3020 USB connector VCC control;
  * get mips_hpt_frequency value from dt, add the appropriate
    clock parameter to the cpu@0 node;
  * add short references for wdt@18060008 and spi@1f000000
    ar9132.dtsi nodes;

* ar9331.dtsi: move usb@1b000100 outside of apb section.
* the patch 'MIPS: dts: qca: ar9132: fix typo: "ppl" -> "pll"' is squashed into 'dt-bindings: clock: qca,ath79-pll: fix copy-paste typos'

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.

Alban Bedel (1):
MIPS: ath79: Fix the ar913x reference clock rate

Antony Pavlov (16):
dt-bindings: clock: qca,ath79-pll: fix copy-paste typos
MIPS: dts: qca: ar9132_tl_wr1043nd_v1.dts: drop unused alias node
MIPS: dts: qca: ar9132: use short references for dt nodes
MIPS: dts: qca: ar9132_tl_wr1043nd_v1.dts: use "ref" for reference clock name
MIPS: ath79: introduce <dt-bindings/clock/ath79-clk.h>
MIPS: ath79: update devicetree clock support for AR9132
MIPS: ath79: setup.c: disable platform code for OF boards
MIPS: dts: qca: introduce AR9331 devicetree
MIPS: ath79: update devicetree clock support for AR9331
MIPS: ath79: add initial support for TP-LINK MR3020
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 initial support for DPT-Module

Weijie Gao (1):
MIPS: ath79: Fix the ar724x clock calculation

 .../devicetree/bindings/clock/qca,ath79-pll.txt    |   6 +-
 .../devicetree/bindings/vendor-prefixes.txt        |   3 +
 arch/mips/ath79/clock.c                            | 263 ++++++++++++---------
 arch/mips/ath79/setup.c                            |  51 +++-
 arch/mips/boot/dts/qca/Makefile                    |   4 +
 arch/mips/boot/dts/qca/ar9132.dtsi                 |  19 +-
 arch/mips/boot/dts/qca/ar9132_tl_wr1043nd_v1.dts   | 100 ++++----
 arch/mips/boot/dts/qca/ar9331.dtsi                 | 155 ++++++++++++
 arch/mips/boot/dts/qca/ar9331_dpt_module.dts       |  78 ++++++
 arch/mips/boot/dts/qca/ar9331_dragino_ms14.dts     | 102 ++++++++
 arch/mips/boot/dts/qca/ar9331_omega.dts            |  78 ++++++
 arch/mips/boot/dts/qca/ar9331_tl_mr3020.dts        | 118 +++++++++
 include/dt-bindings/clock/ath79-clk.h              |  19 ++
 13 files changed, 812 insertions(+), 184 deletions(-)
 create mode 100644 arch/mips/boot/dts/qca/ar9331.dtsi
 create mode 100644 arch/mips/boot/dts/qca/ar9331_dpt_module.dts
 create mode 100644 arch/mips/boot/dts/qca/ar9331_dragino_ms14.dts
 create mode 100644 arch/mips/boot/dts/qca/ar9331_omega.dts
 create mode 100644 arch/mips/boot/dts/qca/ar9331_tl_mr3020.dts
 create mode 100644 include/dt-bindings/clock/ath79-clk.h
Cc Ralf Baechle <[email protected]>
Cc Alban Bedel <[email protected]>
Cc Marek Vasut <[email protected]>
Cc Daniel Schwierzeck <[email protected]>
Cc Yegor Yefremov <[email protected]>
Signature · 1 line
2.7.0