From patchwork Fri Dec 27 16:56:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3752 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 1C21843434 for ; Fri, 27 Dec 2024 17:57:48 +0100 (CET) Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-aa66bc3b46dsf587322566b.3 for ; Fri, 27 Dec 2024 08:57:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1735318668; cv=pass; d=google.com; s=arc-20240605; b=IrjjiJeYGpNKQwvz8n2Ibg5cdsv3diV8lueED7wYCf/v/oZrXvp8UvbibEZlQwDc7x ILjYalf22kPVvc53TFckcPUOj0eDEKHcAp1i0/IZttJ3iUmSf307Ui9EqsgassrvFXSq GP14vH2vhdPEh4oaoWF2mHClE5ysDiAMZY661LrtzBsgs/Ac4/0ltOXgz0wu4Sbw4itz CkAw8VbHk5nIyvMbqcby9lTG97qUrjIPtKzggvYOh70vQ5KgySSWymAxJpUE43SK8zCH 7zVZe/vsg1ljV4Y65QPgo8raC3FLUb1hw51UNxmolJkTIWaBopkAAtXNsC7JkSjDkD2Q BOgw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Q2vNKHdwyFkk9n93s5y+t+ND7fpIcj6VLbROFlB4lus=; fh=2C065IUe2Q2w9e17lOgLsFWvieW+UqYZ9oPqS5r4rh8=; b=NCgYwH0ys4uLz3tnvZS/Nq1+gXFEg8d9pwdtCERvU0Hq1HpSKa+w46n9C9Wb0sZOG/ 0KyZ4Ez04F0vNG3tEaXk8lNz1d9hzGDWNtEL/BlwhDw3iDKj8krhhCdS1t7cihcReROB ub05UnAtlztDp1uddW9mwznIWzRWHMgwneklR3r3WZFk2pOM8aYtLvGSCCaXADa/lTZG LPmUvbSXX3yIE/LM1Bxd9AdZ4/TEsgMn9DA5je7wqTIDYsM1QQbMRpepAx9c8qngOPOo 4+q+lJ/QsDgxuvAKuh1XIgv5hsTnhZQ8aw664uBoJSPWf+1x5aXfQFtpFdu2zEhlxkbS bnOQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=P+b+ZXYs; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1735318668; x=1735923468; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Q2vNKHdwyFkk9n93s5y+t+ND7fpIcj6VLbROFlB4lus=; b=Vpia+hjHB6DG2p2LPLF/HpyWq/Ujapkl2FSJdavqY1B+otwaJVRxL5sh8Ku7UJKBuh ERlAiwzbL2cWtBMbfPkOOOYxoy3mT8AbA6jdH0g4aDuYmzl24dwXGgxRT+HhD5d92eR4 7KnP/QqaSwE/kEVtIUNicg1DKZzWt+sEmbeg0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735318668; x=1735923468; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Q2vNKHdwyFkk9n93s5y+t+ND7fpIcj6VLbROFlB4lus=; b=cwqw+u3SyE8jTA/Hrx8VXyYmbhYL3yxxHZj6o0V1xx5AvIwLMTYIzy6xeDFOZsHQJH 4tAOrYlL32HKcXE0FLOM5wLFnFCtPNKTUkSZbqypc8UVxnH9ywUCDm8kXUPS4ng62FMK PZ5Z58iOkaK+FTODHIZ95cmPM8PsyjzrOnm8XqEr7eJkYCq2HuzcGWd7xgFYeuvxtgRF Khp93YRb+tZ+v37XubGVv0O/IXz6lVlJaySQiM2D7KqF7qKbF3LDZVA+jFq0dvpRHaZ4 wSS9qzqzNyqZgQrZROlq56106RXJmDueh9GQt4bh0g5ox8zJfRyKciNSNuIu6aYtLZrD q5Cw== X-Forwarded-Encrypted: i=2; AJvYcCXrMMwl8TtxLzbLWqm0+nxv7VUuAvIo0H3rcJwdFSQ18cdZgGINUiSbd6IiSbjkcogOFOVMuzUEUiw7VS7O@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yz/N45QWMJaBpW68z1xKw7FrqMLlxBk0zFvXAb2t3zMg7mSTyum CdH4QBlLlZVlNP9u4VhZlmHVP979KcJDRRCkNJi0B9aCroBDLS39PPpvzcPZ0NshHg== X-Google-Smtp-Source: AGHT+IEJ5vqgYjCaC1MUqM4FngnHufT/vmc7h3yya1MzpRy7Ur6BLX1l3SDMGjyTQ5FagYWzvKFiQA== X-Received: by 2002:a05:6402:26cf:b0:5d0:abb8:7a3 with SMTP id 4fb4d7f45d1cf-5d81dd84692mr52825942a12.6.1735318667784; Fri, 27 Dec 2024 08:57:47 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a50:9b1b:0:b0:5d3:d2b9:4c4 with SMTP id 4fb4d7f45d1cf-5d87541d0e5ls731987a12.0.-pod-prod-05-eu; Fri, 27 Dec 2024 08:57:46 -0800 (PST) X-Received: by 2002:a05:6402:1588:b0:5d3:ba42:e9e3 with SMTP id 4fb4d7f45d1cf-5d81dd9ce81mr66253936a12.13.1735318665980; Fri, 27 Dec 2024 08:57:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735318665; cv=none; d=google.com; s=arc-20240605; b=YHWHYFLAxyIjRDws0lhcDSAo1dXyZ5puFNBg+9Ha5JrhL13IR+tENsHEVUbxegNk7v vocn3YNt2l2DW0MOXPQ7X+42t+fn1fUOK0i/E+Xwv8+MUA0mdhsmEerqU33DBMhn64h2 N/SXZSFbOCCHHnn0Ie0QWPIsWBSqGeLSZ5Cdyffq4pKamyvNYxjj9cr4awGA5AIg5M1O 11lJdpNJ3yF+VqVcbcULW2dznldIL2+iFQzWgT+RzkghHUBOPqfcAdUm/PgzFJjbGmDJ gBejxHHEOQEOJXsnGKflNg2vJEBplBbfrlWgfmt/pi6So2V1L5PSXZ7sBhBJfE/iNrDI hjUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=z/Q5xeJIoq5Ujssv/lVVpXyTtV/F6QlZNcPSL4YMIqE=; fh=dPbWyBD+RmcSeEATCohILyjlUcT331LypOkiCDKcKC0=; b=e+K0s8XZZXAIvzeY+qNZTNRff2m2a6NuWm/mQxclzoFGMWqllxBNtQWViPVqjHOL2A d0ClLDPbfAbQGGruRIdSZPJ/mZysNzE7YI2XXE5znitxHBbM4JGeAacH+ncAVZMGOR4O AaF83gMlREOeNMkakLqj60IsKhSBRnEW/Wo4werYEceMEcaaewYPVNp+lh0Hfx/euAxi xNCqlSXhaxuCiTYIoLUk+5eaXyUWOpqYCF4cWJchr5o4mc2U951y5JEUFWNGz0YZWj6C pkCQmoGklWElAYLsReUrmEg0MSAbL3F5k5LTxTSOdmCuj2H0RZtdYFkKBqUqWKgnGRH+ 8kHA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=P+b+ZXYs; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 4fb4d7f45d1cf-5d80675a6ffsor5700262a12.2.2024.12.27.08.57.45 for (Google Transport Security); Fri, 27 Dec 2024 08:57:45 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Gm-Gg: ASbGncuWNGKPEyh0cIaDbrUXa8qJ2hoG9pCFvkIt1JMFcRTNQYA1FhtMV+6qLXxDgTe cqnjo6PymyssKKG83cNir3HEKr/vdfPDhlYwRdkmlN05e2RsEIvjXD88NC+tMYzlkQgiBj9zkHG aZ5KvXFSKRiBDRiSqzT/+S3gq3/7yPbRiwooG7Qc7UPnmyKgeZjo79Z0RtmMglM7ar95OmE/ttp l+8e2zXxn/ZVT30WJ7VLX0pHroErEJ5dFoFD/Atx1S84eBSvOXCB+IKvZmgnlXhbKT5jFuqaPIG KfCZ9HefwgMpJ14XP/0YgQ== X-Received: by 2002:a05:6402:2802:b0:5d3:cff5:635e with SMTP id 4fb4d7f45d1cf-5d81de065b8mr63355995a12.26.1735318665532; Fri, 27 Dec 2024 08:57:45 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.. ([2.196.43.175]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0f0159f1sm1130097266b.154.2024.12.27.08.57.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Dec 2024 08:57:45 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH v7 13/23] arm64: dts: imx8mp: add phandle to anatop within CCM Date: Fri, 27 Dec 2024 17:56:16 +0100 Message-ID: <20241227165719.3902388-14-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241227165719.3902388-1-dario.binacchi@amarulasolutions.com> References: <20241227165719.3902388-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=P+b+ZXYs; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add the phandle to the anatop node within the CCM node. This makes explicit the dependency of CCM on anatop for generating the clocks for the on-chip peripherals. With this change, it will also be possible to generalize the CCM driver code, as it will no longer need the platform's compatible string to retrieve the anatop device node. Signed-off-by: Dario Binacchi --- Changes in v7: - New arch/arm64/boot/dts/freescale/imx8mp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 0b928e173f29..a1872b5d6e2e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -754,6 +754,7 @@ clk: clock-controller@30380000 { <&clk_ext3>, <&clk_ext4>; clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2", "clk_ext3", "clk_ext4"; + fsl,anatop = <&anatop>; assigned-clocks = <&clk IMX8MP_CLK_A53_SRC>, <&clk IMX8MP_CLK_A53_CORE>, <&clk IMX8MP_CLK_NOC>,