devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] clk: mxl: add mxl,control-gate dts property
@ 2023-07-31 10:03 Florian Eckert
  2023-07-31 10:03 ` [PATCH 1/2] " Florian Eckert
  2023-07-31 10:03 ` [PATCH 2/2] dt-bindings: clock: intel,cgu-lgm: add mxl,control-gate option Florian Eckert
  0 siblings, 2 replies; 11+ messages in thread
From: Florian Eckert @ 2023-07-31 10:03 UTC (permalink / raw)
  To: mturquette, sboyd, yzhu, rtanwar, robh+dt, krzysztof.kozlowski+dt,
	conor+dt
  Cc: linux-clk, linux-kernel, devicetree, Eckert.Florian

Gate clocks can be controlled either from this cgu clk driver or directly
from power management driver/daemon. It is dependent on the power
policy/profile requirements of the end product. To take control of gate clks
from this driver.

Until now, the source code had to be changed for this purpose by adding the
flag 'GATE_CLK_HW' to the LGM_GATE macro in the source file
'drivers/clk/x86/clk-lgm.c'.

This can be better handled via the device tree, so that the source no
longer needs to be changed. For this purpose, a new option
'mxl,control-gate' is added, which specifies that the gate is controlled
by this driver.

Florian Eckert (2):
  clk: mxl: add mxl,control-gate dts property
  dt-bindings: clock: intel,cgu-lgm: add mxl,control-gate option

 .../bindings/clock/intel,cgu-lgm.yaml         | 11 +++++++
 drivers/clk/x86/clk-cgu.c                     | 30 +++++++++++--------
 2 files changed, 28 insertions(+), 13 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2023-08-09  8:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-31 10:03 [PATCH 0/2] clk: mxl: add mxl,control-gate dts property Florian Eckert
2023-07-31 10:03 ` [PATCH 1/2] " Florian Eckert
2023-07-31 10:03 ` [PATCH 2/2] dt-bindings: clock: intel,cgu-lgm: add mxl,control-gate option Florian Eckert
2023-07-31 11:11   ` Rob Herring
2023-07-31 12:03   ` Krzysztof Kozlowski
2023-07-31 12:59     ` Florian Eckert
2023-07-31 13:01       ` Krzysztof Kozlowski
2023-08-01  8:09         ` Florian Eckert
2023-08-05 19:09           ` Krzysztof Kozlowski
2023-08-08  7:53       ` Yi xin Zhu
2023-08-09  8:56         ` Florian Eckert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).