mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] clk: at91: sync drivers with Linux
@ 2024-02-15 12:18 Ahmad Fatoum
  2024-02-15 12:18 ` [PATCH 1/3] clk: add dummy definitions for CLK_SET_RATE_GATE, CLK_SET_PARENT_GATE Ahmad Fatoum
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ahmad Fatoum @ 2024-02-15 12:18 UTC (permalink / raw)
  To: barebox

During bug hunt of a clocking issue that ultimately turned out to be
unrelated, I resynced AT91 clk support with Linux.

The changes look more extensive than they really are, because I first
imported the clock drivers before a major overhaul of the barebox clock
framework to be more compatible with the more recent kernel API changes.

Most of the diff is due to that, but this resync also fixes
at least a USB issue for the at91rm9200 and adds support for
the new SAMA7 SoC as well as more clocks for the SAM9x60. Both these
SoCs aren't supported by barebox yet, but this at least adds clock
driver support.

Ahmad Fatoum (3):
  clk: add dummy definitions for CLK_SET_RATE_GATE, CLK_SET_PARENT_GATE
  clk: define empty stub for clk_hw_unregister
  clk: at91: sync drivers with Linux

 Documentation/devel/porting.rst     |    2 -
 arch/arm/mach-at91/Kconfig          |   15 +-
 drivers/clk/at91/at91rm9200.c       |   47 +-
 drivers/clk/at91/at91sam9260.c      |   68 +-
 drivers/clk/at91/at91sam9g45.c      |   62 +-
 drivers/clk/at91/at91sam9n12.c      |   71 +-
 drivers/clk/at91/at91sam9rl.c       |   47 +-
 drivers/clk/at91/at91sam9x5.c       |   84 +-
 drivers/clk/at91/clk-audio-pll.c    |   89 ++-
 drivers/clk/at91/clk-generated.c    |  114 ++-
 drivers/clk/at91/clk-h32mx.c        |   32 +-
 drivers/clk/at91/clk-i2s-mux.c      |   33 +-
 drivers/clk/at91/clk-main.c         |  235 +++---
 drivers/clk/at91/clk-master.c       |  424 ++++++++--
 drivers/clk/at91/clk-peripheral.c   |  159 ++--
 drivers/clk/at91/clk-pll.c          |   68 +-
 drivers/clk/at91/clk-plldiv.c       |   50 +-
 drivers/clk/at91/clk-programmable.c |   60 +-
 drivers/clk/at91/clk-sam9x60-pll.c  |  741 +++++++++++++-----
 drivers/clk/at91/clk-slow.c         |   41 +-
 drivers/clk/at91/clk-smd.c          |   54 +-
 drivers/clk/at91/clk-system.c       |   62 +-
 drivers/clk/at91/clk-usb.c          |  141 ++--
 drivers/clk/at91/clk-utmi.c         |  178 ++++-
 drivers/clk/at91/pmc.c              |  181 +----
 drivers/clk/at91/pmc.h              |  164 ++--
 drivers/clk/at91/sam9x60.c          |  147 +++-
 drivers/clk/at91/sama5d2.c          |  138 ++--
 drivers/clk/at91/sama5d3.c          |   80 +-
 drivers/clk/at91/sama5d4.c          |   86 +-
 drivers/clk/at91/sama7g5.c          | 1133 +++++++++++++++++++++++++++
 drivers/clk/at91/sckc.c             |  245 +++---
 include/linux/clk.h                 |   25 +
 include/linux/clk/at91_pmc.h        |   59 ++
 34 files changed, 3663 insertions(+), 1472 deletions(-)
 create mode 100644 drivers/clk/at91/sama7g5.c

-- 
2.39.2




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-16 12:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-15 12:18 [PATCH 0/3] clk: at91: sync drivers with Linux Ahmad Fatoum
2024-02-15 12:18 ` [PATCH 1/3] clk: add dummy definitions for CLK_SET_RATE_GATE, CLK_SET_PARENT_GATE Ahmad Fatoum
2024-02-15 12:18 ` [PATCH 2/3] clk: define empty stub for clk_hw_unregister Ahmad Fatoum
2024-02-15 12:18 ` [PATCH 3/3] clk: at91: sync drivers with Linux Ahmad Fatoum
2024-02-16 12:11 ` [PATCH 0/3] " Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox