From patchwork Tue Dec 18 11:24:03 2018 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: 1015289 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=rere.qmqm.pl Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FXgOBQ16"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=rere.qmqm.pl header.i=@rere.qmqm.pl header.b="pigx0JnH"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43JwfB0zbZz9sC7 for ; Tue, 18 Dec 2018 22:24:34 +1100 (AEDT) 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:To:MIME-Version:Subject:From:Message-Id :Date: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=ajQJft2tm5e9xFZk7JcGVeXu8ClI0f2UH7uO3Cwj3fA=; b=FXgOBQ16iMGu9F koFDjQB1Xfb2F7NSFcHMYxJCOEzWSaclfFA39c2VxfNTOhnJ6hnZOpWQYJ3vPkQUQyePvcQRg+6Jl QZ9/uoAUn8B82DwZK/yOWZoOfwJ0I+bKFRv8BXXwisrWcNvKi/yHUwj1ashBYzEcY86+sN2b4+pjb Ia9smK847BcX6ij3I7bqjNaRmeToSM5YAg1j+5mHh/8DaGoHnScf1mMM9EC0g2AWDv/7wG/Q55+p5 X+oiZlAShHxSGpEpIYutSuPpgVDSVRtC30ybhmj6+mxnM7Psz8qusULysfl9t6vEQ1Je1UlT4WnNS 9lNT7A12YpqDyIHPlCTA==; 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 1gZDUC-000656-7y; Tue, 18 Dec 2018 11:24:28 +0000 Received: from rere.qmqm.pl ([91.227.64.183]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZDTz-0005pn-Kt for linux-arm-kernel@lists.infradead.org; Tue, 18 Dec 2018 11:24:19 +0000 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 43Jwbx1D9Dz1f; Tue, 18 Dec 2018 12:22:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1545132157; bh=LoiL0Ir2qotlSd4J6F6YKsc3OqiC7BOqc1ue5iQ2gtE=; h=Date:From:Subject:To:Cc:From; b=pigx0JnHuPz++WuMHysiiZ1dS2MvSSSmGKgcey1ScdcVrvpBh4iA/HeNXwNMKWuf/ qPUdwpnvqaBE0tJoibJjrF4g5X45awcaL+J8Wftbknp8FaW7cnn8DkRrBqFUYdDS+x hJ9N+gUwAmSNTGqmAbEs1MWFxhQxY0ttY/1Uf+ODhOKYnul7gaTGSHepC5NReqHkii WxaeLtLwIabHn+XtqasNf9I59FXHiyp37gJGGpDqBj8N58Qfv59vTVoXtXJ4PhEmqC gUQoPnuSlUrJdUMFPheAYn6e9fX++WV36GSB6qkru5c4HjGXnQKreYWgg2TlV/Z3GO I1NY4/MdDm9Tg== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.100.2 at mail Date: Tue, 18 Dec 2018 12:24:03 +0100 Message-Id: <1-28c5791f73370d0aa8cbb57af796b61de2b21238.1545131728.git.mirq-linux@rere.qmqm.pl> From: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= Subject: [RESEND PATCH v3] clk: at91: enable AUDIOPLL as source for PCKx on SAMA5D2 MIME-Version: 1.0 To: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181218_032416_310717_A0D93DDC X-CRM114-Status: UNSURE ( 9.96 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Boyd , Michael Turquette , Ludovic Desroches , Alexandre Belloni Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Datasheet for SAMA5D2x mentions 6 sources for PCKx, the last being AUDIOPLL. Signed-off-by: Michał Mirosław --- v2: rebased for 4.20-rc7 v3: rewritten for 4.21 --- drivers/clk/at91/sama5d2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/at91/sama5d2.c b/drivers/clk/at91/sama5d2.c index d69ad96fe988..ade063622531 100644 --- a/drivers/clk/at91/sama5d2.c +++ b/drivers/clk/at91/sama5d2.c @@ -241,13 +241,14 @@ static void __init sama5d2_pmc_setup(struct device_node *np) parent_names[2] = "plladivck"; parent_names[3] = "utmick"; parent_names[4] = "mck"; + parent_names[5] = "audiopll_pmcck"; for (i = 0; i < 3; i++) { char name[6]; snprintf(name, sizeof(name), "prog%d", i); hw = at91_clk_register_programmable(regmap, name, - parent_names, 5, i, + parent_names, 6, i, &at91sam9x5_programmable_layout); if (IS_ERR(hw)) goto err_free;