mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 0/3] clk: at91: sync drivers with Linux
Date: Thu, 15 Feb 2024 13:18:34 +0100	[thread overview]
Message-ID: <20240215121837.251013-1-a.fatoum@pengutronix.de> (raw)

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




             reply	other threads:[~2024-02-15 12:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-15 12:18 Ahmad Fatoum [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240215121837.251013-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox