Thread (17 messages) 17 messages, 2 authors, 2018-11-14

[PATCH V5 9/9] clk: imx: add imx8qxp clk driver

From: aisheng.dong@nxp.com (A.s. Dong)
Date: 2018-10-18 18:13:45
Also in: linux-clk

-----Original Message-----
From: Stephen Boyd [mailto:sboyd at kernel.org]
Sent: Friday, October 19, 2018 1:38 AM
To: A.s. Dong <aisheng.dong@nxp.com>; linux-clk at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org; mturquette at baylibre.com;
shawnguo at kernel.org; Fabio Estevam [off-list ref]; dl-linux-imx
[off-list ref]; kernel at pengutronix.de; A.s. Dong
[off-list ref]
Subject: Re: [PATCH V5 9/9] clk: imx: add imx8qxp clk driver

Quoting A.s. Dong (2018-10-18 09:54:15)
quoted
+
+#include <dt-bindings/clock/imx8qxp-clock.h>
+#include <linux/clk.h>
+#include <linux/err.h>
+#include <linux/io.h>
+#include <linux/of.h>
+#include <linux/of_address.h>
+#include <linux/platform_device.h>
+#include <linux/slab.h>
+
+#include <soc/imx/imx8qxp/lpcg.h>
+
+#include "clk-scu.h"
+
+static struct clk_hw_onecell_data *imx8qxp_clk_data;
+
+static const char * const enet_sels[] = { "enet_25MHz",
+"enet_125MHz", }; static const char * const enet0_rmii_tx_sels[] = {
+"enet0_ref_div", "dummy", }; static const char * const
+enet1_rmii_tx_sels[] = { "enet1_ref_div", "dummy", };
+
+static int imx8qxp_clk_probe(struct platform_device *pdev) {
+       struct device_node *ccm_node = pdev->dev.of_node;
Where's the DT binding for this device?
Sorry for missed to mention this.
It's been merged into scu binding doc per Rob's request which has already
been in Shawn's tree.

Please take a look at here:
https://patchwork.kernel.org/patch/10629623/

Regards
Dong Aisheng
quoted
+       struct clk_hw **clks;
+       int ret, i;
+
+       ret = imx_clk_scu_init();
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help