Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4310749rwe; Mon, 17 Apr 2023 10:41:37 -0700 (PDT) X-Google-Smtp-Source: AKy350adPD1z0CJLZvzfNFna457XRcCm8xZQhrVcXzQPJFX79nAzF6pUvdBHd4PuR8rJqbBnIQYF X-Received: by 2002:a05:6a21:99a3:b0:ef:d7e5:d3a3 with SMTP id ve35-20020a056a2199a300b000efd7e5d3a3mr5102364pzb.9.1681753297515; Mon, 17 Apr 2023 10:41:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681753297; cv=none; d=google.com; s=arc-20160816; b=mfO7Kdia2y728R+v2BJ1QLE0NF2DGzLcTptbxNDFNdEG+ss80AKNVsRn6ooiqt+8bU /h08pwyaxmXlDfHClh9hauN9xXtFZj7BnfgffBT7T5+eKi6MJlxqYMRdhM8UBI1ZykFP xw/2CSFN3vl0C2oywoQFCuOkxoxDP8DjkBr2ETcRQH3WgzUq2KNWH4zXPzO7N1NOytkV aXTk661/GUQ6AJJZyJQu+IuWcMR7XmP8xs4kmScgo0ShM7gYiIEGxBt3KIA+T/XNx1qv oRiXSe4X6IqPVEE+BylaoEHdji7JfhRKzLpNNC5ESbg35Hc5TZTUBRleevWzDHg7PZZN bt8A== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b00517d81adf05si12161534pgq.844.2023.04.17.10.41.26; Mon, 17 Apr 2023 10:41:37 -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 S230465AbjDQRjg (ORCPT + 99 others); Mon, 17 Apr 2023 13:39:36 -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 Content-Transfer-Encoding: 8bit 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 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; -- 2.34.1