devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/9] Fixes and new clocks support for Mediatek MT8173
@ 2015-08-04  8:16 James Liao
  2015-08-04  8:16 ` [PATCH v6 2/9] clk: mediatek: Remove unused code from MT8173 James Liao
                   ` (6 more replies)
  0 siblings, 7 replies; 28+ messages in thread
From: James Liao @ 2015-08-04  8:16 UTC (permalink / raw)
  To: Matthias Brugger, Mike Turquette, Stephen Boyd, Heiko Stubner
  Cc: srv_heupstream-NuS5LvNUpcJWk0Htik3J/w, Daniel Kurtz, Ricky Liang,
	Rob Herring, Sascha Hauer, devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

This patchset is based on 4.2-rc2 and [1], and contains minor fixes and
subsystem clocks support for Mediatek MT8173.

The previous reviews can be found in [2]. The most different from previous
patchset is rebasing to 4.2-rc2.

changes since v5:
- Rebase to 4.2-rc2.
- Patch "Fix enabling of critical clocks" had been included in 4.2-rc2,
  so it need not be included in this patchset.

changes since v4:
- Add a separated patch to remove unused dpi_ck.
- Add separated patches to fix clk/mediatek in release 4.2-rc1.
- Add __init* for initialization data and functions.
- Rename dummy_clk with oscillator in DT.
- Remove mtk_clk_register_apmixed_ex(), call mtk_clk_register_ref2usb_tx()
  directly to register USB clock.

changes since v3:
- Remove clk_null dependency from root clocks.
- Use fixed-rate clocks with typical rate to replace clk_null.
- Separate ref2usb_tx implementation to clk-apmixed.c
- Use clock-controller as the name of clock providers.

changes since v2:
- Rebase to 4.2-rc1.
- Add device tree nodes for subsystem clocks.
- Fine tune comments of patches.
- Add __init, __initconst and const to init data and functions.
- Removed unused code from init functions of subsystem clocks.

changes since v1:
- Add CA7PLL and CA15PLL as critical clocks.
- Use the same register descriptor for imgsys, vensys and vencltsys.
- Generalize apmixedsys special clocks registration.

[1] https://patchwork.kernel.org/patch/6446341/
[2] http://lists.infradead.org/pipermail/linux-mediatek/2015-July/001800.html

James Liao (9):
  clk: mediatek: Removed unused dpi_ck clock from MT8173
  clk: mediatek: Remove unused code from MT8173.
  clk: mediatek: Add __initdata and __init for data and functions
  clk: mediatek: Add fixed clocks support for Mediatek SoC.
  clk: mediatek: Fix rate and dependency of MT8173 clocks
  dt-bindings: ARM: Mediatek: Document devicetree bindings for clock
    controllers
  clk: mediatek: Add subsystem clocks of MT8173
  clk: mediatek: Add USB clock support in MT8173 APMIXEDSYS
  arm64: dts: mt8173: Add subsystem clock controller device nodes

 .../bindings/arm/mediatek/mediatek,imgsys.txt      |  22 ++
 .../bindings/arm/mediatek/mediatek,mmsys.txt       |  22 ++
 .../bindings/arm/mediatek/mediatek,vdecsys.txt     |  22 ++
 .../bindings/arm/mediatek/mediatek,vencltsys.txt   |  22 ++
 .../bindings/arm/mediatek/mediatek,vencsys.txt     |  22 ++
 arch/arm64/boot/dts/mediatek/mt8173.dtsi           |  37 +++
 drivers/clk/mediatek/Makefile                      |   2 +-
 drivers/clk/mediatek/clk-apmixed.c                 | 107 +++++++
 drivers/clk/mediatek/clk-gate.c                    |   2 +-
 drivers/clk/mediatek/clk-mt8173.c                  | 335 ++++++++++++++++++++-
 drivers/clk/mediatek/clk-mtk.c                     |  36 ++-
 drivers/clk/mediatek/clk-mtk.h                     |  24 +-
 drivers/clk/mediatek/clk-pll.c                     |   7 +-
 include/dt-bindings/clock/mt8173-clk.h             | 101 ++++++-
 14 files changed, 728 insertions(+), 33 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vencltsys.txt
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vencsys.txt
 create mode 100644 drivers/clk/mediatek/clk-apmixed.c

