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",