Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp32255769rwd; Fri, 7 Jul 2023 10:53:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlFLGKhCVHMwHx+d1Vsc09GI6FUt7Nv+5pFG51U3FW/BSd96UHiXx+sM0dYTSjS7KKQC9uER X-Received: by 2002:a05:6a20:3ca7:b0:12c:8aa2:8b59 with SMTP id b39-20020a056a203ca700b0012c8aa28b59mr8127264pzj.28.1688752426472; Fri, 07 Jul 2023 10:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688752426; cv=none; d=google.com; s=arc-20160816; b=KUT2pXO6/JNiGsXOmrod86Gc8IlZDoC2MpK8puSvyJO4QuJLqJfEgF+Yo9P+C0zQp+ bkg7JhkZKFPZuMDDrEATMJJR47RMAK3jEIc4ig9Wc851ZoYNgdgUJm6LmfkZyn6W7Uh6 5CQdT1htIDL/wCfmiBGG/KtUJdugodcXk2aR7vgWOqi9pmGQDB/ivJoWB6hnk/gJw7x9 eJiiwZ7U8Y+mGkGWqwZ3I2ugDIsnNdZLooUmGBrttFtszai9abuuWtoLClxT2284gm4V gGHCnkcP5HWRfhuwcH3BTD5URFWK6rr3j6rXKLR9DWPy6dG/cJq1pwlUSch36aDwz4Pw xTkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=4T7IMxN0TP5UXWRADoHIlZLwq+oACmj5uQt2K3uBHp8=; fh=a2K9ztGj56r4HV11//GsVNRFDpt2VeBRH7gGaeBmuko=; b=VFiqov8nLYQV2ADqV8nxuiC4KSppAuUmzDPgX+e+sozE1rugNubTxDrWCz8VOEjv3/ 4PfUdqkgtUMVERvEzHQEThPR20ir90KMFwrYi5dYQu5am2dUhm8qgExfIiKH+GopwxLu DcNr6kUfVQKYxT0tDpm2818r5K4YYLKOH4hiRXpAehYpyzqPAqcEH99zR2DNbHgS/wM2 vBBLN5CORKkv1F2mF3yfHmgX8a4dPTrlFksu3JFxmyf7mNVTe3P1AmmLqea7yxLywdp4 ihPGpc60/GNm8vejpGg4VZVwREbZHH9IahhwaY3z2JE8JGmDvPWM367csvCikTZaNb9J ez/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ua0N9Eik; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g5-20020a056a0023c500b0067b2f265d2fsi4471850pfc.83.2023.07.07.10.53.32; Fri, 07 Jul 2023 10:53:46 -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=@linaro.org header.s=google header.b=ua0N9Eik; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232699AbjGGReo (ORCPT + 99 others); Fri, 7 Jul 2023 13:34:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232681AbjGGRem (ORCPT ); Fri, 7 Jul 2023 13:34:42 -0400 Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 144B51FE6 for ; Fri, 7 Jul 2023 10:34:41 -0700 (PDT) Received: by mail-yb1-xb33.google.com with SMTP id 3f1490d57ef6-c1aad78d5b2so4953622276.0 for ; Fri, 07 Jul 2023 10:34:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688751280; x=1691343280; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4T7IMxN0TP5UXWRADoHIlZLwq+oACmj5uQt2K3uBHp8=; b=ua0N9EikGOR3PcFTrAJY6G11Vfgf3l/sbCakQgDc6n8aUXs9GX/k0AcJXtPvSLKw2L wU72VhSqIXgNsPwPmw9cgMA8yzYOf3k7fWn+18GbY47N5ivDXR9CfEHnxAJ7Fd4IUQI+ EP1A+9Eti1IsdimXcmT7+7S1sbS528fTnZlNe12g6AfETIkY8d2JSdgNmAxrrJTLOeJo QL0123RRJBW8qC/xQAaRShDQabXW4dfYtU5zUa6wDK3TPjrLj+sydSZJSa4sTBMqdrY7 Y8WBQ1EW+aBIyulIV3s4YGmjT2FnXyjtjcISV6h3l4EZiMMFsKguqla3YNxEQBOs3ldx iVKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688751280; x=1691343280; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4T7IMxN0TP5UXWRADoHIlZLwq+oACmj5uQt2K3uBHp8=; b=H5V0h2B0KELmj8fMq6O0KMmKnqCtCteEx8sSXj+2gd0uMn8j8vsL8jhv/Vrx/wTA/t +Kt7O2I5ev+8pfBFKi9zu6GohB48gn2KRO8Iq5iT4LFPbHr/uFFjCJ3uoNdbN/FPBhrz ueho1Gg4BJsXtM4vc9U4nqO7GrH+HthFXE0B2BjF9I3sRkSd/2+2AvobmiJ3fDGW77nE nPg3XK4hVpk3PezIy72i/ex+LCpQ+HiXUavkVrXaycKBmE9aEteYBeilkU5BsDy47oMA /h6hJRsN2z2enpiR80XU9uKhZfcSiY3SGhcfUUKOvqGAhwHMrBkmbDLCS8nAxIL06AxT 4rwA== X-Gm-Message-State: ABy/qLbqbEHgEKRN8WregFxSfY6mo2f5lOXC5IKo6mI+D379du6AmSEH 8oU0smhrYqybcVQC+uMPxq5fUBCFcuHEfaq7sv3wkw== X-Received: by 2002:a25:aea6:0:b0:bd7:6e9d:656 with SMTP id b38-20020a25aea6000000b00bd76e9d0656mr6339219ybj.17.1688751278764; Fri, 07 Jul 2023 10:34:38 -0700 (PDT) MIME-Version: 1.0 References: <20230705-seama-partitions-v2-0-9d349f0d5ab7@linaro.org> <20230705-seama-partitions-v2-1-9d349f0d5ab7@linaro.org> <20230705195154.GA1702900-robh@kernel.org> In-Reply-To: <20230705195154.GA1702900-robh@kernel.org> From: Linus Walleij Date: Fri, 7 Jul 2023 19:34:27 +0200 Message-ID: Subject: Re: [PATCH v2 1/2] dt-bindings: mtd: Add SEAMA partition bindings To: Rob Herring Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Krzysztof Kozlowski , Florian Fainelli , Hauke Mehrtens , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Broadcom internal kernel review list , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Wed, Jul 5, 2023 at 9:51=E2=80=AFPM Rob Herring wrote: > On Wed, Jul 05, 2023 at 12:17:46PM +0200, Linus Walleij wrote: > > - $ref: redboot-fis.yaml > > + - $ref: seama.yaml > > I think this is in the wrong place. These should be device level > partitioning schemas, not an individual partition type. (Though nesting > is possible) OK it wasn't there in v1, then Krzysztof said it should be there (if I understood correctly) and I will remove it again then. > > +select: false > > Remove this and your example will fail. You need unevaluatedProperties. OK > There's a problem in partitions.yaml. It never gets applied, so this > schema never gets applied. The default 'select' is generated based on > $nodename or compatible, but it has neither. This needs some more > thought on how to fix given the variable way partitions can be combined. > Probably at a minimum, all the 'select: false' need to be removed. I don't think I can fix this problem, I'm not that good with schema. I don't even understand the thinking around the existing partitions.yaml. Yours, Linus Walleij