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: 21585 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp350590wrr; Thu, 17 Nov 2022 03:40:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf5Uw5g+0eD39Ha1DOxJ6BqOj2/7XX9LWJuZTeFIDvmWX0htswm4mQWWTAeU6U+3orx3SBUG X-Received: by 2002:a17:906:9402:b0:78d:8bb6:ba7f with SMTP id q2-20020a170906940200b0078d8bb6ba7fmr1933208ejx.100.1668685209647; Thu, 17 Nov 2022 03:40:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668685209; cv=none; d=google.com; s=arc-20160816; b=p+yYsJ4Y0J9nsbUyjbPjc+CGcdN+aJfV+qwdsLXnYQRciRiXw4G2XEqRHvPTygLcZl 1zlc8tZ98M2u4r+raSpOZ92CqBqE3T/ABS1oX6j+slooDgiasbAALwQsCYaokJ0M2eSx HJDQFls5/I9DjJFtqABIVO5+q2wQ+OEFhyl7+Bip62GClD4lSI3fezMfxuGm758zgg0U GRzlLVuLsovRm6ReXCYm0SAsPKyvLdbRvoRy+vi04gT5fBI+X3qRKTA6qYUu8bIb6MGD EjkAaDRkzIIORc25kuSP+LLGm3meEprSTGG/0el9bwX5XlunWSQyo/tjSW3VfTMxLxG8 zVrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1SFs+QuCEjvSeA5k7rG5hAilinvi7WiyttbklMW+zRY=; b=d37U26J/mil3V2Ch9UlPdqbqrdK8W9z/RMu4xzY2Am+PgYhkgro+AwIa43aOW4U1VG mJh7WGUbTxrV2YqokO4pFL0RkjZ7IMB/Rq1m9OWcLdopgDipmO4PuoprVIVYFJ+XgTeg xKpvMtjuoV/8LTEJ/tXkq4x1F28aU2yQClgHVheDB0qawrHkwVyglYOeqbIrM7nN1N+e POHEA1iGj4W8/DE3TfhmYxXGrs8/G75o04iqb0W/JDzfXShHeuYVumIkG2FSDHdldkIR p1L7spAtqEaLLKG64DNiMbO0sEMD12+CiMszSc2fCSdWJGIaGATJh2ZWQTdGGSgPIlVA +nFA== 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 linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m9-20020a170906848900b007829d30452asi326318ejx.583.2022.11.17.03.39.46; Thu, 17 Nov 2022 03:40:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HAScRzzT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239777AbiKQLhf (ORCPT + 99 others); Thu, 17 Nov 2022 06:37:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239742AbiKQLg4 (ORCPT ); Thu, 17 Nov 2022 06:36:56 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E307697F0 for ; Thu, 17 Nov 2022 03:36:55 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id t25so4301231ejb.8 for ; Thu, 17 Nov 2022 03:36:55 -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=1SFs+QuCEjvSeA5k7rG5hAilinvi7WiyttbklMW+zRY=; b=HAScRzzTzMiwVuHheDpDzRDi1KBTMXnthhKUw5f+srNRN3JRZeL2EZZBx4TXbkJS/C 8EBoHuVzhnZTEcDdoLO9cnSv0GYIch6WGLucnPEQFQerTGfTxBJ3m4IIod/EZ6cWLBtH XYC4RSnUx0SkkHvuzOjJfQ0xyS7WEQ3dQ0ED4= 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=1SFs+QuCEjvSeA5k7rG5hAilinvi7WiyttbklMW+zRY=; b=5dzT3g7Et9BG77peGvwWuth/mjkgNCxXuw6uJ3VfmN+WGXaLGsfrHbaVKgA70K8feY zIQpwvk6vGpsMRO8qi31O5ij9Kg0IOyW2xycDPjDAdKQ2jjz7rsVdJgg0n+1eSH+A1QB Pe/wQfZhRefP95bQUqypRel7C3KhE/WYyA7Wg7tJ970JDAG5tgOhB1uaMWP2C/V7shm2 GebrqBPHyWCEXoKQkBzusYtRby4MzPitZI8zUsObrKxDV8yigD0MZK6u3t3XiUZk8NZy BJ/hS1NCT0thTkGNKZ5rMjBteJokbRFA+yDHlgVgTN9Y8VFZpOJVyfs6qcInqOiB2WZM 4hyg== X-Gm-Message-State: ANoB5plH7yD3zvkqc54tubuCl43x00P6XaRtI1LZ3QlQBMoZ2aq6ScUc OkHYdL1ttJbB9s3znyf30Nhnr/VBpY6QzA== 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749743262868283540?= X-GMAIL-MSGID: =?utf-8?q?1749743262868283540?= 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",