Re: [PATCH v3 3/5] clk: qcom: ipq8074: Add Global Clock Controller support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/01, Varadarajan Narayanan wrote:
> From: Abhishek Sahu <absahu@xxxxxxxxxxxxxx>
> 
> This patch adds support for the global clock controller found on
> the IPQ8074 based devices. This includes UART, I2C, SPI etc.
> 
> Signed-off-by: Abhishek Sahu <absahu@xxxxxxxxxxxxxx>
> Signed-off-by: Varadarajan Narayanan <varada@xxxxxxxxxxxxxx>
> ---
>  .../devicetree/bindings/clock/qcom,gcc.txt         |    1 +
>  drivers/clk/qcom/Kconfig                           |    9 +
>  drivers/clk/qcom/Makefile                          |    1 +
>  drivers/clk/qcom/gcc-ipq8074.c                     | 1009 ++++++++++++++++++++
>  include/dt-bindings/clock/qcom,gcc-ipq8074.h       |  152 +++

The new world order is to split these includes from the driver
changes. Then someone (clk or arm-soc related maintainers) can
merge that #define change somewhere stable and then apply the
driver code on top or the dts file on top.

So can you please split the header file off into it's own patch
before this one and resend?

> diff --git a/drivers/clk/qcom/gcc-ipq8074.c b/drivers/clk/qcom/gcc-ipq8074.c
> new file mode 100644
> index 0000000..b62db77
> --- /dev/null
> +++ b/drivers/clk/qcom/gcc-ipq8074.c
> +
> +static int gcc_ipq8074_probe(struct platform_device *pdev)
> +{
> +	int ret, i;
> +
> +	for (i = 0; i < ARRAY_SIZE(gcc_ipq8074_hws); i++) {
> +		ret = devm_clk_hw_register(&pdev->dev, gcc_ipq8074_hws[i]);
> +		if (ret)
> +			return ret;
> +	}
> +
> +	ret = qcom_cc_probe(pdev, &gcc_ipq8074_desc);
> +
> +	return ret;

Just return qcom_cc_probe() please.

> +}
> +
-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux