Message ID | 20240903153100.918077-7-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBPOX3S3AMGQEDTJ32AY@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C8E1D3F228 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 3 Sep 2024 17:31:10 +0200 (CEST) Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-5334656d5c3sf5602320e87.1 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 03 Sep 2024 08:31:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1725377470; cv=pass; d=google.com; s=arc-20240605; b=jb8gUM2EYnCzobZLog28pTNUYVWNucSWuF/QAiNKeeT0pLM5ykZ00rocxoebWMTSPh yUn+Rlya46pwcCyYi0BIoD+i90TGOScqEoBXgMZ0wc6Se3QFCPX+TsM7CnzoQJ9TWeRI xJCZgayOLBJN9tVd5M+VX2Nnzd/MZzZ7dX+LnUW0c2lVvFtFworxlLFTN/YFBte1TgC2 1BrkO3B4gHuKg2U4NBkS1f5Hgef2p7DwwkH9I0UsdfajZo49URwty1sgpv0bIvewYpPT H5zJKXDeiNfftvnUycivAzUvSGgOMR9+HGiP/KycMflzhMIoWfGqp/vdYxzmRFiDhdP4 DVpQ== 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=iieuy0uPnv0ybZtqO7U7MYXCZZ7LXWmhQvzZ6mr1/uM=; fh=tY8lDxGVG/aCQ+lnCJA74HVC9l62GLRAGD5IkqqDZwU=; b=R1zM0/2Zqn5XaP1vt4h7HDT8pDUNAlYl6eFsYGhf2XyRdBNZIxRtIMS2t2uxGSuLeX +ABol6XsQInM7eM4dnQL5+GeWEwHR31bEuLVtopOA/zrGdi8G2+yrOV/7WDNcFFS4yV0 mtDMmn/Ux7b0hTmdtts13XYMDyWjUyJIgFJTIT2HlTSMlW+O37ydczJ8vrz74EnXRcXo yfd9518t7wpizdhCX0L2PfySWbttMCf8bdrMmFNxApp7FLo4aJTz4HGFpUcUC0sfB12D TsULJh6l66xnA8NNw6quEDCxqBM+TZ/SOQYTP4csJr9roykzOs+pzhcMU7CE7qiMu+gm orLQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=TixEND1k; 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=1725377470; x=1725982270; 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=iieuy0uPnv0ybZtqO7U7MYXCZZ7LXWmhQvzZ6mr1/uM=; b=UEeujy0JoedXrIGNu4dY+9ujB92i2e7X+9UhcoZiPBGXO9c89EbN8FOAcZL0uKtJai CdiPKo1gKcI+TPSV9ZYV78YsRuZRNfB+93zesR+y8FsE6hWlX1qHyCxJxYnZWzIYGNWA r4YA4RnneX9YqsNLip/Rha96VpF+Grjtej+r4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725377470; x=1725982270; 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=iieuy0uPnv0ybZtqO7U7MYXCZZ7LXWmhQvzZ6mr1/uM=; b=E3CgfT93Cw0rn03OhwyDfACnk+iqJXsDfeWzHerwLRgPcwIERYrJsb0uv0uhPLqX5E 7U5W091uL8QSdsPii9+6ma5GC09UyrfMll0t0UbEEbChUNvWIWTc+msBIU4ghWrSE2u9 Am7AKrA1JqpAm1a5UOJRMg2wW9ksO9FYWshtIODGZj+PjqZilre0D3nuPRbujnysy0y5 zwaRC/TaJWGAnwwCiu1hBRcLHCm2BMFaW9xmfcQHyyrpER9OnABR/pRUnnXaFTcd8gFi +O4rXwcKxnHofEzPYvK/3xnaQ+f5fs03xis+RpmMjFDNmOYftdTc2bLLUnc5HBCeWzIV EYTg== X-Forwarded-Encrypted: i=2; AJvYcCVRi6MvOGVtocYE6kCMnWbi5a5b0Oc1+wfgRPCJL5mX/RCeKJoL4kEU4L0zThaeIGILuQtoVYGOUJWRWvAJ@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yw8YOqRaTewXCH8jn52L3BF9rhcSoaKQCNUPindcunCxmhqeW+h BS+ScmETzlmIeIWp+jDWwwux57hnwsl/++vN89u3nraPAR7c4e4O61TaciUWYjoIaA== X-Google-Smtp-Source: AGHT+IHFbuVQnRpTGWiSx0XD/M8JP2r4xSxg4Y3HyHMupVGAqMUgPpV4e7kXw88fSa0RcTsLnbEghg== X-Received: by 2002:a05:6512:e94:b0:52e:74d5:89ae with SMTP id 2adb3069b0e04-53546b8e017mr11415661e87.39.1725377470073; Tue, 03 Sep 2024 08:31:10 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6512:3b9d:b0:52f:317:fe07 with SMTP id 2adb3069b0e04-5353d818d91ls675557e87.2.-pod-prod-03-eu; Tue, 03 Sep 2024 08:31:08 -0700 (PDT) X-Received: by 2002:a05:6512:b9b:b0:52f:cdf3:2934 with SMTP id 2adb3069b0e04-53546afa392mr11745221e87.8.1725377467899; Tue, 03 Sep 2024 08:31:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725377467; cv=none; d=google.com; s=arc-20160816; b=Ku9OG6+pU5fRGA9FjZSH4etNfDtBwFaBv4ownoExOzA7g11dki7Z/0VUJFD1k0BaVr TspIVIzzD8qtBkIehVmYogCuT1zg85cbGV7VR2A7rw0/8+ALA26+UB5+85QQnM8y2lJq HrSdZcF2sU4T7pDUbg8ZQTexrv0XAb2QiDDBDYf21o2Rqbc521CygVAaDk9eTM9CjLjd itsImfpIthHerpRliYeZych8Cv/zDnk3L0gS+UfYFWDmiQwPavCPqUAY6tCrSuujhF4K iI1Nqj8EK4hM+m/Qs6tURH2g267VuZQ+xaA+4ytCnmr/+LbDGRU9jEpcmz+6TSAAzN5y dccg== 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=kWsyeuNuyXRiGvMqRv7xYcPZNquHRAzCR6o7cCFgnrw=; fh=FtQepR0uNoeKT2PVdKfTKOkvEYfwbRmoVE9BmlYw3tk=; b=DlVL3nu2yDrb0kt5o5St6N9pf7DMFGdm8PMXBkFEriP15MJYbEvIjltaAZb0oSnY6g gEbSBcbiNuho7TIWDDJUUcrSySipn/DxfODv3YcQicgsKIS7Hb7iCmOYjIWWbofZB6FZ l2chky5bGAZPMMSg966/69rlva281orM6tnXMvqnmNAyYISysmg5Jrhh5iq8mS6B0IG1 h/1wOQpuqY39Baa8+x+nqHsM+IeIoY9Xl5KEoX14oYtr6SsEhSGMiKVr7nmPBB25BHT2 ALJlbKnf/t/Br1NCEyECcWykLufP2MgI4UmShgmlgSnqR9ds1hT8NdFd3FLW6ScL8DRw dgbg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=TixEND1k; 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-42bb7053f29sor47062325e9.1.2024.09.03.08.31.07 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Tue, 03 Sep 2024 08:31: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-Received: by 2002:a05:600c:3b21:b0:426:60e4:c691 with SMTP id 5b1f17b1804b1-42c880efb1amr30413745e9.11.1725377467215; Tue, 03 Sep 2024 08:31:07 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.42.65]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bb6e273e3sm174168685e9.30.2024.09.03.08.31.06 for <linux-amarula@amarulasolutions.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 08:31:06 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-amarula@amarulasolutions.com Subject: [PATCH 07/29] clk: imx8mn: Mark IMX8MN_SYS_PLL2 and IMX8MN_SYS_PLL3 as enabled Date: Tue, 3 Sep 2024 17:30:38 +0200 Message-ID: <20240903153100.918077-7-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240903153100.918077-1-dario.binacchi@amarulasolutions.com> References: <20240903153100.918077-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=TixEND1k; 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 e089012477a6..31d2faa97a3e 100644 --- a/drivers/clk/imx/clk-imx8mn.c +++ b/drivers/clk/imx/clk-imx8mn.c @@ -151,6 +151,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; @@ -417,6 +418,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); return 0; }