From: Guodong Xu <guodong.xu@linaro.org>
To: mturquette@baylibre.com, sboyd@codeaurora.org,
robh+dt@kernel.org, mark.rutland@arm.com
Cc: chenjun14@huawei.com, zhongkaihua@huawei.com,
zhangfei.gao@linaro.org, leo.yan@linaro.org,
linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
John Stultz <john.stultz@linaro.org>,
Guodong Xu <guodong.xu@linaro.org>
Subject: [PATCH v2 1/3] clk: hi3660: fix wrong parent name of clk_mux_sysbus
Date: Fri, 26 May 2017 15:38:19 +0800 [thread overview]
Message-ID: <20170526073821.25971-2-guodong.xu@linaro.org> (raw)
In-Reply-To: <20170526073821.25971-1-guodong.xu@linaro.org>
From: Chen Jun <chenjun14@huawei.com>
Parent name of clk_mux_sysbus is not correct. This patch fixes it.
Signed-off-by: Chen Jun <chenjun14@huawei.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
---
drivers/clk/hisilicon/clk-hi3660.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/hisilicon/clk-hi3660.c b/drivers/clk/hisilicon/clk-hi3660.c
index 96a9697..143ce0c 100644
--- a/drivers/clk/hisilicon/clk-hi3660.c
+++ b/drivers/clk/hisilicon/clk-hi3660.c
@@ -206,6 +206,8 @@ static const struct hisi_gate_clock hi3660_crgctrl_gate_clks[] = {
};
static const char *const
+clk_mux_sysbus_p[] = {"clk_ppll1", "clk_ppll0"};
+static const char *const
clk_mux_sdio_sys_p[] = {"clk_factor_mmc", "clk_div_sdio",};
static const char *const
clk_mux_sd_sys_p[] = {"clk_factor_mmc", "clk_div_sd",};
@@ -239,8 +241,8 @@ static const char *const
clk_mux_i2c_p[] = {"clkin_sys", "clk_div_i2c",};
static const struct hisi_mux_clock hi3660_crgctrl_mux_clks[] = {
- { HI3660_CLK_MUX_SYSBUS, "clk_mux_sysbus", clk_mux_sdio_sys_p,
- ARRAY_SIZE(clk_mux_sdio_sys_p), CLK_SET_RATE_PARENT, 0xac, 0, 1,
+ { HI3660_CLK_MUX_SYSBUS, "clk_mux_sysbus", clk_mux_sysbus_p,
+ ARRAY_SIZE(clk_mux_sysbus_p), CLK_SET_RATE_PARENT, 0xac, 0, 1,
CLK_MUX_HIWORD_MASK, },
{ HI3660_CLK_MUX_UART0, "clk_mux_uart0", clk_mux_uart0_p,
ARRAY_SIZE(clk_mux_uart0_p), CLK_SET_RATE_PARENT, 0xac, 2, 1,
--
2.10.2
next prev parent reply other threads:[~2017-05-26 7:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-26 7:38 [PATCH v2 0/3] clk: hi3660: add more clocks and fix bugs Guodong Xu
2017-05-26 7:38 ` Guodong Xu [this message]
[not found] ` <20170526073821.25971-2-guodong.xu-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-06-14 3:23 ` [PATCH v2 1/3] clk: hi3660: fix wrong parent name of clk_mux_sysbus zhangfei
2017-06-20 1:00 ` Stephen Boyd
2017-06-20 7:44 ` Guodong Xu
2017-05-26 7:38 ` [PATCH v2 2/3] clk: hi3660: add clocks for video encoder, decoder and ISP Guodong Xu
[not found] ` <20170526073821.25971-3-guodong.xu-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-06-14 3:24 ` zhangfei
2017-06-20 1:00 ` Stephen Boyd
2017-05-26 7:38 ` [PATCH v2 3/3] clk: hi3660: Set PPLL2 to 2880M Guodong Xu
[not found] ` <20170526073821.25971-4-guodong.xu-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-06-14 3:24 ` zhangfei
2017-06-20 1:00 ` Stephen Boyd
2017-06-14 3:20 ` [PATCH v2 0/3] clk: hi3660: add more clocks and fix bugs Guodong Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170526073821.25971-2-guodong.xu@linaro.org \
--to=guodong.xu@linaro.org \
--cc=chenjun14@huawei.com \
--cc=devicetree@vger.kernel.org \
--cc=john.stultz@linaro.org \
--cc=leo.yan@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mturquette@baylibre.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@codeaurora.org \
--cc=zhangfei.gao@linaro.org \
--cc=zhongkaihua@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).