From patchwork Mon Dec 17 19:37:04 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: 10734185 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1A32914E5 for ; Mon, 17 Dec 2018 19:37:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 098ED297EE for ; Mon, 17 Dec 2018 19:37:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EDAE42A09F; Mon, 17 Dec 2018 19:37:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.4 required=2.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7E5A5297EE for ; Mon, 17 Dec 2018 19:37:34 +0000 (UTC) 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=1lbq89qQ4kaJDHbmt8wDByOoTj8IRAX74glA7KswmDY=; b=tOjXIHf8ydKg9U GvPFbcNWbaobUO9jGwsT0W1LUEJMM+RpMZFydVhR8M69twAnJ0z6LHB7KpRqejSTidKesReZ+esIw mXA7F+rqVLquxhXtGdtqVSqbXCtPjJJA03CMt4eavdwVdnEApmflQwepbgOD0kfeeRjrkYEVfH3Jo cE7i9Eg+2j9Hoe4urXLuET0KQm9JbtifEOjF4/ObpUoxvpYJ6TjbJkGRXjDfzo/j05gUKQe6hv0Zd l74tMw62/voMlk5U/htOmSOgs1rmi7B1lGKz6jCw8Ioel8kz7IA5pjsvPrJO1gD42aU8iIRMmn4Ai HAn9IX6Lx5FiVdLRFyQw==; 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 1gYyhm-00063o-Nl; Mon, 17 Dec 2018 19:37:30 +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 1gYyhi-000628-Rp for linux-arm-kernel@lists.infradead.org; Mon, 17 Dec 2018 19:37:28 +0000 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 43JWbG1f2vz60; Mon, 17 Dec 2018 20:35:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1545075339; bh=B0IHFVymz4dj8jF2LKmyqX+dBVLS/zqRKUHcldhF5Gk=; h=Date:From:Subject:To:Cc:From; b=r3QAP4yqmHq5ohv2mGSblubtmuQu0og9rS0DDxWSZzVsXD1vS3CQmEKD7AUppxmtd /BHKpER3w4meNax3vP6LYIZgW5Iy2d5lAo63jd+GlXgG3kh9rH9v9MQw/lUV1PP2m0 vRCPITXVDEY/f2MqepoARGUynQUafPYxzX8gxW1kI+ekpDp7pKWrCRh6MmhDD9knMo W0mQg3WC8GbtB/QaY6kj/rJP5IOHnbSjXBSZ2berNG2yGJVCpjsT6S9+2ACFFkQ+t8 AFyt8TYDiyRrNAZkxtAYMTk4fH8I3X4PwuYBEI5b4m7+xPtIZ8yOhZpM6M9J7D9TGe Rfb/L3lk7MMFA== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.100.2 at mail Date: Mon, 17 Dec 2018 20:37:04 +0100 Message-Id: From: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= Subject: [PATCH] clk: at91: enable AUDIOPLL as source for PCKx 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-20181217_113727_070579_B28C34EE X-CRM114-Status: UNSURE ( 9.23 ) X-CRM114-Notice: Please train this message. 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: Stephen Boyd , Michael Turquette , Alexandre Belloni , Ludovic Desroches Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP SAMA5D2x have 6 sources, the last being AUDIOPLL. Signed-off-by: Michał Mirosław --- arch/arm/boot/dts/sama5d2.dtsi | 2 +- drivers/clk/at91/dt-compat.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi index dd0dda6ed44b..6c8c15c363e4 100644 --- a/arch/arm/boot/dts/sama5d2.dtsi +++ b/arch/arm/boot/dts/sama5d2.dtsi @@ -526,7 +526,7 @@ #address-cells = <1>; #size-cells = <0>; interrupt-parent = <&pmc>; - clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>; + clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>, <&mck>, <&audio_pll_pmc>; prog0: prog0 { #clock-cells = <0>; diff --git a/drivers/clk/at91/dt-compat.c b/drivers/clk/at91/dt-compat.c index b95bb4e2a927..19badfc51f50 100644 --- a/drivers/clk/at91/dt-compat.c +++ b/drivers/clk/at91/dt-compat.c @@ -17,7 +17,7 @@ #define PERIPHERAL_ID_MIN 2 -#define PROG_SOURCE_MAX 5 +#define PROG_SOURCE_MAX 6 #define PROG_ID_MAX 7 #define SYSTEM_MAX_ID 31