* [PATCH v2 0/2] clk: meson-axg: add pcie related clocks
@ 2018-07-02 21:31 Yixun Lan
2018-07-02 21:31 ` [PATCH v2 1/2] clk: meson-axg: add pcie and mipi clock bindings Yixun Lan
0 siblings, 1 reply; 3+ messages in thread
From: Yixun Lan @ 2018-07-02 21:31 UTC (permalink / raw)
To: Jerome Brunet, Neil Armstrong
Cc: devicetree, Stephen Boyd, Kevin Hilman, Michael Turquette,
Yixun Lan, linux-kernel, Qiufang Dai, Jian Hu, Jianxin Qin,
Carlo Caione, linux-amlogic, linux-clk, linux-arm-kernel
This patch series try to add clocks for the pcie driver,
Due to ASIC desigin, the mipi clock is also required by the pcie
controller, so we also added in this patch series.
Changes since v1 at [1]:
-- Separate dt-binding header files
-- use table to exclude unwanted clock parent
[1] https://lkml.kernel.org/r/20180621122620.13195-1-yixun.lan@amlogic.com
Yixun Lan (2):
clk: meson-axg: add pcie and mipi clock bindings
clk: meson-axg: add clocks required by pcie driver
drivers/clk/meson/axg.c | 148 +++++++++++++++++++++++++++
drivers/clk/meson/axg.h | 6 +-
include/dt-bindings/clock/axg-clkc.h | 3 +
3 files changed, 156 insertions(+), 1 deletion(-)
--
2.18.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2 1/2] clk: meson-axg: add pcie and mipi clock bindings
2018-07-02 21:31 [PATCH v2 0/2] clk: meson-axg: add pcie related clocks Yixun Lan
@ 2018-07-02 21:31 ` Yixun Lan
2018-07-03 9:20 ` Jerome Brunet
0 siblings, 1 reply; 3+ messages in thread
From: Yixun Lan @ 2018-07-02 21:31 UTC (permalink / raw)
To: Jerome Brunet, Neil Armstrong
Cc: Yixun Lan, Kevin Hilman, Carlo Caione, Michael Turquette,
Stephen Boyd, Qiufang Dai, Jian Hu, Jianxin Qin, linux-clk,
linux-amlogic, linux-arm-kernel, linux-kernel, devicetree
Add the pcie and mipi clock dt-bindings for the pcie driver.
Since the mipi clock isalso used by the pcie driver,
we add it together in this patch.
Tested-by: Jianxin Qin <jianxin.qin@amlogic.com>
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
---
include/dt-bindings/clock/axg-clkc.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/dt-bindings/clock/axg-clkc.h b/include/dt-bindings/clock/axg-clkc.h
index 555937a25504..70371228b7e0 100644
--- a/include/dt-bindings/clock/axg-clkc.h
+++ b/include/dt-bindings/clock/axg-clkc.h
@@ -68,5 +68,8 @@
#define CLKID_SD_EMMC_B_CLK0 59
#define CLKID_SD_EMMC_C_CLK0 60
#define CLKID_HIFI_PLL 69
+#define CLKID_PCIE_CML_EN0 79
+#define CLKID_PCIE_CML_EN1 80
+#define CLKID_MIPI_ENABLE 81
#endif /* __AXG_CLKC_H */
--
2.18.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 1/2] clk: meson-axg: add pcie and mipi clock bindings
2018-07-02 21:31 ` [PATCH v2 1/2] clk: meson-axg: add pcie and mipi clock bindings Yixun Lan
@ 2018-07-03 9:20 ` Jerome Brunet
0 siblings, 0 replies; 3+ messages in thread
From: Jerome Brunet @ 2018-07-03 9:20 UTC (permalink / raw)
To: Yixun Lan, Neil Armstrong
Cc: Kevin Hilman, Carlo Caione, Michael Turquette, Stephen Boyd,
Qiufang Dai, Jian Hu, Jianxin Qin, linux-clk, linux-amlogic,
linux-arm-kernel, linux-kernel, devicetree
On Mon, 2018-07-02 at 21:31 +0000, Yixun Lan wrote:
> Add the pcie and mipi clock dt-bindings for the pcie driver.
>
> Since the mipi clock isalso used by the pcie driver,
> we add it together in this patch.
>
> Tested-by: Jianxin Qin <jianxin.qin@amlogic.com>
> Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
> ---
> include/dt-bindings/clock/axg-clkc.h | 3 +++
> 1 file changed, 3 insertions(+)
Applied. Thx
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-03 9:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-02 21:31 [PATCH v2 0/2] clk: meson-axg: add pcie related clocks Yixun Lan
2018-07-02 21:31 ` [PATCH v2 1/2] clk: meson-axg: add pcie and mipi clock bindings Yixun Lan
2018-07-03 9:20 ` Jerome Brunet
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).