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: 396973 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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 8EBC6C433E6 for ; Tue, 9 Mar 2021 13:44:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4EC2664F69 for ; Tue, 9 Mar 2021 13:44:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231135AbhCINoB (ORCPT ); Tue, 9 Mar 2021 08:44:01 -0500 Received: from comms.puri.sm ([159.203.221.185]:60048 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231140AbhCINno (ORCPT ); Tue, 9 Mar 2021 08:43:44 -0500 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> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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>;