Message ID | 20240929172743.1758292-6-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBHE4423QMGQEBYJ6RJI@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id ED4283FA24 for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 29 Sep 2024 19:27:56 +0200 (CEST) Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-42cb6ed7f9dsf36350595e9.3 for <linux-amarula@patchwork.amarulasolutions.com>; Sun, 29 Sep 2024 10:27:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1727630876; cv=pass; d=google.com; s=arc-20240605; b=g6li2PmGaTy9o+mQOSgd2oP633X7OCACKDtpU1LAeic1BNmQRmZKn8VoT/qkro4rSD qzdumZtmybeDOpfT5IvScFwrcoC1RhtuX0HUEnL7Q3tfxe6Rjdnnc7f6aiye23IkhsyL zeK4lAVt41CSGd+1IHj9DmagbfYG410C5XoJL7hYUp1IpwTE2Y19nVfyFT03/678v1C9 kl0r4Qjnhjkmz2+DTxvU1G5TP1Nm4+d9NOo09bRXFZj3v1d73jMZy/Yd7FfBiAiWGPV1 4Sq4MPOZgzZS9GFp82XZSNYzwYHticNmZfkLTBk6kQfJ9JrO+GPpEq8Opp1muVS2XD5B rhzg== 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=TMc6idWCwYsdkWVpvdqJO5S0odDJpt4d5aF8jZIuk8M=; fh=+nqT0WkNEQvmZRe3HEcv5M5+kagRyIrj7tO5fAlLatw=; b=KLKx8KOpGaAaIBM9KxzS9bIdU6uKj6qbwydxv61juPNHq4NoZ+s0aj4ebBJz4IUT42 pa0X3Otdtjf+zGfvn/vvpXyekvtjG18bHv1DDCBRYqGdIHw0P8ih65g9mhwPIQc+OnoE Z6Q7LukPex81j15ZEmhUOhfhgS6ZpjCAWmK496+sBB/tqMrEcsM3PV4rhVam5Er//maL RXEZpW9h1L9rQSVeq6uxEy9drphgS5gO7W3bLhHuidQOnP5/xfaxNA3k9quOkVSkQ6OL E4h1rms+/7Hq5Op25UScWj0STlotZeOStXHXhTu5VCV3hPDy5iXThEsktaIBIAU5AApj 7zKg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oGvHQisl; 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=1727630876; x=1728235676; 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=TMc6idWCwYsdkWVpvdqJO5S0odDJpt4d5aF8jZIuk8M=; b=aZ2ypzWzSucmLRMLX45GBd55C1vTiegzoMHidwM55w3cXtUa3CjSYwOarMaJnNphL5 DZuJ72+Xz2FpvSGJeUTCuuO0pFGOZWJarS+3ltI1Ine3Wgnk+i6ZVbhaOEGWM+EWELPj 90zaCr9cCbeGEWEnMtFbFay3I9CoW7fZ40lIU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727630876; x=1728235676; 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=TMc6idWCwYsdkWVpvdqJO5S0odDJpt4d5aF8jZIuk8M=; b=fxEx7ax2esMvhgmlW0SjTBT34B49cH8kwe+ohhSRhuq4/FLkhiVgZIucO14VJFb7a5 +8MUMT9tOfHuAoQi5GnHn+iMz9wS0pp1Zf88XshmX4p0F+655pfer2JFu9WB12lNDQw1 hhj8sV0o7ZXdkqMUmaJ+3KXXIjqi3pyec61kArLXRKrxqMMTsi+aYHOcFUBYcejEyImj MDWem1ohNQ+AeFj7yGn/U6rhLvO5V5C8VViRjWjLCbVLACRID0t5YGoaXrt7fUnHCvKn YszWVEI5wEmd8mG9eVG8EOXCixn2CCDFoLXPwz9SH4Kcft76y7hemOYiAlb7unEOxR2r rgLw== X-Forwarded-Encrypted: i=2; AJvYcCXjZPdEibCtCqt/m173HsNxW9F8e9AYjRNqKZKyd34YUBtoqZ7G047OJHcBh82ocwItSBFRi4N1fbfTHG22@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YwrmWiHZsabGPIIwi9xHVHHH6i8ug38C3O7r1c7op33AQq21DV4 agxutzkDggAXV6c+dExrRP/WYpKjQ8h0tA3q6+q6P5Xw+hrn1YTHL2SF1yifJXYoSw== X-Google-Smtp-Source: AGHT+IGAYOCELRuG4tTFpwB3q447Wm7mCQwKEpm0WkXHiETcQeJ0BaM9V3wuYm8n2LFo3yGstSxPBQ== X-Received: by 2002:a05:600c:1988:b0:42c:bbd5:727b with SMTP id 5b1f17b1804b1-42f5849772dmr107733555e9.25.1727630876434; Sun, 29 Sep 2024 10:27:56 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a5d:6889:0:b0:376:46c1:d33f with SMTP id ffacd0b85a97d-37ccdb8dd28ls718041f8f.2.-pod-prod-05-eu; Sun, 29 Sep 2024 10:27:55 -0700 (PDT) X-Received: by 2002:a05:6000:1146:b0:37c:cc4b:d1d6 with SMTP id ffacd0b85a97d-37cd5aa61e7mr8088742f8f.27.1727630874848; Sun, 29 Sep 2024 10:27:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727630874; cv=none; d=google.com; s=arc-20240605; b=WbgYy3x7PbmSWyk+pQ91FpHlfvrx41VyQ4neWMRfqlRGb4BZSZLUcp43N7RhfI5Bxc djtvWXbHpmuXHCLd3X7OxzFEABGeKftqYZB5r2MOxi2rTboOtNLKj18eH+XI68+z1/De cU6t+2CzZqhPucdKCytgDggVcB5Bp9viulK53LZVEEpnWm2jlPtoqwSpUURL/525HFrm tsc+SH2NhO2GjmBAh76qqCbEVtSqQyX8EM+Cttp8seScWtkdXlDP3r8Lw0+80VvTdUAK p4nG0fRVDWOtB2r1hhchPHfITaUug7AgCIid/vO0XLKmzdG+VeDWDAKNBTKGGwGgTG8P L7Pw== 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=2RymkxnNQTDpNcXN6Qg1uYxhHB5JeOGRw/tDAC3s4FE=; fh=u/u80m6tBSaxW7VWG5AQatIbYzkIAnRGhZp/RTASK5o=; b=NrS/A8kywbAOVAQ72VeGOR1l5e48GOjVig+OIda6HUxfJOSrXUKpoTMUobZlt10vp/ 9du/oIoezVF6Tmxtiv/gFkAvXjbqcGCYOxG75LrY/FNMUNzKUQDAYKYG4pUE7/eMiUES 3+Fimm3hZpgbY6cMT/XOar4XtJGXcMFZRQY0KTl5UAGBP2q2UfCuMXe3IswUoxNPbsa0 LhQnDzkRW+JMkOkSFoe4+4cit4RAoSaeI5RwgXBmtuEc0OpVXuaFAu2d4sVvQq/nOPzt dF6yLJEO4+n5UEji0ENgYLCmlt8G4BiwEaboFk1oiG2nj5mREhubQCMP8lYDvRKhNcYm vgHQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=oGvHQisl; 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 ffacd0b85a97d-37cd5639492sor1982640f8f.2.2024.09.29.10.27.54 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Sun, 29 Sep 2024 10:27:54 -0700 (PDT) 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-Received: by 2002:a5d:6886:0:b0:37c:cfa4:d998 with SMTP id ffacd0b85a97d-37cd5b1515amr8217224f8f.49.1727630874386; Sun, 29 Sep 2024 10:27:54 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-54-102-102.retail.telecomitalia.it. [79.54.102.102]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c27776a1sm403176866b.8.2024.09.29.10.27.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Sep 2024 10:27:53 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Abel Vesa <abelvesa@kernel.org>, Fabio Estevam <festevam@gmail.com>, Michael Turquette <mturquette@baylibre.com>, Peng Fan <peng.fan@nxp.com>, Pengutronix Kernel Team <kernel@pengutronix.de>, Sascha Hauer <s.hauer@pengutronix.de>, Shawn Guo <shawnguo@kernel.org>, Stephen Boyd <sboyd@kernel.org>, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH v2 5/6] clk: imx8mp: don't lose the anatop device node Date: Sun, 29 Sep 2024 19:27:15 +0200 Message-ID: <20240929172743.1758292-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240929172743.1758292-1-dario.binacchi@amarulasolutions.com> References: <20240929172743.1758292-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=oGvHQisl; 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: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c index 516dbd170c8a..b2778958a572 100644 --- a/drivers/clk/imx/clk-imx8mp.c +++ b/drivers/clk/imx/clk-imx8mp.c @@ -408,13 +408,13 @@ static struct clk_hw_onecell_data *clk_hw_data; static int imx8mp_clocks_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; - struct device_node *np; + struct device_node *np, *anatop_np; void __iomem *anatop_base, *ccm_base; int err; - np = of_find_compatible_node(NULL, NULL, "fsl,imx8mp-anatop"); - anatop_base = devm_of_iomap(dev, np, 0, NULL); - of_node_put(np); + anatop_np = of_find_compatible_node(NULL, NULL, "fsl,imx8mp-anatop"); + anatop_base = devm_of_iomap(dev, anatop_np, 0, NULL); + of_node_put(anatop_np); if (WARN_ON(IS_ERR(anatop_base))) return PTR_ERR(anatop_base);
Setting the "clk" (clock-controller@30380000) device node caused the reference to the "anatop" (clock-controller@30360000) device node to be lost. This patch, similar to what was already done for the base address, now distinguishes between the "anatop" device node and the "clk" device node. This change is preparatory for future developments. Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- (no changes since v1) drivers/clk/imx/clk-imx8mp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)