From patchwork Sun Nov 13 18:07:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2484 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 3A6533F1F5 for ; Sun, 13 Nov 2022 19:07:24 +0100 (CET) Received: by mail-ej1-f72.google.com with SMTP id jg27-20020a170907971b00b007ad9892f5f6sf4372500ejc.7 for ; Sun, 13 Nov 2022 10:07:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668362844; cv=pass; d=google.com; s=arc-20160816; b=ibumHrX8Qfkt/DmX6LWVn2gGAB+yVvNKs2XRElotGJBc0ldQTquyJn+pJUOTZ43bIJ jyLv/xnQ/qTM4EuD9R0bAfn5DVCTpyFxWRQvnNHX9PiQZ9tEofc5DLftgHlG1B/TrnUj CfOYxfRkvbATKxvqhaUgcjCMK6mWZfwpfk5NmwQgpLUUM2Yj+qME1TyT45KoLxzoIZPD GpjHUYT0D4SDrQo3ZbSpirTA9O9Xf2cO+AKrMCdBURMwWJeOjCj+zIy2b3/oPTm+rsXe I92UecWB2MNihOqSsgeoEpl9+ULA4De+TCuRAXaRYcxbclgivvbWcARF+3Oa7NxFYqDU +3VQ== 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=JV2sAAe5yKzI7R8dx1T4371EyOcwsDGuYuZSLVq9yw8=; b=wRgVCVI74W7ta8EV9T7gJOa/XZo7ntv8Sq8jexzcXDbp/3uAUdK3gVSvuyHIPQmSQJ o2aDvDCp2GbWkd1nJlaS+LTt3/imTlPNNOnA6rGRlbE1Ghr5LhhLpz3ClpbBSlzIFXZn pauEskb6gAGoUhn1AH9o3ThqUKjm000+0auKwp0VXGhYk3r0qoZqCyfTi0iIlceJyM9E luQ73wTubOgQ1LHZl6A6tmZn4af5dkbxoYUXpBIPxZIuXmlBoSIVChvTNsA7ZPs6t8bU uWQ9rA+/0jxFHiH4P87KPiBptEfoOwKVXwX9PjnRgPwskvLVJDBKnJolxzUDvHi7epGd TTSQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hin9Lr5J; 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=JV2sAAe5yKzI7R8dx1T4371EyOcwsDGuYuZSLVq9yw8=; b=KO+pABjCsM723hiwWzBHrb+iXXR2igKyD08NqMiyZodlREKWnlLGpIZI3QQP7+gTHW XOiay4J0I1trg1ln/V57jZ2dKI7eqnAE37tWweyhDlgOAL+4qUk8haqUWBMoPrNI5DIg 1I23wr6JhxOCjNc9FH/jOvs/84lFCgbt0TVCc= 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=JV2sAAe5yKzI7R8dx1T4371EyOcwsDGuYuZSLVq9yw8=; b=uN5S+nZGwMdv5fg/Sj88MeOM/hahCZC7OyYNi57YoW0vrYiETYd5Rvn1yjU6G1mFew 9Gh6uBwBg+nEzZl+/ret7d0nPdMbUYGbEQkqtB7ZfMFwlaf//Ch+QEFpw8nCxByQV2fd cebMllPIaL0m9VYn7Xa9AEuNUSl/5lnWSl5FO5Z7mCw6QQrP7XDknErsprOF0WJ0V88t fCj8NiHyfgz+vYJIEUeI9Ol5iiDdMKBxb3oeeAcPbE+qHQiF45A0lYgpf11Bi8OvwG3A PAteAVM23xULAgZlWJSm9/jL+mgO07hCxXk5kE5pJyfUrKpQa9LUNJfH+ZnHi7bCgm4O JIlQ== X-Gm-Message-State: ANoB5pk5zRUl42wQl4UTevQnWUURuR1oR/WweSuAuU+rgHb2SRWqSkom hp1xgLaToMI0vaFO0PZl4co4KCoJ X-Google-Smtp-Source: AA0mqf6W3q9Z+4N4kacMqiXo3WhXdM/aU3vpeQVXVg1Q0uv9a890ZU/c4QC0u+7YmopkwFlsdnmmiw== X-Received: by 2002:a17:906:1f0c:b0:78d:cd72:8e3e with SMTP id w12-20020a1709061f0c00b0078dcd728e3emr7839434ejj.212.1668362843992; Sun, 13 Nov 2022 10:07:23 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5210:b0:43d:b3c4:cd21 with SMTP id s16-20020a056402521000b0043db3c4cd21ls2529809edd.2.-pod-prod-gmail; Sun, 13 Nov 2022 10:07:23 -0800 (PST) X-Received: by 2002:a05:6402:2070:b0:461:8692:2787 with SMTP id bd16-20020a056402207000b0046186922787mr8743902edb.199.1668362842846; Sun, 13 Nov 2022 10:07:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668362842; cv=none; d=google.com; s=arc-20160816; b=rXVA8cP19UbxktgDMhW8Z62dPquC02wTTgQsAxyp9GQ8S7J3EVI+8Gor6ZOLUv896+ 6SqLN8iYW2FumV/AdJMW6jEkj5lJGeycWpWKWEMP5gNSo//NWDyjO9qyVUwMcc0GPtCd cPq1Csdj8wZrm1Ae+/PYnE0WHpuFc1mk6Rfcr4jAD2Nre7dTywtw0ejDx0Cka/SsJuXJ OXlYsxzMyUEg5JluQ3nxzONcPxPmASDqxytOb9Ci6AYWlMaifm3rq1IfnfDUD3AiGgj/ jMssLBJx3MIasCJAwG46vgyp8AzkYdUQPSoJGWeWx+f6fINhfCXpSZ+1h0VLCmW4ucTC FR7g== 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=Ywf6b+IbFOVLTjHv9G0JoUs4QJxVF9RbJDvY4hkSgIA=; b=HJXMDxWC6Qd1eIWELfKCAjw7l7FHN9NfBBl3+CuXW+U7IupI555lcrcA9BPDd+0lKG 9mchjIdNVyEA7h/H3p98cLat44BPQLd/LIF2IgXaiejt6dhi2UOsUte7V/vOK8WDGnqy QF2gpl0VtEj0iQXr9Bf/WaXUg4/I0NkT2S/c2e8bVDv2if5SpGLTP13JrxwX2ZrfnbFh vzskG1DTLLZU1S6rEh7EIdCnENwfz3tIagSd5TPtuc9mg1w7VOjpRMaDlbb2ol8ZVUVV rNp5u9prVJqQy3eFrtMAVIjwTefrET6G5odN2XCP+X53l6hXui7OY/bDqmCgnThfWUjY uHYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hin9Lr5J; 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 m1-20020a1709066d0100b0078bea857b34sor2998803ejr.73.2022.11.13.10.07.22 for (Google Transport Security); Sun, 13 Nov 2022 10:07:22 -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:bc42:b0:78d:7a4c:13ea with SMTP id s2-20020a170906bc4200b0078d7a4c13eamr8130192ejv.471.1668362842656; Sun, 13 Nov 2022 10:07:22 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-40-103-33.business.telecomitalia.it. [79.40.103.33]) by smtp.gmail.com with ESMTPSA id n11-20020a170906118b00b007a8de84ce36sm3171058eja.206.2022.11.13.10.07.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Nov 2022 10:07:22 -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 4/5] clk: imx8mn: fix imx8mn_sai2_sels clocks list Date: Sun, 13 Nov 2022 19:07:09 +0100 Message-Id: <20221113180710.1625410-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20221113180710.1625410-1-dario.binacchi@amarulasolutions.com> References: <20221113180710.1625410-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=hin9Lr5J; 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 --- 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",