From patchwork Mon Apr 17 17:38:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrejs Cainikovs X-Patchwork-Id: 84371 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2296100vqo; Mon, 17 Apr 2023 10:45:07 -0700 (PDT) X-Google-Smtp-Source: AKy350aAO3P3yKD4oaHB/xOiqIq1wi2L5IkK4YNajkugJi8ajxnGOjJiWOki7EHWr4tP6AUARkg+ X-Received: by 2002:a05:6a20:8f07:b0:ef:d09f:714c with SMTP id b7-20020a056a208f0700b000efd09f714cmr5184120pzk.53.1681753507376; Mon, 17 Apr 2023 10:45:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681753507; cv=none; d=google.com; s=arc-20160816; b=IO09XTOeOGvG93jGMmcbC8KXjJ/lbGIlcaj+UfP008ajJaCRBivFAb0I1C5sv9/fUH /w6tEWfTlh4IMRq4BDysS7gwqPNEbFvJxvnnzRwZCO5htARo6yCZ53WrCSVv8WUrXCqe up4tDhDR9hh7uTNKZ5I6ylkAhbLZU7cJSelm+XwuMnCDIt+TxP7ai3RUCU8fVZAXd8uV /dJm1bSXQMi5LzCb6l/Belm6z0Y4QI8NOuyXSB++NtTmMCZbhYeYib+PV6Ealif7CA3F mcN4k+edFVBFr4ykSNF5jX0kb0TFKK4HaeiHaMiulK+N88uKiOFSlR8pWu8glJVw3Ybk eNZQ== 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=xo8M7dptfnnU8j8sIZf6ijHu+Q3xkPlAvSopMzRPSeI=; b=ssJFMdtBsCtbACouHeiGfncYtVaGV/rR9W+WjqwvyTvvoRM+j2ojMrCSiah8srHGvv o4e1KKlgFO+TrzJMTEVZb1HF74mh0+yHGA969jUAT+t2GKtBHzvMib7WEuGgk0WPE+3R oNPZANDGpk5SaXOcYKBkKjHF3zYIXafle+zLOrEMnzCHhLKrvz2P5TRRnSqabUyw5LZ9 VVDo46v2qYLTcsj8sn8zqUfLPFlbcOMINj0QuF6OqMFhxlKY+N49FXzxPyjii/e5gzmz OWLmfmAc3vpfNdJQLw/6ZFY8F3baJilhXeTg0fjgrT3EqZ1JKepinGu/rbjkwnfplKEq 5CkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=dxFQjXSq; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j7-20020a635947000000b005145be0c86csi12553250pgm.102.2023.04.17.10.44.54; Mon, 17 Apr 2023 10:45:07 -0700 (PDT) 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=@gmail.com header.s=20221208 header.b=dxFQjXSq; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230466AbjDQRjh (ORCPT + 99 others); Mon, 17 Apr 2023 13:39:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230384AbjDQRjY (ORCPT ); Mon, 17 Apr 2023 13:39:24 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08E38B45B; Mon, 17 Apr 2023 10:39:16 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id m39-20020a05600c3b2700b003f170e75bd3so1732792wms.1; Mon, 17 Apr 2023 10:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681753154; x=1684345154; 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=xo8M7dptfnnU8j8sIZf6ijHu+Q3xkPlAvSopMzRPSeI=; b=dxFQjXSqWSI4OK3YlKmd4NDmF/m8JF1EDA4I4yjdo0xcBTHYlHxRiOAOCVO0JbO5LJ EMBzj/9m3bpsfhJbd9KzFtKtN5vssL9xugmL50GBR8rS6lS5kV8wy6TEJ2oM5/uFZQo3 eVj8V8YoU9tgYURwoBZ5mwJDBs3nvhR76e1mkMj0vCjI5iJX1nqjgYG1F7SE7LWRhQuj DzNpLa9MjC9IlmvUtV5di/4MyrIRBLXL1fGNPKg2gsfDy755YmhOcM4EcmEG3R+V7B0s /c3+5BKwrFdvGA60lwCzK8wrzKBpV1/iIoukolc6R3cUuGrBh9nMiMzVnyF7Tg20wx5q lZNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681753154; x=1684345154; 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=xo8M7dptfnnU8j8sIZf6ijHu+Q3xkPlAvSopMzRPSeI=; b=f61CrgdCc8+R/RAcTkz0MSKLmidMJdmH4bio8h5MoCH71HahwEiNmWPhH40krwk2lN VarL3l1bZvx9ED+Zxwkv0XVMFjGfUU4WxryuWBvzv5uiewO7X99qDZJOl4PQz3fyaCYR XsIi+9D5ErpNMTVbejhmL5qkQ6MXnSRo9BIW15utFNhBesHZh4zRxIFCw8azApRuHfHn DfrKOrda+HrcscH4sPJRH08wXqx+QGZh7hz319Qdn1dngCN0okp8BlYOjBv0ZF+v2hAZ gSvAhcHfWbJUoGtIwtuBRfP7Nmk2yWL81U71ScOJdgCYcdAr/AelT6sPGOZofyRT3dLY kr6A== X-Gm-Message-State: AAQBX9fZpT4GitqJRiYQ7eXRifb9wrQjAaArVajncn+z3X8aPl5oxS59 k9yJKCbdshzp4wpznd+/K6Hs26z4TdyI/Q== X-Received: by 2002:a1c:f617:0:b0:3ed:a80e:6dfa with SMTP id w23-20020a1cf617000000b003eda80e6dfamr10949474wmc.40.1681753154125; Mon, 17 Apr 2023 10:39:14 -0700 (PDT) Received: from andrejs-nb.int.toradex.com (35.145.195.178.dynamic.wline.res.cust.swisscom.ch. [178.195.145.35]) by smtp.gmail.com with ESMTPSA id iw1-20020a05600c54c100b003f174cafcdasm2478211wmb.7.2023.04.17.10.39.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 10:39:13 -0700 (PDT) From: Andrejs Cainikovs X-Google-Original-From: Andrejs Cainikovs To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Shawn Guo , Rob Herring , Krzysztof Kozlowski , Sascha Hauer , Marcel Ziswiler , Emanuele Ghidoli , Francesco Dolcini , Andrejs Cainikovs Subject: [PATCH v1 4/4] arm64: dts: colibri-imx8x: delete adc1 and dsp Date: Mon, 17 Apr 2023 19:38:30 +0200 Message-Id: <20230417173830.19401-5-andrejs.cainikovs@toradex.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230417173830.19401-1-andrejs.cainikovs@toradex.com> References: <20230417173830.19401-1-andrejs.cainikovs@toradex.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763446366200166068?= X-GMAIL-MSGID: =?utf-8?q?1763446366200166068?= i.MX8, i.MX8X, i.MX8XP and i.MX8XL SOC device trees are all based on imx8-ss-*.dtsi files. For i.MX8X and i.MX8XP these device trees should be updated with some peripherals removed or updated, similar to i.MX8XL (imx8dxl-ss-*.dtsi files). However, it looks like only i.MX8 and i.MX8XL are up to date, but for i.MX8X and i.MX8XP some of the peripherals got inherited from imx8-ss-*.dtsi files, but in reality they are not present on SOC. As a result, during resource partition ownership check U-Boot receives messages from SCU firmware about these resources not owned by boot partition. In reality, these resources are not owned by anyone, as they simply does not exist, but are defined in Linux device tree. This change removes those peripherals, which are listed during U-Boot resource partition ownership check as warnings: ## Flattened Device Tree blob at 9d400000 Booting using the fdt blob at 0x9d400000 Loading Device Tree to 00000000fd652000, end 00000000fd67efff ... OK Disable clock-controller@59580000 rsrc 512 not owned Disable clock-controller@5ac90000 rsrc 102 not owned Starting kernel ... Fixes: ba5a5615d54f ("arm64: dts: freescale: add initial support for colibri imx8x") Signed-off-by: Andrejs Cainikovs --- arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index b0d6f632622c..49d105eb4769 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -769,3 +769,10 @@ pinctrl_wifi: wifigrp { fsl,pins = ; }; }; + +/* Delete peripherals which are not present on SOC, but are defined in imx8-ss-*.dtsi */ + +/delete-node/ &adc1; +/delete-node/ &adc1_lpcg; +/delete-node/ &dsp; +/delete-node/ &dsp_lpcg;