Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3610083rdh; Mon, 27 Nov 2023 20:54:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IGEipAKq8xPEt7xQpGioLVnl4uGgGgcjarqSFF2ODsnpLyAuHkxdErl6vTIn69/7nWNS7Ju X-Received: by 2002:a17:902:d50d:b0:1cf:c3f7:7d51 with SMTP id b13-20020a170902d50d00b001cfc3f77d51mr9299726plg.49.1701147294311; Mon, 27 Nov 2023 20:54:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701147294; cv=none; d=google.com; s=arc-20160816; b=U4+pubMRGvpCAI85+AfG6WbKRkltScsOf8wQ+nA+YoQcZI+j15Y2vQD5GNDgGRZib9 K+GGV+jTL0CiHakA5uuU/obTTJvIKNbNQc5rmagUS+WSBRx/vFhl5HHX6/cv3dI5Z9rd GPABEclqoM19r6z11jSZAguodITcOXuIMuaK0KYHO+GpzvhfyvE3rT8NpCAxf8lReEXb zZciMvi2YVZm46HAcYmpvGvL6RahLocpbmU1ZBwS9LLGShK4lFKW+AmuNf2cgSEv/1qL wzCdB5RQYn6eLPu3H3cwqnXUw+BXA4zeX8UvhMOkKEp672V6UI3ScH2C/ZVNwspNBkVc gh9Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=b55s7y8g8GjEWWisOWcT6dnxOgGgxH8qO5b8KhVk6qE=; fh=tUzw7UQgGhEQOtLRaMsrdtE+RLk8Yeyavv+daiYMc1s=; b=C2ZUTh/5I6tyNn9eYD/pMtZW2tyL6Unll8ErPrk4c5EMQl1q8p0RoPaEWgkz4Inuiz 1qHBaF/7wBqYjuUGZVcTQKvbAwItabC+aiYHEw0GDMZOyPho7UoTNnRP7LCvOxzK4WZD 36eR8c13kXHzmq9wcmRzPykFfWu7mf/NVcwmfV7+mwk4lK0lFZ1T1L1G7UzGlM/oOmPV nCOINuY21VgypkUuCWW24vNvTzQ+qPv8dqxEI6NqWEwq6pMXvIT9UUTgXCexZnP0pLcT jl6JdNoTOPDEButApjk+WcyxhBtN27niMovgFHzabhbJkR2lCcQWYWV4oyIM0dXqCInw sRKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GVY81iCX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id b11-20020a170902b60b00b001cfb5505bddsi6308816pls.564.2023.11.27.20.54.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 20:54:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GVY81iCX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 43674824E78C; Mon, 27 Nov 2023 20:54:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234499AbjK1EyY (ORCPT + 99 others); Mon, 27 Nov 2023 23:54:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229789AbjK1EyX (ORCPT ); Mon, 27 Nov 2023 23:54:23 -0500 Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 696CF1A1; Mon, 27 Nov 2023 20:54:29 -0800 (PST) Received: by mail-il1-x12e.google.com with SMTP id e9e14a558f8ab-35c86914439so13388925ab.2; Mon, 27 Nov 2023 20:54:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701147269; x=1701752069; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=b55s7y8g8GjEWWisOWcT6dnxOgGgxH8qO5b8KhVk6qE=; b=GVY81iCXMqx6LipJB+sU/TTO1niIQxThAp13xYdYP/oxxrpzXG8PSEmYwf2QouYcnE iQKnh74CobYVEm1qmnFue9JdRh1VEl6vup7EOyE9dxa3Qqney+3svFxgN89YfC59Sfsx jJngwC8egMI0nppCzjOU2AZId1uU9gorI8xfqYk7hABcmYZBqDr5gl71mL3nSc3Qcxji PnPzx8WCxPeEiSuzwj3VTbvZZDiv+uFVmaC4hr7P5gaLEkRU+EAsM5bz3DxtchzW+qx4 y622yKUNN0g+lOXzdAsWCt/Z3RutEeDWrkwttKeUyn12e+odCM4RralwQcnUnK+yxQKE HnIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701147269; x=1701752069; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=b55s7y8g8GjEWWisOWcT6dnxOgGgxH8qO5b8KhVk6qE=; b=EG8Nnc6S8XcRWlR2li8cGolcDYdLak9QjLpoyelDtWrg7R1hEZoxvfzD8Tw7P/d4/a XSJ/BvUUnathKZxFiqYNt6TnHERKyuYd3bjRKLXNzyuf5rQ4P0VoWh7+d30ZZy6B2VQV TK260LgQm2DSJnvkXErzV5Wi+pWad18S3qmIbCEZPUE5xnQOfi6L+TMzDmgERiKy/mdp RgSVCylGATNiDe0VFCD2mfUKu2k/tGaSPJ5Z+luvjvq4m6Ggmv91+B7PfSplcQRJjHDl UlZlvV2/6vgp7tghhLIXmGde8mQNh/cF218aEYoY+BWEqHI6GRwhknIA83Z5c2L08Lo0 KUKw== X-Gm-Message-State: AOJu0YxjO/wvZSRvF2y9Ck7ue2Na7kmVJVcsoVYHKNRftfHjM3We2UWc 5i+kK1sLJkIjdC+oIQYNMPk= X-Received: by 2002:a05:6e02:152e:b0:35c:b333:a853 with SMTP id i14-20020a056e02152e00b0035cb333a853mr8868900ilu.23.1701147268665; Mon, 27 Nov 2023 20:54:28 -0800 (PST) Received: from aford-System-Version.lan ([2601:447:d002:5be:5d62:b359:8b5c:90ac]) by smtp.gmail.com with ESMTPSA id bo33-20020a056e02342100b0035b0b05189bsm3357251ilb.38.2023.11.27.20.54.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 20:54:28 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembeded.com, Adam Ford , 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 Subject: [PATCH 1/3] arm64: dts: imx8mm: Simplify mipi_dsi clocks Date: Mon, 27 Nov 2023 22:54:13 -0600 Message-Id: <20231128045415.210682-1-aford173@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 howler.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 (howler.vger.email [0.0.0.0]); Mon, 27 Nov 2023 20:54:51 -0800 (PST) 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"; -- 2.40.1