Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id B8172C433FE for ; Fri, 25 Mar 2022 15:29:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Jhy2EvYjzwfCV7UmyoD0ANDRomd+AGbJjP975Ph1AD0=; b=sMoiIyrm5hjQHd eUNP0b1jPEQZ3sGSfdQ8FI4IQmqxbKCkhC1Kgt1XpcNtYBhgw9MAV/4NzDhBtFXtN0expeACoEbZ5 Yv35TXCuh7sL7eIzEuVv0VDfam6AEFxoxh4+h3JqwXlYtYF9nbranBlSgc8Bgxj62Li2+5plmDrf0 VePCRN2Wj+pXpDhbfV7xFoZeQnUS+o+KinX2zpGrI7kwcN/vgDOgMsvIgwXI8of7v3HBA3cr3Pu/4 +UkjMXpl5cr96PuLpuqAaZzMa/JVOJzS9nXvBOxYW6vRhbBjZd9djPs9K6rUkirtKRGxqeX9w8U19 U00XOhs4vgjQsREUJhyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXlrv-002T7H-33; Fri, 25 Mar 2022 15:28:51 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXlrg-002T3u-OL for linux-arm-kernel@lists.infradead.org; Fri, 25 Mar 2022 15:28:37 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3978061762; Fri, 25 Mar 2022 15:28:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 372B7C340F7; Fri, 25 Mar 2022 15:28:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648222116; bh=bEutepZeuU8zSrTHXovpwb5cFYFyAntteIETa+FImjg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i6DHnklm9eWZzn6YKWWLTteBfuDzFSyIJNPRx0Wh5uL8sVir+MdP0PgsJfOZZ0Va3 aA0eaVddItXraqOmQr7QuiHXVxy8Js8XRqWeWTgW6ZzRJRicDb+rEVIWZt8jJEsGYl pCmpXr7DS6myYS5icsKrqPF8jhqjcy0kMyAWcMKak0mze7Bu5mfC6MyNmE9sVfk9YU kKX7HLFW5fMUmz0FqixVhwp3EqDcRa84rORJk4hbduHZmbrhQeGJySXC7Pd/EOxlho WkMJHY4RRAHGhyi5DMauSJJzc893PDzW79ApdTd+xHtMbDoYvYeFsfi/RmJAIE3F+n cqeyI9xjyMwDQ== From: Mark Brown To: Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Codrin Ciubotariu , Rob Herring Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v1 1/2] ARM: dts: at91: Map MCLK for wm8731 on at91sam9g20ek Date: Fri, 25 Mar 2022 15:27:14 +0000 Message-Id: <20220325152715.1597893-2-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220325152715.1597893-1-broonie@kernel.org> References: <20220325152715.1597893-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1112; h=from:subject; bh=bEutepZeuU8zSrTHXovpwb5cFYFyAntteIETa+FImjg=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBiPd9RpkIRlY3Q4XC4Vpba4ia2BS35KAxt9J1krmPO AZWIQSuJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYj3fUQAKCRAk1otyXVSH0H80B/ 9Le4nEre0MF6oEtov8Bjwj5cXkEHEM02JzgoIAiAZGwfYL7dA3Vzq5NH2YRhBfN38rbJoQW2t48cgs zPbObiPvjZR5udy1hFbEuXWRhNwLkTWiUwrKH4kj56C4VBdZ/DamB8p4Y5Bhy1wlXTK+h9RjkIvaCa iuWRvmjqEu0sUXdzcg+VZ0YD507wL5aRqltHcTN0fI+h9wy1ECmq3jXn3EQd7H9KX9EnKxm0nHOaj4 kWNbC8t/YW0Enayx8Eg1Y85EOnZEgyMJSeF+oyFRAgAIQlt/Tc9R2cylYDoZ2+17tXuSFD7e4mfuHr sv+WgDwZuJwYcm2rFwaq1sAWLjsQW+ X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220325_082836_853060_72E7579B X-CRM114-Status: GOOD ( 13.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The MCLK of the WM8731 on the AT91SAM9G20-EK board is connected to the PCK0 output of the SoC and is expected to be set to 12MHz. Previously this was mapped using pre-common clock API calls in the audio machine driver but the conversion to the common clock framework broke that so describe things in the DT instead. Fixes: ff78a189b0ae55f ("ARM: at91: remove old at91-specific clock driver") Signed-off-by: Mark Brown --- arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi b/arch/arm/boot/dts/at91sam9g20ek_common.dtsi index 87bb39060e8b..ca03685f0f08 100644 --- a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi +++ b/arch/arm/boot/dts/at91sam9g20ek_common.dtsi @@ -219,6 +219,12 @@ i2c-gpio-0 { wm8731: wm8731@1b { compatible = "wm8731"; reg = <0x1b>; + + /* PCK0 at 12MHz */ + clocks = <&pmc PMC_TYPE_SYSTEM 8>; + clock-names = "mclk"; + assigned-clocks = <&pmc PMC_TYPE_SYSTEM 8>; + assigned-clock-rates = <12000000>; }; }; -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel