Message ID | 20221113180710.1625410-5-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1781120wru; Sun, 13 Nov 2022 10:10:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf6NsMYXl7m3XHDcvzWn8w56MW6ksN/d5PNaboV4RolbZ3hYAAs4MqoEy2nC6TtL3AcCPzCV X-Received: by 2002:a17:906:71b:b0:7ad:9892:91e8 with SMTP id y27-20020a170906071b00b007ad989291e8mr8304523ejb.620.1668363018261; Sun, 13 Nov 2022 10:10:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668363018; cv=none; d=google.com; s=arc-20160816; b=Yt2Vi4Cmlyg6Fgl1MTJlNNSrGVPWFGi/5Sj7H7YONgiju/JZPmfAd81JxelDw3KjBU Qdnr+QgCtR0tuwQiNh5A/PKuPI/bMXFBWIVT9OZThNWoIK0gJ2BqtaGovIGzle5EFYzU lNW/MeRs9zyGusbUgcXAwYllRDfx6RUBGUtStzlF5TCpWaYMqnJQwlMT25WLCDTk1co3 1WrPXpLEsRh3G+HIJDPWWGZB9GHt8f01ITJy6sJ0+EpvDX4Z8TBV4da6p0UPlXyuKK23 5fP5DafdBwf8tBRVfRFmJpr9b3XkfgChYVMs8QF5n1mbFkvIY4WZFdTLXvNcabG73KUV o/rg== 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=Ywf6b+IbFOVLTjHv9G0JoUs4QJxVF9RbJDvY4hkSgIA=; b=qF5aheCM1LeHV0BPySubBTrJmE8YZnRCsyaY/c2plFZeoPyJwDLpF8731T4wAcCx/B QeKf8lUvEcVllYKML45xzwzocOcOo7KXbOAGSbx9hFKgPxMltJoQ7PbuUznbg7VptU2z uYjdHFd4M+83E+CJvc6hOYTARPRK5m3LLjubHmjwVIqA56jjlxJHGhfRNvbxO+LPctNu rkOdsYNiMmUG2fxvA6PnrPsJWMN+OpDfwDDclkqL1RgHet+oaZIB/lR/LHJO5uhGTtPm B7wWXdDF6mL1aZajlg7GQVmtBTIc2lnGlRUB1fTvXgyM5SXwy+qoGs+quhn2AtfLD8Un 8+jQ== 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 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 n18-20020a17090695d200b007add6c865d8si5511501ejy.684.2022.11.13.10.09.54; Sun, 13 Nov 2022 10:10:18 -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=hin9Lr5J; 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 S235442AbiKMSHd (ORCPT <rfc822;winker.wchi@gmail.com> + 99 others); Sun, 13 Nov 2022 13:07:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235410AbiKMSHZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 13 Nov 2022 13:07:25 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D8DF11A3A for <linux-kernel@vger.kernel.org>; Sun, 13 Nov 2022 10:07:24 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id 13so23468960ejn.3 for <linux-kernel@vger.kernel.org>; Sun, 13 Nov 2022 10:07:24 -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=YYGe7df+c6lDEtQhUvPR/Z0azLGSJPWOItq8GxktX9kaE3HuDDyFWdfOvABKYOWop0 TbBxwYjQMT6bx/3LH8/r7918pFnf81hYhdT8nzo9IZfV9IjDVKZ0RMKso8XfDDuIClzR U59fDgAak44CxH2+GsanEGx+BpYcdaebK6CH3K4XNWA67MnJl6QbG0o4R1WMLchNCsRG fYXLX3A4A5EuEwBU02Ht3wYtwrha+t29sJG5NrL1YxRVzwzanVUVLBdlusCYBDxo6ty9 u2K6wA68pJGfDvM0Ou/10pwxHa2RouMCDPoBsD5x6EXyiZ/UKabtxKgsPSVRekqDZ5aJ BPOg== X-Gm-Message-State: ANoB5pnG2oH+hrdeOaJ5hCw8tXd79bW7Rd1tsLMYJA8UsGYek+vRDJqF vDzPOmLXRbinFFbtBkntReTteig5zpj1eA== 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 <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, michael@amarulasolutions.com, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Abel Vesa <abelvesa@kernel.org>, Anson Huang <Anson.Huang@nxp.com>, Fabio Estevam <festevam@gmail.com>, Michael Turquette <mturquette@baylibre.com>, NXP Linux Team <linux-imx@nxp.com>, Pengutronix Kernel Team <kernel@pengutronix.de>, Sascha Hauer <s.hauer@pengutronix.de>, Shawn Guo <shawnguo@kernel.org>, Stephen Boyd <sboyd@kernel.org>, 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 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749405420571415727?= X-GMAIL-MSGID: =?utf-8?q?1749405420571415727?= |
Series |
clk: imx8mn: miscellaneous cleanups and bug fixes
|
|
Commit Message
Dario Binacchi
Nov. 13, 2022, 6:07 p.m. UTC
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 <dario.binacchi@amarulasolutions.com>
---
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",