[PATCH 0/3] clk: Fix/cleanup mvebu CPU DT node accesses
Rob Herring
robh at kernel.org
Mon Mar 27 11:43:17 PDT 2023
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 at 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,
--
Rob Herring <robh at kernel.org>
More information about the linux-arm-kernel
mailing list