From patchwork Mon Dec 19 11:31:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2575 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id F1F213F1F7 for ; Mon, 19 Dec 2022 12:31:31 +0100 (CET) Received: by mail-ed1-f72.google.com with SMTP id q10-20020a056402518a00b00472a255eef7sf6325864edd.15 for ; Mon, 19 Dec 2022 03:31:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1671449491; cv=pass; d=google.com; s=arc-20160816; b=A8GagUb7YyUeIsmCxKExIrq8wfCsx4uKN2utAgJE5aly266NsY5TnIZssJSTDIsbaY xLtNGTtQpaf5r7eSU79yze2qaPm0JuB82EAf0WDa2mgg64ODl3m2cqtnBtZbw0An63Q+ eJ9knksOgU3gIZ4GFROhgVXsIylZacntDp6Y3j1R/4EDDgg3kGMDErThnZiqlZiv1s3+ x0NH5MyJarhqqlrx0MmT4sBgNLKjt1b+N0tn2O2ejhArsE0J35Z5pK+wy6+LPsDJx51g TfcgmH0NBIRQ4dpd3u+QLljlwIfI/QfuUX1pb11bjbuh4QWRFPQV4KxvI0fibsZg4PH9 gugg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=24GutpaRMnjL6+prcx0tji3ONtoH+OkZxLy657jOTGg=; b=sqVkPuAD5V3lzB7k9zguWQQW8G8k9mjs4ofIXRhdaY1KajG+mKVURri+cpg4v532xd TIbRhEmR3BPxHoY/FL7vttrLn9MD2qJrH4HnzFYU46b6uGpauo7afU+EbPBLgNlZjQZQ TyR7EGVKkVK6CE3b04jXbK9pG8BX1qmCgwakd2yXJLDg5HSpxzejZ0JO7EX8goNGhO4f 2rAF/0eis6pTWrxqFo+sit0h3mTALnfHEzbQqpcNU/E7b7MTXsOulrjXVA3wrxohnhhI zlSU/vK1+piIOd7HYz/Gp/snd/eybz6YV2+CU6Gxpi4KuEJbzHBudu9VlQZNMNBuwkpR +v6w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KWD2KlUZ; 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; 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=24GutpaRMnjL6+prcx0tji3ONtoH+OkZxLy657jOTGg=; b=NXz20B+hr2wvDoodXl1IiHnWsKmbhwv6JlDMsJ9/DW9pOJnhiTnaaiTmywQ1bpK4zH PG5kEg0sfPJUxqZhU1wBoauPOo+o0HrlHxu/mNJIQgSO/nWkD1ZWU+4K9CpWH3csUDMz GUu7vhrPQncAq8/gEKF3FqHc9JM7SfjWyP6Yk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=24GutpaRMnjL6+prcx0tji3ONtoH+OkZxLy657jOTGg=; b=shN3zOqO8qCp3Q1lpDI4iW4Nrk0pvoVzVqm6SGZwYvs706D29oLKgDVsKFAIbeS8Bv 2qQ7U98KuaVkPHVPZJGK5ei0rhgAG/xmjg7mVHUpbi9GyX52U/Swwo94aaE0EJ8m0qrR qKWuMqiv3G9X1ThL0699QvbJICzx458YBLANnebMTR9PF7W6Db3EwagQ2VIcB1Cyte1m u+tqSRp8EVeocY9IHTRfjkVUEx2UaiS3o3UtjFnrSI+/dW54g1OBpAYjf56qzoDwNrjL nv4qZhAP6Yzny9+FlXsTQGndiSgAvUpxt/IQISbwX7/H0LFwrl/c3Dgp54CJG542/T/k 6LPw== X-Gm-Message-State: ANoB5pkhru8Qc9mZJxzXV1YJbD+HVyn6qX1H5ES7P7pijG6QsnOLokeo 6MyWfrMxSduPtc6n67wvQr0H2KiX X-Google-Smtp-Source: AA0mqf5SP0eYFz0pLSabOVs8y1h32RATx8NHs1396D3dYMcWEAc0AXYu/SdMTn4Z4jJ+Z5G8CQvKSQ== X-Received: by 2002:a05:6402:64e:b0:46c:af80:636c with SMTP id u14-20020a056402064e00b0046caf80636cmr19244182edx.129.1671449491635; Mon, 19 Dec 2022 03:31:31 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:6b06:b0:7b2:77f0:9d5 with SMTP id q6-20020a1709066b0600b007b277f009d5ls1831512ejr.5.-pod-prod-gmail; Mon, 19 Dec 2022 03:31:30 -0800 (PST) X-Received: by 2002:a17:906:70c5:b0:7c1:381c:935d with SMTP id g5-20020a17090670c500b007c1381c935dmr49522420ejk.25.1671449490415; Mon, 19 Dec 2022 03:31:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671449490; cv=none; d=google.com; s=arc-20160816; b=YlvGgjPtbRp+ZNy/b/SGvb9wR9O3dZNEatPCVcrlJ4zWKsbI9DGh9EFMT/zJ3sBal7 IYp6Yl/O5HkCoBsl8BkZsmyPVFUdVdJ70KjuDm7oiwecQj9GDGIwGAqVodYsbg9R3glb G52+4qO6ARt7GyrRK+4HFFtrSVyPwVNHenMg2hSzXTnmRgq1q2vB958KMFXS0BH20xxs wCZWNBucamCBy7u5riViTVulAQotktZg51ow+47+Gd8LX4nEVhZBzw62D3mLHaPpPfVI d6jDW00/AWA8z8INw9w4CDElztgeort8/fL0lWIlGX15MMH8vKSVFk1axrR0MrHxL6oC Ew4A== 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=jP8z3zvJJTrbgRmjj6EfGsdgIEht+6dka3PfxPTLqIE=; b=Wv1KLMtLjoktU/xG7/X5muMkgC3DqUr5BbEmwOtD78chlCkRP9rk1c4nnhXejDK7N2 HHb/zWbUNVAw8s1NudyDOZAql3XbRcUCaZrbHkxIoMHgwcWvzk4x241RVpVinbovBvrD tQEW0RJmaB0iSZWKvo/I+QVW7JanyDUJ807IevvOc+6CiRg/pEU/KtZprCBhafuK5BhM Fj5DjWLpJShS0ieWGwkoRRwfhyTkwl7HkH3WoPKN6fHQVpMfnxmk2kTAHhzRr9IpUoqb JOBqnHOlfQa5HGKhgy3HNVxE57YO0apqAMTAhDDMFQrKplwWPHLuIkJPZZV4jllntT29 b79A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KWD2KlUZ; 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 Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id i16-20020a17090685d000b007bdf452b988sor3992833ejy.27.2022.12.19.03.31.30 for (Google Transport Security); Mon, 19 Dec 2022 03:31:30 -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:2a57:b0:7c1:52a:e903 with SMTP id fe23-20020a1709072a5700b007c1052ae903mr39184161ejc.55.1671449490181; Mon, 19 Dec 2022 03:31:30 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (host-82-54-95-136.retail.telecomitalia.it. [82.54.95.136]) by smtp.gmail.com with ESMTPSA id wi18-20020a170906fd5200b007c0ae137404sm4308013ejb.97.2022.12.19.03.31.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Dec 2022 03:31:29 -0800 (PST) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Lukasz Majewski , Sean Anderson Subject: [PATCH 1/3] clk: imx8mn: rename vpu_pll to m7_alt_pll Date: Mon, 19 Dec 2022 12:31:24 +0100 Message-Id: <20221219113127.528282-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20221219113127.528282-1-dario.binacchi@amarulasolutions.com> References: <20221219113127.528282-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=KWD2KlUZ; 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 Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , [backport from linux commit a429c60baefd95ab43a2ce7f25d5b2d7a2e431df] The IMX8MN platform does not have any video processing unit (VPU), and indeed in the reference manual (document IMX8MNRM Rev 2, 07/2022) there is no occurrence of its pll. From an analysis of the code and the RM itself, I think vpu pll is used instead of m7 alternate pll, probably for copy and paste of code taken from modules of similar architectures. Signed-off-by: Dario Binacchi Acked-by: Sean Anderson --- drivers/clk/imx/clk-imx8mn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c index 35e0d935d390..86fe30ae6662 100644 --- a/drivers/clk/imx/clk-imx8mn.c +++ b/drivers/clk/imx/clk-imx8mn.c @@ -83,7 +83,7 @@ static const char *imx8mn_i2c3_sels[] = {"clock-osc-24m", "sys_pll1_160m", "sys_ static const char *imx8mn_i2c4_sels[] = {"clock-osc-24m", "sys_pll1_160m", "sys_pll2_50m", "sys_pll3_out", "audio_pll1_out", "video_pll1_out", "audio_pll2_out", "sys_pll1_133m", }; -static const char *imx8mn_wdog_sels[] = {"clock-osc-24m", "sys_pll1_133m", "sys_pll1_160m", "vpu_pll_out", +static const char *imx8mn_wdog_sels[] = {"clock-osc-24m", "sys_pll1_133m", "sys_pll1_160m", "m7_alt_pll", "sys_pll2_125m", "sys_pll3_out", "sys_pll1_80m", "sys_pll2_166m", }; static const char *imx8mn_usdhc3_sels[] = {"clock-osc-24m", "sys_pll1_400m", "sys_pll1_800m", "sys_pll2_500m",