From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E1FFC433E0 for ; Thu, 31 Dec 2020 15:40:45 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C539F2242A for ; Thu, 31 Dec 2020 15:40:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C539F2242A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=wmpllde8oAIoMWwBAIQGYs3pjHlsgzT+0+5YDoOxWxM=; b=qhDB/5+xA6p1613WhV7IJK/Gz +Evh2e6tleXt4tOgyBwqfDwThVsGAkaNKl6yQTH/K+FZQcomCXzdMM5w1DErFCHP0U4mcpOS31ZoB MXwMFICgsfw7h+BoiqafUhK/9qecr5oBxxo2kkCiJUTu/mZbUUrManmo7I26LrfcyUT2pExEpWS27 GB6XqjiWtmnKptW/TEyTm4lysNdRiEl7ia0bAiHOgsACZFHNh0uXzc5BoOuFGQxwDZkMeCUMa47Mt xNP1DDUz9MOXxOgI8WOvM/qVoUUsAxrnq0mSIoHDBf8MC78dCxTzv7T/i/y9axLQm6Mi52S8Jtk69 rmgYPtcBg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kv038-0000oe-8r; Thu, 31 Dec 2020 15:39:38 +0000 Received: from mail-oo1-f52.google.com ([209.85.161.52]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kv035-0000o8-To; Thu, 31 Dec 2020 15:39:36 +0000 Received: by mail-oo1-f52.google.com with SMTP id k9so4377854oop.6; Thu, 31 Dec 2020 07:39:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=aqRUTrB98zq19oUfqeTfRGQXti0Kp3OgPKPcu5cHQTM=; b=j3Smx6QQ/JrhzImn38MaXdpDLzpq/KqrPD2V0X7Q4G66x52/0iljs+ucMNGEcBwGYy fZ1JN7xevKBIl3Dsfc/b9f2lczIoHDPnQjakKVLEOlX8xr/gc2W3OZ1PyzUDe1ey50CP aNfqwjM8iVcGiz9SsyxA0gt8S9QZDW9Hppr97rdE+9fKuarxWl/BUmrA28rw8fvMiV0Q XfSc/vx4u017jfGulSiFUCNoSlvF66evraYl9weXfXi7e3U1JEdsMAZNvMZ57v6LSH8i bRbE5872MsqvWuQfXhE/uDzoMK8HT3+BUF0ahDiUYLsbWMEIexNR0l/kBcqpGyof0YX1 8Ggw== X-Gm-Message-State: AOAM5315uAYDBG1N74nU3uTFI0oew57UW10U8NGzi3J7ltRxTZr8iP7l 6U0nH0WoaHqMGENJAR5Tuw== X-Google-Smtp-Source: ABdhPJx1uK9oxb1Sht+XTOoCn6qCnv276YFq7AbTWO1nihXVsG+83XjUs8P2ZFTe9vA3Jk0ICL3Vjg== X-Received: by 2002:a4a:e1b5:: with SMTP id 21mr39831446ooy.64.1609429175023; Thu, 31 Dec 2020 07:39:35 -0800 (PST) Received: from robh.at.kernel.org ([64.188.179.253]) by smtp.gmail.com with ESMTPSA id f201sm10955753oig.21.2020.12.31.07.39.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Dec 2020 07:39:33 -0800 (PST) Received: (nullmailer pid 1836008 invoked by uid 1000); Thu, 31 Dec 2020 15:39:31 -0000 Date: Thu, 31 Dec 2020 08:39:31 -0700 From: Rob Herring To: Hsin-Hsiung Wang Subject: Re: [PATCH v5 1/4] dt-bindings: spmi: modify the constraint 'maxItems' to 'minItems' Message-ID: <20201231153931.GA1833986@robh.at.kernel.org> References: <1608691469-20919-1-git-send-email-hsin-hsiung.wang@mediatek.com> <1608691469-20919-2-git-send-email-hsin-hsiung.wang@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1608691469-20919-2-git-send-email-hsin-hsiung.wang@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201231_103935_970819_325AF9A8 X-CRM114-Status: GOOD ( 16.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Ulf Hansson , srv_heupstream@mediatek.com, Geert Uytterhoeven , Stephen Boyd , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Project_Global_Chrome_Upstream_Group@mediatek.com, Mauro Carvalho Chehab , Mark Brown , linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Dec 23, 2020 at 10:44:26AM +0800, Hsin-Hsiung Wang wrote: > The constraint of 'maxItem: 1' might be larger than 1, so we modify it > to 'minItem: 0'. > > Signed-off-by: Hsin-Hsiung Wang > --- > Documentation/devicetree/bindings/spmi/spmi.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/spmi/spmi.yaml b/Documentation/devicetree/bindings/spmi/spmi.yaml > index 173940930719..f1a26391ffde 100644 > --- a/Documentation/devicetree/bindings/spmi/spmi.yaml > +++ b/Documentation/devicetree/bindings/spmi/spmi.yaml > @@ -25,7 +25,7 @@ properties: > pattern: "^spmi@.*" > > reg: > - maxItems: 1 > + minItems: 0 0 is never right. That's 'reg' not present. > > "#address-cells": > const: 2 > -- > 2.18.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel