Linux-Clk Archive on lore.kernel.org
 help / Atom feed
* [PATCH v1] clk: qcom: Select QCOM_GDSC with MSM_GCC_8998
@ 2019-01-11 13:37 Marc Gonzalez
  2019-01-11 18:39 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Gonzalez @ 2019-01-11 13:37 UTC (permalink / raw)
  To: Stephen Boyd, Michael Turquette
  Cc: linux-clk, MSM, Jeffrey Hugo, Bjorn Andersson, Andy Gross

If QCOM_GDSC is disabled, gdsc_register() returns -ENOSYS, which causes
gcc_msm8998_probe() to fail. Select QCOM_GDSC to solve the problem.

gcc-msm8998: probe of 100000.clock-controller failed with error -38

Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
---
 drivers/clk/qcom/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index 1b1ba54e33dd..1c04575c118f 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -215,6 +215,7 @@ config MSM_MMCC_8996
 
 config MSM_GCC_8998
 	tristate "MSM8998 Global Clock Controller"
+	select QCOM_GDSC
 	help
 	  Support for the global clock controller on msm8998 devices.
 	  Say Y if you want to use peripheral devices such as UART, SPI,
-- 
2.17.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] clk: qcom: Select QCOM_GDSC with MSM_GCC_8998
  2019-01-11 13:37 [PATCH v1] clk: qcom: Select QCOM_GDSC with MSM_GCC_8998 Marc Gonzalez
@ 2019-01-11 18:39 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2019-01-11 18:39 UTC (permalink / raw)
  To: Marc Gonzalez, Michael Turquette
  Cc: linux-clk, MSM, Jeffrey Hugo, Bjorn Andersson, Andy Gross

Quoting Marc Gonzalez (2019-01-11 05:37:43)
> If QCOM_GDSC is disabled, gdsc_register() returns -ENOSYS, which causes
> gcc_msm8998_probe() to fail. Select QCOM_GDSC to solve the problem.
> 
> gcc-msm8998: probe of 100000.clock-controller failed with error -38
> 
> Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
> ---

Applied to clk-fixes + added a Fixes tag.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-11 13:37 [PATCH v1] clk: qcom: Select QCOM_GDSC with MSM_GCC_8998 Marc Gonzalez
2019-01-11 18:39 ` Stephen Boyd

Linux-Clk Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-clk/0 linux-clk/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-clk linux-clk/ https://lore.kernel.org/linux-clk \
		linux-clk@vger.kernel.org linux-clk@archiver.kernel.org
	public-inbox-index linux-clk


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-clk


AGPL code for this site: git clone https://public-inbox.org/ public-inbox