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

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

---
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 at kernel.org>




More information about the linux-arm-kernel mailing list