mbox series

[v2,0/2] clk: clk-axi-clkgen: make sure to enable the AXI bus clock

Message ID 20241029-axi-clkgen-fix-axiclk-v2-0-bc5e0733ad76@analog.com (mailing list archive)
Headers show
Series clk: clk-axi-clkgen: make sure to enable the AXI bus clock | expand

Message

Nuno Sa Oct. 29, 2024, 1:59 p.m. UTC
Hi,

Here it goes v2. Main difference comes from my discussion with Conor. We
now keep the same old behavior if clock-names is not given and only
enabled the bus clock if provided via clock-names. The goal is to make
sure that old DTs still work.

---
Changes in v2:
- Link to v1: https://lore.kernel.org/r/20241023-axi-clkgen-fix-axiclk-v1-0-980a42ba51c3@analog.com
- Patch 1
  * Make clock-names required.
- Patch 2
  * Only enable the axi clock if clock-names is provided.

---
Nuno Sa (2):
      dt-bindings: clock: axi-clkgen: include AXI clk
      clk: clk-axi-clkgen: make sure to enable the AXI bus clock

 .../devicetree/bindings/clock/adi,axi-clkgen.yaml  | 22 ++++++++++++++++++----
 drivers/clk/clk-axi-clkgen.c                       | 22 ++++++++++++++++++++--
 2 files changed, 38 insertions(+), 6 deletions(-)
---
base-commit: 94be1620fb60ea542170779915917443cda9bba7
change-id: 20241021-axi-clkgen-fix-axiclk-d1d80bcb9ee1
--

Thanks!
- Nuno Sá