Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp914426pxb; Wed, 6 Apr 2022 04:08:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrt5fVTz89x6ComyzAjfwaEce7Y2+DC2v5/KdNAGkl54lRyxfCELdGO8JNvNrbHh/UWkkt X-Received: by 2002:a05:6a00:1501:b0:4fb:2d19:b6a8 with SMTP id q1-20020a056a00150100b004fb2d19b6a8mr8424060pfu.21.1649243291942; Wed, 06 Apr 2022 04:08:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649243291; cv=none; d=google.com; s=arc-20160816; b=0MonxccSY8GXW56okkZWzrieV0dkaoeivG65U57Dop6KuONYSH84C4/1GC7ItXbnGz soisshkEAAFa8U/kMU3PDh/7Ev8p8IoecQaIjkiFmJJGZp+fsvjvsJBkIQvGXiMKqbv5 srcfSfwzAFwFTCUln9Tm2A4Uk7aLRO9ePSOWRjcDNF6ye3/br4GR+qUdzC5zOjWLK6QS 8UexpsVe7Sdq8vzYc5fOLKB37ofPHbZasGET0CK0Y/dNthprKVnBBOayEYOKF7Yir4ez uGkWHMAOtgjFemTI05x27qQVBj6j3642jdRPzfkJ0WOyok9z9stoZFnVWLNqzCzZvYYE DrVQ== 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=gn/aOl68EHy775Y/IAwZWwymISEv32kxugejWPiLcfw=; b=fs46LPg9u1hwtSNV1LpOZPn1p8YnUxAgT0NO5nXGb/hxunV+UEWftmGIEDq/R1eIui z28hpD7mpKz0WoA1tbkY0rOiJM3kywcBJyIgvfN7OfpU+VLuVVuswLZsb5vgrMC7Qp6R hqVE8gzCs7fcpSrCqXWWxJlOhBcceod17wbAbdxUHDU99kFYaUVO5ikbQUtCOKWhCPej kw2DjO7zEFSWUw3r7VCawB6/w/NWc2oPNZQ/kDSQKJhCYkdSBySb6Vhif2cT0gKE16eZ IIahoyXfAleBtfSdUpzSeNw0xW1QHUDMpBwbuOcjiDptAqpQeZlwaPlaJqsI7sMSKBxw Zrfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JH1ymJCi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id bk6-20020a056a02028600b003991d7c288fsi8775954pgb.561.2022.04.06.04.08.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 04:08:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JH1ymJCi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7DC425CBE22; Wed, 6 Apr 2022 02:30:41 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1846194AbiDFCDR (ORCPT + 99 others); Tue, 5 Apr 2022 22:03:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349565AbiDEJuT (ORCPT ); Tue, 5 Apr 2022 05:50:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02DC09B; Tue, 5 Apr 2022 02:48: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 dfw.source.kernel.org (Postfix) with ESMTPS id 9257F614FB; Tue, 5 Apr 2022 09:48:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71E18C385A2; Tue, 5 Apr 2022 09:48:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649152101; bh=HQpRMrAehDtWeCK0JY9A9/XHa20QiNq1aSYK6C2zu8A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JH1ymJCiDnyR0Jn0V43TCiPWOnYj0G9gIRDQBTmq0c3O8ae3IMY7rvUj0/7O3tzUp T2eChDJTM0oN+qS4FSzS+2Z/XUKzsNcbZxF3v8llC9g3DtLLuX1f62Mt3r10YK6Zjt uq8FOnQqMDFHNh80wN2a2i6dWaAQZEcYqbxXzilU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Konrad Dybcio , Petr Vorel , Stephen Boyd , Sasha Levin Subject: [PATCH 5.15 654/913] clk: qcom: gcc-msm8994: Fix gpll4 width Date: Tue, 5 Apr 2022 09:28:36 +0200 Message-Id: <20220405070359.442659167@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070339.801210740@linuxfoundation.org> References: <20220405070339.801210740@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=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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: Konrad Dybcio [ Upstream commit 71021db1c532c2545ae53b9ee85b37b7154f51d4 ] The gpll4 postdiv is actually a div4, so make sure that Linux is aware of this. This fixes the following error messages: mmc1: Card appears overclocked; req 200000000 Hz, actual 343999999 Hz mmc1: Card appears overclocked; req 400000000 Hz, actual 687999999 Hz Fixes: aec89f78cf01 ("clk: qcom: Add support for msm8994 global clock controller") Signed-off-by: Konrad Dybcio Link: https://lore.kernel.org/r/20220319174940.341137-1-konrad.dybcio@somainline.org Tested-by: Petr Vorel Reviewed-by: Petr Vorel Signed-off-by: Stephen Boyd Signed-off-by: Sasha Levin --- drivers/clk/qcom/gcc-msm8994.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/gcc-msm8994.c b/drivers/clk/qcom/gcc-msm8994.c index 144d2ba7a9be..463a444c8a7e 100644 --- a/drivers/clk/qcom/gcc-msm8994.c +++ b/drivers/clk/qcom/gcc-msm8994.c @@ -108,6 +108,7 @@ static struct clk_alpha_pll gpll4_early = { static struct clk_alpha_pll_postdiv gpll4 = { .offset = 0x1dc0, + .width = 4, .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT], .clkr.hw.init = &(struct clk_init_data) { -- 2.34.1