Message ID | 20240913095622.72377-7-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRB5EYSC3QMGQEYNCGAFI@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 36E52412C3 for <linux-amarula@patchwork.amarulasolutions.com>; Fri, 13 Sep 2024 11:57:09 +0200 (CEST) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-5c2580e0434sf1214556a12.0 for <linux-amarula@patchwork.amarulasolutions.com>; Fri, 13 Sep 2024 02:57:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1726221429; cv=pass; d=google.com; s=arc-20240605; b=ZisEH3MF7D9zjX7LVGRWUoc0BA3AmySnWLTciiww8tEPM+omzY3G8FPeWruGOk4kXu IGgeihe9LvP6xkAwRgs2f+MVnVOcqP4IfAaNTztLKUorDnVTSvn3sgrCGbyxAFaUMn4V ureYAKZ0wFcZuN0QT3KJbnF17tHXMTqopmSjJ7a3L+pjH0o8+u+wAwutLYnidjuPdOBm uYiWTQFitpFlarxnvtVbJxn1RC5e2WXShl/cRz8mDuIPlM4kzBGORaDMxY6IjifeTuVb rAP4wdE1xnozof98fE23tQI9GWyPjeCUbh16d2ygMzQW0q22r3CpTIksmBJWWkqZpN8T aomA== 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=sYgMZ/qEyY3h9h48rMuFExGNm6fuXtbv+rtSCc8iNaA=; fh=4BDN+2yGWFhfWFuQBdbJ/3lQ+XKGJRiQz6Sez2rBvpw=; b=ZYdIR+rR2M8xxs4I6Yn0YHs9qF/lsHGZRnJS8uZGFSHfgiJpKMYR3ZwjyXkWeDfHq7 t7reMswyxmCmPrXXATUxOOKEXMj/TPOskPHTcyUqxZO1rkWSMmP4mwLZZENCm4la+9ZE de6kRLxfPQbp9lnHjOP7Lqym2RsRMQKB8mEdP+A36aFMlAxj9xkIDz1rTiYTakbjOiDT icCcdh2fFBixy//X498gh7+5xjqUH0LQEz9JHUVWspHOXyaVllgPl8+LQMW7g7phjX1Y 2UsTLu4uU/72bZKpNHqGowUxoPqnI8C1ZrNnTfvbVFN0zNT4KNN0hsgGQT23ElnwUWES iSZg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YVAVZAMb; 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=1726221429; x=1726826229; 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=sYgMZ/qEyY3h9h48rMuFExGNm6fuXtbv+rtSCc8iNaA=; b=ZxYW/HaAWFQQg5MUX6Y8OG0aki0ALk4lUik66uUwWSx6dJDu52zpVkT517zLQUlwOu Gte2vmy8vKIzILhidXuz37zcnjO1XUB7QsHazHTcJEFGhR1Jns3Iohpz19MjplWbLA0Z a6w+j2BYJcpBYBcyWPFGFXROROD44q+uGFGVU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726221429; x=1726826229; 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=sYgMZ/qEyY3h9h48rMuFExGNm6fuXtbv+rtSCc8iNaA=; b=mskpg8eOQxcYFvrsCxH7O4o99rvPhv7uWcY39KH3Te+jveHgz35out/IVMHeYpux9C NpdjYt63EmU8Utkrp8YhPRUZjbqHSmoxGtqk+2xh+WBNyaJJ71YG1Vu6AMQ3dgUeTvbW H1sSMRcsY/w86BaJaFNeTY73X3QfEfV0tuX1hOdcL2qz2+ooeGtU6dArqflYL1ufqxzB BOHNLJpT8DX2UvvC/3QV+6YRf3cBFIDFumhoRzpfMx4u5bKF9Jt4DIFvgKTXc/0wAXWM dyZSVKnhsdFFoClpDxXODaz3uJT7BkTLaVymHU+tTaGNU8BsrRF/4NIpPTRVdPfkJg2X 7fqA== X-Forwarded-Encrypted: i=2; AJvYcCWUychWSeoJdih5QCEQk5fpih9cKIKl7hAsQQI4+gRtIps0x0cA7VWqvO5g4t1sG6u1pvKs9/atY2WE9NoK@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yw6obFYpJ+tOLypdOxsznwWP7SL3F69u43mtk27ggrtUk0RfGYT Fs3jqFbpZOv9IvXFpxjCLTB2wNqYJivSU7UCIAlVSQPF7ehXzsimzhAFor+vhkoTcw== X-Google-Smtp-Source: AGHT+IHL7K/4eRWaFNo7GLHFP5PAWGe9BVyg4rVeh5IbWdi5XstRtZ3tXxu7k4p3kkEudZ2Bk0jg/w== X-Received: by 2002:a05:6402:26c1:b0:5c3:d1ce:262f with SMTP id 4fb4d7f45d1cf-5c413e1fe53mr5634190a12.15.1726221428847; Fri, 13 Sep 2024 02:57:08 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:34cc:b0:5be:bd2b:61e9 with SMTP id 4fb4d7f45d1cf-5c413e27dbals1137125a12.0.-pod-prod-08-eu; Fri, 13 Sep 2024 02:57:07 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU1Xei/2QP4HwLq3H70EdJEvPNW18PQ41HsXkTXEO1luR6uLue7KnTv2IhFWrJxZPAB92lSfQAePf+6qQmL@amarulasolutions.com X-Received: by 2002:a17:907:1ca0:b0:a86:c825:7678 with SMTP id a640c23a62f3a-a9029690fedmr615963966b.64.1726221427190; Fri, 13 Sep 2024 02:57:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726221427; cv=none; d=google.com; s=arc-20160816; b=Offc4TuwYQBnDxOfMCir7DDugvcMUxzsUdxaLo1cQAO98EfLMuVzbQKOq03y/xV9VE gMuRlAU+IM8YUIVWTsVpv9NT4zD+NALzkQcEDGXp8p0LofVYacFRkWpNjoSPsHbx2yxf te+ar3LaAXyRa4kzZViqkGQMiyST1abRw2iUkj6bgdTDgFAO2g+OG8MKin76EVWP2VZY uZ8cRZ9hV+53+9qoNN7EPf4Q+TJWRmzmY9FFbG8ATcqcC1E4q4BFU8ffqC/AHe79CUyt q/l3p3NwUHDkWNcg6c7FD5TYxnKhfssP6L8Jh2Wbf6b6AekjW6GEvF5tBvMdkjP9i6FF wvag== 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:cc:to:from:dkim-signature; bh=uD1BzqlMGtRVMj1ZQ9GmxLP+c5TtzKKgaOSr/TKj2SA=; fh=DXCsrm60RrsPpUrNp8eyuXQcORtUCKJxmo45uTA0sDc=; b=PfE4TMZXYZr0goGjPwzdeCT0xHBQOiZlrRc8uuzetjauSZC1syMLuqv3EPvBKHEHka bXgFD87Axmlh8cSoLUvlbMZ3f8ZU8Aes2bUN+p9T09Sys0JQ8F59LKkDvanPbwJbAzvr HbFaJfcqhBal0qxahO3J2iP1ULJoo/sHS0afDa0WzeyjtAK30KwS4w6b1lojm0N04m9Y YvgNdX8pKBSzZiF/hVvtsY8no0JGnG+vLHWsP6W+YjsRRyq4bvKi5h58RM1ibE7OT3Xc ju5yzfhJ8tQmt0hy8rZGJQs/FCo3DkKtRg18JRfsxbGwGdArGm4dCR4UZ54UOlaC+aaF zgUQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YVAVZAMb; 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-a8d25c389e2sor516282666b.15.2024.09.13.02.57.07 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Fri, 13 Sep 2024 02:57:07 -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-Forwarded-Encrypted: i=1; AJvYcCV5g4DLW6NBboHGK5fmmx8EXtquVHqYm44xcI0H//2mzaNCRuwVHNyjqKzMitslMoXe/li6wdd9gRnBxcdJ@amarulasolutions.com X-Received: by 2002:a17:906:c151:b0:a90:1ed4:dec6 with SMTP id a640c23a62f3a-a902961bf01mr683128166b.43.1726221426636; Fri, 13 Sep 2024 02:57:06 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-4-102-18.retail.telecomitalia.it. [87.4.102.18]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25cee72bsm863224766b.173.2024.09.13.02.57.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2024 02:57:06 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: u-boot@lists.denx.de Cc: Fabio Estevam <festevam@denx.de>, linux-amarula@amarulasolutions.com, michael@amarulasolutions.com, Miquel Raynal <miquel.raynal@bootlin.com>, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Fabio Estevam <festevam@gmail.com>, Hou Zhiqiang <Zhiqiang.Hou@nxp.com>, Lukasz Majewski <lukma@denx.de>, Nicolas Heemeryck <nicolas.heemeryck@devialet.com>, Sean Anderson <seanga2@gmail.com>, Tom Rini <trini@konsulko.com> Subject: [PATCH 06/26] clk: imx8mn: Mark IMX8MN_SYS_PLL2 and IMX8MN_SYS_PLL3 as enabled Date: Fri, 13 Sep 2024 11:55:48 +0200 Message-ID: <20240913095622.72377-7-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240913095622.72377-1-dario.binacchi@amarulasolutions.com> References: <20240913095622.72377-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=YVAVZAMb; 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-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c index c96a2ebaa19a..449ebf2d0733 100644 --- a/drivers/clk/imx/clk-imx8mn.c +++ b/drivers/clk/imx/clk-imx8mn.c @@ -154,6 +154,7 @@ static const char * const imx8mn_usb_phy_sels[] = {"clock-osc-24m", "sys_pll1_10 static int imx8mn_clk_probe(struct udevice *dev) { struct clk osc_24m_clk; + struct clk *clk; void __iomem *base; int ret; @@ -420,6 +421,13 @@ static int imx8mn_clk_probe(struct udevice *dev) clk_dm(IMX8MN_CLK_ECSPI3_ROOT, imx_clk_gate4("ecspi3_root_clk", "ecspi3", base + 0x4090, 0)); #endif + ret = clk_get_by_id(IMX8MN_SYS_PLL2, &clk); + if (!ret) + clk_enable(clk); + + ret = clk_get_by_id(IMX8MN_SYS_PLL3, &clk); + if (!ret) + clk_enable(clk); clk_dm(IMX8MN_CLK_ARM, imx_clk_mux2_flags("arm_core", base + 0x9880, 24, 1,