Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp816834rdb; Fri, 6 Oct 2023 23:51:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEDCbttRrpEtUQUEPa3G0Wbc3pAc3SS5jzD5ZopZ076XHP6l+GyKMDENiqtEe0RT3S0Y+vq X-Received: by 2002:a05:6a20:42a2:b0:15a:290:d83d with SMTP id o34-20020a056a2042a200b0015a0290d83dmr11361438pzj.41.1696661483630; Fri, 06 Oct 2023 23:51:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696661483; cv=none; d=google.com; s=arc-20160816; b=NVowAetbUeasC9GeP6JJqXM/YwSRB2ZmcAZ1yInIZ9YX3syvgEohckcXZ4ni6l1Otg vxdI5c70Lh99RBvoHH3L5VwGk5VwPj8HZPtU1CS8PKMDXhTv2pO56aDfPSp1nUU6J878 SPK/8gGeKAGHO2v/TxMp/p/bOkVEt74Hp0i0++/Qla/A4bUnP+UtLRZzfjM42sqEdN3K QpP7ZlquXv8ynyEoojxEyS3MpHi0ME6jeeb0pXPWuXJfw0UoQVxyRHJ/E8E3Td4YGPLJ fvaccdETquWZ0eCftWEf9HRo/oI37vM2029slt9sxmB4rveb2DAkfe/aHp0qTSbWh0Cv gGSA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=P9BDIz6fCx2I0VQMiMW0mdQn1YkimaG7/mHw3qNuPb4=; fh=XaTrj2UKg0rGRvMpyYrLztn2HgWvKNY+Vo6ECAcwIKg=; b=eYKiTumFzND2FRWRG6ZsanFWq/cpOQxulYVxnZ/D4lCeb/0g+F/udx3UduFUAGzeAG akSpG3NDB396E5WSZAm4JwQa9pQVGYM6EYOZMVMik4ULffKM0o+Mq/Ofbba6/6TWX3fs ZJRLCjingYqF7rJ+D3Mpb8ux3bU9DMAULzTkUnbt84NrTXKeLp8iMOLShKHSaI6CQvcv arPok63ABHyK2Qk842QkcAGecJcxprDq7u7n8qEO92idbmW960UBOP8OJW8DWlqYqeTj EeoagrHg2K95ylUvjFoPTJUBQLV6wDCt4xOGCnGVXWGjXD6UbA/UAPtoSJ6b04yGjtR5 iTMg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id o17-20020a170902d4d100b001b69ede5b79si5651660plg.470.2023.10.06.23.51.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 23:51:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id EFF50802461A; Fri, 6 Oct 2023 23:51:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343604AbjJGGvK (ORCPT + 99 others); Sat, 7 Oct 2023 02:51:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343577AbjJGGvJ (ORCPT ); Sat, 7 Oct 2023 02:51:09 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BE05BB9; Fri, 6 Oct 2023 23:51:08 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 27A7E809E; Sat, 7 Oct 2023 06:51:08 +0000 (UTC) Date: Sat, 7 Oct 2023 09:51:06 +0300 From: Tony Lindgren To: Rob Herring Cc: Andrew Davis , =?utf-8?Q?Beno=C3=AEt?= Cousson , Krzysztof Kozlowski , Conor Dooley , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm: dts: omap: Apply am57xx-idk overlays to base dtbs Message-ID: <20231007065106.GO34982@atomide.com> References: <20230911214609.2201040-1-robh@kernel.org> <20230912065946.GC5285@atomide.com> <28c862d9-ca39-2dda-86dd-9ccc206c3a1d@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 06 Oct 2023 23:51:21 -0700 (PDT) X-Spam-Level: ** * Rob Herring [230922 16:23]: > On Fri, Sep 22, 2023 at 9:38 AM Andrew Davis wrote: > > > > On 9/12/23 1:59 AM, Tony Lindgren wrote: > > > * Rob Herring [230911 21:46]: > > >> DT overlays in tree need to be applied to a base DTB to validate they > > >> apply, to run schema checks on them, and to catch any errors at compile > > >> time. > > >> > > >> Signed-off-by: Rob Herring > > >> --- > > >> Note that I have no idea if this combination of overlays makes sense. > > > > > > > It does make sense, but it is only one of many valid combinations. I'm > > guessing the goal here is just to make sure they all get applied in > > at least one way so the scheme check runs. In that case this is fine > > other than it might give the impression this is the only valid combinations. > > I only care that an overlay is applied to one base. You should care > about any combination a user might do in a bootloader because who > wants to debug a failure a) on a board and b) in the bootloader. > > > Also now we end up with these odd `am57{1,2}x-idk-overlays.dtb` files > > which also might confuse folks, I wonder if there is some way to > > apply and check, but not ship/install these.. > > There's already a config option, CONFIG_OF_ALL_DTBS, which adds > $(dtb-) entries to the build. So if you have "dtb- += > foo-overlays.dtb" it will only be built in that case. Note that they'd > probably get installed too, but who installs allyesconfig builds. So what's the conclusion here? Is this safe to apply yes or no? Regards, Tony