Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp356577rwd; Sat, 13 May 2023 20:45:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6/lQi1NyEUC4CU0RrXXZL4tHQ4DPf4z6d3szCBPTt9ynePPsthx9aBZMQ4jMkO4MPoXbka X-Received: by 2002:a17:902:6b43:b0:1aa:ff24:f8f0 with SMTP id g3-20020a1709026b4300b001aaff24f8f0mr25204674plt.4.1684035938464; Sat, 13 May 2023 20:45:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684035938; cv=none; d=google.com; s=arc-20160816; b=SGRwYCa2iSZyBpPvBbtlwz6ppB/EqV3brVLvONXKnP6DW3IrZyIt1DX8Z1qk9UypvV dTWKpCXLefQsSuR6UvXtJMDBeuuhfW+NJBk5jc/WGDPSI71/pS5jwFe9jYqpQoZ9bmeu EaXOLkb6ZoJSlUegFYMLZ+3VNr7WDU7krOYKR7j6fEf3gUISbThsG2g9p1acJG1eJGHR vkdni/GOc0blghTUD0D/BFxc4+xpNvHXN7GqN1ZER9hxkaXaTXbnDWhVUj2AEIIPxX5D fdt/WRoz5i19fHODBRQI5yRP4b66L26TmeW/0y5QfpaKkCP9vSoQjMIPLnJCV1iKcTm6 jWIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=J4Ohy70mNxv93JaxZOE/+NK/W4DDCC9cGPQDhny5ZqU=; b=X8DuNo98FSrfk5sAikKIGYARtwvHxQSpx8nLJWVA8iDR6N0obQDJec/CoUzCehQc9J NEFOOgM0Bf+gXkkbEwNjJk9sJbi14457S3PzcKtqTj/PJbUes6cNJLpI2rKbwbtDGFN+ 0tGcjHkKUEoKyTZZTj4j9U7XQTOnsIxgH1+DQEDJ1kuS6Y2JqO8XC5lQZXzl8+DvgMvs sNwXu1Hn82hIYVSG0zlqD0srkmvd8wAdXpY7oCiKZeOGxTX1ter0hwlr9o9mjASQT0h+ GVrQhByQsNyZEYGC1V2BhTHfFKmn7y1IALEUbUsEKL/H8ANrs1negZTKkFFc/leD8PBR ZLZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="sKukP/X0"; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j4-20020a170902da8400b001a94f85b0besi13956999plx.406.2023.05.13.20.45.26; Sat, 13 May 2023 20:45:38 -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=@kernel.org header.s=k20201202 header.b="sKukP/X0"; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229820AbjENDFm (ORCPT + 99 others); Sat, 13 May 2023 23:05:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjENDFj (ORCPT ); Sat, 13 May 2023 23:05:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EB3C2682; Sat, 13 May 2023 20:05:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 368A960A6C; Sun, 14 May 2023 03:05:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C648C433D2; Sun, 14 May 2023 03:05:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684033537; bh=yobh4RVNESvEJWq2XpL1kFVKuHdXpKZw40NV0nK3kRE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sKukP/X0Bx7y7OD1gQg1HPw9mXywsgDcWfDM1wPNq6NYXawU7zEMaP2P9oO1N8CVY hd0FS8/b7MVYJqNS83lqtIHk3cUA56EJv192JQ4jeqX2NnINjVD8iGIlL7IyiJeEtU wxd1hGpAWPgSbd6etjeUk65yHMfrufQ2mV3PWm1YE6I37bUwq2SV3hVm0J3uvqmzIW ZJozvvGT+aKYBMZLDnHzoEa2/MWtXx8WWZ4NyFuyxBzCk67obzV0PgjKrVoGJpP2NU eVdoeDphD5cz/uHKmM5tO3FNgwpVa/2fKTD9YkD6UkAtOWdDRhShRbXhDNZ7r7v20U FZPj6sTDSbQrA== Date: Sun, 14 May 2023 11:05:25 +0800 From: Shawn Guo To: Andrejs Cainikovs Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Rob Herring , Krzysztof Kozlowski , Sascha Hauer , Marcel Ziswiler , Emanuele Ghidoli , Francesco Dolcini , Andrejs Cainikovs Subject: Re: [PATCH v1 4/4] arm64: dts: colibri-imx8x: delete adc1 and dsp Message-ID: <20230514030525.GK727834@dragon> References: <20230417173830.19401-1-andrejs.cainikovs@toradex.com> <20230417173830.19401-5-andrejs.cainikovs@toradex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230417173830.19401-5-andrejs.cainikovs@toradex.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 On Mon, Apr 17, 2023 at 07:38:30PM +0200, Andrejs Cainikovs wrote: > 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 Applying of the patch will result in a different patch author and SoB email. Shawn > --- > 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 >