From patchwork Tue Mar 9 13:42:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 12125313 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0E8AC433DB for ; Tue, 9 Mar 2021 13:51:12 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A650E650F2 for ; Tue, 9 Mar 2021 13:51:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A650E650F2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=puri.sm Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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=pDXjRwxwDqWn4pits1gViDiHgGGBOgDj/JT/70ByKWA=; b=HDxoqOcLJQdAPNl0Jdj5SN1cSU batdxhs+cef91ubs+hg6/n9SKJ7a/oKkqVFGM8GVRQ23mZO92Wl0+SgGvCR/LksdCpQPHCSYUYAWn 7fhtINPn6jRjMDMF4AEBP7Yj02u8ZbwlkrWuKYbm9OayWmGThIuajPEhlbAUUFQoOd9i6SbiszQGu w/Q2viYA9ddGsQz1x6/Kv9KnK8cQuyiXjfdRrQbIjBq81C06J3Ak9jn6Zfbab/99pDlxW0aSaKx8a r9KHaUkLMaCIOaIwpe1kHKlUa9c9S+/akZcVZHHuWUlukxW6D72LWVnLB3yUSNseEkCwBkhDXFWBe X+dIBD6A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lJcjR-004kkq-Ah; Tue, 09 Mar 2021 13:49:05 +0000 Received: from comms.puri.sm ([159.203.221.185]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lJcdr-004iX1-Oi for linux-arm-kernel@lists.infradead.org; Tue, 09 Mar 2021 13:43:26 +0000 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 98A2DE0173; Tue, 9 Mar 2021 05:43:12 -0800 (PST) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 868Bg6DGNy5m; Tue, 9 Mar 2021 05:43:11 -0800 (PST) From: Martin Kepplinger To: alice.guo@oss.nxp.com Cc: devicetree@vger.kernel.org, festevam@gmail.com, kernel@pengutronix.de, krzk@kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, robh@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org, Martin Kepplinger Subject: [PATCH] arm64: dts: imx8mq: remove SoC ID compatible Date: Tue, 9 Mar 2021 14:42:51 +0100 Message-Id: <20210309134251.2583679-1-martin.kepplinger@puri.sm> In-Reply-To: <20210104091544.13972-4-alice.guo@oss.nxp.com> References: <20210104091544.13972-4-alice.guo@oss.nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210309_134320_383435_DCBFC522 X-CRM114-Status: GOOD ( 13.02 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org this reverts commit ce58459d8c7f4174e7b8a8ea903dd949631334a3 for imx8mq. this is most likely not the real fix but works around the problem I have (with v5.12-rc2) I want to report: [ 0.766925] SoC revision 0x21 [ 0.770286] imx8_soc_info soc@0: SoC revision via nvmem read failed: -517 This leads to the system not booting up. This change makes use of the old way of reading soc_revision and thus works around the problem. What could be missing for the nvmem way to work here? Should it work in any case? I assume so if you add the compatible to imx8mq.dtsi. But if it would work, why keep the ocotp reads? thanks a lot, martin --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index e1ca17fc1fa1..b40f7081e825 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -287,7 +287,7 @@ timer { }; soc@0 { - compatible = "fsl,imx8mq-soc", "simple-bus"; + compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x0 0x0 0x3e000000>;