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", From patchwork Mon Dec 19 11:31:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2576 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D1BAE3F212 for ; Mon, 19 Dec 2022 12:31:32 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id m3-20020a056402430300b0047b94307bbesf185827edc.3 for ; Mon, 19 Dec 2022 03:31:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1671449492; cv=pass; d=google.com; s=arc-20160816; b=VDUMx6iQfAQ2rsT+U4Pq0d7i+0nwmuOWDInfsWlRG59omM236i3IJfwHbkijM6Xl2x jmdwxsBINTbhdF0/4xC86zdiVvq839AwyOK+Ty4L9ckOC/avT9nsdpzPwxrQz8/0toaZ 6co4Oa/IPTD9CyVC9wC1J6apsa4BQF4P36E2Vz7LAJ5H2esijWguLpUhQFaxPXqNMHjF 8Oyg3A8hgYmeqNmqQqgqKrknLFU/iqrUQb1rb2Frs6jDFU/vk8GxX9i7/1hglMtqBxba 7d29HpxtJsvc6yfU0giF5PKEnXRBG2xYPQDe9VIil7Dlhj3liH/ADm7EjJY9lmWmALw/ Flyw== 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=tDAR0S3/z0rXGdysgljeCHnmivMjWkI+Vo20peI5Xgc=; b=afZCayAnWitC3xz8gIoc2A2NcaU+1tNc5n5qTUGPyp1qXlgwcbSlENxJ+fx/cXxugs PPVPwZOyNJ0F9fu4T2z+5AmfchuNLd8ScBj8HSp9jZ2sm+PNEWqbTYxOfIPLIV92A0nX EIPmd7RCcVieGkhBYT/d4i9nPwNoiiQVdvNSe9bn/blzkysN4FPcYyqTtKYklaxEmLWw O0yJ3fSe9txMMrC9b+GpVWk5udwNjjR3WcH+DI4ESeVcZJXfsfhGSZSMF4PGXZetivUD XHH4h0OUfWo4M6oN1NTIJXtVAG2jDmSB1GtVxKGOmblXpp6lIxkkIQ7IZRmo6Xv3PrS0 sQvA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=aUscD9Tx; 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=tDAR0S3/z0rXGdysgljeCHnmivMjWkI+Vo20peI5Xgc=; b=Q4BJPhTi5VpSGz7VlDZGGyLOAo75yp70E35CLYGmbIITr/Rzs+MRf6hFdpui7HUd0M pY845ZqHEi5Ln3EdQGiDV7yZiMY4+QHi5hv1NPLjRAhNB4mVDsoKexI0o1gnsPF0EGen CStqs44r0UcmPL+XYREi+bQm4uFQkty9bxm8M= 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=tDAR0S3/z0rXGdysgljeCHnmivMjWkI+Vo20peI5Xgc=; b=29PVYv/7aqTdv1nMFI0cqxZz5CgKO1Z1zJcdv7FnAZ22RauQ6ep37ZudWMi5LrTaUU eXctXDvTmp8cIcBnIbZ42K1/lQbmEetss8nSPkX7qYinTT1JZdRi+1hkCn4EQ6Edd1aI g+w9O7lOS/aVOi/V1GwCHPxgjAzNwBb2b7r8jkzX/Ijuzu+qbL5GTRLqIuw/9I+/sPw0 WhIzqOjrwzAxciehDJNy+dDbWwNViaNd4b1daTQaXJpDfZd6Zd2DHQ/LIopeR/KNnXVl 600n1QkQKVJj7/sok2k0JpNKrlSPLD+n5VM4ukOeWKE0hYZ0DTETLnDy/glRxjfdBLqK qN8Q== X-Gm-Message-State: ANoB5pkplLkJHJw/JqFRJgv+NzDa3y3Z3wIOhniBOQuXV/r5nW+9O7Rj PJPxNt6tR+nwqXEqYiHUDONhxr4P X-Google-Smtp-Source: AA0mqf5Rg/fnoqmDE+B4aPf8Obn9IoqtoRn/qk6k9eXXqIYxr/u4PP5miijjPlk8X2CsepK+ea23TA== X-Received: by 2002:a17:906:3b42:b0:7c0:c220:a341 with SMTP id h2-20020a1709063b4200b007c0c220a341mr24085179ejf.569.1671449492464; Mon, 19 Dec 2022 03:31:32 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:b290:b0:791:9801:e4e4 with SMTP id q16-20020a170906b29000b007919801e4e4ls5180481ejz.3.-pod-prod-gmail; Mon, 19 Dec 2022 03:31:31 -0800 (PST) X-Received: by 2002:a17:906:4d8f:b0:7c0:e535:13fc with SMTP id s15-20020a1709064d8f00b007c0e53513fcmr49226468eju.37.1671449491302; Mon, 19 Dec 2022 03:31:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671449491; cv=none; d=google.com; s=arc-20160816; b=eeIeq4mgloGHN8uupQQBeSTjbb/taiW5SHQ+bmMRdivuye+zL8P2Xjq/DU5BExIj02 sNE91gPiFaUMeWzJOeMxDkbhH3tFf+2w4Xd/3FquW5xtpdhXPto8ensWgYQrWPaooSrD vWjTN3+GxG6YTGkq4ph0dZTm3BCm7BCi9F0/Ril+aWyOmWypHLD9F3daxa+1AzIRA0Pm 99TFo1UOuXEym/LIQbINVh1J+yDgYzPLgqBz/M6rI4EURK4uU70KG0GB+zLYvw91KLau MlMBeb69pXa19rI3VHSNdGnHThPv3ZyXZRLSqWpJmQMFZdlUy18XXUK7JHb2u+JXbInt O4fQ== 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=fTfJ2ve7yaTO1aRWr1m8yjmk6jaPLQbkcy8xMJY/Dk0=; b=jcvDETFLzpGfglZt49Y+tPU0cKdqpWk8lgbqpEuMW/ZcrhvhoVbTK0n1uasdU494Lm qjD/F2wBADofYPsKz13uYbz7aQkudvqPUwn5FjfIpmy29vqPYr3Tq9FurxwbHsZoXumh XNWtVPVKnkuBx+U1a0o8iA6HwwfQeQoQsE4+xOdthk94RMVTF57oaiio4Xpb0GLfbwGS B6sSk4YpvKRsGWJTa0TbpxNbITpkUEl0B3ZryZKBlyEQ7LV0MGwOASBI3lGapdFkyB2h YX3YW0iSp/nO9H634LeoJkJUdGtIyKu8NVGaWB5zIUKBD2Qac30+NUC0rJprnWiyJi5Y S+Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=aUscD9Tx; 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 o3-20020a17090608c300b007b4c74db123sor3951982eje.102.2022.12.19.03.31.31 for (Google Transport Security); Mon, 19 Dec 2022 03:31:31 -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:906:2288:b0:7c1:1001:600a with SMTP id p8-20020a170906228800b007c11001600amr48468830eja.77.1671449491061; Mon, 19 Dec 2022 03:31:31 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Dec 2022 03:31:30 -0800 (PST) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Lukasz Majewski , Sean Anderson , Stefano Babic Subject: [PATCH 2/3] clk: imx: rename video_pll1 to video_pll Date: Mon, 19 Dec 2022 12:31:25 +0100 Message-Id: <20221219113127.528282-3-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=aUscD9Tx; 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 bedcf9d1dcf88ed38731f0ac9620e5a421e1e9d6] Unlike audio_pll1 and audio_pll2, there is no video_pll2. Further, the name used in the RM is video_pll. So, let's rename "video_pll1" to "video_pll" to be consistent with the RM and avoid misunderstandings. No functional changes intended. Signed-off-by: Dario Binacchi Acked-by: Sean Anderson --- drivers/clk/imx/clk-imx8mn.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c index 86fe30ae6662..a2c7c63ef74d 100644 --- a/drivers/clk/imx/clk-imx8mn.c +++ b/drivers/clk/imx/clk-imx8mn.c @@ -28,20 +28,20 @@ static const char *imx8mn_a53_sels[] = {"clock-osc-24m", "arm_pll_out", "sys_pll "sys_pll1_800m", "sys_pll1_400m", "audio_pll1_out", "sys_pll3_out", }; static const char *imx8mn_ahb_sels[] = {"clock-osc-24m", "sys_pll1_133m", "sys_pll1_800m", "sys_pll1_400m", - "sys_pll2_125m", "sys_pll3_out", "audio_pll1_out", "video_pll1_out", }; + "sys_pll2_125m", "sys_pll3_out", "audio_pll1_out", "video_pll_out", }; static const char *imx8mn_enet_axi_sels[] = {"clock-osc-24m", "sys_pll1_266m", "sys_pll1_800m", "sys_pll2_250m", - "sys_pll2_200m", "audio_pll1_out", "video_pll1_out", "sys_pll3_out", }; + "sys_pll2_200m", "audio_pll1_out", "video_pll_out", "sys_pll3_out", }; #ifndef CONFIG_SPL_BUILD static const char *imx8mn_enet_ref_sels[] = {"clock-osc-24m", "sys_pll2_125m", "sys_pll2_50m", "sys_pll2_100m", - "sys_pll1_160m", "audio_pll1_out", "video_pll1_out", "clk_ext4", }; + "sys_pll1_160m", "audio_pll1_out", "video_pll_out", "clk_ext4", }; static const char *imx8mn_enet_timer_sels[] = {"clock-osc-24m", "sys_pll2_100m", "audio_pll1_out", "clk_ext1", "clk_ext2", - "clk_ext3", "clk_ext4", "video_pll1_out", }; + "clk_ext3", "clk_ext4", "video_pll_out", }; static const char *imx8mn_enet_phy_sels[] = {"clock-osc-24m", "sys_pll2_50m", "sys_pll2_125m", "sys_pll2_200m", - "sys_pll2_500m", "video_pll1_out", "audio_pll2_out", }; + "sys_pll2_500m", "video_pll_out", "audio_pll2_out", }; #endif static const char *imx8mn_nand_usdhc_sels[] = {"clock-osc-24m", "sys_pll1_266m", "sys_pll1_800m", "sys_pll2_200m", @@ -72,16 +72,16 @@ static const char *imx8mn_ecspi3_sels[] = {"osc_24m", "sys_pll2_200m", "sys_pll1 #endif static const char *imx8mn_i2c1_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", }; + "video_pll_out", "audio_pll2_out", "sys_pll1_133m", }; static const char *imx8mn_i2c2_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", }; + "video_pll_out", "audio_pll2_out", "sys_pll1_133m", }; static const char *imx8mn_i2c3_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", }; + "video_pll_out", "audio_pll2_out", "sys_pll1_133m", }; 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", }; + "video_pll_out", "audio_pll2_out", "sys_pll1_133m", }; 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", }; @@ -94,7 +94,7 @@ static const char *imx8mn_qspi_sels[] = {"clock-osc-24m", "sys_pll1_400m", "sys_ static const char * const imx8mn_nand_sels[] = {"osc_24m", "sys_pll2_500m", "audio_pll1_out", "sys_pll1_400m", "audio_pll2_out", "sys_pll3_out", - "sys_pll2_250m", "video_pll1_out", }; + "sys_pll2_250m", "video_pll_out", }; static const char * const imx8mn_usb_core_sels[] = {"clock-osc-24m", "sys_pll1_100m", "sys_pll1_40m", "sys_pll2_100m", "sys_pll2_200m", "clk_ext2", From patchwork Mon Dec 19 11:31:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2577 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6BFDE3F1F4 for ; Mon, 19 Dec 2022 12:31:33 +0100 (CET) Received: by mail-ej1-f69.google.com with SMTP id jg25-20020a170907971900b007c0e98ad898sf5950979ejc.15 for ; Mon, 19 Dec 2022 03:31:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1671449493; cv=pass; d=google.com; s=arc-20160816; b=A08JJrxyf4E61EXK83WLkYpznRVhniG62pZdXbC+arWh9wWDM639auzKM86lW7pUw4 HlBdQfWJyeJLKEnk/FCI3zFVWjlzbM3aCwj/GTK5SkzJdPfOaobrQvx27gJe5gxxju+S qHb5WvCGuUlbKNVvBpeaWCOHS47dFAivep0sfeguipTzsRU9rwhPenYMXvaD+8XsJJzr I5uU/XK0EmvQqIknKpXiTbov0ettveQIt25rdfcaslLEy+hqTKxFhdM+kr0Q0OccOu4A RzfBUT65e0FTG0NBOKElyGWAR/aoUviT756cVLmzxzbXOlBsHfpBW7IIVlm3oq1Rpjbx q2cw== 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=ylTC+0JBZcUwk8kG/3/JQ/wogzjzCGrICXh7uqdD1w0=; b=msB8uzlihICI1eEqNUwrNtdG6fP5bLDj6rvPBAglHAoH16l1oqNwkKKWDANSyHFedL oxGR1CIHD7iLvAcI7HVHWAtqYIqEZaWPYeYs7dN4an4kdqlnAySAYb9E0dfqjw6By5u/ ouVBnFHkppwErEcKsghxzKU3exlDI4XqnF7ftpt+O4kpKGZXxeQVNlbZ72V9+x/sChJy yaGsFnEtrvAWmcgP6pnmx998/jBujMX+QxnnKT39xywEXH3hQREYDqW7NJ8/WkYYMwnt unHzAA5gahR0Asf95LgR83GJunLIO8lWxemrzLn7uXHHQEYt5hyycxC0XbILHxBODo+S Zq/A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=lEqe20in; 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=ylTC+0JBZcUwk8kG/3/JQ/wogzjzCGrICXh7uqdD1w0=; b=AaYZIzy2wO0MHN6CGGzZCDOIVWclf9SOZJUmEThlfuZmG7rAaf3r+g1U2EZXfoHm4Y iMuHhqzwHPzcXZo2t4ZrxgFMMInqRuJNLxl/sedoIXxSp8NfTk7amD28PHdlKrU4wG+c mZbbXbznrJ7cPpRjlWeLtpL/JJqHzZEJc5qcs= 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=ylTC+0JBZcUwk8kG/3/JQ/wogzjzCGrICXh7uqdD1w0=; b=dxHzjDs0KVDNANZU5WsUkjmKMZkqIB0BGf7jZCshi3sBjvKFuz4b8njznV+49019f1 0aQH7wsjZZrdGN5N9McpapRQ8u3ghZ5o+tx6MqkLGrAFLIOE5SL/U1mxVpYfzUxZVIGI f0L6SSFhtbRi0RpduRQw+ODbr2zZJ0xVayBIoh0++jAiT5Hx14DlYPTWJyG+/Ew4Y+n2 q5s/U2k9J+C5xGBc/2uAQCMLpuX8xDAEedBfwXcDXrV+ug//6SgTXjC+AyP9upcoL9S7 UVeKO/jPKSE1FPj8FxfYauO3/KVP/BE+UYF8iPeM9VIt6Whg+89PvCrCJIo4w27RDk1+ BkJA== X-Gm-Message-State: ANoB5pnVmkyvkDA/YUiRtGGsO/ThllfO3FL5uJ2i9tBtbUrfEO3xw6T3 ZgL5MEXtrefLGNnRfDCTcR52+W2A X-Google-Smtp-Source: AA0mqf7oQpVRfUskrkpI47/bf6jU+aR38oJirf2SMCKO+UYyWm6B8UbOHN9zXEWsXxiKncUo8Die5A== X-Received: by 2002:a05:6402:2b8b:b0:468:cae8:f5a6 with SMTP id fj11-20020a0564022b8b00b00468cae8f5a6mr21608732edb.263.1671449493170; Mon, 19 Dec 2022 03:31:33 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:6b06:b0:7b2:77f0:9d5 with SMTP id q6-20020a1709066b0600b007b277f009d5ls1831555ejr.5.-pod-prod-gmail; Mon, 19 Dec 2022 03:31:32 -0800 (PST) X-Received: by 2002:a17:906:d10d:b0:7c1:4623:400e with SMTP id b13-20020a170906d10d00b007c14623400emr25117365ejz.16.1671449492036; Mon, 19 Dec 2022 03:31:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671449492; cv=none; d=google.com; s=arc-20160816; b=al8k2ZF+mJy/6hLgkOhan1/wzzc78c2GTw/+kmwPipPAUor5Y1pmLdawly7Tal1faV EMsIxTo9tKzZudq2YSTgbX5p5Qq1XlJlp9GPku8BcghcbJusnrfbmb3ckwM3A1IF+jP8 Lyt3MdBmVbrgYo+yo1m+SLu/GID1C1CvHJHAXHP0PxIffTn5vXAR30hLfGmCmaqkqSEP cOOCipN84nv2bKb6rVWtXBf3kNK8Hf6gYjRl9fmGn5ZFvk+BMNybqeYKaAxGcik3HSWt 3bbs6mgcruEyGwIg/4VuReGbWm8eSDQjzAklW49G3x2zmtVAFvJ7+FA1NzCGkchJohKx ipZw== 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=JvZ2owOxinR1LaXaJkQP2QdZ1TAquk6meQFWNAYvXM8=; b=kfgp3TJ3uuq4+KNK6dfyFFHUZ4XeuqnKmgohtrXOGxxPpNuOxtup8uf54DqHnDQZi5 r/PBqCtSAr4FsFZscH1rV4kkQryojN2r2SMc1V3CxUnXMnQk29s8dpLxDKSbMFsiWkrp 1YTroUI69PDRUXsaq9YWnjpOiiTyOqyKgaBhGGSAKm8qtdgcU7dNUG2a8HVLgN3tqVEV e3Pb0kAk9dqHuHhyQDjIjVQhhaROOpGxTVLaSqycmtijTV1Nb9qe799p5eFni9//UIFI pV70WepiGQbOTNz1x0OU3Phn5SLD6AACiFhieyC93khtHvGGLMyryg3laZmO3O0/LYy6 P55g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=lEqe20in; 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 u15-20020a170906950f00b007bfd6014f23sor4158828ejx.72.2022.12.19.03.31.32 for (Google Transport Security); Mon, 19 Dec 2022 03:31:32 -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:6743:b0:7c1:7c3a:5c65 with SMTP id qm3-20020a170907674300b007c17c3a5c65mr27094112ejc.4.1671449491855; Mon, 19 Dec 2022 03:31:31 -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.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Dec 2022 03:31:31 -0800 (PST) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Lukasz Majewski , Sean Anderson Subject: [PATCH 3/3] clk: imx8mn: fix imx8mn_enet_phy_sels clocks list Date: Mon, 19 Dec 2022 12:31:26 +0100 Message-Id: <20221219113127.528282-4-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=lEqe20in; 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 2626cf67f20b28446dfc3a5b9493dd535cdb747b] According to the "Clock Root" table of the reference manual (document IMX8MNRM Rev 2, 07/2022): Clock Root offset Source Select (CCM_TARGET_ROOTn[MUX]) ... ... ... ENET_PHY_REF_CLK_ROOT 0xAA80 000 - 24M_REF_CLK 001 - SYSTEM_PLL2_DIV20 010 - SYSTEM_PLL2_DIV8 011 - SYSTEM_PLL2_DIV5 100 - SYSTEM_PLL2_DIV2 101 - AUDIO_PLL1_CLK 110 - VIDEO_PLL_CLK 111 - AUDIO_PLL2_CLK ... ... ... while the imx8mn_enet_phy_sels list didn't contained audio_pll1_out for source select bits 101b. 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 a2c7c63ef74d..692823e74b88 100644 --- a/drivers/clk/imx/clk-imx8mn.c +++ b/drivers/clk/imx/clk-imx8mn.c @@ -41,7 +41,7 @@ static const char *imx8mn_enet_timer_sels[] = {"clock-osc-24m", "sys_pll2_100m", "clk_ext3", "clk_ext4", "video_pll_out", }; static const char *imx8mn_enet_phy_sels[] = {"clock-osc-24m", "sys_pll2_50m", "sys_pll2_125m", "sys_pll2_200m", - "sys_pll2_500m", "video_pll_out", "audio_pll2_out", }; + "sys_pll2_500m", "audio_pll1_out", "video_pll_out", "audio_pll2_out", }; #endif static const char *imx8mn_nand_usdhc_sels[] = {"clock-osc-24m", "sys_pll1_266m", "sys_pll1_800m", "sys_pll2_200m",