devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Hi3660: enable sp804 timer
@ 2017-05-17 14:46 Leo Yan
  2017-05-17 14:46 ` [PATCH v1 1/2] clk: Hi3660: change to register clock with CLK_OF_DECLARE Leo Yan
  2017-05-17 14:46 ` [PATCH v1 2/2] arm64: dts: add sp804 timer node for Hi3660 Leo Yan
  0 siblings, 2 replies; 3+ messages in thread
From: Leo Yan @ 2017-05-17 14:46 UTC (permalink / raw)
  To: Wei Xu, Rob Herring, Mark Rutland, Catalin Marinas, Will Deacon,
	Michael Turquette, Stephen Boyd, Guodong Xu, Zhong Kaihua,
	Zhangfei Gao, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-clk-u79uwXL29TY76Z2rM5mHXA
  Cc: Leo Yan

This patch set is to enable sp804 timer on Hi3660 for Hikey960 platform.

On Hi3660, the sp804 timer co-exists with CPUs' architecture timer; but
sp804 timer is located in SoC level but CPU's architecture timer is in
CPU power domain. sp804 timer is used as broadcast timer when CPU enters
idle states and the CPU (includes architecture timer) power domain is
powered off. So sp804 timer enabling is prerequisite before we enable
CPUIdle on Hi3660.

This patch set is to enable sp804 timer, the first patch is to adjust
timer regiseration so ensure clock is avaiable for timer. the second
timer is to add description for timer in dts. Have rebased this patch
set on Guodong's dts patch set [1] and verified this patch set on
Hikey960.

[1] http://archive.armlinux.org.uk/lurker/message/20170517.083733.8207a50e.en.html

Leo Yan (2):
  clk: Hi3660: change to register clock with CLK_OF_DECLARE
  arm64: dts: add sp804 timer node for Hi3660

 arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 11 +++++++
 drivers/clk/hisilicon/clk-hi3660.c        | 48 ++++---------------------------
 2 files changed, 16 insertions(+), 43 deletions(-)

-- 
1.9.1

--
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] 3+ messages in thread

end of thread, other threads:[~2017-05-17 14:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-17 14:46 [PATCH v1 0/2] Hi3660: enable sp804 timer Leo Yan
2017-05-17 14:46 ` [PATCH v1 1/2] clk: Hi3660: change to register clock with CLK_OF_DECLARE Leo Yan
2017-05-17 14:46 ` [PATCH v1 2/2] arm64: dts: add sp804 timer node for Hi3660 Leo Yan

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