mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Barebox List <barebox@lists.infradead.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Ladislav Michl <ladis@linux-mips.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Subject: [PATCH v3 0/9] at91: Support PMC clock bindings
Date: Mon, 18 Feb 2019 20:47:50 +0100	[thread overview]
Message-ID: <20190218194759.9557-1-sam@ravnborg.org> (raw)

The following patchset add supports for the PMC clk
bindings for at91.
The patchset was tested on:
- at91sam9264ek - DT enabled
- sama5d4-xplained - non DT

The patchset includes sama5d2.c which is not used today.
I have a sama5d27-som1-ek board that I hope to find time to work
with and then this will be needed.

Patch was made on top of:
12cd92023788fdc67ad72c6e7d96251a6234ca3e ("Merge branch 'for-next/rpi' into next")

One stray patch sneaked in - to kill a warning.

The patchset triggers some checkpatch warnings:
- SPDX, the barebox variant of checkpatch is missing support for these (anyone?)
- Too long lines. As code is copied from the kernel I left them as-is

Comments/testing very welcome!

v3:
- Fixed build breakage in sama5d4 and clk-h32mx
- Added Tested-by: Ladislav Michl <ladis@linux-mips.org> to relevant patches

v2:
- Split up in smaller patches
- Fix builds in various configs
- Reworked Kconfig changes
- Fix checkpatch warnings (mostly whitespace)

v1:
- Posted to mailing list as a WIP patch

	Sam

Sam Ravnborg (9):
      arm: at91: fix at91_configure_usart6 warning
      clocksource: Do not mix depends and select for ATMEL_PIT
      arm: at91: add SOC_SAMA5{D3,D4}
      clk: at91: add at91sam9260
      clk: at91: add at91sam9rl
      clk: at91: add at91sam9x5
      clk: at91: add sama5d2
      clk: at91: add sama5d4
      clk: at91: update to PMC bindings

 arch/arm/mach-at91/Kconfig              |  31 +-
 arch/arm/mach-at91/include/mach/board.h |   1 +
 drivers/clk/at91/Makefile               |   5 +
 drivers/clk/at91/at91sam9260.c          | 497 ++++++++++++++++++++++++++++++++
 drivers/clk/at91/at91sam9rl.c           | 177 ++++++++++++
 drivers/clk/at91/at91sam9x5.c           | 315 ++++++++++++++++++++
 drivers/clk/at91/clk-generated.c        | 185 ++----------
 drivers/clk/at91/clk-h32mx.c            |  55 ++--
 drivers/clk/at91/clk-main.c             | 112 +------
 drivers/clk/at91/clk-master.c           |  94 +-----
 drivers/clk/at91/clk-peripheral.c       |  82 +-----
 drivers/clk/at91/clk-pll.c              | 174 +----------
 drivers/clk/at91/clk-plldiv.c           |  27 +-
 drivers/clk/at91/clk-programmable.c     |  83 +-----
 drivers/clk/at91/clk-slow.c             |  33 +--
 drivers/clk/at91/clk-smd.c              |  33 +--
 drivers/clk/at91/clk-system.c           |  42 +--
 drivers/clk/at91/clk-usb.c              |  94 +-----
 drivers/clk/at91/clk-utmi.c             | 100 ++++---
 drivers/clk/at91/pmc.c                  | 248 ++++++++++++++++
 drivers/clk/at91/pmc.h                  | 169 +++++++++++
 drivers/clk/at91/sama5d2.c              | 342 ++++++++++++++++++++++
 drivers/clk/at91/sama5d4.c              | 270 +++++++++++++++++
 drivers/clocksource/Kconfig             |   1 -
 include/linux/clk.h                     |   7 +
 include/soc/at91/atmel-sfr.h            |  34 +++
 26 files changed, 2233 insertions(+), 978 deletions(-)

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2019-02-18 19:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-18 19:47 Sam Ravnborg [this message]
2019-02-18 19:47 ` [PATCH v3 1/9] arm: at91: fix at91_configure_usart6 warning Sam Ravnborg
2019-02-18 19:47 ` [PATCH v3 2/9] clocksource: Do not mix depends and select for ATMEL_PIT Sam Ravnborg
2019-02-18 19:47 ` [PATCH v3 3/9] arm: at91: add SOC_SAMA5{D3,D4} Sam Ravnborg
2019-02-18 19:47 ` [PATCH v3 4/9] clk: at91: add at91sam9260 Sam Ravnborg
2019-02-18 19:47 ` [PATCH v3 5/9] clk: at91: add at91sam9rl Sam Ravnborg
2019-02-18 19:47 ` [PATCH v3 6/9] clk: at91: add at91sam9x5 Sam Ravnborg
2019-02-18 19:47 ` [PATCH v3 7/9] clk: at91: add sama5d2 Sam Ravnborg
2019-02-18 19:47 ` [PATCH v3 8/9] clk: at91: add sama5d4 Sam Ravnborg
2019-02-18 19:47 ` [PATCH v3 9/9] clk: at91: update to PMC bindings Sam Ravnborg
2019-02-19  7:50   ` Ahmad Fatoum
2019-02-19  7:52     ` [PATCH] fixup! " Ahmad Fatoum
2019-02-19  8:02       ` [PATCH] regmap: Implement syscon_regmap_lookup_by_compatible() Ahmad Fatoum
2019-02-19 10:04       ` [PATCH] fixup! clk: at91: update to PMC bindings Sam Ravnborg
2019-02-19 11:14         ` Ahmad Fatoum

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=20190218194759.9557-1-sam@ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=barebox@lists.infradead.org \
    --cc=ladis@linux-mips.org \
    --cc=s.hauer@pengutronix.de \
    /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