[PATCH v2 0/4] clk: Fix/cleanup mvebu CPU DT node accesses

From: Rob Herring
Date: Fri Jun 09 2023 - 14:14:25 EST


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@xxxxxxxxxx>
---
Changes in v2:
- Add patch 4 previously posted here:
https://lore.kernel.org/all/20230406010738.1269781-1-robh@xxxxxxxxxx/
- Rebase on v6.4-rc1
- Link to v1: https://lore.kernel.org/r/20230327-mvebu-clk-fixes-v1-0-438de1026efd@xxxxxxxxxx

---
Rob Herring (4):
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
clk: mvebu: Use of_address_to_resource()

MAINTAINERS | 1 +
drivers/clk/mvebu/ap-cpu-clk.c | 16 ++++++++--------
drivers/clk/mvebu/armada_ap_cp_helper.c | 8 +++-----
drivers/clk/mvebu/clk-cpu.c | 14 +++-----------
4 files changed, 15 insertions(+), 24 deletions(-)
---
base-commit: ac9a78681b921877518763ba0e89202254349d1b
change-id: 20230327-mvebu-clk-fixes-f4a1365fa0b7

Best regards,
--
Rob Herring <robh@xxxxxxxxxx>