aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorKaihua Zhong <[email protected]>2017-11-17 17:27:31 +0800
committerStephen Boyd <[email protected]>2017-12-06 23:01:46 -0800
commit4f16f7ff3bc02f6e1845677235fea157bdc0e59c (patch)
treed8d4038a76f3c69627f1f93a09b4895c36052ba5 /net/unix/sysctl_net_unix.c
parenta4a124c349cfbf731a649c1e7d3efab6e44831c9 (diff)
clk: hisilicon: Add support for Hi3660 stub clocks
Hi3660 has four stub clocks, which are big and LITTLE cluster clocks, GPU clock and DDR clock. These clocks ask MCU for frequency scaling by sending message through mailbox. This commit adds support for stub clocks, it requests the dedicated mailbox channel at initialization; then later uses this channel to send message to MCU to execute frequency scaling. The four stub clocks share the same mailbox channel, but every stub clock has its own command id so MCU can distinguish the requirement coming for which clock. A shared memory is used to present effective frequency value, so the clock driver uses I/O mapping for the memory and reads back rate value. Reviewed-by: Leo Yan <[email protected]> Signed-off-by: Kai Zhao <[email protected]> Signed-off-by: Tao Wang <[email protected]> Signed-off-by: Ruyi Wang <[email protected]> Signed-off-by: Kaihua Zhong <[email protected]> [sboyd: Fix possible out of bounds access in hi3660_stub_clk_hw_get(), use devm_of_clk_add_hw_provider(), devm_ioremap() returns NULL not error pointers] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions