Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp399730rdb; Thu, 30 Nov 2023 07:43:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IEeOLX1ilCq9EFvGwOMKKAEcQEmf7DLliuxgi6vtcdr57ugYXxaYiDOI4kQsiWLziWVxiI4 X-Received: by 2002:a05:6a00:8083:b0:6cb:8abd:39ae with SMTP id eh3-20020a056a00808300b006cb8abd39aemr20428825pfb.30.1701358991390; Thu, 30 Nov 2023 07:43:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701358991; cv=pass; d=google.com; s=arc-20160816; b=kz1IVrdYE2F57XrUccKY+Uu8v7Gph6l49nHZ3kRcBUlgOrXDlJfW9/x3q0E5aDoEr6 5+y0XnyJVjMEVBuwJyWM5iwz8/HRtceVnp3IBVY3VS6iQCXVpHzQlmQ8lbMGslKIFg4/ VaGOzA0QLDqZytW3rX2LDD8RLPxDV0mmEuj0+ucGkbWPt4kyO+yWOTt8fRiCH0Mbv/Vl V1qplQQT2Ym4KxIs79+NRw4CQTfLh0y6kCMneyG3jiOjl0qLo1ShQAJkzVWS48BdwRho UmDdlLIjyUUUTcuRbKV1K1FXKefjOhGzJfeqFJnJFzsX3EzIpXqBM1rGZXy1L8UPoUKE O3rw== 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=co+chC5/TUuIsA0L/hFaWmMeMwsvcZDZsrd1SUdr/rw=; fh=43k2dwgoOael0os/8SR/Y5dznoXWXgq2unBziiWAN/0=; b=DYi7wzuLmG6wtnLuAGX/fUg9R8hpzVo7YBY5bQ0xji4TtSz+ShKNXLVKX2T4LXnHOh Jms1czdpek7+iKb0WGVf7mkzfr8IWHtaitFFPHH2WpoemjyxrY/nap2C5zPHGsWL6c4A J050AouYCxwgjJ63ARZtidGhbvURF6ROqD/0eC9VRSLtZoPGLm7nC1OFbLBO9fYL0wce vm0N2ZZgodzgd1jyC7YYlvd6pLUK+VvqK1YXgzevEMWeyE0VjOZFGKEmrerOqyv3dr7S FFO16GsndWcdWt9YaLjZx/Cqq+9Ekfp+NTu/MBh42NKwU8L4ZC7kAi034t7ltkm3DxjP drPg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mysnt.onmicrosoft.com header.s=selector2-mysnt-onmicrosoft-com header.b=c7xsAGI1; 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 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id s14-20020a65644e000000b005a1d8816535si1587776pgv.5.2023.11.30.07.43.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 07:43:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@mysnt.onmicrosoft.com header.s=selector2-mysnt-onmicrosoft-com header.b=c7xsAGI1; 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 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 0BF5A826EC14; Thu, 30 Nov 2023 07:43:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235202AbjK3Pmz (ORCPT + 99 others); Thu, 30 Nov 2023 10:42:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232256AbjK3Pmx (ORCPT ); Thu, 30 Nov 2023 10:42:53 -0500 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2114.outbound.protection.outlook.com [40.107.105.114]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A39710D5; Thu, 30 Nov 2023 07:42:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iP7KW+nDxT3KDTeqOo/NmmX5MAr2tbMwCKsSvmfKVAj/LrouSECpcq3KWqSz713f2t0CFNLCZ6MIXngyWD0OuM6TwY3gMoJe7wAH3tY8YQaBvUljNJ8b+14GYTqeEGY2GYErx+PBt4NPu+IkUQsABZnNU3xWcv+JVYHWt1ZjoDRc/Iz/n0hByT/0zHI6IawCj402G7RxxiDi7YIT5gfzoGgR4xTewzUyCFC9wBGZg2RC3plj6Gc5hRKIHlVDRi0UVXTL3Tgqk9rWt9Kw2ViIM34O+McrJ913t70AI3z3HMIHL1BodWyEvZBxlQ+0EfMG2JZDOxrIzPmcoDPxuvxb0g== 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=co+chC5/TUuIsA0L/hFaWmMeMwsvcZDZsrd1SUdr/rw=; b=AFLTXFqgttw0rIxVSaUW5bcmOij7qwjPDPYr6HXcgYQHN0pt7A5n2NgR7XlcUKwwNHV+FBvqPhcwvin4UvPw2aD4ZX0ot3n4/DYOHiR2fMQVT/exM90aFGbZAxZZUi/K08yEE8pZ2KIluupfGIsNB7LAtylO42lsZewPSPQeXxd/yab+s2SC1gGuO632k7O3KZPaSouKEI0yagIiq0UGmTTt6rOT1wYZRDhAka8SGLEmU2saNbn50u7QYaccE3ZdQcNg1lO8HfJFWSkzEXFbYfMWaS+keBCFbDHHOo6YpIiHRESRGreWUC7qTJgQs5mCc4a7wY05ZjSps3Nxg50vYw== 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=co+chC5/TUuIsA0L/hFaWmMeMwsvcZDZsrd1SUdr/rw=; b=c7xsAGI101TxoUHmBUIyNzGc1BOd/f8BB/Rk27JeOaligeAMbXNkjcc2NHReK+vjjEcyFg4hX9lU7v77I2s4SMqwC9MGi65erwoNI7DZlXmI4bbqZHBYFetVWZuqhXZPAuIXTyR6/onkyr5v4abdK5LX/F1FmcLKpnym54eLsFk= 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:42:57 +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:42:57 +0000 Message-ID: Date: Thu, 30 Nov 2023 16:42:53 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] arm64: dts: imx8mm: Simplify mipi_dsi clocks 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> From: Frieder Schrempf In-Reply-To: <20231128045415.210682-1-aford173@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BE1P281CA0086.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:78::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: fcfe6370-890d-43f0-2af0-08dbf1bb0634 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TOSqFIUEz69BhOry7IA+uXgX3uXk8CSgx+YeC4+9r/lkB7cF9kVAECTzHPhaeq269uMrwrlcQBhjh4ejvxfRJMH0Ln6EiSKbX/ZHrRQ5y/Q+I+kqxQALVVTLyfaStyeEczvw9rzoMf8LiN3fv2olshwiEmK8O6jK/+/uP8etpmMtiNUryDo6O/7aqNpvDIrRE9ENcF6yS2v3SlTblYGhuJvFRkYnN3p0lhaLX+nkWpYKN+60KJZ7uVoCRhLVYZEjDA4XC23KrNOjRtSARJURjj4q3FEvRcqOW9d7VI0YydNFhgRML8MSfVO43lAGDRaH8MB782O74+bwA9GdozEScsqsxguxA6K7IpfsDtbkoI2gY36wgJO1Thx9LIfHb+o43XvLbU1OyylkbkU7WE1tTUQmkubtVFCWVkNI8mWkJ4cW/gGoL2M5PL01kJfHSPN+5zujjvzRE0OU4pkl4VQ8LSQEqJr8iX9LjIVkOb4Blzz8eTeyp5XiRnt22kDbjx/Ho9yyoEtoqFnzi7jIoazlwUpvlvd98+hmgRnavcs9gYQgjDPrdG4AC5DCqIKC0FiD8aSYdrb4oE9bNijr7bW+hjNDNx5zXBR38DzD3y+W8eyeygjYEtkClIqls1WyLYYt+noICA3YDxTDTeExBs7hHdIv3zddzz1Qj5qBpjQkr/M= 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)(6666004)(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?U1M5UWhaU3BjVDJUMWdGOFIwYW1BRzZ0UzZvM0dEeVdpM1RQdVllaXg0RTc3?= =?utf-8?B?V3hVYlpJVXd4c0UxS0VHY3pUNTJpNFNnbllWR1VWZ1VJR2ZrTE00Z3gyMGFw?= =?utf-8?B?UHRoOHVKNkpENzhoa1p2OUVMaExEQ2Ixekp0Um5tSnB2WmIzNUxIUU9IRzJI?= =?utf-8?B?MHRERUNjb285eG1TWEt6R2FwNEhSa050akZ2bEh3WFlkcURod2VCUnA5UG9K?= =?utf-8?B?Q1pnWlFqNlc0cVhpRXNXYm01UHZVRm9DOE96RlhIYkR3bDBNUkF2dFFVMn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zQkZHQ2pNaW16VlZnbEVoYUFlZEliNnFEdjdBcHhm?= =?utf-8?B?Zk94b3M5NFk4dTRLSCtOZzhPVEY2aTlaaGw4REtpYWZBR1FVdWFJb2ZDL1RN?= =?utf-8?B?TkE9PQ==?= X-OriginatorOrg: kontron.de X-MS-Exchange-CrossTenant-Network-Message-Id: fcfe6370-890d-43f0-2af0-08dbf1bb0634 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:42:56.9632 (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: hNTlLegtJCdLBmjEG9536tH8RGhTPyHHePGyn7yy/2Lcj4rb5oAFtqvrPiZtMbZNZBKQHj51ofPXNruX0jlbvnZlfcfFdGkbBTBuk37iCvU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR10MB4069 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Thu, 30 Nov 2023 07:43:09 -0800 (PST) On 28.11.23 05:54, Adam Ford wrote: > The device tree clock structure for the mipi_dsi is > unnecessarily redundant. > > The default clock parent of IMX8MM_CLK_DSI_PHY_REF is > already IMX8MM_CLK_24M, so there is no need to set the > parent-child relationship between them. The default clock > rates for IMX8MM_SYS_PLL1_266M and IMX8MM_CLK_24M are > already defined to be 266MHz and 24MHz respectively, > so there is no need to define those clock rates. > > On i.MX8M[MNP] the samsung,pll-clock-frequency is not > necessary, because the driver will read it from sclk_mipi > which is also already set to 24MHz making it also > redundant. > > Signed-off-by: Adam Ford > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > index 738024baaa57..8d872568231d 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > @@ -1151,12 +1151,8 @@ mipi_dsi: dsi@32e10000 { > clocks = <&clk IMX8MM_CLK_DSI_CORE>, > <&clk IMX8MM_CLK_DSI_PHY_REF>; > clock-names = "bus_clk", "sclk_mipi"; > - assigned-clocks = <&clk IMX8MM_CLK_DSI_CORE>, > - <&clk IMX8MM_CLK_DSI_PHY_REF>; > - assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_266M>, > - <&clk IMX8MM_CLK_24M>; > - assigned-clock-rates = <266000000>, <24000000>; > - samsung,pll-clock-frequency = <24000000>; > + assigned-clocks = <&clk IMX8MM_CLK_DSI_CORE>; > + assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_266M>; > interrupts = ; > power-domains = <&disp_blk_ctrl IMX8MM_DISPBLK_PD_MIPI_DSI>; > status = "disabled"; Thanks for the cleanup! Reviewed-by: Frieder Schrempf Tested-by: Frieder Schrempf # Kontron BL i.MX8MM