Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751363AbdFBWwg (ORCPT ); Fri, 2 Jun 2017 18:52:36 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42306 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750971AbdFBWwd (ORCPT ); Fri, 2 Jun 2017 18:52:33 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9CB1D60392 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Fri, 2 Jun 2017 15:52:31 -0700 From: Stephen Boyd To: Varadarajan Narayanan Cc: robh+dt@kernel.org, mark.rutland@arm.com, mturquette@baylibre.com, linus.walleij@linaro.org, andy.gross@linaro.org, david.brown@linaro.org, catalin.marinas@arm.com, will.deacon@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, absahu@codeaurora.org, sjaganat@codeaurora.org, sricharan@codeaurora.org, mraghava@codeaurora.org Subject: Re: [PATCH v3 3/5] clk: qcom: ipq8074: Add Global Clock Controller support Message-ID: <20170602225231.GD20170@codeaurora.org> References: <1496316482-25468-1-git-send-email-varada@codeaurora.org> <1496316482-25468-4-git-send-email-varada@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1496316482-25468-4-git-send-email-varada@codeaurora.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1672 Lines: 50 On 06/01, Varadarajan Narayanan wrote: > From: Abhishek Sahu > > 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 > Signed-off-by: Varadarajan Narayanan > --- > .../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