Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp402200rdb; Thu, 30 Nov 2023 07:47:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IEeVNX/V3MEij6NWacmVhP3TCAU70NS+q+XAZPEKZ7fJ077woMrmTaNI22M5TePj0KUhNq3 X-Received: by 2002:a05:6a00:6c8c:b0:6cd:e101:9db with SMTP id jc12-20020a056a006c8c00b006cde10109dbmr4304100pfb.7.1701359226505; Thu, 30 Nov 2023 07:47:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701359226; cv=pass; d=google.com; s=arc-20160816; b=oaSSXxuWUasLGghiTKxdyiabKimOxZVDVxiqNowBsgod6pFLTSjt2Q3+aMq+7UdMc5 35Se6T1LrSTviAuu2bjx5hcjB3d+DFDbzQV3eewnuboRMuashpzDckLj397uvnFYub1x yWee8haZiCeRsqdHWnFiI1UJd4AUjiS6aXoOWp+ns32/X2USrexVJPGRq9tchf3PU853 KPdX72tB+xouRgQB32hv90iyQFAXhMnYsVHMYZkiUxeHozpn2w+Rp9blJ41Jsj+RIpl7 io44Dm8iaCNKQ0yAeP7rOedBOQYAa01zKtxMvJf6MDTK7kDWPv4LAcljpOq9AfYf6kef ClBg== 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 :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=6YcuAq2WvQmS9ZkLIuLHULHgYCyA7CKzq/M6gsaoJLM=; fh=43k2dwgoOael0os/8SR/Y5dznoXWXgq2unBziiWAN/0=; b=DAWsXWYBYfPR+YCHTn1NHbPifBKWGEYQbNSZJWSRRQPTMJuvYxAHHeV14LvXOW9Gmu MEH3QiYgwfRreDWK7YglAgbpV1dCyhB2DfWt/kHU9UASR7EX/QMK7Vpvj1ORyGVlELEC E+NgjL2PWtzGu5TgmrO3xLv4sooWqFdIsZuKxs5XchPiimgKIoRLBuUfaLOF9XknQssK YwY/jVIkt27hbxtjzYmDNTczei75h59tAAtwJBadmdKlLcAYfDhHPCfUYfr2W5U7EsAv 5uU4aHfb51TLdIgcUlPajoaakl6P9sAk2jvFvgYYjsNxK73UlT2qEMsV8/0XMLhaIvby pi+Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mysnt.onmicrosoft.com header.s=selector2-mysnt-onmicrosoft-com header.b=o77cx4Os; arc=pass (i=1 spf=pass spfdomain=kontron.de dkim=pass dkdomain=kontron.de dmarc=pass fromdomain=kontron.de); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id bn7-20020a056a02030700b005c202446846si1727313pgb.510.2023.11.30.07.47.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 07:47:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@mysnt.onmicrosoft.com header.s=selector2-mysnt-onmicrosoft-com header.b=o77cx4Os; arc=pass (i=1 spf=pass spfdomain=kontron.de dkim=pass dkdomain=kontron.de dmarc=pass fromdomain=kontron.de); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7ACDE80267DC; Thu, 30 Nov 2023 07:47:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346388AbjK3Pqv (ORCPT + 99 others); Thu, 30 Nov 2023 10:46:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232208AbjK3Pqs (ORCPT ); Thu, 30 Nov 2023 10:46:48 -0500 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2109.outbound.protection.outlook.com [40.107.8.109]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 541BD83; Thu, 30 Nov 2023 07:46:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XqbSlXZj56BYzGkeYWdveBcWFuj+m5M3ynz4wPFco6gWSNU4Ki7X4U5CGg1z0Gtw5xLEqFEUV0VuSL9HWyOrBc8d+fhur1VB3PtHZmrlW4dZHZYiZwBuOMfztEPnCjf1e1UP7R52OktNKTLfPNomWr4w2BzJIIobQW4sUta5rrR2OFJqVkmmEUwIFpN2CEpFPSY78eeFed3rxueS/XB0zkUP12mJZ7HE2dYi1y3dvaUs21m5iwTBMDjlkKwytGi86yx2XlY1eD04hXFe7CNuOnJ+jI/U8BNDl4wSIjexmhovn0OCfMWME5en9gGoLGOAsHui+2EnIAcXhhU7pC7atg== 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=6YcuAq2WvQmS9ZkLIuLHULHgYCyA7CKzq/M6gsaoJLM=; b=dCxi/ZlOfWg3GQZsfYctek0/rz49hogDc87ZD2kWpeGeX/LgGCMCaEmHf1eC3arf9TzQf8IoF/PvKoXT9KMJB0WPzI4QJHJU30QbDETLw/3wUuurJrE/8YUNW24AwGmKD9fQ9s3r41Sa43aReVL0PHmc500HdEHg09p5i9qmKfNB+YPjfdOWIUmcXy2Zy5m7Ly3FATtBQDrEzxJZsnD3tuKaDtJkQr4TNkTIYiuOCSH5GEESTKh7g25VTDu0j9tEeBoTixfvVWgEY153xSDfcAjmaQ/thEgOVpyL/I7wiXN2m+FLPYpJRlybVNkoT2lMHF79RW5RE+qqlU5aqkDSgA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=kontron.de; dmarc=pass action=none header.from=kontron.de; dkim=pass header.d=kontron.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mysnt.onmicrosoft.com; s=selector2-mysnt-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6YcuAq2WvQmS9ZkLIuLHULHgYCyA7CKzq/M6gsaoJLM=; b=o77cx4Os7Sv/xircl8u8ip45pA3tmYR6drx1h9QIHEAS/lM/UgrwzamicVguiJekN13DQnx+rlV2vTo8NzWe6N7h+iHsQNObi1Ns6kAU0IVqYouFn1NtEVPtM/fzYQTq7Mt+iNaBiWOt5RQgLwqeYOI95BC6Hu8/jbchu4sA2Yk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=kontron.de; Received: from PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:263::10) by AM9PR10MB4069.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:1ff::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.24; Thu, 30 Nov 2023 15:46:51 +0000 Received: from PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM ([fe80::27ba:9922:8d12:7b3d]) by PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM ([fe80::27ba:9922:8d12:7b3d%5]) with mapi id 15.20.7046.024; Thu, 30 Nov 2023 15:46:51 +0000 Message-ID: <56f1239c-2ca6-488c-9894-8f876a3aecab@kontron.de> Date: Thu, 30 Nov 2023 16:46:50 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/3] arm64: dts: imx8mm: Slow default video_pll1 clock rate Content-Language: en-US, de-DE To: Adam Ford , linux-arm-kernel@lists.infradead.org Cc: aford@beaconembeded.com, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231128045415.210682-1-aford173@gmail.com> <20231128045415.210682-3-aford173@gmail.com> From: Frieder Schrempf In-Reply-To: <20231128045415.210682-3-aford173@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BE1P281CA0248.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:8b::10) To PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:263::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR10MB5681:EE_|AM9PR10MB4069:EE_ X-MS-Office365-Filtering-Correlation-Id: 50ceb359-5a6d-4326-1ee9-08dbf1bb922a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8l9I9vU6maWYj/yWjOvNYrDzNf6XEZq2lKmOKsSANlA92gUIOX88RM5U6sDhomSw2AsL1om5JWFrQZjsJp7iUpjL2Tr387tBpJ8/qTPlIzIbFOnboIyBCxuWgbrMUSrYjvK+4P16q27v80Mt2838AMIgT+eHZf8s+2RkiUp0b30I2KLxZAdNltHL6b5w19pnyBdMpLc5UMU28OxN/utZRxEYO+zVNl2O8tftHuBpCzzUMhviJ42CdhOSQ0Re+gDsWqqGXZpbV+BCphhbvLTV7vsriRg9XgPMVm8WQ9DDJ3997JPXo+y7Tk+yigdaBFFlAxmU0VFDVJnjRU7aQatp6xtCqJZ2Y8h1B30bfPHnLJAKqR7IwjtuA/vJzDcpiT4jzaHC/nJl2E/Vcq1u1dgPkctKrrViL9ecsPjcno1udt0L8a2NQJZf3Fv2dDi7A8q9S1PJdvyyvjN0cYS2uGCmlMIWl8NWIeiHQnG35HI3vo/gmVms/CJFQ3y7J47d3CugDmrSO7BrxHA6JTk10Z00BbZihxvdOQ1nK3a0HaU3v3CTRlrbyf1Ve0Gq0H+MkI+IS0zGy3gGOg9tYwAVhQ9Gnc7WUZKrNntW6k675IcbA/Xlu9FJisxJxPjq9k8np5P38Wiepeif5E6KxarPucxJL1HbOYUvxzlAD4g148TbTlc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(346002)(136003)(366004)(396003)(376002)(39860400002)(230922051799003)(64100799003)(186009)(451199024)(1800799012)(31686004)(86362001)(66946007)(54906003)(66476007)(38100700002)(36756003)(31696002)(26005)(6506007)(83380400001)(2616005)(6512007)(53546011)(2906002)(316002)(66556008)(6486002)(8676002)(5660300002)(44832011)(478600001)(41300700001)(4326008)(7416002)(8936002)(32563001)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NVMwVnBjTStqekNzM2UyTUZ1d3I1RjlpMnhWZDFibkNSNlJGTC93VXpGQWVS?= =?utf-8?B?b2IwQUxYdytjWFBONnRCTkFMSVZXdVBEL3podnNlbVg5OVlwU3VZdHJKc2ts?= =?utf-8?B?a3podmVGYU1HaTVFc04rN1dJRWF0b21IU2xvOGs2c3U2V3cwTUxKbnQ0RnUz?= =?utf-8?B?eFpuUzJWQjh4RGZScE5xRnZ5WjRycnQ4aU5SRkJkWndmKzJpUkRRMTg3c1BR?= =?utf-8?B?VzlDNE1ZK20vWm9CWUY4b1M5eUxrZkZtbGN2Qm55WGhYakJTSU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5SjM1b0pBNEoyR3dUSjhXcEZTWGl5RzZqUGN5QXNsRWJQQ09PZTNN?= =?utf-8?B?QytpM1BTMzQrS0djS2txUkszSFRWTTBOTGZmVGc0U0VqL3Bod0szejF1eU03?= =?utf-8?B?K0E9PQ==?= X-OriginatorOrg: kontron.de X-MS-Exchange-CrossTenant-Network-Message-Id: 50ceb359-5a6d-4326-1ee9-08dbf1bb922a X-MS-Exchange-CrossTenant-AuthSource: PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2023 15:46:51.7580 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8c9d3c97-3fd9-41c8-a2b1-646f3942daf1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2h8yTqxJKdw5U49dXIkFYGEljPGT/tLWr8JZknDmTId8y23tHe8Wz7tTqPVg84LwZssJjRMnjTMMa0+E88Es6UtGWOnlrB95Cu3qKAsKj/E= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR10MB4069 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 30 Nov 2023 07:47:05 -0800 (PST) On 28.11.23 05:54, Adam Ford wrote: > Since commit 8208181fe536 ("clk: imx: composite-8m: > Add imx8m_divider_determine_rate") the lcdif controller has > had the ability to set the lcdif_pixel rate which propagates > up the tree and sets the video_pll1 rate automatically. > > By setting this value low, it will force the recalculation of > video_pll1 to the lowest rate needed by lcdif instead of > dividing a larger clock down to the desired clock speed. This > has the advantage of being able to lower the video_pll1 rate > from 594MHz to 148.5MHz when operating at 1080p. It can go even > lower when operating at lower resolutions and refresh rates. > > Signed-off-by: Adam Ford > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > index a3dae114c20e..669fdd2c54e4 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > @@ -1131,7 +1131,7 @@ lcdif: lcdif@32e00000 { > assigned-clock-parents = <&clk IMX8MM_VIDEO_PLL1_OUT>, > <&clk IMX8MM_SYS_PLL2_1000M>, > <&clk IMX8MM_SYS_PLL1_800M>; > - assigned-clock-rates = <594000000>, <500000000>, <200000000>; > + assigned-clock-rates = <24000000>, <500000000>, <200000000>; > interrupts = ; > power-domains = <&disp_blk_ctrl IMX8MM_DISPBLK_PD_LCDIF>; > status = "disabled"; Thanks for the cleanup! Reviewed-by: Frieder Schrempf Tested-by: Frieder Schrempf # Kontron BL i.MX8MM