From mboxrd@z Thu Jan 1 00:00:00 1970 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 007B2CE7A8A for ; Sun, 24 Sep 2023 12:52:28 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=M+9300yIUXFpn2yaJIzKQPh9lLHuPP9aivVH9anBYPE=; b=VWbTH3H66xw8Tw /fQMJ3//gqXuqRRtRByFtskRT+qsRE7Kc2XsZ9TH3C4wZpFdc/PzEUAqrLhjDPdMSxOJ9XioSEszq V4LFctCkjwRx6UxfOkw5r6c2FKWDaqnOiVy1JN883scZt0lCkdKhwsWgEoWLhWHPJN8jBg7wPuliR 6CPuWUbuJl9Qs/Tzwhi77kiQ7zlWLO0ctT70/6FlzSBxZOmafaROe8HReWCCcbgywyY1VxCTl1+e3 ihWx7+EbnP/XHpkj5MB4wa1l61GIPDTfSQkQxQMC3Hi/GsVGj8Djy8JZ4LGXgukzMz5+QNUBihY4/ IHAG7bfAzRYo5d5m1jLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qkOae-00CGfr-0W; Sun, 24 Sep 2023 12:52:00 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qkOaa-00CGfD-0O for linux-arm-kernel@lists.infradead.org; Sun, 24 Sep 2023 12:51:57 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 21932CE0B1B; Sun, 24 Sep 2023 12:51:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 504D8C433C7; Sun, 24 Sep 2023 12:51:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695559912; bh=Ec0Vn7quyagdyOco4KV9JC+vyZ+v9g289IRTEXvFvKc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=t8Crc2L8lOIU5IHTTuinuS9vpV5eMuU2V17OQ34N8n87SNukriYY8bp6V50D/H9Rr 3/6gVlQewDazwH0Jr4n29i1WXlZhzlBGWWJK8+VdITT7WrqQHDr1103mHUS+VFYyr2 h/XOgsXGr4oBup8wdijgNpfUMOEzUC3BfCBjss5ePFOLH52kajtjWYayZz9MjzomkW vyfYOIFJjR0FmujpbtPVO9qNfPJ0JaVQl0KI6pLhD5xMetzV0TuGVupPHKu6Ljb03V 6ieAjr7e1NZDk4e/UTIjOrkVDwa0JAyPCEoE2c5LdeWazhuWekgwpId7etxROcyEc4 fF6Yvv3A0Wcow== Date: Sun, 24 Sep 2023 20:51:42 +0800 From: Shawn Guo To: Nathan Rossi Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Nathan Rossi , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Subject: Re: [PATCH] soc: imx8m: Enable OCOTP clock for imx8mm before reading registers Message-ID: <20230924125142.GE7231@dragon> References: <20230814015700.70156-1-nathan@nathanrossi.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230814015700.70156-1-nathan@nathanrossi.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230924_055156_341964_9974CA10 X-CRM114-Status: GOOD ( 11.76 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Aug 14, 2023 at 01:57:00AM +0000, Nathan Rossi wrote: > From: Nathan Rossi > > Commit 836fb30949d9 ("soc: imx8m: Enable OCOTP clock before reading the > register") added configuration to enable the OCOTP clock before > attempting to read from the associated registers. > > This same kexec issue is present with the imx8m SoCs that use the > imx8mm_soc_uid function (e.g. imx8mp). This requires the imx8mm_soc_uid > function to configure the OCOTP clock before accessing the associated > registers. This change implements the same clock enable functionality > that is present in the imx8mq_soc_revision function for the > imx8mm_soc_uid function. > > Signed-off-by: Nathan Rossi Applied, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel