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: 13041687 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 BA6D5C433FE for ; Sun, 13 Nov 2022 18:08:36 +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=AjjdXURN9ZKSmrdyfy+gwWqE2uVPK6dNJkvjRDn5iik=; b=4jXT3T+GJEw50M DeG6Xm97+Nf7k7suucSq6oiAd1Ib+ZWRgLt3Y0YgMU/SzhDs+DFzcloTks88tBqTyDJvUV0YGT4GU gQMgOFgkLE9EusN1Jgsa07Rin3HGurC5ChPnuNA/aCgv+B742qEuI1S03v5yChYEVv7Pi9hrl/0U8 YD71avEgrwAHu7TlmjRhRbtRyjo0LOaaVJStxTWcaDRtdsoyDOfkW5PBBVYi2yXSo9OYh28G6lVCe AXV0aYzQQ3Em5+wUcOEtKXcECpe/UUOGsgptx3hp231vmwqnDHEjQDf4yLr/tt0l9wbiqeTNWJN5P MJ6+VZdgrM4j8iOtxKPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ouHOI-00CpOJ-RR; Sun, 13 Nov 2022 18:07:34 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ouHO7-00CpG3-1m for linux-arm-kernel@lists.infradead.org; Sun, 13 Nov 2022 18:07:25 +0000 Received: by mail-ej1-x62c.google.com with SMTP id ud5so23406745ejc.4 for ; Sun, 13 Nov 2022 10:07:22 -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=Ywf6b+IbFOVLTjHv9G0JoUs4QJxVF9RbJDvY4hkSgIA=; b=hin9Lr5Joe5vd3olZvvUG7/wpSBZyrBXwsfzX6islosOI+AFu0EcoNnJ7sxEGWAwpQ OE+O8tdQNc87u3kdB57YvH05emhmk1ZJRl1gQT0GCLXNJZT3Mun+g1/EgWDxMzb5YIhB nm3bai4xCptl7uW/7jpUWCMWZaPhsdymxzqg4= 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=Ywf6b+IbFOVLTjHv9G0JoUs4QJxVF9RbJDvY4hkSgIA=; b=Dbkp2nw7tqqkFOiQvQ0tL/3ynMnvIxlfClMxkc54WHdxECWLDqd67F5dLuMQzebaNI eDQQfR0tN3ofNYyX6y4rH3G/EDQD1VRUsGNTmU9d/iDrPEzgeno+p8meyynoPKkxFuT1 eGMR4TE9eGlVJc6mtBCKi1n1o6fC/9BRJ1sSHb5TcMwh/U+Hbt03DA8GUzfcHvmbt+Vy jEv3fKSwnElFqvdxV3Tzock++zcbKV8XQS/Yy9X7/QyBA3MobXZTQMakoMwr61SMYJBj Rl6fiog2UocfGNlLxN5TAJPKMS4w+SY8+Vtk+x/fmBgd9zqAx1NyQXB5Wmsn45d/DSDF 2s/g== X-Gm-Message-State: ANoB5pnpN+I9Q3kKTwiZ2jmFFBqheBzsRSxpso/20l0/Acy5mAOQn8d+ Y1hdc6n9pvwi7V5OSGRjGbOWgQ== X-Google-Smtp-Source: AA0mqf5/5Lt0K9H+vpsJNjdcN/7weKL30uW/Mr4Sjk61dOE7gBRDMSYHcHTgHTZ6IFoazAgvOeEB4Q== 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221113_100723_116389_C2B7CAE0 X-CRM114-Status: GOOD ( 12.23 ) 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 --- 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",