linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/30] arm: dts: extend mt7623 support
@ 2017-04-26  9:25 sean.wang
  2017-04-26  9:25 ` [PATCH v2 01/30] pinctrl: mediatek: Add missing pinctrl bindings for mt7623 sean.wang
                   ` (30 more replies)
  0 siblings, 31 replies; 46+ messages in thread
From: sean.wang @ 2017-04-26  9:25 UTC (permalink / raw)
  To: robh+dt, matthias.bgg, john, mark.rutland, linux, linus.walleij,
	devicetree, linux-mediatek
  Cc: linux-arm-kernel, linux-gpio, linux-kernel, Sean Wang

From: Sean Wang <sean.wang@mediatek.com>

Changes since v1:
Continue the upstream journey based on the previous John Crispin's good work.
- add fixes for the v1 suggestion
- fix typo in the commit log
- add missing pinctrl bindings for mt7623
- reuse pinctrl driver for mt7623
- enhance existing nodes since the way for binding is changed e.g USB
- add more nodes which already gets support from the latest tree e.g MT7530 DSA
- add the dts file for Bananapi R2 (BPI-R2) board

This series extends the dts files used for booting mt7623 base boards.
Since support for mt7623 was added around v4.6, many new drivers have
been accepted upstream. The contained patches add several of these to
the devicetree.

Additionally the series does a bit of refactoring. Mediatek pointed out
that the evaluation board is infact a reference design and asked the the
evb files be renamed to rfb.

As with all of the current ARM bases MTK silicon, these boards also have
a PMIC. Instead of adding the nodes to all of the dts files, we add an
intermediate dtsi file that contains the required nodes. This allows us
to reduce the size of the top most dts files.

The RFB comes in various versions and asiarf has even done a crowdfunder
to sell them. We should try to reduce the duplication. This series adds
a common dtsi file for these boards. This results in the topmost dts files
only needing to specify the compatible string, MTD nodes and ethernet setup.

John Crispin (14):
  arm: dts: mt7623: add clock controller device nodes
  arm: dts: mt7623: add subsystem clock controller device nodes
  arm: dts: mt7623: add power domain controller device node
  arm: dts: mt7623: add clock-frequency to the a7 timer node to
    mt7623.dtsi
  arm: dts: mt7623: add pinctrl nodes to the mt7623 dtsi file
  arm: dts: mt7623: add pmic wrapper nodes to the mt7623 dtsi file
  arm: dts: mt7623: add i2c nodes to the mt7623.dtsi file
  arm: dts: mt7623: add nand nodes to the mt7623.dtsi file
  arm: dts: mt7623: add mmc nodes to the mt7623.dtsi file
  arm: dts: mt7623: add usb nodes to the mt7623.dtsi file
  arm: dts: mt7623: add mt7623-mt6323.dtsi file
  arm: dts: mt7623: cleanup the mt7623n rfb uart nodes
  arm: dts: mt7623: enable the usb device on the mt7623n rfb
  arm: dts: mt7623: enable the nand device on the mt7623n nand rfb

Sean Wang (16):
  pinctrl: mediatek: Add missing pinctrl bindings for mt7623
  pinctrl: mediatek: reuse pinctrl driver for mt7623
  arm: dts: mt7623: add spi nodes to the mt7623.dtsi file
  arm: dts: mt7623: add pwm nodes to the mt7623.dtsi file
  arm: dts: mt7623: add ethernet nodes to the mt7623.dtsi file
  arm: dts: mt7623: add crypto engine nodes to the mt7623.dtsi file
  arm: dts: mt7623: add ir nodes to the mt7623.dtsi file
  arm: dts: mt7623: add afe nodes to the mt7623.dtsi file
  arm: dts: mt7623: add rng nodes to the mt7623.dtsi file
  arm: dts: mt7623: add auxadc nodes to the mt7623.dtsi file
  arm: dts: mt7623: add efuse nodes to the mt7623.dtsi file
  arm: dts: mt7623: add thermal nodes to the mt7623.dtsi file
  arm: dts: mt7623: add Sean as one of authors for mt7623.dtsi files
  arm: dts: mt7623: rename mt7623-evb.dts to
    arch/arm/boot/dts/mt7623n-rfb.dtsi
  dt-bindings: add vendor prefix for bananapi
  arm: dts: mt7623: add dts file for Bananapi R2 (BPI-R2) board

 Documentation/devicetree/bindings/arm/mediatek.txt |    8 +-
 .../devicetree/bindings/pinctrl/pinctrl-mt65xx.txt |    1 -
 .../devicetree/bindings/vendor-prefixes.txt        |    1 +
 arch/arm/boot/dts/Makefile                         |    3 +-
 arch/arm/boot/dts/mt7623-evb.dts                   |   33 -
 arch/arm/boot/dts/mt7623-mt6323.dtsi               |  269 +++
 arch/arm/boot/dts/mt7623.dtsi                      |  556 +++++-
 arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts      |  478 +++++
 arch/arm/boot/dts/mt7623n-rfb-nand.dts             |  109 ++
 arch/arm/boot/dts/mt7623n-rfb.dtsi                 |   61 +
 arch/arm/mach-mediatek/mediatek.c                  |    4 +-
 arch/arm/mach-mediatek/platsmp.c                   |    2 +-
 drivers/pinctrl/mediatek/Kconfig                   |    9 +-
 drivers/pinctrl/mediatek/Makefile                  |    1 -
 drivers/pinctrl/mediatek/pinctrl-mt7623.c          |  379 ----
 drivers/pinctrl/mediatek/pinctrl-mtk-mt7623.h      | 1936 --------------------
 include/dt-bindings/pinctrl/mt7623-pinfunc.h       |   30 +-
 17 files changed, 1497 insertions(+), 2383 deletions(-)
 delete mode 100644 arch/arm/boot/dts/mt7623-evb.dts
 create mode 100644 arch/arm/boot/dts/mt7623-mt6323.dtsi
 create mode 100644 arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
 create mode 100644 arch/arm/boot/dts/mt7623n-rfb-nand.dts
 create mode 100644 arch/arm/boot/dts/mt7623n-rfb.dtsi
 delete mode 100644 drivers/pinctrl/mediatek/pinctrl-mt7623.c
 delete mode 100644 drivers/pinctrl/mediatek/pinctrl-mtk-mt7623.h

