Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 59E1DC4332F for ; Mon, 19 Dec 2022 11:32:05 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 78AFF850EE; Mon, 19 Dec 2022 12:31:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="lEqe20in"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CEFAB8492B; Mon, 19 Dec 2022 12:31:38 +0100 (CET) Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8866E8517A for ; Mon, 19 Dec 2022 12:31:32 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dario.binacchi@amarulasolutions.com Received: by mail-ej1-x632.google.com with SMTP id ud5so20749003ejc.4 for ; Mon, 19 Dec 2022 03:31:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JvZ2owOxinR1LaXaJkQP2QdZ1TAquk6meQFWNAYvXM8=; b=lEqe20inKT+Pa6/YK7ktK01Fnv5lNNmOgDLzyMoNIm7pNO/gKBvVf499Z8Zh5ZbhFU CVLzaXaZzz/OMLq65PO7iyTY8ch/gdAX6VK/DawABr4WCElTrCa660z3hdvqkiPm1Acx fMEyyvZFiESq4SkCeI0R42gQXILFqPCePontI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding: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=JvZ2owOxinR1LaXaJkQP2QdZ1TAquk6meQFWNAYvXM8=; b=qEJLRYUOYw1Fhq1mC9eKoAshWWUzLvzbX8nCwlnhyyQ/LonQQEthxlvenHuAUi6wto keOuTc+ENDPEP4hNekrtjXsGUWQnUunnKahBdiCvRnJxR7O8vCnL1DyfVjqzw/wNqq0R ydwicTCT+eAV+0IwHD6mvASWY6cV9MOl074xtJgF0Dd6BkLlu23MN2Ys2o9l3mlCJJQA 2QJSebk6SdqHOtswjHCFc35NuBrQAy98NLn9MOHNOaqmGmm4UcCKwNWibPNYbLb+/QMx ncRPCmmsZOqPQN3kl/+gb8MIVCh+n7lRzmDd1uSWqSC/T6tgr7kygY7M/HJZH+LbEuzQ zSHQ== X-Gm-Message-State: ANoB5pmcPaSauma5sdhv8537/LjrBvOWHIOtrAC/OqmQ/f/Tf6M0Z5bs RdAflTsMhEUnaL4xuYMHIH8ceG+f7clx1kqM X-Google-Smtp-Source: AA0mqf7PeoBHoswgf4HIvSiUbNSeTlad6JMil/ugKvML6VAYuLUYLlaqucZ0rsLItWvABQEh5N85lw== 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 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean [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 --- 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", -- 2.32.0