lkml.org 
[lkml]   [2017]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 3/5] clk: qcom: ipq8074: Add Global Clock Controller support
    On 06/01, Varadarajan Narayanan wrote:
    > From: Abhishek Sahu <absahu@codeaurora.org>
    >
    > 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@codeaurora.org>
    > Signed-off-by: Varadarajan Narayanan <varada@codeaurora.org>
    > ---
    > .../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

    \
     
     \ /
      Last update: 2017-06-05 00:16    [W:2.110 / U:0.228 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site