From patchwork Sat Mar 21 21:18:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= X-Patchwork-Id: 11451429 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A296D17E6 for ; Sat, 21 Mar 2020 21:18:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 77BBD20714 for ; Sat, 21 Mar 2020 21:18:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=rere.qmqm.pl header.i=@rere.qmqm.pl header.b="hfTkc95H" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727224AbgCUVSF (ORCPT ); Sat, 21 Mar 2020 17:18:05 -0400 Received: from rere.qmqm.pl ([91.227.64.183]:45580 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726366AbgCUVSE (ORCPT ); Sat, 21 Mar 2020 17:18:04 -0400 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 48lD565Dt6z7N; Sat, 21 Mar 2020 22:18:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1584825483; bh=uG8aosJL5ouyUREof74CuX6hBY1SWsaHGPF4NrQsGn8=; h=Date:From:Subject:To:Cc:From; b=hfTkc95HFjrRy6kS08dw/JjI0BYN3l3wiuvOBufcE51H7NvabA8UoRjEV0O4S0bMM F/njOBvncUzfse+mPYkMY5Z13/nwsS95uoSiBCfk8UGYe49DA+FopbUjVMXlmMvmAN W+/eFa4sV87dwadqyLwE8GKVTetQvx8gLQ8un9Kn1qekmeLTCIdOYykRiLkChdJNDC vfSa/oIMNwqQmnBUu9u/IXGjtmJAZLp8fStKjASMk56PWPJHwmKyzHeiFalu7T5CD1 1kwmmUMLO5KuAZDtfKriZ/MUdtzCeMFJGtplshBR3ZQp4i3wuyZ1FE5l1LlVsn5dVK nj1+nZUMlI7qg== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.2 at mail Date: Sat, 21 Mar 2020 22:18:02 +0100 Message-Id: From: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= Subject: [PATCH v3 0/3] clk: at91: support configuring more clock parents via DT MIME-Version: 1.0 To: Alexandre Belloni , Ludovic Desroches , Michael Turquette , Nicolas Ferre , Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org This series extends AT91 with clock references to PCKx and PLLA/AUDIOPLL (for sama5d2). First patch simplifies clock table allocation. Next two update the table with missing clock pointers and IDs. --- v2: rebased against current clk/clk-at91 tree v3: non-functional changes + rebase --- Michał Mirosław (3): clk: at91: optimize pmc data allocation clk: at91: allow setting PCKx parent via DT clk: at91: sama5d2: allow setting all PMC clock parents via DT drivers/clk/at91/at91rm9200.c | 6 +++-- drivers/clk/at91/at91sam9260.c | 7 +++-- drivers/clk/at91/at91sam9g45.c | 6 +++-- drivers/clk/at91/at91sam9n12.c | 6 +++-- drivers/clk/at91/at91sam9rl.c | 6 +++-- drivers/clk/at91/at91sam9x5.c | 6 +++-- drivers/clk/at91/pmc.c | 44 ++++++++++++-------------------- drivers/clk/at91/pmc.h | 8 ++++-- drivers/clk/at91/sam9x60.c | 6 +++-- drivers/clk/at91/sama5d2.c | 12 ++++++--- drivers/clk/at91/sama5d3.c | 6 +++-- drivers/clk/at91/sama5d4.c | 6 +++-- include/dt-bindings/clock/at91.h | 3 +++ 13 files changed, 72 insertions(+), 50 deletions(-)