Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4669699rwb; Sun, 13 Nov 2022 10:48:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ylA0uVVx1D7u8NUpkfcEWpPNr5T9z+WgaTwb7YPJUrSf1+uQpcsaaBO0NMSaXhtGw00U2 X-Received: by 2002:a63:5859:0:b0:470:537c:1092 with SMTP id i25-20020a635859000000b00470537c1092mr9228783pgm.287.1668365325418; Sun, 13 Nov 2022 10:48:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668365325; cv=none; d=google.com; s=arc-20160816; b=a5gWvHm34BwjP5PyQpMGBPW48MWq852pparVw28z1TasIGhcYdeQ7MPXiB719QzcCm gZpSzApJhGLTK0IeBhrxAIp1Pak+a7qiwlIWkaAn2UXNN5OyHgW/PpZBGe2RRM66B6b1 N02XHXS6gfkoKeqtNJsnivMaXqH/xeB3SWS/cQ9snZzd2siovedU92HLRqwhXtQXxiqp Yi+MZ0oU5wkSgEzI0CigKxpskAdrc2yaJV/VupgtUEZGRDSBjv1w1Ge7xYzQoDP3aG7j 7+YJYJfQUyQCE+J5+qxCDt0h+G8/jp29pYvCkSLqhHzZdHQ5Q0QBSbyZ4e9PpfCgEj8o 74SA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j6-20020a056a00174600b0057210dc5f48si1720294pfc.223.2022.11.13.10.48.20; Sun, 13 Nov 2022 10:48:45 -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 + 89 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 ); 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 ; Sun, 13 Nov 2022 10:07:24 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id 13so23468960ejn.3 for ; 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 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 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: X-Mailing-List: linux-kernel@vger.kernel.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", -- 2.32.0