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: 13046641 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 01D5AC4332F for ; Thu, 17 Nov 2022 11:38:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OlbTqnXT8y5ATEzQwFk5QZ+YU3jFHR6UqH8c0/sKKtg=; b=cpeMyWEFBi4pQr Wsuqobv3a0VTAU4kcrojVs92261Y57bOcpN6PO3+R0X1IJOJUDjS5JTE6s7nz46VpANyj+VGO4gTW 5+Y8ZHKFmIIUzVjLDVEitzcUwDle6c2Pas5oWbRzCV9N8VUHRCk1Wdtk5WrdVI6LpAsbtcr2KxhDi irWIXZv+1PWBRA8E+8UhXQfJEsVTTzPH89P/UNQB3Jj+WOVjQJ+YKUczHaEYu2iXAS46RCOTON6VM FPy9KS9ayACcfmLnH6qL+thbPs9g9EjzWflOn73mXtGUjgUbZJwyJ60vcAdyNVD5MiQ0SLcFIYwx+ ARRvaFGIKz7R6PrR3hSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovdCt-00DJ9V-4f; Thu, 17 Nov 2022 11:37:23 +0000 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovdCQ-00DIvQ-V3 for linux-arm-kernel@lists.infradead.org; Thu, 17 Nov 2022 11:36:56 +0000 Received: by mail-ej1-x631.google.com with SMTP id kt23so4318636ejc.7 for ; Thu, 17 Nov 2022 03:36:54 -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=gwXuz/X8Mt9KGrVaoluZqFCwX0a86T/xFjJBhZgjYhFE/680FaQEOGG5jIoC4hENBl c07MKNJMGBSD+lCrY06KHA/Z3QDm0Xkjum3/xXFc8eoYS2FnZpGFncAR5MTDAJf2oxZd 8oom3iNlw8PPy+9zuugwt1X0Z0luCvA6br0GMELh7eNl2ntjrDE/kulfa3RIms68NBj0 jOaPhudnGt8hskGcVRjpDCK0VtgReLlDtmJzJadf0rQ97a6ZcOE8zOYU1zUiv4m8m6Rl I+yl57CsnolsHOkT1CHvi2eaIrp0k/twpHikGBW6aVlFcAJaj+K7BQXFIU9qBWL31SFY B3aQ== X-Gm-Message-State: ANoB5pn8gd6e7wraJGJqzUOhjYbtkg/Ikw/aXnQLSjcMWt6HhXlx+dV2 dKxcnmZwWNYSsnhDZgfTiSApYA== X-Google-Smtp-Source: AA0mqf4K7r/gLLF24KW0FjHrDSx3N1e7ptvm4Bq2Kgwmep/3Tt6m1SOa7CMxe9/PFzl5etBPl3NN5Q== 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221117_033655_032057_823DB630 X-CRM114-Status: GOOD ( 12.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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",