From patchwork Thu Nov 17 11:36:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2500 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 1FACC4211D for ; Thu, 17 Nov 2022 12:36:55 +0100 (CET) Received: by mail-ej1-f70.google.com with SMTP id sc40-20020a1709078a2800b007ae024e5e82sf962972ejc.13 for ; Thu, 17 Nov 2022 03:36:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668685015; cv=pass; d=google.com; s=arc-20160816; b=bwvsGmvXT93qEPAE9Wh/1pbuOYbb3cSpWWeIn024f30YR8zBVzGleRkQu1k+NIkZ8L Sz767/rnVN4T6rMtF5CJFV+qqexzVXSubQyDTlPQSU53svQ+vaerb4ZrMmtIQETGM1nV cVt+zZkDxwP9oc7ys+sQpUEpuulZAMf4wM8BYArIvCON6EBcUfYrQw3fuRyOiFnwciDp awaA2kuOioV40YxQuY6oOrIMrDvg7M1MYyQeVdsrRqaLfKruR6AFEUTNTnYe4bnUnQ/u t830ubo+r+DmahWDP8TRHTF45llDrZNuhvb6BloCqd2JGetA7C8iIQOhAziBSFnXl/cU T+9A== 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=ZOlpcqghMK6uSLl5TQqdBYixKLmHZIj2zxFvCiGVb8w=; b=wCjxtTG+nGoDNvrkA846zV1ZFNjptmUDNeFaaeb7HfeWwNvRN2I6RmyFy594tWnIoA BsUlwDzBkAkJiq3wP2fMGIElOFqI2gRgN73AQqCWjmluVEI5iwPmpNc34rOPJPgI/fCh uOMHXGmx71HW6mndMGZwGaC0n3akJ+B3RURLKqjxnQqDimhVPcr7EgchkTgFfjr3Gxzc tPaIIVR6vCpzkUaHqoaQHdgiXKt7jteqWVyKh9TqbZBHN/Zl6EF4b85XumFqPZt6GZA5 QUJbQfnOAoK0Y2foGMHZvgo1Xqhd5gUgChZ7iJlir/Tip2n/N12dBZ0sdsJFPAbGojrB VVQQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HAScRzzT; 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=ZOlpcqghMK6uSLl5TQqdBYixKLmHZIj2zxFvCiGVb8w=; b=LRuIqiM6S0pTxEY1PIITcSmCo8fFz3uKrOLopbvKZMM2afAJpWk492YyWnKPRQtgtd Af+NFwItogZHczHIB+hOCuNGhJ7ZjLjbfgm5C7JD0VqJdWzq8xxFjenngqwPvCZ8h/bR HzIeAxjtT1GHwXdi+f0lMOYGJoJ1lxc4h3KUs= 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=ZOlpcqghMK6uSLl5TQqdBYixKLmHZIj2zxFvCiGVb8w=; b=gANq43ybJXQQ+kaiIOXKYgxioUz2sIAJc8iKP9HpGAJk2aphZWZdVmfwSSrrGstyQh qZsmcpQFXeWUccOkyMGIBiz+5R4Wri8G76bCASuZ+upVHIyTmhCifLQ6LzUXsRHGXszW LAWbKi45I5NJ75+TdnLTWrnMt0lSoyjQYQjVf4wH65EKsr5prVVIGtUjAgraDmzdNNI+ LzrJ+I+8JzZsOvuqWfo0cZ3Uoq/TGe/oNRFJ74eaX0E5FONal+H5wpQ0wMok4Y8MA196 wNSn9RKEDb216ZZU85ZOOQXm2+i6HR/+xmdRjOUXkRnbo1Ou4NRUWTs1kDYqcWBFYD3r eQjA== X-Gm-Message-State: ANoB5pm+r7ercae/cQpWNJKXL9fFN6Zwx4BBzOIohaOHPN5izLu270/1 HIuCUCcIYrY3hcjybgBwWVq7fINF X-Google-Smtp-Source: AA0mqf7vyYZRE3M/RbSMJoleN9SrYN4s5eubORWqbC0AGfiFR1Hczo2AskucZzXd6MN97pix68SlGw== X-Received: by 2002:a17:906:c40b:b0:7ae:1e53:95b2 with SMTP id u11-20020a170906c40b00b007ae1e5395b2mr1754632ejz.333.1668685014933; Thu, 17 Nov 2022 03:36:54 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:4413:b0:457:99eb:cba9 with SMTP id y19-20020a056402441300b0045799ebcba9ls85258eda.0.-pod-prod-gmail; Thu, 17 Nov 2022 03:36:54 -0800 (PST) X-Received: by 2002:a05:6402:5010:b0:467:60bd:41a1 with SMTP id p16-20020a056402501000b0046760bd41a1mr1846639eda.97.1668685013982; Thu, 17 Nov 2022 03:36:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668685013; cv=none; d=google.com; s=arc-20160816; b=FwB80tkSiDenZT9JL5HpXrcgEurQMwUC/080b8Ends21+lUvPGlWmveW95KaY2Cceg tFAkFBJYXLerDa27mGATRflavgHIkMz+tSDTN7R+W7mpn6vgCCpicsUNa6H5Ox5Nkfoh 4aSHCmBN5crz+ySaJJMneXC28F/NrvC1AXOGkqLy13XfVXUXdVyBO0cy2xv5zgklvUjp EMc1bMKlRUUC5kcmVsyIH7GjXlb5swBevfK8qPNl1zZUJ0tIGx9s/AUBZdIYXonVLZ+x MXvxvpRXzJhFMm0HkSCBlDdyHS1iNE352az569ntG9XZA0pyXNv76OGRSi7ssbiUD3RB drAg== 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=1SFs+QuCEjvSeA5k7rG5hAilinvi7WiyttbklMW+zRY=; b=Pd+stCBnQnlCyodI0SaWBSeBUaqQ/YxcNoJy6FFZmD/bmKotnKjgatMwLy4HdDImUN ah0uh0Q1ak+xw2mdNskYP0R2Qoq5uQUKJrl1MxUaT+m32L1Co4mDLxp1K6MrPiypxPaA HoOR8j7V1877GYuJpOdgRufSmp1D/xZEGJb9FBCx1YiF9DUiiODwqydwV7sfYS5wi5k/ PVTwXkPnEWMZzUotcVGEAuZeNRF2geZMCbr1nSqV1c8kFG3BFPewkEHvyo1NwUijAb/Y tCH/BcmE78c/aXwlJozxrk/cpmeqPdPstNs3ah7BPtYv6UzrFdiaUmWwJevsigMZ/NR2 7Fug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HAScRzzT; 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 z3-20020a170906240300b007b2a0a61cc7sor268509eja.91.2022.11.17.03.36.53 for (Google Transport Security); Thu, 17 Nov 2022 03:36:53 -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:15ca:b0:7a5:7c1c:cc5c with SMTP id l10-20020a17090615ca00b007a57c1ccc5cmr1779224ejd.644.1668685013753; Thu, 17 Nov 2022 03:36:53 -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.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Nov 2022 03:36:53 -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 4/5] clk: imx8mn: fix imx8mn_sai2_sels clocks list Date: Thu, 17 Nov 2022 12:36:36 +0100 Message-Id: <20221117113637.1978703-5-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=HAScRzzT; 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]) ... ... ... SAI2_CLK_ROOT 0xA600 000 - 24M_REF_CLK 001 - AUDIO_PLL1_CLK 010 - AUDIO_PLL2_CLK 011 - VIDEO_PLL_CLK 100 - SYSTEM_PLL1_DIV6 110 - EXT_CLK_2 111 - EXT_CLK_3 ... ... ... while the imx8mn_sai2_sels list contained clk_ext3 and clk_ext4 for source select bits 110b and 111b. 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 | 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 b80af5d1ef46..37128c35198d 100644 --- a/drivers/clk/imx/clk-imx8mn.c +++ b/drivers/clk/imx/clk-imx8mn.c @@ -109,7 +109,7 @@ static const char * const imx8mn_disp_pixel_sels[] = {"osc_24m", "video_pll_out" static const char * const imx8mn_sai2_sels[] = {"osc_24m", "audio_pll1_out", "audio_pll2_out", "video_pll_out", "sys_pll1_133m", "dummy", - "clk_ext3", "clk_ext4", }; + "clk_ext2", "clk_ext3", }; static const char * const imx8mn_sai3_sels[] = {"osc_24m", "audio_pll1_out", "audio_pll2_out", "video_pll_out", "sys_pll1_133m", "dummy",