[lkml]   [2017]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v3 0/3] Add support for Hi3660 stub clock
From: Leo Yan <>

Hi3660 has stub clocks for two CPU clusters, GPU and DDR; and the stub
clocks use the mailbox to send message to MCU for frequency scaling.

This patch set adds support Hi3660 stub clock, and since it needs to
use mailbox so this patch set has dependency with Hi3660 mailbox
patch set [1].

This patch set has been tested on Hikey960 with CPUFreq enabled.

Changes from v1:
* According to Rob suggestion, moved dt header definition into DT patch;
* According to Julien suggestion, removed "dev" member from stub clock
structure and refined code for global variable "stub_clk_chan";
* Fixed DT binding patch.


Kaihua Zhong (2):
clk: hisilicon: Add support for Hi3660 stub clocks
arm64: dts: Hi3660: Add binding for stub clock

Leo Yan (1):
dt-bindings: clk: Hi3660: Document stub clock

.../devicetree/bindings/clock/hi3660-clock.txt | 6 +
arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 7 +
drivers/clk/hisilicon/Kconfig | 6 +
drivers/clk/hisilicon/Makefile | 1 +
drivers/clk/hisilicon/clk-hi3660-stub.c | 186 +++++++++++++++++++++
include/dt-bindings/clock/hi3660-clock.h | 7 +
6 files changed, 213 insertions(+)
create mode 100644 drivers/clk/hisilicon/clk-hi3660-stub.c


 \ /
  Last update: 2017-11-17 17:19    [W:0.315 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site