Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2681048iob; Fri, 6 May 2022 08:12:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxz67S/h7jI33NuErJ29n9rLcagOo/gwtFXi4HRMtlwAoReM+QimyIr3krbPiLkOUYYK5XU X-Received: by 2002:a17:902:8696:b0:15d:946:2f98 with SMTP id g22-20020a170902869600b0015d09462f98mr4228847plo.82.1651849923471; Fri, 06 May 2022 08:12:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651849923; cv=none; d=google.com; s=arc-20160816; b=VrDu5Y8KfdfpaDuPGkzgmLCLnYKPfAFCIqNuIS4LF4H/wmt4ss24/gkqe/u8lqPI7n LqMJpgj7OqelSFmheZ8AIMud+CG7vUoUtSZNtK3QU5SPFMP/Sma1AFLz5ScD4WScfvos hZV7771gwYeoI97j+ih/rWBEjivFV0nIr1Z6ejyKjujMyum29/EZpQynRtjO3f2Tz0QF TWIpjYmsknRKWVQcmZc4XC4ykUhySMxVwL4b+mx78m2re27JORWQxJYom8oUxwNBaLmX nytQpn1mAAY9sQHMJJe8L/ZXj7TgUidcd6heHGijbNT3hW8eZdCd9GHOL9X8s0ZGzUY8 yc/A== 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=dLUIrKZaCDFlLALpa4OSQnEE3gLvo/5LxjdUcdAeEgU=; b=a7lMLXD8r9N9Td4Jmpl+vFR/cr5nmpcUB9mss+7LXSheep/m/9CQ98+X7SD1+9D/RW XCSG+FcXsKl92X+drEtZRla6eieg0ySCN4sCwrpBOssDo2Nc1XcFOoI8HpiZtF55/NF/ AZvXd7TQqfVKVtXABnhvUbFmHuPVqiR+SBMoMYutF1dVqFbHqdwOM8RW7KaSavyHeFHO 4CP/fiOiLI6ZYcipAvBuo9enQQadQM+YvjMkfOaygnJ8SzwR+zqvKqVBSzTdmwrUgGJu L5lcmRXQ58YNKWODi7oXLWjhxY80WXzfMxQp3d56LN0vMWpi8VPByDITFFJydNLhSZFr Z3ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oMIQTW+C; 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 y6-20020a170902864600b0015875d4d0bfsi2255417plt.392.2022.05.06.08.11.44; Fri, 06 May 2022 08:12:03 -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=oMIQTW+C; 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 S1354372AbiEDQyT (ORCPT + 99 others); Wed, 4 May 2022 12:54:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353828AbiEDQwb (ORCPT ); Wed, 4 May 2022 12:52:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F76C47385; Wed, 4 May 2022 09:48:42 -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 dfw.source.kernel.org (Postfix) with ESMTPS id ADACC6174B; Wed, 4 May 2022 16:48:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0400FC385A5; Wed, 4 May 2022 16:48:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651682921; bh=H1GWMSx8QPe81iew5Blai1zIxy7NOOTXxmEgd/t/FOM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oMIQTW+CASQE4IpdN0AaZNGk5GBIOCJJRNzOqZ3qYA0buPfbNshO3EJf740kewR4H xJC/6TaO8+0hsX0UMcZd1iv2K3NIGLNVUA7z2vYkExa7rySELeT87UoxhthTmuxXcc 5RXinMOzQ0b94YCv3oPFV2rliJB9s4hj1sd4W6ek= 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.4 39/84] ARM: dts: at91: Map MCLK for wm8731 on at91sam9g20ek Date: Wed, 4 May 2022 18:44:20 +0200 Message-Id: <20220504152930.601883654@linuxfoundation.org> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220504152927.744120418@linuxfoundation.org> References: <20220504152927.744120418@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 bda22700110c..287566e09a67 100644 --- a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi +++ b/arch/arm/boot/dts/at91sam9g20ek_common.dtsi @@ -217,6 +217,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