Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1873050iob; Thu, 5 May 2022 09:50:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/2bdn0TO7pLpeTi44D/rB7nXceSrz9/PiLTXuJtHmPSVQjnw4jzmj93K4IyjhDWqWAUm2 X-Received: by 2002:a17:907:7811:b0:6ef:a896:b407 with SMTP id la17-20020a170907781100b006efa896b407mr26174949ejc.645.1651769407865; Thu, 05 May 2022 09:50:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651769407; cv=none; d=google.com; s=arc-20160816; b=dHGcO41WT2Z4vR+cbLlT79pWFKCHf6GCPiIvYDD1v/N9owQqvjm2TiPtiWUdzpNFlT Is8YjJRcLRRs/CdDpY7B71H7E/U0CeVYW81QeswBbE66xeA5XduSQ4GL5QsrkcuR14n3 HzXSNhoRtjR5NrJ6TfdpVmemaBEOkRTdBLoXguwEUVLPfjUJEXztC4XWteihu+X9iWov D4cFS8RAt+8zbQ8vXd+IcvfwsA2P6hELnH1nz5QZx1TspDl70z+xbEBs9hNiDp9Zx/Nc l5yBe6Rur/iS7/CAquCghmk6LXoa8241n20dZ3wSBvWfHbrruE/YHUWGJCU3rxXsQwpf qewQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=TiaMN7oHr1lvZwqNdOvgMlMeC/Fw+HGTw/GNJCjtFWA=; b=FFhTSqCIBqMqEVLVKHBpUdhpuQ3bcEMYJ8zjNNpvtEnFlE0IzAA5SQnfGhMaB80owa BsV60M0hoL+ReDQp1tbqZIfQ7PZnA5Re78ISKEG+n900q6ILRLZkDcLfmCFh3BUkYqlE iu1xpswFxKx3Yx9C6udQkY6GrlX3B7IQ7i7U5EdPb/+eQ7UTqyq+I2s3beovgA2kqZgC P0K9/KBG2g3M6sNhEqQR7KIAyDXhch3KMe6lsII9nF6f0Cyj7+OVIay0tWp12sYl+TzN rVzTXeAwql8P/dgysnd/sQYIqWgmBlkJ/ZGq+O/Ka7KbBBD+Amz01HWvkDhXHI1wUlR4 KQLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0wnFtUvv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc1-20020a1709071c0100b006e866549c5esi3205321ejc.702.2022.05.05.09.49.43; Thu, 05 May 2022 09:50:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0wnFtUvv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355959AbiEDRXG (ORCPT + 99 others); Wed, 4 May 2022 13:23:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355760AbiEDREl (ORCPT ); Wed, 4 May 2022 13:04:41 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CC424F9D7; Wed, 4 May 2022 09:53:22 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id D368BB8279F; Wed, 4 May 2022 16:53:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C83DC385AF; Wed, 4 May 2022 16:53:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651683199; bh=c9tifztPdtIZMnIZoFYTn8EbVTxFGghKHU5Yrzs7rmg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0wnFtUvvswxQNbZXpkHGOrClT9auogOsyQyUOQeMarSn0yGCd34fc+HFEAaluS3BX KjIdoCxf+LVCfCmNaQv+H7nhBHQNG82W7J+At5n09+Q0IMwfroCVSp7Jw4GvnPpN6U AtsMAw9k2QHFJj4j/6p2d57xPds+QgQmmwG6p0xU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mark Brown , Claudiu Beznea , Nicolas Ferre , Sasha Levin Subject: [PATCH 5.15 064/177] ARM: dts: at91: Map MCLK for wm8731 on at91sam9g20ek Date: Wed, 4 May 2022 18:44:17 +0200 Message-Id: <20220504153058.732915149@linuxfoundation.org> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220504153053.873100034@linuxfoundation.org> References: <20220504153053.873100034@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mark Brown [ Upstream commit 0e486fe341fabd8e583f3d601a874cd394979c45 ] 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 Reviewed-by: Claudiu Beznea Signed-off-by: Nicolas Ferre Link: https://lore.kernel.org/r/20220404102806.581374-2-broonie@kernel.org Signed-off-by: Sasha Levin --- 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.35.1