Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4827637rwb; Mon, 21 Nov 2022 12:28:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf5EywwBhPYAPUk1kBZnf2XMRxHI6LGBucl3X3Ikm1ELWJLFvWTZwOkjRaNB+PKseVNXlhLQ X-Received: by 2002:a63:d556:0:b0:46b:158f:6265 with SMTP id v22-20020a63d556000000b0046b158f6265mr210100pgi.193.1669062481072; Mon, 21 Nov 2022 12:28:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669062481; cv=none; d=google.com; s=arc-20160816; b=jrG+aN6INTnsMuAD0irQ9eugdOsMCqOPxxhb8aHXd7X2Q/sbMeNME4OfBhgrFlBT1A Y7Sh1wZqiHh6u2Ahk7KvLZZIimRAzj/N3zNFsYFadC0hWlQKMe+fEgRVj8X6UIhLYTSL t9L+BGlc66ntqOLpofoFLnDA2VuxAbK4BPryp5+SALmh197YzoEOVnpasQt7KC77kJ0I Jn82CT+6XFNWXlAklMip6x1WgnEPQR5jTo/kRHS9EZSjBOQ9yTNOLbIiQ/fGBnVAAjD2 LX7RgCq2bUkMy1j39NxZNIMLzxyp/M3alNzqgCUVVGjbSOOTuLMlH7o0Dmxu321ydn5Y Zyiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=i2YssgXesKzDDqTy+l2rOE6j9dPCuISGfB3qINrW5NY=; b=tlsNDzruLkz45as4L4pU+1uKy7hWSCBU/cbyLKfSz5slOhtJfW1X6W2m3/VauLZE/3 4NbQgEpB5885if2dDNnaNs4e1zDvMaHid40KnMpbkwPw6JVOlObH2uj94pqdhUyrHDQq ZBbuAh6SGZhVXaWliktlPYH6jz2hkDMheuJQ3HNRiGxj7SImJSUoAsJtb3JokfGzr0b/ Q9Jt4yGyzcISz6W6u9GSgH38MSECq6HyUX+ORLUhHJrfkbjNBwrpfjhBUiRQE8vt02qP 3CjUjaqh6U+8MJqiIp95zog4yeyRnvFQ/XytQEL1L/WdJHrXsezq0XMlVLi0CafcOBv1 ghFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="DDKxtQ/4"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p15-20020a056a000b4f00b0056ce0f64370si9538pfo.108.2022.11.21.12.27.50; Mon, 21 Nov 2022 12:28:01 -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=@linaro.org header.s=google header.b="DDKxtQ/4"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231925AbiKUUTT (ORCPT + 91 others); Mon, 21 Nov 2022 15:19:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231892AbiKUUTN (ORCPT ); Mon, 21 Nov 2022 15:19:13 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14B97CB696 for ; Mon, 21 Nov 2022 12:19:11 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id t1so9268429wmi.4 for ; Mon, 21 Nov 2022 12:19:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=i2YssgXesKzDDqTy+l2rOE6j9dPCuISGfB3qINrW5NY=; b=DDKxtQ/4PQQ82eX2FE2Bvql6KWZbbrka2EcphaRV5wFLOTJrhk+uG4+f6TOc46kBcM 85NZIurnpnl5IROuuvrND2pI0OFFrc0TBdAUrgJDqDyzQJu56VuPCIW95+cXmh64HaRk QBObzvAMYeGkT0N7Dec6175IQPLuuKdK6bn5gd6eVNtfaQG0uAiXmTd+Xv4TSEgNz4+X XGsPTafMhV4XV7e/QfuSZROM7SJ4YUYleAfKPthap4LcSkOTyqGDd66KzH51Fm2qdspG sdB1owBEaCiJJOyfOx5nujuQq/aIi2MQo6E20L/OV06TGYyy44pLoIGnJSKfN4lIdbSh 1POA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=i2YssgXesKzDDqTy+l2rOE6j9dPCuISGfB3qINrW5NY=; b=URi/c7zliHX5JD5LPq25IkeQkZwfn8QVmaNYHFoC1sfLsQrfCqecalCdGUHGWulkKg 7wCnhBlvI3jR0qgEksnM4ZcieYOHO6uMdT60S7cIA4VSaYmP5a74ldDd29wKXUQpnBz8 X7zg6ZYSrOQPdwlHyjo1TXgEkvPY89SeLxIh6rAW1mCoThn66bnWIjbpJEBhO9+iLbx2 EvPrHaZe+o21vLZJEK1+SP0/0FJXHdC0BMnfttEqyuGJ6NIa/ihDFjKw1TR1DqnFsIsL VIy/yCvRika0ltAUbgy8LZQyenvhJZKSYsn4sISFUBxjU3cl4dVYiEuic2QZufQuJ1rl 4JqA== X-Gm-Message-State: ANoB5pmDr1z/8dQTRdTBaBHJYKbvf1shEGt/GmzHVZ59lBP3y/OXYNg0 Syal4ODRxoTnruxNuMKZW7U7ZA== X-Received: by 2002:a05:600c:1f0c:b0:3cf:a41d:8418 with SMTP id bd12-20020a05600c1f0c00b003cfa41d8418mr6267451wmb.190.1669061949631; Mon, 21 Nov 2022 12:19:09 -0800 (PST) Received: from linaro.org ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id o18-20020a05600c4fd200b003cfa26c410asm21561537wmq.20.2022.11.21.12.19.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 12:19:09 -0800 (PST) Date: Mon, 21 Nov 2022 22:19:07 +0200 From: Abel Vesa To: Dario Binacchi Cc: linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, michael@amarulasolutions.com, 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: Re: [PATCH v2 4/5] clk: imx8mn: fix imx8mn_sai2_sels clocks list Message-ID: References: <20221117113637.1978703-1-dario.binacchi@amarulasolutions.com> <20221117113637.1978703-5-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221117113637.1978703-5-dario.binacchi@amarulasolutions.com> 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=ham 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 On 22-11-17 12:36:36, Dario Binacchi wrote: > 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", > -- > 2.32.0 >