From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lf1-x144.google.com ([2a00:1450:4864:20::144]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gvP79-0008Fq-Rc for barebox@lists.infradead.org; Sun, 17 Feb 2019 16:16:26 +0000 Received: by mail-lf1-x144.google.com with SMTP id v7so10522390lfd.2 for ; Sun, 17 Feb 2019 08:16:22 -0800 (PST) From: Sam Ravnborg Date: Sun, 17 Feb 2019 17:16:00 +0100 Message-Id: <20190217161609.11305-1-sam@ravnborg.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2 0/9] at91: Support PMC clock bindings To: Barebox List Cc: Sam Ravnborg 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 4-8 add drivers but do not wire then into the build. This was done to somehow ease review of the final patch. Patches are rather big but trying to split them up more than already done seems not worth it. Patch was made on top of: 12cd92023788fdc67ad72c6e7d96251a6234ca3e ("Merge branch 'for-next/rpi' into next") On 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! 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): clocksource: Do not mix depends and select for ATMEL_PIT arm: at91: fix at91_configure_usart6 warning 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 new 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 | 21 +- 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, 2216 insertions(+), 961 deletions(-) _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox