[PATCH 00/12] clk: add STM32F429 clock driver support

Ahmad Fatoum a.fatoum at pengutronix.de
Sun Jan 30 23:57:13 PST 2022


and use the occasion to provide a whole bunch of clk_hw helpers to
make future clock driver ports easier.

Ahmad Fatoum (12):
  string: define new memdup_array
  clk: composite: add clk_hw registration functions
  clk: divider: add clk_hw registration functions
  clk: fixed-factor: add clk_hw registration functions
  clk: clk-fixed: add clk_hw registration functions
  clk: define clk_hw_register
  clk: mux: add clk_hw registration functions
  clk: mux: export clk_mux_round_rate
  clk: implement of_clk_add_hw_provider
  clk: gate: add clk_hw registration functions
  ARM: stm32mp: allow driver reuse for STM32 MCUs
  clk: add clock driver for stm32f4 and stm32f7

 arch/arm/Kconfig                  |    7 +
 drivers/aiodev/Kconfig            |    2 +-
 drivers/clk/Kconfig               |    6 +
 drivers/clk/Makefile              |    1 +
 drivers/clk/clk-composite.c       |   25 +
 drivers/clk/clk-divider.c         |   21 +
 drivers/clk/clk-fixed-factor.c    |    9 +
 drivers/clk/clk-fixed.c           |    8 +
 drivers/clk/clk-mux.c             |   87 +-
 drivers/clk/clk-stm32f4.c         | 1901 +++++++++++++++++++++++++++++
 drivers/clk/clk.c                 |   43 +-
 drivers/hw_random/Kconfig         |    2 +-
 drivers/i2c/busses/Kconfig        |    2 +-
 drivers/mci/Kconfig               |    2 +-
 drivers/mfd/Kconfig               |    2 +-
 drivers/pinctrl/Kconfig           |    2 +-
 drivers/pwm/Kconfig               |    2 +-
 drivers/regulator/Kconfig         |    2 +-
 drivers/serial/Kconfig            |    4 +-
 drivers/watchdog/Kconfig          |    2 +-
 include/asm-generic/bitsperlong.h |    4 +
 include/linux/clk.h               |   91 ++
 include/linux/string.h            |    3 +
 23 files changed, 2205 insertions(+), 23 deletions(-)
 create mode 100644 drivers/clk/clk-stm32f4.c

-- 
2.30.2




More information about the barebox mailing list