From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5776C4360F for ; Tue, 2 Apr 2019 12:40:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B02C320883 for ; Tue, 2 Apr 2019 12:40:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730294AbfDBMkW (ORCPT ); Tue, 2 Apr 2019 08:40:22 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:38589 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725959AbfDBMkW (ORCPT ); Tue, 2 Apr 2019 08:40:22 -0400 X-Originating-IP: 109.213.83.19 Received: from localhost (alyon-652-1-60-19.w109-213.abo.wanadoo.fr [109.213.83.19]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id DD120240004; Tue, 2 Apr 2019 12:40:18 +0000 (UTC) From: Alexandre Belloni To: Stephen Boyd Cc: Nicolas Ferre , Claudiu Beznea , Michael Turquette , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexandre Belloni Subject: [PATCH v2 00/10] Date: Tue, 2 Apr 2019 14:40:06 +0200 Message-Id: <20190402124016.20558-1-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series add support for the sam9x60 clocks handled by the PMC. The first four patches are preparatory patches to handle register layout and offset differences. Then, a driver for the new interface for PLLs is added and the final patch is the driver for the sam9x60 PMC. changes in v2: - rebased on v5.1-rc1 - changed the PLL_ACR handling to conform to the datasheet errata Alexandre Belloni (7): clk: at91: allow configuring peripheral PCR layout clk: at91: allow configuring generated PCR layout clk: at91: usb: Add sam9x60 support clk: at91: master: Add sam9x60 support clk: at91: add sam9x60 PLL driver dt-bindings: clk: at91: add bindings for SAM9X60 pmc clk: at91: add sam9x60 pmc driver Claudiu Beznea (3): clk: at91: sckc: add support to specify registers bit offsets clk: at91: sckc: add support for SAM9X60 dt-bindings: clk: at91: add bindings for SAM9X60's slow clock controller .../devicetree/bindings/clock/at91-clock.txt | 6 +- drivers/clk/at91/Makefile | 2 + drivers/clk/at91/at91sam9x5.c | 9 + drivers/clk/at91/clk-generated.c | 48 +-- drivers/clk/at91/clk-master.c | 8 +- drivers/clk/at91/clk-peripheral.c | 46 +-- drivers/clk/at91/clk-sam9x60-pll.c | 330 ++++++++++++++++++ drivers/clk/at91/clk-usb.c | 33 +- drivers/clk/at91/dt-compat.c | 12 +- drivers/clk/at91/pmc.h | 23 ++ drivers/clk/at91/sam9x60.c | 307 ++++++++++++++++ drivers/clk/at91/sama5d2.c | 10 + drivers/clk/at91/sama5d4.c | 8 + drivers/clk/at91/sckc.c | 142 ++++++-- include/linux/clk/at91_pmc.h | 12 +- 15 files changed, 895 insertions(+), 101 deletions(-) create mode 100644 drivers/clk/at91/clk-sam9x60-pll.c create mode 100644 drivers/clk/at91/sam9x60.c -- 2.20.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7F68C10F0B for ; Tue, 2 Apr 2019 12:40:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 994AF20883 for ; Tue, 2 Apr 2019 12:40:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HoWh2T0H" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 994AF20883 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=KKsub/I/meeRXHO8+U70puXHCFvYI8eDrW8L7CbxDEU=; b=HoWh2T0HPTyeUm s4LuKL0HW2RQNy+SqFpYk5S7t8w0WpSQHGYcCKVc9VKNi+bz08r3X6yVD9zd65mxP3fK9HxvB7seA lyPpmTdqZIcMblh9uc0qvr+VuGHszAFUte7nMsV0xGb8HcBtGvq1QFoLmfPZjyK1brvyV/qXNgRd1 btg6mFZ8rbgxceo3r0SjMyaUMyLWuwDZP992BjJcMgk7kdUvCr24mB+sUS35TCa54XLtYmiGFvrPT KFO/BikSWTuc384aWcwhQNj0HHBQJFiU+iM/ZmVwpdQ8FS84sSG8Hj8QH+VlDbsWxyuJYLjUtcIv6 Y3HziJrLxzyBXx5zPv9g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBIiH-00067q-2Q; Tue, 02 Apr 2019 12:40:25 +0000 Received: from relay1-d.mail.gandi.net ([217.70.183.193]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBIiE-00067U-1Q for linux-arm-kernel@lists.infradead.org; Tue, 02 Apr 2019 12:40:23 +0000 X-Originating-IP: 109.213.83.19 Received: from localhost (alyon-652-1-60-19.w109-213.abo.wanadoo.fr [109.213.83.19]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id DD120240004; Tue, 2 Apr 2019 12:40:18 +0000 (UTC) From: Alexandre Belloni To: Stephen Boyd Subject: [PATCH v2 00/10] Date: Tue, 2 Apr 2019 14:40:06 +0200 Message-Id: <20190402124016.20558-1-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190402_054022_232436_A6D5E7B4 X-CRM114-Status: GOOD ( 12.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Belloni , Michael Turquette , linux-kernel@vger.kernel.org, Claudiu Beznea , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series add support for the sam9x60 clocks handled by the PMC. The first four patches are preparatory patches to handle register layout and offset differences. Then, a driver for the new interface for PLLs is added and the final patch is the driver for the sam9x60 PMC. changes in v2: - rebased on v5.1-rc1 - changed the PLL_ACR handling to conform to the datasheet errata Alexandre Belloni (7): clk: at91: allow configuring peripheral PCR layout clk: at91: allow configuring generated PCR layout clk: at91: usb: Add sam9x60 support clk: at91: master: Add sam9x60 support clk: at91: add sam9x60 PLL driver dt-bindings: clk: at91: add bindings for SAM9X60 pmc clk: at91: add sam9x60 pmc driver Claudiu Beznea (3): clk: at91: sckc: add support to specify registers bit offsets clk: at91: sckc: add support for SAM9X60 dt-bindings: clk: at91: add bindings for SAM9X60's slow clock controller .../devicetree/bindings/clock/at91-clock.txt | 6 +- drivers/clk/at91/Makefile | 2 + drivers/clk/at91/at91sam9x5.c | 9 + drivers/clk/at91/clk-generated.c | 48 +-- drivers/clk/at91/clk-master.c | 8 +- drivers/clk/at91/clk-peripheral.c | 46 +-- drivers/clk/at91/clk-sam9x60-pll.c | 330 ++++++++++++++++++ drivers/clk/at91/clk-usb.c | 33 +- drivers/clk/at91/dt-compat.c | 12 +- drivers/clk/at91/pmc.h | 23 ++ drivers/clk/at91/sam9x60.c | 307 ++++++++++++++++ drivers/clk/at91/sama5d2.c | 10 + drivers/clk/at91/sama5d4.c | 8 + drivers/clk/at91/sckc.c | 142 ++++++-- include/linux/clk/at91_pmc.h | 12 +- 15 files changed, 895 insertions(+), 101 deletions(-) create mode 100644 drivers/clk/at91/clk-sam9x60-pll.c create mode 100644 drivers/clk/at91/sam9x60.c -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel