clk: hisilicon: Add clock driver for hi3559A SoC
authorDongjiu Geng <gengdongjiu@huawei.com>
Tue, 23 Mar 2021 11:29:33 +0000 (19:29 +0800)
committerStephen Boyd <sboyd@kernel.org>
Mon, 28 Jun 2021 03:14:24 +0000 (20:14 -0700)
commit6c81966107dc0caa5d2ebedbcebb5f10d865064d
treebdedb31ad67e91a46f22fc031e901cc58bbadc01
parentb87111da42f328c0e658e36e6782bb341ee742ea
clk: hisilicon: Add clock driver for hi3559A SoC

Add clock drivers for hi3559A SoC, this driver
controls the SoC registers to supply different
clocks to different IPs in the SoC.

Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com>
Link: https://lore.kernel.org/r/1616498973-47067-3-git-send-email-gengdongjiu1@gmail.com
[sboyd@kernel.org: Mark arrays static, add __iomem, drop unused array,
avoid kfree of devm memory]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/hisilicon/Kconfig
drivers/clk/hisilicon/Makefile
drivers/clk/hisilicon/clk-hi3559a.c [new file with mode: 0644]
drivers/clk/hisilicon/clk.c
drivers/clk/hisilicon/clk.h