--
1.8.1.1.dirty

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-08-07  8:06 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-04  8:16 [PATCH v6 0/9] Fixes and new clocks support for Mediatek MT8173 James Liao
2015-08-04  8:16 ` [PATCH v6 2/9] clk: mediatek: Remove unused code from MT8173 James Liao
2015-08-04  8:16 ` [PATCH v6 5/9] clk: mediatek: Fix rate and dependency of MT8173 clocks James Liao
     [not found]   ` <1438676218-11310-6-git-send-email-jamesjj.liao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2015-08-05  6:53     ` Sascha Hauer
     [not found]       ` <20150805065341.GA18700-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-08-06  8:35         ` James Liao
2015-08-06  8:59           ` Sascha Hauer
2015-08-04  8:16 ` [PATCH v6 6/9] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock controllers James Liao
2015-08-04  8:16 ` [PATCH v6 7/9] clk: mediatek: Add subsystem clocks of MT8173 James Liao
     [not found]   ` <1438676218-11310-8-git-send-email-jamesjj.liao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2015-08-05  6:46     ` Sascha Hauer
     [not found]       ` <20150805064605.GZ18700-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-08-05  7:26         ` Daniel Kurtz
     [not found]           ` <CAGS+omDmgxO9jHaPRb1hXO7fMRE=CnH=WNP3DeMm1axBswK_Aw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-05  7:36             ` Sascha Hauer
     [not found]               ` <20150805073645.GB18700-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-08-05  7:41                 ` Daniel Kurtz
     [not found]                   ` <CAGS+omAFpWHO5w22Lq5fF6aXxf0bWi0KG7OB4u-FEFNUxPiceA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-05  7:50                     ` Sascha Hauer
     [not found]                       ` <20150805075058.GC18700-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-08-05  7:58                         ` Daniel Kurtz
2015-08-06  8:23       ` James Liao
2015-08-06  8:53         ` Sascha Hauer
     [not found]           ` <20150806085354.GN18700-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-08-06  9:00             ` James Liao
2015-08-06  9:13               ` Daniel Kurtz
     [not found]                 ` <CAGS+omAAYZyZJ4+eSdu2jmwThvHg1YpVoehui_cqNp4A5fURWg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-06 10:20                   ` Sascha Hauer
2015-08-07  2:20                     ` James Liao
2015-08-07  8:05                       ` Daniel Kurtz
     [not found]                         ` <CAGS+omBDaP1b-zNJ7SaX89Mt5jhZEp_kDh7Pytsax0d=V++MEA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-07  8:06                           ` Daniel Kurtz
2015-08-04  8:16 ` [PATCH v6 8/9] clk: mediatek: Add USB clock support in MT8173 APMIXEDSYS James Liao
2015-08-04  8:16 ` [PATCH v6 9/9] arm64: dts: mt8173: Add subsystem clock controller device nodes James Liao
     [not found] ` <1438676218-11310-1-git-send-email-jamesjj.liao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2015-08-04  8:16   ` [PATCH v6 1/9] clk: mediatek: Removed unused dpi_ck clock from MT8173 James Liao
2015-08-04  8:16   ` [PATCH v6 3/9] clk: mediatek: Add __initdata and __init for data and functions James Liao
2015-08-04  8:16   ` [PATCH v6 4/9] clk: mediatek: Add fixed clocks support for Mediatek SoC James Liao
2015-08-04 13:46   ` [PATCH v6 0/9] Fixes and new clocks support for Mediatek MT8173 Daniel Kurtz

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