Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5016100rwr; Sun, 23 Apr 2023 19:15:29 -0700 (PDT) X-Google-Smtp-Source: AKy350aOnRIVR0OwmGasxVO8sZn1O/QEPPZAV0hGRyLnmWNe+XsRvmI3cw4BJCLibTVsew5O1iz+ X-Received: by 2002:a17:90a:4703:b0:24b:66aa:e5cd with SMTP id h3-20020a17090a470300b0024b66aae5cdmr10466557pjg.39.1682302528772; Sun, 23 Apr 2023 19:15:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682302528; cv=pass; d=google.com; s=arc-20160816; b=xGIdZygwtaIJ8e03hZ2N+AI5tPOFJRf/fiiAfJjlpwQm8c71pbOG6OpCgsEirDKgN/ B4si+YGW7mmBKA+hWq1slkAVO+E508T6WeDueDdhHZQq+WAREmK7/o8S+8BnK3j0uPMT NkE2+QlmxCZd1phtRVdo6xCUYjKq4oCX77HoYvpg7P/uP5L0dbtK/sybl4D2xq5zZ/Xr IkKw39FQAZVBb1X23UiXSJaKpKQLumnaTIQuRlcYf/pDq6Yt8qsym1g3RmANXdm5ptsk T8Sn6qsyAkanWy1W7dEolICdMEW1v1OckFFABJ1VnhM8tkke+pb9BtZM7b789yslM5kX /snw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=/rWOklSGbPxym2TeSAwtd8vbSKRQ0+lDcwyLDzH+aPU=; b=yxKKax08abdfta+hQXY98cMoihVuqLqV60TzsBfMMYFGB1IAM+mKShkp1fLDU64PLb PI8IdCOTaJH5QIjNb0XvNZSl2By3YLgp3Q88+uFmgFx2nzXa3lQt9vmJPq9JvMPjZigS JB1bMW1UdnLTX2HTk0K1aWiO8DUYxydVekT7p4VK3B3C+KkvElXC+fHL8RUasWZENDFA UAUBLBMV/JBL3naRHmAnABaUjHzqQQOF0eMH8jwhKhVFzEAg83cbVRAiGLSg3cBmyoUM d268wrIl/plLy8p6JfG3LmQkKdTPKRtS7ymYXUgILAR3b7R9esv6euH5ullPtFhUPbBs TIsw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=h2N48gqJ; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b8-20020a17090a12c800b0023e066d4e2dsi9849460pjg.184.2023.04.23.19.15.15; Sun, 23 Apr 2023 19:15:28 -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=@nxp.com header.s=selector2 header.b=h2N48gqJ; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230342AbjDXBnu (ORCPT + 99 others); Sun, 23 Apr 2023 21:43:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjDXBns (ORCPT ); Sun, 23 Apr 2023 21:43:48 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2044.outbound.protection.outlook.com [40.107.7.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F37E10CC; Sun, 23 Apr 2023 18:43:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lC5f/a0ks1pcJHXRCgK60K4zSpTXNVFNbckyu6STTvdjZT6aKfQGH3UqxH5naAvttGhfFzu+MRevfIxCIwHvOsnhmdWuB3PR5KVeQs3w85neNdhvWSlnI70UUcs6uLIWOik7oDxidYqBu2564gfgMJAdEbbfwrGP0m0aYd5urmF+8JjreksPsjXVpOrhP1fqQXrrsOi0IzblupAVPCctgPnWPrX5r74eEMgHtkRoya8v+20cp9t3ywWGg2F5WVodJhgEA+a5Hx+t/ISJ2QGoMvkdDvMVakoWGH2fkZIAPVnEyiN3FjIevm3SCrXlLIwmw+r9hD22sUY4VahvRGnmiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/rWOklSGbPxym2TeSAwtd8vbSKRQ0+lDcwyLDzH+aPU=; b=ZnbRU7TqUh7eNRPLNjDD/85EYLAZmTb+YKo7ya3CsYBR42gYzBT+O21uvNBxwx+/d1yG/fvePrU/cPiKSI2zw91qViUinrTov8V9DY/Egzl2NxT9HnR1xCIkhbGU7bLMAl+xJLgJfQPEK5elH8gbERxTqjB5weoXCofXVBC/k9t86uT3ocDmoVkK061lBXilnVVC+3vfcEcElKj0ukS0mXUM/2aFsZnNTA08H/QaqVKdAGvDM/lV69MMNn8vl/PqjJ32UdBRVP/HjWKpiqnY42jm/QABIVO0T06ndwrA/QMWItWivUeXT48cBVHeIU9nWQ0M++VOJjJBJGK2g0c2xQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/rWOklSGbPxym2TeSAwtd8vbSKRQ0+lDcwyLDzH+aPU=; b=h2N48gqJZmQU+KpKsla9fHlNaGNQpQNpLrTF/pUZ+vpKzpilj5XJFLwOfx9qe0jInAwK3dhibbJ5dBk1UxgikLcp5iwmVSwSNpnMLztZB2qOWKfr9PqNo1cYhHfgjzfe7CTjMjNlDczoeY4cF6dtkueM8fYTRQ8Xt3ZYEpbWiVU= Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AM7PR04MB7141.eurprd04.prod.outlook.com (2603:10a6:20b:11d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.33; Mon, 24 Apr 2023 01:43:44 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::b999:f2c6:a8cc:7b4]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::b999:f2c6:a8cc:7b4%5]) with mapi id 15.20.6319.032; Mon, 24 Apr 2023 01:43:43 +0000 From: Peng Fan To: Adam Ford , "linux-clk@vger.kernel.org" CC: "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" Subject: RE: [PATCH] Revert "clk: imx: composite-8m: Add support to determine_rate" Thread-Topic: [PATCH] Revert "clk: imx: composite-8m: Add support to determine_rate" Thread-Index: AQHZdeCGmyhtR4qStEaNJuTFpNoNjK85sGqw Date: Mon, 24 Apr 2023 01:43:43 +0000 Message-ID: References: <20230423123828.1346511-1-aford173@gmail.com> In-Reply-To: <20230423123828.1346511-1-aford173@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DU0PR04MB9417:EE_|AM7PR04MB7141:EE_ x-ms-office365-filtering-correlation-id: 3ce8222f-a7e0-47df-a1dc-08db44655692 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: b4L2LDkkBsldH4ZoiyZKg1SD4WM6b2nD/tHIRbkK4YpGEaHj+1KW4tuhoCsArG/LqIOZ/vSoljn0Z2oaPWIoHP88oZTX2sGnj9Yhh6hdweFEZrEdWFnnvNjv358pw5f+BxlJSb21XlNiBM+54LkVdsp17EJ2b9ly+EbMGoK6TmbUAhpuBrltnYw2D0jRdwmAhnX0Y3pm9QBSE/5QbpYSnhyGLpJYWcetN/lDu3mRh/RwB9XRlLp3ErilexvijqITZfEvWMXxh3Nju8a4J+PExpsnfs3Y1XSGnZen6G1iJbFvQrv935ZWEkAbUS8LJvhz3vkPgbw5/aaUywU1ENoqonM0djB9JTmVdjkE9xsD7cOaUKkLDorNBQgmfp0sWZ9wsOkKuHHhKRDN+qp7mDzWFS/M4UiltJnOrlznNNzklOK2DtHQdAJQaX5dp9GwLDab5XujvFenYE30UOfFvO8iA99phWTTL6HjkhQ+fc2aIi72EZvrSSPjU5ZCwb61y4v8Xo3Dn4BLa8yDWu2rQUO5PFWjKPOdV5jhXRq5vTe6YOuxFVDjo6PetkuB12HvG7nKznlclOx1wyw3D/6Z1lZoUb2U8ATn0sPQcgHIV6lwnWEMxkh0/TKksg2kKx9aRYT2 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(39850400004)(376002)(346002)(136003)(366004)(451199021)(2906002)(7696005)(71200400001)(55016003)(9686003)(6506007)(26005)(186003)(76116006)(66946007)(66556008)(66476007)(66446008)(64756008)(8676002)(8936002)(316002)(41300700001)(4326008)(478600001)(44832011)(5660300002)(52536014)(7416002)(54906003)(110136005)(38070700005)(38100700002)(122000001)(86362001)(33656002)(83380400001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+2gJmC7e1VbpjQu0YBQQuKbD447XMbLwfZIxZwK3agPhsM/V8tHQgpxEiMoE?= =?us-ascii?Q?PPUbdZxkKBoWF5y5D6IKcW8BImGGd5h39yPm6SuC+mVBmVT+N0kVKLx1igu3?= =?us-ascii?Q?Lq9dkIdGQbZfdcFJPbyPjO41/mkF+t++haeyLGnk0azAn8Fe++znLz5JZYcC?= =?us-ascii?Q?+nlTLjMG2AGrzCLYk4U3yBp0Qf94SBuGOVfoPfYAmiXILKDTOZboJWlGOd61?= =?us-ascii?Q?Dybs8S5mWqzL9WS1rjkT/hZ/Hy6rD2X20Sw5h5G5NpEuyI1Uqdg2FXkxWEly?= =?us-ascii?Q?/J0fNAITio686oyA2N94O35Rvv5T5diqlQuB9H8IZ1qxsGIOIwxBVC97Ojm6?= =?us-ascii?Q?LCqd+SbVQhShCTczN3RRZwvo4LwlN0lk5s9PTyvqorL2zjOhjlP+Srp9twRN?= =?us-ascii?Q?TPX4KTzStXcvostDtA3luwZZZuDBhCHYjmnqlTefvDbtvLORrdtTEIvSU3AI?= =?us-ascii?Q?xZYOgWZElnqZZBXWk9aWXYG4tyzztbo1HYanFI6efddjqebPqNbGsaQbiMDv?= =?us-ascii?Q?0xNo+23jeC1Iudijs4w9t99zTbcXe2F2fDo/Wuq8wbGBqDb7ObvLSbJMza8Q?= =?us-ascii?Q?vakVt9N+dnJ1apvb1azuE+YQUtVSEcogKNn+hATwK/viZlS1GaFq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XraOZdn78Qek4aEdTX5I9kFUeRB0Hb?= =?us-ascii?Q?ewRtP3igtfNyjRY9UVM=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3ce8222f-a7e0-47df-a1dc-08db44655692 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Apr 2023 01:43:43.7542 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 9XrFdfGupSYfpWeIHnmz1secGDh9zq7dO1OVkuGE7IHs2l1UABE1S0rX4pxSJW1BckM1YtlrKD/tJJkFwrCDVg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7141 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 > Subject: [PATCH] Revert "clk: imx: composite-8m: Add support to > determine_rate" >=20 > This reverts commit 156e96ff2172518b6f83e97d8f11f677bc668e22. >=20 > 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 t= han > 8. This causes video failures on disp1_pix and disp2_pix clocks. >=20 > Until a better solution is found, we'll have to revert this. >=20 > Signed-off-by: Adam Ford Indeed we already see issue in NXP local CI with the previous patch. Acked-by: Peng Fan >=20 > 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; > } >=20 > -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, > }; >=20 > static u8 imx8m_clk_composite_mux_get_parent(struct clk_hw *hw) > -- > 2.39.2