Message ID | 20240926104855.656121-6-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBIHY2S3QMGQEI4B2H3A@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C7BC0412D3 for <linux-amarula@patchwork.amarulasolutions.com>; Thu, 26 Sep 2024 12:49:04 +0200 (CEST) Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-42caf073db8sf6811265e9.3 for <linux-amarula@patchwork.amarulasolutions.com>; Thu, 26 Sep 2024 03:49:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1727347744; cv=pass; d=google.com; s=arc-20240605; b=HejyWP17LenZua7TZ9e620zBCgUKW0CTv83CvzTDDitstQ25LxZlgWaFaYfENKClrV AH5J00E9iCAxvdJnItajhVHjdCTMyAN2UZ3uSMS5I3pOP3i/JpsvaCh/7u7OO5sMV8a2 8J5ETOH/zFT8AgA61LLaqai9U03abGXHIlw7FuygPl7np8kkQ5YFqY5PjXYt6ftqanDA T+ubw6tji3B5G2ZGdHtMQN6Mll9VzGi1AyPqa90Wmy2vSzsRg3dXViKihC8bFMQpg0cc c0ShLaRS/nF1dSCv8iY1Rilm2ct7I+puKp/3sgtZ5OhKc2lOCrbltoNp3mTw6QTyGNSb DarQ== 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:to:from:dkim-signature; bh=wWH3r5nyj1A38s699399Zsd8fI1nZpcg4gkM6A9Vx1Q=; fh=gp7P/eWWEh+/WQ9lSaT9lj6BNpuYkTsibfYPp8PcBO4=; b=bxenwhzvN6f3SC6043ivr7ZVzNr5ZkQPwqWK5yhmINI7Lee0SR0b174CwSsiFVO8yR bRG9sq2R0OFn8TCA/lhTPRDh7xeQE1ee8WdAcQdD74FEPv4kbkYHNEX+amNmKPsKdgPE A3QdED9pMvwZYHLzWol27pR26cKmRYU+M563DUpBA2mQmSi/FSu/pJLzTmJDAuiHDp3B TCXbbef3eNaHhqtd/N4G3uJZmHR8RWv9dg9GcciKaMmWUNianqjYTGf4TIU529PKftG6 KxDcNRxCa8bKAN9GUcMvuSDXEdGIPHckmynMjdKC652EQsYYPPNTwbDZZbC7HBtfUeb8 mXdw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=m+HrKMfb; 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=1727347744; x=1727952544; 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:to:from:from:to:cc:subject:date:message-id:reply-to; bh=wWH3r5nyj1A38s699399Zsd8fI1nZpcg4gkM6A9Vx1Q=; b=c4FR2HpHs4fBuJRqPOrM8o9HJx8D8R9JDigk3eJa1Et1IpHVbkge/LaM1D4guiUGBx csZt6NEgRoidELaRS/J/1uvwlrwsj0zfxIf08O1YjqwN8nyKIv+vzEdt9yN2E1VQuTmz TebkXR+Zjh03B5+SRIl1D2bOdGowP+6N/4kxU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727347744; x=1727952544; 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:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wWH3r5nyj1A38s699399Zsd8fI1nZpcg4gkM6A9Vx1Q=; b=i1fIiTV1oI+wfeye/uULOd/luwnWg/rfSdR3GXSmclZ6wmYYdkZQ89esG71DMtECPJ fY+h3TIpt+wCvc8nYT5MSzORzSZZ2IVVhtCWvXOd3lyRTe/F11ugvHx3Mo17N6pnqpCw PwL4Ox8BVr4j5YZmMY+6TnHPW05/1i5XGznyjMq8z26sdCHA2htsQ6traJ9uBJY6noya eK25ebaAhoV05KCC3gG2oiNlc6IRPmAjdt8pSDJ7lHahD+JdOB6eM7GUySt+0MMv1C+b 0KVz5BDTsCurWKIQrrsp+fUMtYNdbf5VfXJEPxwzob8lyM9EIWxIN+jnChGtMiu8t0h9 qxEA== X-Forwarded-Encrypted: i=2; AJvYcCVgiJmWHCllctRG8a+R5XqWSvysgSJVE2nzP4qoE3M/Bkx0AaiB3e5YJ8t7IrXvmfSHUH3YCDcIpYSXQfKk@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yylvta33pKSEbccB1vXJtSe+jwDU+wh5CAwot5Va/wkN2fogERh TowWW3WLupDI4KrEZgK7sjtTUWDYdNHeYmPkYhGcL+8bNKxlWs1mY0eoJ8DALrHEkg== X-Google-Smtp-Source: AGHT+IGT4pi1p4G8IGBWsBNCwVlj3/wWlyqjgPGF+nr01JQJWfFyxEzv3ucNSzIqxXQ8BTf4zCZ5dw== X-Received: by 2002:a05:600c:1986:b0:42c:cd88:d0f4 with SMTP id 5b1f17b1804b1-42e96ab6604mr40546155e9.22.1727347744293; Thu, 26 Sep 2024 03:49:04 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:600c:3509:b0:42c:c82f:e5b with SMTP id 5b1f17b1804b1-42f52231940ls178445e9.2.-pod-prod-09-eu; Thu, 26 Sep 2024 03:49:03 -0700 (PDT) X-Received: by 2002:a05:600c:4447:b0:428:f0c2:ef4a with SMTP id 5b1f17b1804b1-42e9610d4famr38917245e9.13.1727347742733; Thu, 26 Sep 2024 03:49:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727347742; cv=none; d=google.com; s=arc-20160816; b=iF0cTxnWJoSl+ceGHpHKQtoWSYcFh9KnVb12MxVMNJw8x48mIxw3eKaKcGy56+Jagp srUKxw6CDxSAqgjgDfQxKmhq157sqTkBTBwg2MDTvzDI8VClUMC8Vkl6T1rzEqRc2Xaz b7exAzsUKWl4TJijYtlL2j4tk/gVrdk5RLIKQ9pDEnBESt5Zt3Wl90JavVPtejdQzmgB GGSEIf3BKESUMonGJGCx9KrMVoUEVSM+p5ws3ikjmDEklEo7I2Amr4HcqRQeQmQdDglS Ut9vaNLFyaO0HW27zvOYPbk4D4Vzls+XCUasHqNZvzw50hAzRBUgKsP+gCB8O24ZZCCE uLBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=sANYTc56l1dzuSb6OkWAQtijEDV1flO+WLT+P2kRW58=; fh=FtQepR0uNoeKT2PVdKfTKOkvEYfwbRmoVE9BmlYw3tk=; b=z44OY126ov9eU71hpI6HiCnWxM13l0f7VpBsaI8RbRt5iECepGqEW+9eTx0MXK1e6r vWvL2KK6sRxS4iw8YwZw3B1V1ip8sfbrD7xY8pBW+awCQ/yeQqrXAXaZYlxVQ+475HoC h2NBKeh5+mn+kpLUjgG86TEzHG0z4ISmwqLkLx2n5DxRP7H03Ty5wQ2lLMAlQKEdr0KY 7FE2J4aM2IgnfLx02wgIinFYWDk+Eg4oLOpk+oEpuECnHNtPCY/n+C+ITha3YaEfO8Vk she0e1Dwkv3FXsBx6YuRKmWeOQ0dEAGaoFWO9kj0xbS5IoavNnRgSmF7X3MqJ1c73IJe z5mg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=m+HrKMfb; 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 5b1f17b1804b1-42e906d55c7sor26835815e9.12.2024.09.26.03.49.02 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Thu, 26 Sep 2024 03:49:02 -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:a05:600c:314a:b0:42c:b6e4:e3aa with SMTP id 5b1f17b1804b1-42e961045c5mr41252085e9.5.1727347742009; Thu, 26 Sep 2024 03:49:02 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.42.126]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42e96a55336sm43314755e9.47.2024.09.26.03.49.01 for <linux-amarula@amarulasolutions.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2024 03:49:01 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-amarula@amarulasolutions.com Subject: [PATCH 5/6] clk: imx8mp: don't lose the anatop device node Date: Thu, 26 Sep 2024 12:48:54 +0200 Message-ID: <20240926104855.656121-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240926104855.656121-1-dario.binacchi@amarulasolutions.com> References: <20240926104855.656121-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=m+HrKMfb; 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> --- drivers/clk/imx/clk-imx8mp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)