devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alban Bedel <albeu@free.fr>
To: linux-mips@linux-mips.org
Cc: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Jason Cooper <jason@lakedaemon.net>,
	Ralf Baechle <ralf@linux-mips.org>, Alban Bedel <albeu@free.fr>,
	Andrew Bresticker <abrestic@chromium.org>,
	Qais Yousef <qais.yousef@imgtec.com>,
	Gabor Juhos <juhosg@openwrt.org>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 00/12] MIPS: ath79: Add OF support and DTS for TL-WR1043ND
Date: Sun, 19 Apr 2015 14:57:56 +0200	[thread overview]
Message-ID: <1429448288-20742-1-git-send-email-albeu@free.fr> (raw)

This series add OF bindings and code support for the interrupt
controllers, clocks and GPIOs. However it was only tested on a
TL-WR1043ND with an AR9132, others SoCs are untested, and a few are
not supported at all.

Most code changes base on the previous bug fix series:
[PATCH v2 0/5] MIPS: ath79: Various small fix to prepare OF support

The requested patch to move the GPIO driver to drivers/gpio is ready and
will follow once it is clearer if this serie get merged.

ChangeLog:
v2: * Fixed the OF bindings and DTS to use ePAPR standardized names
    * Fixed the typos in the OF bindings
    * Added an ngpios property to the GPIO binding and driver
    * Removed all the soc_is_xxx() calls out of the GPIO driver probe()
    * Updated the DTS patches to the new directory structure and merged both
      in one. Having 3 patches to add Makefile, SoC dtsi and board DTS seemed
      a bit overkill.
    * Moved the patch to use the common clk API to the bug fix serie to keep
      this one cleaner.

Alban Bedel (12):
  devicetree: Add bindings for the SoC of the ATH79 familly
  MIPS: ath79: Add basic device tree support
  devicetree: Add bindings for the ATH79 DDR controllers
  devicetree: Add bindings for the ATH79 interrupt controllers
  devicetree: Add bindings for the ATH79 MISC interrupt controllers
  MIPS: ath79: Add OF support to the IRQ controllers
  devicetree: Add bindings for the ATH79 PLL controllers
  MIPS: ath79: Add OF support to the clocks
  devicetree: Add bindings for the ATH79 GPIO controllers
  MIPS: ath79: Add OF support to the GPIO driver
  of: Add vendor prefix for TP-Link Technologies Co. Ltd
  MIPS: Add basic support for the TL-WR1043ND version 1

 .../devicetree/bindings/clock/qca,ath79-pll.txt    |  33 ++++++
 .../devicetree/bindings/gpio/gpio-ath79.txt        |  38 +++++++
 .../interrupt-controller/qca,ath79-cpu-intc.txt    |  44 ++++++++
 .../interrupt-controller/qca,ath79-misc-intc.txt   |  30 +++++
 .../memory-controllers/ath79-ddr-controller.txt    |  35 ++++++
 .../devicetree/bindings/mips/ath79-soc.txt         |  21 ++++
 .../devicetree/bindings/vendor-prefixes.txt        |   1 +
 arch/mips/Kconfig                                  |   1 +
 arch/mips/ath79/Kconfig                            |  15 +++
 arch/mips/ath79/clock.c                            |  63 +++++++----
 arch/mips/ath79/dev-common.c                       |  51 +++++++++
 arch/mips/ath79/gpio.c                             |  79 ++++++++++----
 arch/mips/ath79/irq.c                              |  87 ++++++++++++++-
 arch/mips/ath79/machtypes.h                        |   1 +
 arch/mips/ath79/setup.c                            |  27 ++++-
 arch/mips/boot/dts/Makefile                        |   1 +
 arch/mips/boot/dts/qca/Makefile                    |   9 ++
 arch/mips/boot/dts/qca/ar9132.dtsi                 | 121 +++++++++++++++++++++
 arch/mips/boot/dts/qca/ar9132_tl_wr1043nd_v1.dts   |  83 ++++++++++++++
 include/linux/platform_data/gpio-ath79.h           |  19 ++++
 20 files changed, 716 insertions(+), 43 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/qca,ath79-pll.txt
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-ath79.txt
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/qca,ath79-cpu-intc.txt
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/qca,ath79-misc-intc.txt
 create mode 100644 Documentation/devicetree/bindings/memory-controllers/ath79-ddr-controller.txt
 create mode 100644 Documentation/devicetree/bindings/mips/ath79-soc.txt
 create mode 100644 arch/mips/boot/dts/qca/Makefile
 create mode 100644 arch/mips/boot/dts/qca/ar9132.dtsi
 create mode 100644 arch/mips/boot/dts/qca/ar9132_tl_wr1043nd_v1.dts
 create mode 100644 include/linux/platform_data/gpio-ath79.h

-- 
2.0.0

             reply	other threads:[~2015-04-19 12:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-19 12:57 Alban Bedel [this message]
2015-04-19 12:57 ` [PATCH v2 01/12] devicetree: Add bindings for the SoC of the ATH79 familly Alban Bedel
2015-04-19 12:57 ` [PATCH v2 02/12] MIPS: ath79: Add basic device tree support Alban Bedel
2015-04-19 12:58 ` [PATCH v2 05/12] devicetree: Add bindings for the ATH79 MISC interrupt controllers Alban Bedel
2015-04-19 12:58 ` [PATCH v2 06/12] MIPS: ath79: Add OF support to the IRQ controllers Alban Bedel
2015-04-19 12:58 ` [PATCH v2 07/12] devicetree: Add bindings for the ATH79 PLL controllers Alban Bedel
     [not found]   ` <1429448288-20742-8-git-send-email-albeu-GANU6spQydw@public.gmane.org>
2015-04-19 14:30     ` Jonas Gorski
2015-04-19 12:58 ` [PATCH v2 08/12] MIPS: ath79: Add OF support to the clocks Alban Bedel
2015-04-19 14:36 ` [PATCH v2 10/12] MIPS: ath79: Add OF support to the GPIO driver Alban Bedel
     [not found] ` <1429448288-20742-1-git-send-email-albeu-GANU6spQydw@public.gmane.org>
2015-04-19 12:57   ` [PATCH v2 03/12] devicetree: Add bindings for the ATH79 DDR controllers Alban Bedel
2015-04-19 13:52     ` Sergei Shtylyov
2015-04-19 12:58   ` [PATCH v2 04/12] devicetree: Add bindings for the ATH79 interrupt controllers Alban Bedel
2015-04-19 13:42   ` [PATCH v2 09/12] devicetree: Add bindings for the ATH79 GPIO controllers Alban Bedel
2015-04-19 14:27     ` Jonas Gorski
2015-04-19 15:01   ` [PATCH v2 11/12] of: Add vendor prefix for TP-Link Technologies Co. Ltd Alban Bedel
2015-04-19 15:27 ` [PATCH v2 12/12] MIPS: Add basic support for the TL-WR1043ND version 1 Alban Bedel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1429448288-20742-1-git-send-email-albeu@free.fr \
    --to=albeu@free.fr \
    --cc=abrestic@chromium.org \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=jason@lakedaemon.net \
    --cc=juhosg@openwrt.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=qais.yousef@imgtec.com \
    --cc=ralf@linux-mips.org \
    --cc=robh+dt@kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).