Message ID | 20241106090549.3684963-8-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBDHDVS4QMGQEAHTBNMA@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 13FC13F14C for <linux-amarula@patchwork.amarulasolutions.com>; Wed, 6 Nov 2024 10:06:21 +0100 (CET) Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-5c94273656csf4391416a12.0 for <linux-amarula@patchwork.amarulasolutions.com>; Wed, 06 Nov 2024 01:06:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1730883981; cv=pass; d=google.com; s=arc-20240605; b=DDpu8s4k9iW8Tm8fsJN3ElkZk5ZTRZycMaGk04MrSyPdmRlLvHMjvw607zDw3ZnxPR mb7fdIspu/pxbBxkqZO+YMJgyT3GfTGFMPePM9kL4id/puNEMg7rIoA0IBVJjzNHYBsm 5JjCp56uYz2Q8v/d4eI3iZ5C2+Fd2MDtBDSXERqoNFyiAVi1Uwd6IsgMW5Y/93wh2yR1 9tbpY4/7Og94CITYQ+cZanOYqfR+kDQ1v95bNdF58tb1vzGkAow4Z/qUTqqHxzQCY3kq FSm6G0XxJa9iTd1N/JZIObCfJHDS0rk5+3/yWmZ+x7RVrVvOHREz3lG7Zo3UoADfRYfV EmEg== 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=8L9TSvzQBqb+luKbcqY+9sk+E3XCYMUOIt8MmwqsM9M=; b=agBEFvplyKOJb3SkSUjZLVt3eVBUXS76sTcI88GlYtEtCg6SOvY2HyTS6HUWqq9zNE qwKsIUCAfj2Rf9AO7C/vfN/nUbItCEDbRkYtKCP57TNMVTAX9uXriLpDmKrNmlwMOGZf 8jGr7TIT9Xx8ui9QYn+V/skyPxw8OfClAUk5iYVS7b2WxTYOWxyxbF8AFEZSxLZie6m4 Sc/spFg+PTezke9AA+Ck6yNH4JDirlxgSghua8PkjFnin6Ju5e5JsQTWKO9BKkTL3nlJ 7k72jjU4PrAAYBPRK3YJaojL2h6XumnwAhjp5H7esdBodvQILZ1Tsko35Xpuvy7Cd5fe Uung==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IyexGci7; 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=1730883981; x=1731488781; 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=ZbyYpcwelTULFzlMZsyOrexpQX4ciBiQ7ETjp4xm2Hdm4QUxKzyWVLTfgJhpP9TkAf KvnK+DOa4dRHTldqYBkpweMTQ3me0UNxKg5Jh+IwUg9ha4Lgj9Bf+Dx6FuvZE7uAB3wN Bax9BS5JSjQ1uZb4wex2LnQAlyuLojdWNBPpc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730883981; x=1731488781; 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=Wgig3Bx6iRyAnWbFqumBY3BvgjJmMOyuplKb8z2SJ9U0FJ3XrsYNj6aLHWfK4fw56J tYHKWKLrAlpDPXPo+N0QxF95nQ5NJhDCp3kE5/icUB0wDd4xu6hcxJhcHL1UhL8E8c6e fxf/Poz02UDf1ZduqsN7q4DHf4hmiqK0XbNJRY34C1YbSWu1IuXLNGs2y3AgAaZQEUUo D/3Ek+B9Zlfr5n7Mj+eLWWhcL/tk9PNdBNC8rm0u9pqlj6wmPLZOuvyJxjBM/xnHEOa0 +L8gw7+ak7AXCcc+nyL6rtlonG/VRezlHxHyqZEUnnjhvJ+50l99Pm6bTeACFqlOxNLr LHDQ== X-Forwarded-Encrypted: i=2; AJvYcCWnzmg9aLbMeUmvMPPwoX62zbQo6vjyLO4FiAYCeVBty06yauez4tov7iR5hZFOkpW16seoGMPV7CXHWYxa@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yz5cBZ1J3d/VY5u8RAAXXwU5JI7DzqYhkhdiJvVlfPKAiNLtFAi 3AHySdrG8QgyuNE9UuIsKsPtyTyPxufpQbWjCUJKMXBTMfmLJsUhpyfBUJOZlVeByQ== X-Google-Smtp-Source: AGHT+IGIOHrn8fdbR7J3ipNUXX+xWfGpGcsXmDgowvrA2MeRcgel+ilp1m3bHt3vj3B28NeXaB96kQ== X-Received: by 2002:a05:6402:3595:b0:5cb:def2:be0a with SMTP id 4fb4d7f45d1cf-5cbdef2bf78mr24463457a12.21.1730883980569; Wed, 06 Nov 2024 01:06:20 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:280d:b0:5c5:bad2:2aa4 with SMTP id 4fb4d7f45d1cf-5cedfdac119ls24366a12.0.-pod-prod-07-eu; Wed, 06 Nov 2024 01:06:19 -0800 (PST) X-Received: by 2002:a17:907:9802:b0:a9a:422:ec7 with SMTP id a640c23a62f3a-a9de5f6e2f9mr3963362766b.32.1730883978633; Wed, 06 Nov 2024 01:06:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1730883978; cv=none; d=google.com; s=arc-20240605; b=CHKcUi9Mq3Dza3+z+bDuwPQfiwM7jFh/mEtejiNUw7xigiBMJQUF8ID4ydoHsuVg8B 60SkdUODPvBcUAPKY/6ss/pYP2lm0tLDd+prlk+lb4XfW2zSDGYfKoPiymd8JpJ9btTb 4AKNsuUTf+w+eC8Lc/YzMjSoSYDy6gHdPdaKxVL+sOyca9BBxPddyhE5jyUQLbg8eQqf k3txLWaq93LuRsH1CohftXjAE3UYMWkIGDsH9I2fXwK+QvievOWzXCW5DQ5Bl6Zs0i/M 6n95PQeOL003XD29InaZMIZGIVInq5HbWXhDutPHXnOR9fpl+ucMt1z24C7J9IC+QN7L xKDA== 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=NqzNvnqxVf4oxsGLvFgf0gWqfVFSMmXak9x8aaXR20HE+QxnDM75kGZU07s24RR13k ZHkbIO0jQImrDSZsmyWzy4eF6eDJ4bc/IOYyUMfJgLaXxUttvslERoSJaSJDqmZznw00 CESNP9jmkbK9Nqj9OuS8SaVC4ajth59B3NTZPi4eovqwrCJ5IJ03un0ZjiTg3Yqw6rfb LBKRAMRy2sHJOir6usponHrvyY1nLHmweDNQDDOrbPzw2bVTRMr5Q2rJQywHNXFHiT4N f4x/ZfITLSKpjf0q5mWtTsf5iuT/ysBCa3eO48GreyTtdqIGBYE7lMUew4rANehFDabN NsAg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IyexGci7; 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 a640c23a62f3a-a9e5649b303sor602349066b.6.2024.11.06.01.06.18 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Wed, 06 Nov 2024 01:06:18 -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-Received: by 2002:a17:907:9724:b0:a99:ec3c:15cd with SMTP id a640c23a62f3a-a9de632bf49mr3313553366b.54.1730883978186; Wed, 06 Nov 2024 01:06:18 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:afb5:f524:6416:8e3]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9eb17f9422sm247781366b.139.2024.11.06.01.06.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2024 01:06:17 -0800 (PST) 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 v3 7/8] clk: imx8mp: don't lose the anatop device node Date: Wed, 6 Nov 2024 09:58:03 +0100 Message-ID: <20241106090549.3684963-8-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241106090549.3684963-1-dario.binacchi@amarulasolutions.com> References: <20241106090549.3684963-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=IyexGci7; 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(-)