Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp728628rwl; Fri, 31 Mar 2023 01:15:24 -0700 (PDT) X-Google-Smtp-Source: AKy350bYMorNn8di8iWIg52FEe0Jmmnrms3mDdOkP+vfeckRqM+zMtciZqONBAXPZW/NmbDCTiCb X-Received: by 2002:a05:6402:268e:b0:502:1f7b:f069 with SMTP id w14-20020a056402268e00b005021f7bf069mr5235341edd.2.1680250524229; Fri, 31 Mar 2023 01:15:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680250524; cv=none; d=google.com; s=arc-20160816; b=eKhoQB96VniprHl9NJZqWfBBaF2OZQoiY2NM6xLSxzxOZ2RUK/LLoE3StcLVi4HT3i Jo7uW+g7D7tt+YOwDZufCRt/xGzT1wXqAlqjNQRymaatRo0i54zNyBu0ru6fi8e8cePh 75tkaerJCF3eYhBHZmMIODYrDKSEFT2bVvwMRqnsRoL+1uAya+RhjlFeJGfKdpDzAOk6 txbh+ddSTxXVB+tyGtwAhvOVyuHXgbtYCyQyxxwJQApBLeczq42luPP7eEIdfww1VyeO D7U12//Z559dOw6eV3pVrfT8LPL7GxVIJ0Up3E4UOypAruEIORwey2MTi5fO4CNIFRjq hyLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=/6iZyVZ4y42i6sE8c0Ciwe1KdWa5OagUF05kpV7Kod0=; b=tZnOQuYjM0Nyx1xygq+icMYbj4EHGmbFlShcuwAIsGjNorlNPWhZWU2SljQsJ2/HIg tAZwy7UNDEn2JaPGLkaXOan/yfLjWeY4e9UmlD9JSCc4L1vH3VUKH2U2+c0nYganCCat IyPnO1Iesw2eFiHwA7rXYbVV1aclZzLbKLElVZiPtHK0RKxEEet6/5bo7tVazwEUD6eu yckuupGo8/Qvp4n/6C3xx8M/gTZShGnP550ntZwSCWKE7Zd0UhHNRbD7mEfqm9uxhGTj br+TtMV2nXPGUQFpbEI2I5VWuPxttnJ7iepkkuKC5pnm5ZvLSo2auqYd/GtBO20JotmR Rg4w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v20-20020aa7d9d4000000b005005c465878si1334848eds.168.2023.03.31.01.14.58; Fri, 31 Mar 2023 01:15:24 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231450AbjCaIMY (ORCPT + 99 others); Fri, 31 Mar 2023 04:12:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231140AbjCaIMW (ORCPT ); Fri, 31 Mar 2023 04:12:22 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19C1F26BD for ; Fri, 31 Mar 2023 01:12:20 -0700 (PDT) Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pi9rc-00078K-Vo; Fri, 31 Mar 2023 10:12:01 +0200 Message-ID: <809d5523-e0b4-cad4-f6ab-ddc0e4fe482d@pengutronix.de> Date: Fri, 31 Mar 2023 10:11:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCH V3 7/7] arm64: dts: imx8mp: add interconnect for hsio blk ctrl Content-Language: en-US To: Markus Niebel , Greg Ungerer , Marco Felsch Cc: peng.fan@nxp.com, Alexander Stein , abailon@baylibre.com, krzysztof.kozlowski+dt@linaro.org, festevam@gmail.com, abelvesa@kernel.org, marex@denx.de, paul.elder@ideasonboard.com, linux-imx@nxp.com, devicetree@vger.kernel.org, "Peng Fan (OSS)" , linux-pm@vger.kernel.org, s.hauer@pengutronix.de, robh+dt@kernel.org, aford173@gmail.com, "linux-arm-kernel@lists.infradead.org" , laurent.pinchart@ideasonboard.com, linux-kernel@vger.kernel.org, kernel@pengutronix.de, djakov@kernel.org, shawnguo@kernel.org, l.stach@pengutronix.de References: <20220703091451.1416264-8-peng.fan@oss.nxp.com> <20230327045037.593326-1-gerg@linux-m68k.org> <2678294.mvXUDI8C0e@steina-w> <20230328073302.jj64u5hvdpc6axa5@pengutronix.de> <426b4776-104c-cb47-c8cc-c26515fcb6e3@linux-m68k.org> <20230328134201.yaxrdtetjygkgkmz@pengutronix.de> <20230328135100.rbmnfelphe7juhxo@pengutronix.de> <20230328151100.msl46qupstwplkgw@pengutronix.de> <792028b9-cd4c-4ff4-a7cb-e60c518aa573@kernel.org> <2924b1a62f126678870160bdbbf4e5d51aceb8d4.camel@ew.tq-group.com> From: Ahmad Fatoum In-Reply-To: <2924b1a62f126678870160bdbbf4e5d51aceb8d4.camel@ew.tq-group.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:900:1d::77 X-SA-Exim-Mail-From: a.fatoum@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-2.3 required=5.0 tests=NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 31.03.23 09:45, Markus Niebel wrote: > Am Freitag, dem 31.03.2023 um 15:55 +1000 schrieb Greg Ungerer: >> On 29/3/23 01:11, Marco Felsch wrote: >>> On 23-03-29, Greg Ungerer wrote: >> I agree this is the problem, I don't agree that the boot loader is >> the >> only place to fix this :-) I should be able to generate a working >> devicetree >> blob from the kernel that is good, and ready to use no runtime >> changes >> required I figure. >> > > Just to point out: the approach of run time fixing in boot loader is > used for the other i.MX8M SOC, too. If you know exactly what SOC type > is assembled, you could disable non available IP in the board part of > your tree. > >> It is not overly difficult to break out the vpu nodes and have them >> only included when you have a board that has the iMX8MP-quad with the >> VPU hardware blocks. This breaks out-of-tree DTs that include imx8mp.dtsi. Logic should be the other way round: imx8mp.dtsi is full-featured SoC and any new includes strip away, not add nodes. > Depending on the SOC type there is more to look for than the VPU: core > count, ISP, NPU - just to mention a few. Current approach allows to > keep a single tree for all types. +1. @Greg, does your board always ship with an i.MX8MPLite? If so, just disable VPUs in your board DT. If it ships with either VPUs available or not and you don't want to do bootloader fixups, you may want to check out Kbuild's ability to apply DT overlays at build time. This would give you separate DTs for each variant while not having an extra file for every combination. Cheers, Ahmad > > Regards, Markus > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |