Re: [PATCH 3/3] clk: qcom: Add QCS404 TuringCC

2019-04-11 Thread Stephen Boyd
Quoting Bjorn Andersson (2019-03-06 09:47:58) > + > +static int turingcc_probe(struct platform_device *pdev) > +{ > + int ret; > + > + pm_runtime_enable(&pdev->dev); > + ret = pm_clk_create(&pdev->dev); Neat solution. Thanks! > + if (ret) > + goto disable_pm_

Re: [PATCH 3/3] clk: qcom: Add QCS404 TuringCC

2019-04-11 Thread Stephen Boyd
Quoting Bjorn Andersson (2019-03-06 09:47:58) > The Turing Clock Controller provides resources related to running the > Turing subsystem. > > PM runtime is used to ensure that the associated AHB clock is ticking > while the clock framework is accessing the registers in the Turing clock > controlle

[PATCH 3/3] clk: qcom: Add QCS404 TuringCC

2019-03-06 Thread Bjorn Andersson
The Turing Clock Controller provides resources related to running the Turing subsystem. PM runtime is used to ensure that the associated AHB clock is ticking while the clock framework is accessing the registers in the Turing clock controller. Signed-off-by: Bjorn Andersson --- drivers/clk/qcom/