Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp368346pxm; Wed, 23 Feb 2022 02:04:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGdIdDOhjErEk290FR8LkYYO/ygXFlztgfRDG5zEdzhXsy08gniKQ04k2Hs8RP0ohGknD3 X-Received: by 2002:a17:903:1cb:b0:14f:19e4:a0b1 with SMTP id e11-20020a17090301cb00b0014f19e4a0b1mr26782064plh.141.1645610679952; Wed, 23 Feb 2022 02:04:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645610679; cv=none; d=google.com; s=arc-20160816; b=WhxYO/OixgmgpfKWaqtSipFBxL9fmcB5jVr+eiZWtvJ1i7TxOrz+fsaJ18imE5aQfl plCd49mfiBRnuc1k13z/QKo99BU1d8AeYuSWA6uEp/+V3eziQUdYXGMZ/j7/R9hdPF3+ 1gEOr212ilU6D1k1f4HmxMEUvaBlLFT8Y98L1p5j2vC/GPfdQfFZFN3ymqF1u8udm3Je NYraSam3dXRZowx62cBs8dhM9q+2ClV6XHqEK1asjQbqbQTt4QvTXs7GnPrP7HtWBFAK +r99hjyLiTfDvOKxe+u3zYcRgYHJsXA1rjt1AGQ/hn86aT2XoFJexEuR0d1KcDH7QjYC kdog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=trpEJbUaAoUHUXzraHCvZbmPHXTmssr8XxPA/Czuy7Q=; b=yz9DGWXHFqG3lMWckFNiHCDK1r/xNfLQu/cm57+NAdsHNieQeGobtE6gvMpiOwj0ow UblwxS+SdMVZC/MuuWgJMvyOe2da/t7VKADJJPJijuFnJN7eySk5EV2g3Y5dfnGDzYn5 DbsuG121UpZNBOfHY2fZRklQbx4kxeA6nUuPMDj8nvj/HRLn3Uw28iZg7AyCN6sBGt+Q q4sgUU4kRkZYMdjuZqvwFmhrTQ9/uR2NmxamefoKigXKpaFOSmjKOY9gnpBQYInABfSE W51JtJxfIYU3oarSIXMc5CAuNPI7iRrTk+kPipAIG0JaDG24WLzyqhP0ywyVRCt+Ozqj BUpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YjfGvfJm; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m14si27622947pgu.855.2022.02.23.02.04.25; Wed, 23 Feb 2022 02:04:39 -0800 (PST) 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=@chromium.org header.s=google header.b=YjfGvfJm; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232741AbiBWCr0 (ORCPT + 99 others); Tue, 22 Feb 2022 21:47:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237576AbiBWCrR (ORCPT ); Tue, 22 Feb 2022 21:47:17 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D64425F4FA for ; Tue, 22 Feb 2022 18:45:05 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id s1so10625582wrg.10 for ; Tue, 22 Feb 2022 18:45:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=trpEJbUaAoUHUXzraHCvZbmPHXTmssr8XxPA/Czuy7Q=; b=YjfGvfJmUOx66BnhtXdT7mh8HRI2QuaW2Nypv8ZqJDcXDhiupYJWc47iQEDWgoQA8K rVmw1smUgmGFRaghswn0NJyTOs3YIS5TYjdS+UjrUNGa4OSOqPB0K4JGmmmZ6eBLxIRP Als744SOL/T0l8fA0u0T0RJ3lY7QsnPPpPaZw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=trpEJbUaAoUHUXzraHCvZbmPHXTmssr8XxPA/Czuy7Q=; b=J3D5rvFZEzfLFGfLP6lhTI85oivdFg3RXyql8Jo84ISRYJPt11ACT6aPDQCFVe9H0c +Iu4q3rx+Gseyzs4KQiUX7t6pg/fPEouwHjvzxw5taF7bZItNFXM7SSaiUhaK9iYVS4L KzxXXKVxLVUPPTFVPek1KPnD9tci8sRB9CeyjIEuQIWkbhIepaNRRJPUNGbc5xSMjS1o dEJY1+KxwbkIOSON7HLk2RPNbGTFnenWlBMuinQLWWG7R4Mbrl9s5Od1fE0S7xS6zDiZ 5YGTKuY1YfpbF2USfbJZZEU9HwhBVUAOuVpHhiAx6x76nnMTN0+5CA5/tIZZU5dkoPkc V7DQ== X-Gm-Message-State: AOAM5306pTxm3Y8/kjvbXM36JCZuqO1I0DgiWebmh0432cGYARhfsshQ HIXdIvQn6/i5OROQBU6qm6oS2GxivAuaqgNFRJ4nFA== X-Received: by 2002:a05:6000:1292:b0:1e3:1497:be92 with SMTP id f18-20020a056000129200b001e31497be92mr21574751wrx.667.1645584304247; Tue, 22 Feb 2022 18:45:04 -0800 (PST) MIME-Version: 1.0 References: <20220219012457.2889385-1-jwerner@chromium.org> <9d33314e-97da-dc47-8361-2e45b75fa566@canonical.com> In-Reply-To: <9d33314e-97da-dc47-8361-2e45b75fa566@canonical.com> From: Julius Werner Date: Tue, 22 Feb 2022 18:44:52 -0800 Message-ID: Subject: Re: [PATCH v2] dt-bindings: memory: lpddr2: Adjust revision ID property to match lpddr3 To: Krzysztof Kozlowski Cc: Julius Werner , Dmitry Osipenko , devicetree@vger.kernel.org, LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_SPF_WL autolearn=no 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 > > + revision-id: > > + $ref: /schemas/types.yaml#/definitions/uint32-array > > + minItems: 2 > > + maxItems: 2 > > You need maximum value under items. See: > Documentation/devicetree/bindings/arm/l2c2x0.yaml Sorry, can you clarify how this is supposed to be? Do you want revision-id: minItems: 2 maxItems: 2 items: minItems: 2 maxItems: 2 or just revision-id: items: minItems: 2 maxItems: 2 I see examples of both in the file you linked (and also examples of what my original patch did). Is there any authoritative documentation somewhere I can read that specifies which of those is correct? (I tried looking at https://json-schema.org/understanding-json-schema/reference/array.html#length but I'm not sure if that's relevant here.) For updating existing DTSes, do you want that in the same patch or a separate patch in a series?