Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5701810rwr; Mon, 1 May 2023 09:30:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ypLJqkBI4OSZ4AI2gCKlrlXoLcGU+TRssCVU6RXiR2NK5gfNVmUHTAkUlHeAjNEYSzbxp X-Received: by 2002:a17:90a:450f:b0:24e:69e:71f with SMTP id u15-20020a17090a450f00b0024e069e071fmr2846051pjg.7.1682958604409; Mon, 01 May 2023 09:30:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682958604; cv=none; d=google.com; s=arc-20160816; b=glIDxr8NCWz6h1o7aIkagSG5bRZ8CpA/YSs6GHKdavmblpep/NO51hM34j19oGOt1/ tqUg2VAXqVxoRsnsxjw7MUAYZxWleZdmuDZ0OTd57/OsDR5SB9/i3Ikj6zt3AW9ZA5u+ w4oOFBphMVXVubFpcaRzfMs5hiAhVe2wS9l0FwL6UoU2G9T/HFETj4Bz/E18XHRABsgF QixE0tfJc2H762MbklI3dFh5vv70d0WW3KTA2FIX2T3pQXiboghuExYcuHd4UBQy+/Of sL33qtvLIF3XOqQYSFPkWxcVx6nNafz0dbbMdBs4wuI2Rk+XTpSJ9Fc4GTU9SQ9OH8wu Je6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=qk+9QkkonRjQxXkPE3ppsEbfc37j1jKoaFU3DPo9GLo=; b=rBn8q2VaierH7406nqejTAUroOYPrtSb165pehZUsv+TD/Nuvt5aVzwaHEW29RHIgv tegZZAQuyaJllVw69RFTi0KzQC2dWid0PZaC44uJVqsBlwFi4fY7ofxrFhMImpwj85uS sJJ/4OAcBdEdzy9XbimL6eg2L8G3ZIVzyJb1f1CoQyLl0NXLJ+w7vPisEOmr19hJel0k slJqnB4p456eyHm84MfRdAxZJ3xjJwpOIBZ8mqHbL11Atzl1yUMeJKIi8g19JXbGclnR YSy+pL1X0OVKP9P6tr5/vWQ6X9/5ApK1wxYRTF/x86+3GwL7UL9AjXp7OkOcMVFBtruX AySA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=UZznBRMP; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mq5-20020a17090b380500b0024b5a028e7asi9688214pjb.47.2023.05.01.09.29.53; Mon, 01 May 2023 09:30:04 -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=@gmail.com header.s=20221208 header.b=UZznBRMP; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232349AbjEAQSD (ORCPT + 99 others); Mon, 1 May 2023 12:18:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231229AbjEAQSC (ORCPT ); Mon, 1 May 2023 12:18:02 -0400 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78402E4; Mon, 1 May 2023 09:18:00 -0700 (PDT) Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-51f1b6e8179so1713994a12.3; Mon, 01 May 2023 09:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682957880; x=1685549880; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=qk+9QkkonRjQxXkPE3ppsEbfc37j1jKoaFU3DPo9GLo=; b=UZznBRMPjdb0UxnL0J5rsYVgsEDywc3ZLIjknqudXR4IO24FkAQn6QHq9HOJDqXzUf D0FhF8xqaKu2DPao4TkQqAV3Xn6F5zD+ohrsOLMc39LXmaZ8f1BcKEcdOq/9BYE7Umsu J1C4u3A/kpkHUHKqYstjvpZcj3iqsiqQgmtXA7Q2kWpBp5oRv3VheBVryQkrm8nmYkwf YEGbpAOsEeNzzzS0AT8EqDcRTIofl+1ZTlDGtwZe4HkayXE4tG4fZiDljEq3eQKvnyyP qcWN4LcG1MIqyV1BfRZM7xML8q2GIG+/f5bYOhErfGFQDJezDG83Yhr68hRGZpuG3gin Tf6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682957880; x=1685549880; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qk+9QkkonRjQxXkPE3ppsEbfc37j1jKoaFU3DPo9GLo=; b=E74G1I7k/v0cnWVof0re8c6quk3XdGObQex3T2CmucDilNLwiVFC1IDVRBt6yKb8GW oCQNmLbB6l3jVkHPuStykIeggFGQxomiOq4atQfLIgPnQCowQgIyqNMqjb+PlgRz/igt y6j2GeNr8K1q0R2KjGCev+KcvhlwxBMEbiHcsoqcBEHVqM0tEtsFW2tK0h1i59tXFxaQ VT4EuaAJgYgmqzcNshdCtC84Pz4RHf0FeQUhhnyvZFz6mIMXYxcP8lVjqLA1qHnAzP8d PoDsYZLSbcRCp2jUy2UfrP3yY+Bhi9gX+IyGGZyi3X1apka1AlgfMuKBuAjW5uIYxS/g 6a5w== X-Gm-Message-State: AC+VfDxY9OEU7uGZcEtRb91doYnj7HPyksyuEvvCIN3dG7Iz5AbMF5P2 ZIal+S0yZrbyiPOrUILwgwxM91lrHOpUbuhsq9g= X-Received: by 2002:a17:90a:bc45:b0:24c:c75:2531 with SMTP id t5-20020a17090abc4500b0024c0c752531mr15257019pjv.37.1682957879849; Mon, 01 May 2023 09:17:59 -0700 (PDT) MIME-Version: 1.0 References: <20230423123828.1346511-1-aford173@gmail.com> In-Reply-To: From: Adam Ford Date: Mon, 1 May 2023 11:17:48 -0500 Message-ID: Subject: Re: [PATCH] Revert "clk: imx: composite-8m: Add support to determine_rate" To: Peng Fan Cc: "linux-clk@vger.kernel.org" , "aford@beaconembedded.com" , Abel Vesa , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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 On Sun, Apr 23, 2023 at 8:43=E2=80=AFPM Peng Fan wrote: > > > Subject: [PATCH] Revert "clk: imx: composite-8m: Add support to > > determine_rate" > > > > This reverts commit 156e96ff2172518b6f83e97d8f11f677bc668e22. > > > > This patch was found to cause some division issues on the i.MX8MP which > > causes the video clocks to not properly divide when division was greate= than > > 8. This causes video failures on disp1_pix and disp2_pix clocks. > > > > Until a better solution is found, we'll have to revert this. > > Abel / Stephen, Is there a way we can get this applied and put in for RC1? When I originally did this, I only tested with Nano and some brief testing with Mini, but it wasn't until I tested with Plus that I found issues. thanks adam > > Signed-off-by: Adam Ford > > Indeed we already see issue in NXP local CI with the previous patch. > > Acked-by: Peng Fan > > > > > diff --git a/drivers/clk/imx/clk-composite-8m.c b/drivers/clk/imx/clk- > > composite-8m.c > > index 6883a8199b6c..cbf0d7955a00 100644 > > --- a/drivers/clk/imx/clk-composite-8m.c > > +++ b/drivers/clk/imx/clk-composite-8m.c > > @@ -119,17 +119,10 @@ static int > > imx8m_clk_composite_divider_set_rate(struct clk_hw *hw, > > return ret; > > } > > > > -static int imx8m_clk_divider_determine_rate(struct clk_hw *hw, > > - struct clk_rate_request *req) > > -{ > > - return clk_divider_ops.determine_rate(hw, req); > > -} > > - > > static const struct clk_ops imx8m_clk_composite_divider_ops =3D { > > .recalc_rate =3D imx8m_clk_composite_divider_recalc_rate, > > .round_rate =3D imx8m_clk_composite_divider_round_rate, > > .set_rate =3D imx8m_clk_composite_divider_set_rate, > > - .determine_rate =3D imx8m_clk_divider_determine_rate, > > }; > > > > static u8 imx8m_clk_composite_mux_get_parent(struct clk_hw *hw) > > -- > > 2.39.2 >