linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NOGUCHI Hiroshi <drvlabo@gmail.com>
To: John Crispin <john@phrozen.org>
Cc: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	linux-mips@vger.kernel.org, linux-clk@vger.kernel.org,
	NOGUCHI Hiroshi <drvlabo@gmail.com>
Subject: [RFC v2 0/5] MIPS: ralink: peripheral clock gating driver
Date: Fri,  5 Apr 2019 09:01:24 +0900	[thread overview]
Message-ID: <20190405000129.19331-1-drvlabo@gmail.com> (raw)

Changelog:

v2:
  - moves ralink gating clock driver to drivers/clk/
  - describes the resources of gating clocks in devicetree
      and removes resource tables in source code
  - changes gating clock provider to platform_driver
  - changes PLL clock provider to platform_driver
  - replaces clk_* API calls to clk_hw_* APIs
  - uses BIT() macro
  - uses IS_ENABLED(CONFIG_COMMON_CLK) macro

------
This series introduce Mediatek/Ralink SoC's clock gating driver and
rework PLL clks as clock provider.

The gating clocks are different at individual SoCs.
Their resources are described with devicetree.

NOGUCHI Hiroshi (5):
  clk: ralink: add rt2880-clock driver
  dt-bindings: clk: add document for ralink clock driver
  mips: ralink: mt7620/76x8 use common clk framework
  mips: ralink: mt76x8: add nodes for PLL clocks and gating clocks
  mips: ralink: mt7620: add nodes for PLL	clocks and gating clocks

 .../bindings/clock/ralink,rt2880-clock.txt    |  58 +++++
 arch/mips/boot/dts/ralink/mt7620a.dtsi        |  46 +++-
 arch/mips/boot/dts/ralink/mt7628a.dtsi        |  52 +++++
 arch/mips/ralink/Kconfig                      |   2 +
 arch/mips/ralink/clk.c                        |  33 +++
 arch/mips/ralink/common.h                     |   4 +
 arch/mips/ralink/mt7620.c                     |  82 +++++---
 drivers/clk/Kconfig                           |   6 +
 drivers/clk/Makefile                          |   1 +
 drivers/clk/clk-rt2880.c                      | 199 ++++++++++++++++++
 include/dt-bindings/clock/mt7620-clk.h        |  17 ++
 11 files changed, 472 insertions(+), 28 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/ralink,rt2880-clock.txt
 create mode 100644 drivers/clk/clk-rt2880.c
 create mode 100644 include/dt-bindings/clock/mt7620-clk.h

-- 
2.20.1


             reply	other threads:[~2019-04-05  0:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-05  0:01 NOGUCHI Hiroshi [this message]
2019-04-05  0:01 ` [RFC v2 1/5] clk: mips: ralink: add Ralink MIPS gating clock driver NOGUCHI Hiroshi
2019-04-25 19:27   ` Stephen Boyd
2019-05-01 10:58     ` NOGUCHI Hiroshi
2019-04-05  0:01 ` [RFC v2 2/5] dt-bindings: clk: add document for ralink " NOGUCHI Hiroshi
2019-04-25 19:29   ` Stephen Boyd
2019-05-01 11:33     ` NOGUCHI Hiroshi
2019-05-02 21:42       ` Stephen Boyd
2019-04-05  0:01 ` [RFC v2 3/5] mips: ralink: mt7620/76x8 use common clk framework NOGUCHI Hiroshi
2019-04-25 19:18   ` Stephen Boyd
2019-04-05  0:01 ` [RFC v2 4/5] mips: ralink: mt76x8: add nodes for clocks NOGUCHI Hiroshi
2019-04-05  0:01 ` [RFC v2 5/5] mips: ralink: mt7620: " NOGUCHI Hiroshi

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=20190405000129.19331-1-drvlabo@gmail.com \
    --to=drvlabo@gmail.com \
    --cc=john@phrozen.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mturquette@baylibre.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@kernel.org \
    /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).