Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3027074rwb; Mon, 15 Aug 2022 16:25:21 -0700 (PDT) X-Google-Smtp-Source: AA6agR7g3Dpy5BtP+3P3lTT4xwzBqeDNXOpcn0xTGGroO1ruprbVtMP3JfOEGjQUMr1Pu2Ctx1it X-Received: by 2002:a17:90b:3b4d:b0:1f4:d1b6:cb69 with SMTP id ot13-20020a17090b3b4d00b001f4d1b6cb69mr20711437pjb.229.1660605841231; Mon, 15 Aug 2022 16:24:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660605841; cv=none; d=google.com; s=arc-20160816; b=LoPRB57Jd51ByT1oj9tOfhEEB1BP8XHkmGR3oSmiTVeamts2mlwraXgPLeatzGNSBb ZYA9iPunu4EMfS2X9FxQCuJyzzdiNf9qCf54qdiKSjL7z5hY++0Y4o86wLPVWsw4Tz6p YpmzqP1VlB2hBfhD2s6iLctMrq7UA0Sv7T8cg7gGQmezrlkudpFvnOnkTO8Ie3WRuCoV lbzznob1IAWwgo0MuuSzAJqG5lvlwsanHNj4nK80s1kCiBteZKyl2Q4Qz4oesinhqDt8 BehgM7hnsaK7hTSEAcBlFLuivkv3EXhjJyTgrF+TpTJ8NyqkwrNnLpndy96O9BSlmBBb GLXg== 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=Y17pMINyGz89mz5bxMs3Nv1BVFd1V9ykXszFxWXuv9g=; b=NWxJVt4sL1oCd1lP7Dm1P5Fq6Y+RM8fY/SqkudScXukV5ie3ohAmH5BCa+sgFyuTIk uc6PeSNE7hcmz+ILTmSAIzsvggAGPGFz5qdrrVko/8QbBQIK/64NoTc0Rp9738BDto7z FiW/6DzC6JFIIrG/kM+28Ga63Be52Unm2R3Ok1YDl+V3kW4Gn+fuzT6rMH7hVfWFjg2b eqKnwq66M5jL77kIa01bWC7Fin4kn44T82EY+dXfIRkf3QjnacqddyRe0tuBOXDr5wOz WsC473a2teTVzftdlUOTLqtphk1dFyPsGOIWhOAo/XgXGcaP21SjmCXi7xGfslZn0fDx 1/KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sI1m33gw; 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 o18-20020a170902e29200b0016d4841215dsi9626107plc.409.2022.08.15.16.23.48; Mon, 15 Aug 2022 16:24:01 -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=sI1m33gw; 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 S1349640AbiHOVpm (ORCPT + 99 others); Mon, 15 Aug 2022 17:45:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349702AbiHOVlp (ORCPT ); Mon, 15 Aug 2022 17:41:45 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4D085C9E8; Mon, 15 Aug 2022 12:29:28 -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 BD27EB810C6; Mon, 15 Aug 2022 19:29:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18090C43147; Mon, 15 Aug 2022 19:29:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660591765; bh=7rSatraBdchFZq9eWy7keGz7HdtwWZBRr7vyDaCiar4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sI1m33gwo8o0Mw0YvhKPNMWRUFvOF//N4LxZO6rTi569mlp/fN/L8BW7/3SzUIBCe nt7e2X0DV2McyHBFP8TxffApaT3ahkOWbsBVEXh6G/arTX4kZK77l0aeIlZeQQhYYO p4c2OMCW6WUBp0X4EhPuTJjaNr4CZSLFDyb1Z6vk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Peng Fan , Jacky Bai , Abel Vesa , Sasha Levin Subject: [PATCH 5.18 0678/1095] clk: imx: clk-fracn-gppll: fix mfd value Date: Mon, 15 Aug 2022 20:01:17 +0200 Message-Id: <20220815180457.419164984@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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: Peng Fan [ Upstream commit 044034efbeea05f65c09d2ba15ceeab53b60e947 ] According to spec: A value of 0 is disallowed and should not be programmed in this register Fix to 1. Fixes: 1b26cb8a77a4 ("clk: imx: support fracn gppll") Signed-off-by: Peng Fan Reviewed-by: Jacky Bai Reviewed-by: Abel Vesa Link: https://lore.kernel.org/r/20220609132902.3504651-5-peng.fan@oss.nxp.com Signed-off-by: Abel Vesa Signed-off-by: Sasha Levin --- drivers/clk/imx/clk-fracn-gppll.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/imx/clk-fracn-gppll.c b/drivers/clk/imx/clk-fracn-gppll.c index 71c102d950ab..36a53c60e71f 100644 --- a/drivers/clk/imx/clk-fracn-gppll.c +++ b/drivers/clk/imx/clk-fracn-gppll.c @@ -64,10 +64,10 @@ struct clk_fracn_gppll { * Fout = Fvco / (rdiv * odiv) */ static const struct imx_fracn_gppll_rate_table fracn_tbl[] = { - PLL_FRACN_GP(650000000U, 81, 0, 0, 0, 3), - PLL_FRACN_GP(594000000U, 198, 0, 0, 0, 8), - PLL_FRACN_GP(560000000U, 70, 0, 0, 0, 3), - PLL_FRACN_GP(400000000U, 50, 0, 0, 0, 3), + PLL_FRACN_GP(650000000U, 81, 0, 1, 0, 3), + PLL_FRACN_GP(594000000U, 198, 0, 1, 0, 8), + PLL_FRACN_GP(560000000U, 70, 0, 1, 0, 3), + PLL_FRACN_GP(400000000U, 50, 0, 1, 0, 3), PLL_FRACN_GP(393216000U, 81, 92, 100, 0, 5) }; -- 2.35.1