From patchwork Tue Mar 17 11:59:13 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: 11442601 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 360EC1668 for ; Tue, 17 Mar 2020 11:59:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D8FB920736 for ; Tue, 17 Mar 2020 11:59:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=rere.qmqm.pl header.i=@rere.qmqm.pl header.b="fP2UXQNP" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726847AbgCQL7S (ORCPT ); Tue, 17 Mar 2020 07:59:18 -0400 Received: from rere.qmqm.pl ([91.227.64.183]:45402 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726082AbgCQL7S (ORCPT ); Tue, 17 Mar 2020 07:59:18 -0400 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 48hWtD10dDzw; Tue, 17 Mar 2020 12:59:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1584446356; bh=mWo3VWEs8kJsqzR0upHbKdlUzSYwbJU2fXorl6by/+o=; h=Date:From:Subject:To:Cc:From; b=fP2UXQNPvLrtxnrBxBJ1G3ZdIzN1L827eTszxFXdalDbhr8GqFpjj9cLlggXrZUYD lwvLMpytP5alj8e4Ik5S+bmgQnrjeEgAFQxJEEblFMBz3j5ujCFInzC02ZiXxSbTKT Wrbg33qce3qsLuzPMVtEoZ/7wOHCJeFGlJOICeHRAsseIEQ+CY/z3xJ6HLXJxtESLA bWwjw9jLmxfn/Jl8jQh1rWSWy5gSFdM22v8FmS71Oxhna0xjGq0Ycfoz2WjVzRTlhF x966K0PscdMflIW0OT0ATJ1kFLMHhqNWpv8bDB6tQ/xpumWrqXNIj9h8Pa/mTUKuYw jQq0wrhdzHpZQ== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.2 at mail Date: Tue, 17 Mar 2020 12:59:13 +0100 Message-Id: From: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= Subject: [PATCH v2 0/3] clk: at91: support configuring PCKx parent via DT MIME-Version: 1.0 To: Ludovic Desroches , Alexandre Belloni , 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. 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 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/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 +++ 12 files changed, 68 insertions(+), 48 deletions(-)