[PATCH v2 0/4] clk: marvell: Move number of clocks to driver source

From: Duje Mihanović
Date: Sat Aug 12 2023 - 06:04:22 EST


Hi,

In v4 of my PXA1908 series, Conor suggested that the NR_CLKS variables
in dt bindings should be moved to the respective driver source files
because these are not used by the device trees and so are needlessly
added to the ABI. This series does that for the rest of the Marvell
PXA/MMP SoCs.

Link: https://lore.kernel.org/r/20230808-produce-thievish-3ce1b86a114b@spud/
Signed-off-by: Duje Mihanović <duje.mihanovic@xxxxxxxx>
---
Changes in v2:
- Fix clk-audio.c compile error
- Reword mmp2 commit to match other commits
- Link to v1: https://lore.kernel.org/r/20230809-mmp-nr-clks-v1-0-5f3cdbbb89b8@xxxxxxxx

---
Duje Mihanović (4):
clk: mmp2: Move number of clocks to driver source
clk: pxa168: Move number of clocks to driver source
clk: pxa1928: Move number of clocks to driver source
clk: pxa910: Move number of clocks to driver source

drivers/clk/mmp/clk-audio.c | 6 ++++--
drivers/clk/mmp/clk-of-mmp2.c | 4 +++-
drivers/clk/mmp/clk-of-pxa168.c | 4 +++-
drivers/clk/mmp/clk-of-pxa1928.c | 7 +++++--
drivers/clk/mmp/clk-of-pxa910.c | 4 +++-
include/dt-bindings/clock/marvell,mmp2-audio.h | 1 -
include/dt-bindings/clock/marvell,mmp2.h | 1 -
include/dt-bindings/clock/marvell,pxa168.h | 1 -
include/dt-bindings/clock/marvell,pxa1928.h | 3 ---
include/dt-bindings/clock/marvell,pxa910.h | 1 -
10 files changed, 18 insertions(+), 14 deletions(-)
---
base-commit: 52a93d39b17dc7eb98b6aa3edb93943248e03b2f
change-id: 20230809-mmp-nr-clks-7c80e416e6bf

Best regards,
--
Duje Mihanović <duje.mihanovic@xxxxxxxx>