From patchwork Thu Nov 17 11:36:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2501 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id EED994211D for ; Thu, 17 Nov 2022 12:36:56 +0100 (CET) Received: by mail-ej1-f72.google.com with SMTP id sg37-20020a170907a42500b007adaedb5ba2sf950801ejc.18 for ; Thu, 17 Nov 2022 03:36:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668685016; cv=pass; d=google.com; s=arc-20160816; b=kbDRGhKVySIOX2MenT/oSiks297vvd7MtlU7BYFWK9kWMHd3gDYVQvI3NtDePM5Z2Z mPsRHL6qZhoMB5iG/llDq/s3m9jtTFH/hxo7+RtAZlF3K6WWTEu3mGXMOAI1BWv3ZmZZ CLbBRLt8u6JAGcGk08oWbMJEEv0DyC6HPsVMFSw7jtSv0LCI/HQQ9OaIru3dI/wz/BN8 0bDcCHtg78FOYwT1GGD03LfLjp0zknvJrE9bcpLiELNTx9oaeAmfeFIj7AI3KMsdo+Xr GKIir5qHYyU9Jd8NOEnxuAU7Z1fiWv3GOunY1tSIrD2NpDlXpAJktZCYMW4prvo0IoSP 5I+w== 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=iE3nrm1jYotozeriRF9iWLztvjKPrULJjTfUl8FxtUM=; b=Aaehvz8sqPxzTAoEatZU1uWzIOJfdF2pBYJIJB5bXYQ1387aIVKrgSpaInd9odgGe2 35AZdkA3Ns8e54DR7NkBgxE8YQapLHf84vWSQ1WD6phODD0mNj7nCIWDoQAXGpSp3IgD cqf8TR3zhUpCu2NP9HpIbOVlbDvlOXrKcFVsDsO7SyxL3Rfj7NSEF8NgAdO9Iqp6RSX+ U45/QLZWmnqZR5zGqnkRMUa+K/oEhsbwTe0okUJNJBEzp0z5khPlgjJNonDoDnW+Ezjm KIJRCnDMQd0DMzJJAck4mexHH02JMXZuC21oP1OhTZ44L6m253qjf65joi3nVYlPBcEA NzMw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nghdVoej; 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=iE3nrm1jYotozeriRF9iWLztvjKPrULJjTfUl8FxtUM=; b=M5VHuqyk3Awpm+bt00gNlKkrd0KIflUBWwowd4ZCEt+1MdlQdj0sUl+AG6bMV9GvaC xeXF5ceoMuFvemAGD7pECc9Ic/yaCww0dlbtXar54Zfe94A5uKATwtUYVDcrwRUhsa2t c4jBrp8yEUyJ3CWONJ83lu6ox7eAqSWQAezwY= 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=iE3nrm1jYotozeriRF9iWLztvjKPrULJjTfUl8FxtUM=; b=Z6f550a8f9pHabPZsd72vchNrzekY5Zh8e5aJBen+0JmTRR49zTdWyeVegUxVMgwDV 2IHK5uOtzYE1yZNnO8ip+tMzl3jucvGOos8XvoHhxPC+6R14Z2ae1pwZQd83JK/Sun1j czD8HhsQv6eNR+JUl2dHAxgg9LMQa1y3xwhIYHEsK0Nf4mDvXPUDLCR9ScQJzYt3RTc9 CZLasnPUvyuWmSMgh4ED98wLV5++BUYfiXae7x9Rz7kkHu0y07vGEKa49CgvhSu355/X SxRi2gqbZyXsqmGR9Hnf2tqpb5MiNKJ/Km7stv2xl1G78iOKAdAFXNworUwHMkavMTtt MPHw== X-Gm-Message-State: ANoB5pm2aHpj8zjUmqE0H/5bj8zbFGR/XezdihYSjgVqYKrOgR+QErIT 3ir/e6ZosiFddipxduRM3TXKhax6 X-Google-Smtp-Source: AA0mqf4S/7S8+GElYsBP6N1oIgVM+Sdy81H9n4bz7ETCFu4ALAp2GpKMEXaX2LrnCtQXkSNzuS2SNQ== X-Received: by 2002:a17:906:4997:b0:7ae:ec5c:a99e with SMTP id p23-20020a170906499700b007aeec5ca99emr1753011eju.219.1668685016807; Thu, 17 Nov 2022 03:36:56 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:4413:b0:457:99eb:cba9 with SMTP id y19-20020a056402441300b0045799ebcba9ls85324eda.0.-pod-prod-gmail; Thu, 17 Nov 2022 03:36:56 -0800 (PST) X-Received: by 2002:aa7:d056:0:b0:464:4aa1:289 with SMTP id n22-20020aa7d056000000b004644aa10289mr1797084edo.423.1668685015792; Thu, 17 Nov 2022 03:36:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668685015; cv=none; d=google.com; s=arc-20160816; b=m419/sCZ51dv+R+UugBrW6ttqx6KMKFkgNivk8OY2rEsTWFp/UXj5pdowLzyN4z5Hw 0iqCUwXcZPqVbT9Mje6se0l5RZz1w9dshLsrG43kcxN55B1c8xVk/OK5lfDHxV78+JuR ZMRcZCushF32IeuKkd0lwxXkeq/mBK2NQoW/+04KPWsg5RB7dbE0KiemUMYh7bzogbbJ /KOH4dq3LLaABvVfF/bYPUicezHiEK0xkX+38l+EzfV60pWwnM4F3ICbZeqrsbUMOnNh Rtzriv4+a0Mfh6tjDc/q8W4p61nPb9lVl92niLMEluGx+7ntAU8pXKbDxylBX350Mbx5 tvjw== 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=V3uDGf6nFwfo97/RpmImJcIh+Hx1nK4UXLWDjOMYdaw=; b=AAoMyMxj99s9MaalKD3DHUj93fR9cRrq+mwV5RBkVxteZsCOt13I2Ih63lSp3fDrfI V1weddSA/XsHWOIs4eLl17u8IB43PuPKcKn7DzaBait8Iqsquglh92IHjrusJSPG6Hme 1WEIycmwnLzQtyGl4b2xk1XCcMJYPXbQkYZ+PGIJ3Dj4Zli4RVqVzP9SNJb3mQUwPOxB /9Tl6V/nLNxAKAJyN6JL80Y49LoT6DTvnu97kzW75DheLoqUdG82wSO0bHQUkppx6mvk hXsDWgh/BmUs2x8OWHYgQdZo/EQe+CkYoiaL4W7AysqXcHAUP+ekMJYGnr+/G4Sg0TyL Hidw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nghdVoej; 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 bg18-20020a170906a05200b00799d9d785edsor281699ejb.67.2022.11.17.03.36.55 for (Google Transport Security); Thu, 17 Nov 2022 03:36:55 -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:49c2:b0:7aa:23ac:608e with SMTP id w2-20020a17090649c200b007aa23ac608emr1738874ejv.450.1668685015577; Thu, 17 Nov 2022 03:36:55 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com (mob-5-90-137-239.net.vodafone.it. [5.90.137.239]) by smtp.gmail.com with ESMTPSA id g3-20020aa7c843000000b0043bbb3535d6sm413897edt.66.2022.11.17.03.36.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Nov 2022 03:36:55 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, michael@amarulasolutions.com, Dario Binacchi , Abel Vesa , Anson Huang , Fabio Estevam , Michael Turquette , NXP Linux Team , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , Stephen Boyd , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH v2 5/5] clk: imx8mn: fix imx8mn_enet_phy_sels clocks list Date: Thu, 17 Nov 2022 12:36:37 +0100 Message-Id: <20221117113637.1978703-6-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20221117113637.1978703-1-dario.binacchi@amarulasolutions.com> References: <20221117113637.1978703-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=nghdVoej; 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: , 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. Fixes: 96d6392b54dbb ("clk: imx: Add support for i.MX8MN clock driver") Signed-off-by: Dario Binacchi Reviewed-by: Abel Vesa --- (no changes since v1) drivers/clk/imx/clk-imx8mn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c index 37128c35198d..2afea905f7f3 100644 --- a/drivers/clk/imx/clk-imx8mn.c +++ b/drivers/clk/imx/clk-imx8mn.c @@ -140,8 +140,8 @@ static const char * const imx8mn_enet_timer_sels[] = {"osc_24m", "sys_pll2_100m" "clk_ext4", "video_pll_out", }; static const char * const imx8mn_enet_phy_sels[] = {"osc_24m", "sys_pll2_50m", "sys_pll2_125m", - "sys_pll2_200m", "sys_pll2_500m", "video_pll_out", - "audio_pll2_out", }; + "sys_pll2_200m", "sys_pll2_500m", "audio_pll1_out", + "video_pll_out", "audio_pll2_out", }; static const char * const imx8mn_nand_sels[] = {"osc_24m", "sys_pll2_500m", "audio_pll1_out", "sys_pll1_400m", "audio_pll2_out", "sys_pll3_out",