-- 
1.9.1

^ permalink raw reply	[flat|nested] 46+ messages in thread

end of thread, other threads:[~2017-05-10  9:58 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-26  9:25 [PATCH v2 00/30] arm: dts: extend mt7623 support sean.wang
2017-04-26  9:25 ` [PATCH v2 01/30] pinctrl: mediatek: Add missing pinctrl bindings for mt7623 sean.wang
2017-04-28  7:55   ` Linus Walleij
2017-04-26  9:25 ` [PATCH v2 02/30] pinctrl: mediatek: reuse pinctrl driver " sean.wang
2017-04-28  8:01   ` Linus Walleij
2017-05-01  6:44     ` Sean Wang
2017-04-26  9:25 ` [PATCH v2 03/30] arm: dts: mt7623: add clock controller device nodes sean.wang
2017-04-26  9:25 ` [PATCH v2 04/30] arm: dts: mt7623: add subsystem " sean.wang
2017-04-26  9:25 ` [PATCH v2 05/30] arm: dts: mt7623: add power domain controller device node sean.wang
2017-04-26  9:25 ` [PATCH v2 06/30] arm: dts: mt7623: add clock-frequency to the a7 timer node to mt7623.dtsi sean.wang
2017-04-26  9:25 ` [PATCH v2 07/30] arm: dts: mt7623: add pinctrl nodes to the mt7623 dtsi file sean.wang
2017-04-28  8:03   ` Linus Walleij
2017-04-26  9:25 ` [PATCH v2 08/30] arm: dts: mt7623: add pmic wrapper " sean.wang
2017-04-26  9:25 ` [PATCH v2 09/30] arm: dts: mt7623: add i2c nodes to the mt7623.dtsi file sean.wang
2017-04-26  9:25 ` [PATCH v2 10/30] arm: dts: mt7623: add spi " sean.wang
2017-04-26  9:25 ` [PATCH v2 11/30] arm: dts: mt7623: add nand " sean.wang
2017-04-26  9:25 ` [PATCH v2 12/30] arm: dts: mt7623: add mmc " sean.wang
2017-04-26  9:25 ` [PATCH v2 13/30] arm: dts: mt7623: add usb " sean.wang
2017-04-26  9:25 ` [PATCH v2 14/30] arm: dts: mt7623: add pwm " sean.wang
2017-04-26  9:25 ` [PATCH v2 15/30] arm: dts: mt7623: add ethernet " sean.wang
2017-04-26  9:26 ` [PATCH v2 16/30] arm: dts: mt7623: add crypto engine " sean.wang
2017-04-26  9:26 ` [PATCH v2 17/30] arm: dts: mt7623: add ir " sean.wang
2017-04-26  9:26 ` [PATCH v2 18/30] arm: dts: mt7623: add afe " sean.wang
2017-04-26  9:26 ` [PATCH v2 19/30] arm: dts: mt7623: add rng " sean.wang
2017-04-26  9:26 ` [PATCH v2 20/30] arm: dts: mt7623: add auxadc " sean.wang
2017-04-26  9:26 ` [PATCH v2 21/30] arm: dts: mt7623: add efuse " sean.wang
2017-04-26  9:26 ` [PATCH v2 22/30] arm: dts: mt7623: add thermal " sean.wang
2017-04-26  9:26 ` [PATCH v2 23/30] arm: dts: mt7623: add Sean as one of authors for mt7623.dtsi files sean.wang
2017-04-26  9:26 ` [PATCH v2 24/30] arm: dts: mt7623: add mt7623-mt6323.dtsi file sean.wang
2017-04-26  9:26 ` [PATCH v2 25/30] arm: dts: mt7623: rename mt7623-evb.dts to arch/arm/boot/dts/mt7623n-rfb.dtsi sean.wang
2017-04-28 20:30   ` Rob Herring
2017-05-01  7:06     ` Sean Wang
2017-04-26  9:26 ` [PATCH v2 26/30] arm: dts: mt7623: cleanup the mt7623n rfb uart nodes sean.wang
2017-04-26  9:26 ` [PATCH v2 27/30] arm: dts: mt7623: enable the usb device on the mt7623n rfb sean.wang
2017-04-26  9:26 ` [PATCH v2 28/30] arm: dts: mt7623: enable the nand device on the mt7623n nand rfb sean.wang
2017-04-26  9:26 ` [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi sean.wang
2017-04-28 20:37   ` Rob Herring
2017-05-01  6:58     ` Sean Wang
2017-05-02 13:52       ` Rob Herring
2017-05-08  9:53         ` Sean Wang
2017-05-08 11:36           ` Arnd Bergmann
2017-05-09  7:49             ` Matthias Brugger
2017-05-09  8:03       ` Chen-Yu Tsai
2017-05-09  9:40         ` Sean Wang
2017-04-26  9:26 ` [PATCH v2 30/30] arm: dts: mt7623: add dts file for Bananapi R2 (BPI-R2) board sean.wang
2017-05-10  9:58 ` [PATCH v2 00/30] arm: dts: extend mt7623 support Matthias Brugger

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).