Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3085178rwb; Mon, 15 Aug 2022 17:45:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR7SnAo93y724WwbMISa+JWbotmxrlDDT5f5EPtY9qPqYdrlOcwp+spwaPloq/lnFh2SXTSy X-Received: by 2002:a17:907:2704:b0:734:e5ae:e1f5 with SMTP id w4-20020a170907270400b00734e5aee1f5mr9220754ejk.761.1660610758114; Mon, 15 Aug 2022 17:45:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660610758; cv=none; d=google.com; s=arc-20160816; b=FrfzBPCFKs4RN0oHXlWzzktz+5NZWwNjhTfjDfgJItf3mGPPOPS+A1uPph53gWbt2T xAVuuX0U8bMrRITyqYWQGDfmArDsnbst+20htF3y4JJAnUN/HcZwXm+2S6o19kmQRv37 IliDKlTpbDVT5uV68sck44uhLSP/OmuHvOE2qiT8VgQLXmBvf+r8knUGMi7sqD+PW4Z2 mT+9Y8LLDFtoFsXk75M8UVfGl9GfWbB6pe1YZOmJSNCHodR/P0OruW8h5EHUETI2Lf6N zBvBHvqZifvnYYlCi+Tu3zsAyKK+pUT9cmaqImuiBGAPQm7EvIx5sWzssDsSSnVNhz16 MgEA== 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=yoc305Dm9Yo5zR1dYuVueHTiLdmu4ppCb1BrH1pwRL9xe70ae3qvDTerL6C+G5WzCl j7LQgMEr7UoUlv2/tU1ZJIzUs/b4q+51cLyh9iE22b1PpyZOv/ofh5pN+d8YBHiOPwx7 +FlvrqCW8MFEoJICqoAhQG4bebp4eGDuZs8piN/J9tAcq3zcXlE12zO18roKUBOAKdnM HRQe0aYw1kZys9R8JfuQbiYpc0t+vr/qWmtRaWQmPqVD5OskcH18XFMz8EhyavLVdf1Q 3bD392e6DuI89r2DwDGxF0dihFewOqC90hif8kuhZVsLlrW/wwjGilWxQKxphpm9210R s5bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="bm2/Gr2r"; 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 c11-20020a05640227cb00b0043d556dd041si9779160ede.446.2022.08.15.17.45.32; Mon, 15 Aug 2022 17:45:58 -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="bm2/Gr2r"; 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 S1349122AbiHPARt (ORCPT + 99 others); Mon, 15 Aug 2022 20:17:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245700AbiHPAID (ORCPT ); Mon, 15 Aug 2022 20:08:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5E91CCD42; Mon, 15 Aug 2022 13:28:51 -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 4228660EE9; Mon, 15 Aug 2022 20:28:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E195C433C1; Mon, 15 Aug 2022 20:28:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660595330; bh=7rSatraBdchFZq9eWy7keGz7HdtwWZBRr7vyDaCiar4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bm2/Gr2rn3Q4NsoSCi/vN0ULvcyw2OyETUA8lP5Hz3+YssMh72a0LIMVjx/2xGFm0 KFtqcr7t4rWRjgoFHBKC48zWlXcbodGC/3uCGliXr7c7Ld85/ELTWpLuaCOwWXM0wp L4LYfjAokU1OMBiDYNpEBBnDlo4EbSe20/4gaooo= 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.19 0723/1157] clk: imx: clk-fracn-gppll: fix mfd value Date: Mon, 15 Aug 2022 20:01:19 +0200 Message-Id: <20220815180508.399522877@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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