Skip to content

refactor dts and add support for more boards

[email protected] linux-arm-kernel linux-devicetree linux-mediatek linux-pm lkml stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 4 repliesIn review
  2. v119 patches 31 repliesApplied

Changes in v2 from the cover letter

- Dropped several patches which have been merged.
- Rebased to linux-next-20180410 where those dependent patches including
[1] and [2] all have been got merged.
- Revised according to suggestions and comments on v1, where the major work is to put board-specific nodes into DTS files and to leave the common nodes among boards in DTSI files as done in patch 7,9,10,11 and 12.
- Merged Ryder Lee's patch for update audio nodes reflecting the latest bindings.
- Revised commit message.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12dt-bindings: cpufreq: mediatek: use - instead of _ in examplesDocumentation/devicetree/bindings/cpufreq/cpufreq-mediatek.txt+3 -31 reply
2/12arm: dts: mediatek: converted to using SPDX identifiersarch/arm/boot/dts/mt2701-evb.dts arch/arm/boot/dts/mt2701.dtsi arch/arm/boot/dts/mt6323.dtsi +13 more+17 -1300 replies
3/12arm: dts: mt7623: fix invalid memory node being generatedarch/arm/boot/dts/mt7623.dtsi arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts arch/arm/boot/dts/mt7623n-rfb.dtsi+4 -12 replies
4/12arm: dts: mt7623: fix available memory size on bananapi-r2arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts+1 -10 replies
5/12arm: dts: mt7623: fix all Warnings (unit_address_vs_reg)arch/arm/boot/dts/mt7623.dtsi arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts arch/arm/boot/dts/mt7623n-rfb.dtsi+15 -180 replies
6/12arm: dts: mt7623: add BTIF, HSDMA and SPI-NOR device nodesarch/arm/boot/dts/mt7623.dtsi arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts+40 -20 replies
7/12arm: dts: mt6323: move node mt6323 leds to mt6323.dtsiarch/arm/boot/dts/mt6323.dtsi arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts+30 -290 replies
8/12arm: dts: mediatek: modify audio related nodes for both MT2701 and MT7623arch/arm/boot/dts/mt2701.dtsi arch/arm/boot/dts/mt7623.dtsi+182 -1960 replies
9/12arm: dts: mt7623: extend common file reused by all boards with MT7623 SoCsarch/arm/boot/dts/mt7623.dtsi arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts arch/arm/boot/dts/mt7623n-rfb-nand.dts+246 -2480 replies
10/12arm: dts: mt7623: add MT7623A SoC level DTSarch/arm/boot/dts/mt7623a.dtsi+44 -00 replies
11/12arm: dts: mt7623: add MT7623A reference boardsarch/arm/boot/dts/Makefile arch/arm/boot/dts/mt7623.dtsi arch/arm/boot/dts/mt7623a-rfb-emmc.dts +1 more+662 -00 replies
12/12arm: dts: mt7623: add MT7623N reference board with eMMCarch/arm/boot/dts/Makefile arch/arm/boot/dts/mt7623.dtsi arch/arm/boot/dts/mt7623n-rfb-emmc.dts+344 -00 replies

Reviews trailers per patch

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

PatchViresh KumarRob HerringMatthias Brugger
1/12A-b R-b R-b
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

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 v2 thread

Cover letter [PATCH v2 00/12] refactor dts and add support for more boards

From: Sean Wang <[email protected]>

Changes since v1:
- Dropped several patches which have been merged.
- Rebased to linux-next-20180410 where those dependent patches including
[1] and [2] all have been got merged.
- Revised according to suggestions and comments on v1, where the major work is to put board-specific nodes into DTS files and to leave the common nodes among boards in DTSI files as done in patch 7,9,10,11 and 12.
- Merged Ryder Lee's patch for update audio nodes reflecting the latest bindings.
- Revised commit message.

The series is to refactor current .dts for allowing more boards can properly join and reuse almost the same device node definitions.

Before we're doing that, some works about enhancements and fixups are being made on the dt-binding document and .dts files. In addition, the series has to depend on the patch [1][2]. Otherwise, certain build failure would have an occurrence.

[1] arm: dts: mt7623: add PCIe related nodes
http://lists.infradead.org/pipermail/linux-mediatek/2018-February/012053.html

[2] dt-bindings: soc: add header files required for MT7623A SCPSYS dt-binding
http://lists.infradead.org/pipermail/linux-mediatek/2018-February/011930.html

Ryder Lee (1):
arm: dts: mediatek: modify audio related nodes for both MT2701 and

    MT7623

Sean Wang (11):
dt-bindings: cpufreq: mediatek: use - instead of _ in examples
arm: dts: mediatek: converted to using SPDX identifiers
arm: dts: mt7623: fix invalid memory node being generated
arm: dts: mt7623: fix available memory size on bananapi-r2
arm: dts: mt7623: fix all Warnings (unit_address_vs_reg)
arm: dts: mt7623: add BTIF, HSDMA and SPI-NOR device nodes
arm: dts: mt6323: move node mt6323 leds to mt6323.dtsi
arm: dts: mt7623: extend common file reused by all boards with MT7623
SoCs
arm: dts: mt7623: add MT7623A SoC level DTS
arm: dts: mt7623: add MT7623A reference boards
arm: dts: mt7623: add MT7623N reference board with eMMC

 .../bindings/cpufreq/cpufreq-mediatek.txt          |   6 +-
 arch/arm/boot/dts/Makefile                         |   3 +
 arch/arm/boot/dts/mt2701-evb.dts                   |   9 +-
 arch/arm/boot/dts/mt2701.dtsi                      | 197 ++++----
 arch/arm/boot/dts/mt6323.dtsi                      |  17 +-
 arch/arm/boot/dts/mt6580-evbp1.dts                 |   9 +-
 arch/arm/boot/dts/mt6580.dtsi                      |   9 +-
 arch/arm/boot/dts/mt6589-aquaris5.dts              |  10 +-
 arch/arm/boot/dts/mt6589.dtsi                      |  12 +-
 arch/arm/boot/dts/mt6592-evb.dts                   |   9 +-
 arch/arm/boot/dts/mt6592.dtsi                      |   9 +-
 arch/arm/boot/dts/mt7623.dtsi                      | 537 ++++++++++++++++-----
 arch/arm/boot/dts/mt7623a-rfb-emmc.dts             | 291 +++++++++++
 arch/arm/boot/dts/mt7623a-rfb-nand.dts             | 337 +++++++++++++
 arch/arm/boot/dts/mt7623a.dtsi                     |  44 ++
 arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts      | 279 ++---------
 arch/arm/boot/dts/mt7623n-rfb-emmc.dts             | 326 +++++++++++++
 arch/arm/boot/dts/mt7623n-rfb-nand.dts             |  40 +-
 arch/arm/boot/dts/mt7623n-rfb.dtsi                 |  12 +-
 arch/arm/boot/dts/mt8127-moose.dts                 |   9 +-
 arch/arm/boot/dts/mt8127.dtsi                      |   9 +-
 arch/arm/boot/dts/mt8135-evbp1.dts                 |   9 +-
 arch/arm/boot/dts/mt8135.dtsi                      |   9 +-
 23 files changed, 1576 insertions(+), 616 deletions(-)
 create mode 100644 arch/arm/boot/dts/mt7623a-rfb-emmc.dts
 create mode 100644 arch/arm/boot/dts/mt7623a-rfb-nand.dts
 create mode 100644 arch/arm/boot/dts/mt7623a.dtsi
 create mode 100644 arch/arm/boot/dts/mt7623n-rfb-emmc.dts
Signature · 1 line
2.7.4