mbox series

[0/3] clk: Fix/cleanup mvebu CPU DT node accesses

Message ID 20230327-mvebu-clk-fixes-v1-0-438de1026efd@kernel.org (mailing list archive)
Headers show
Series clk: Fix/cleanup mvebu CPU DT node accesses | expand

Message

Rob Herring March 27, 2023, 6:43 p.m. UTC
This is a couple of fixes and clean-ups to use preferred CPU accessors
rather than directly parsing DT "reg" properties. It's part of a larger 
effort to remove open coded parsing of "reg". The existing code is 
fragile depending on the CPU architecture details and is wrong for 
arm64 (though the dts files are also wrong).

Compile tested only.

Signed-off-by: Rob Herring <robh@kernel.org>
---
Rob Herring (3):
      MAINTAINERS: Add Marvell mvebu clock drivers
      clk: mvebu: Use of_get_cpu_hwid() to read CPU ID
      clk: mvebu: Iterate over possible CPUs instead of DT CPU nodes

 MAINTAINERS                    |  1 +
 drivers/clk/mvebu/ap-cpu-clk.c | 16 ++++++++--------
 drivers/clk/mvebu/clk-cpu.c    | 14 +++-----------
 3 files changed, 12 insertions(+), 19 deletions(-)
---
base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6
change-id: 20230327-mvebu-clk-fixes-f4a1365fa0b7

Best regards,