[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191224023100.4ADB7206D3@mail.kernel.org>
Date: Mon, 23 Dec 2019 18:30:59 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Michael Turquette <mturquette@...libre.com>,
Taniya Das <tdas@...eaurora.org>
Cc: David Brown <david.brown@...aro.org>,
Rajendra Nayak <rnayak@...eaurora.org>,
linux-arm-msm@...r.kernel.org, linux-soc@...r.kernel.org,
linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, robh@...nel.org, robh+dt@...nel.org,
Taniya Das <tdas@...eaurora.org>
Subject: Re: [PATCH v2 8/8] clk: qcom: Add video clock controller driver for SC7180
Quoting Taniya Das (2019-11-15 02:05:04)
> diff --git a/drivers/clk/qcom/videocc-sc7180.c b/drivers/clk/qcom/videocc-sc7180.c
> new file mode 100644
> index 0000000..0c60986
> --- /dev/null
> +++ b/drivers/clk/qcom/videocc-sc7180.c
> @@ -0,0 +1,259 @@
> +// SPDX-License-Identifier: GPL-2.0-only
> +/*
> + * Copyright (c) 2019, The Linux Foundation. All rights reserved.
> + */
> +
[...]
> +
> +static int video_cc_sc7180_probe(struct platform_device *pdev)
> +{
> + struct regmap *regmap;
> + struct alpha_pll_config video_pll0_config = {};
> +
> + regmap = qcom_cc_map(pdev, &video_cc_sc7180_desc);
> + if (IS_ERR(regmap))
> + return PTR_ERR(regmap);
> +
> + video_pll0_config.l = 0x1f;
> + video_pll0_config.alpha = 0x4000;
> + video_pll0_config.user_ctl_val = 0x00000001;
> + video_pll0_config.user_ctl_hi_val = 0x00004805;
> +
> + clk_fabia_pll_configure(&video_pll0, regmap, &video_pll0_config);
> +
> + /* video_cc_xo_clk */
Please say what's happening to video_cc_xo_clk.
> + regmap_update_bits(regmap, 0x984, 0x1, 0x1);
> +
> + return qcom_cc_really_probe(pdev, &video_cc_sc7180_desc, regmap);
> +}
> +
> +static struct platform_driver video_cc_sc7180_driver = {
> + .probe = video_cc_sc7180_probe,
> + .driver = {
> + .name = "sc7180-videocc",
> + .of_match_table = video_cc_sc7180_match_table,
> + },
> +};
Powered by blists - more mailing lists