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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 04501C43334 for ; Mon, 25 Jul 2022 20:08:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=V9wZ43t39Klf1hABoad3oy7TE2SJKJx7F45+GE6vMHQ=; b=Mdn/OuNuXKhr/b Vgbcv7cfhaxk+Xw3Og7Gmy3aFgGCc6K+JORbuSFhu5mLU/IzHkRdAyioxEFz79YE+neAELiPJjlvS IxGcbRPdp08f5LxtKhnEKoheE19wqTTFGlkE7HngiVGOi+2LttnyUHfyC4XZ1+K61EnLbZje2DyzF 8W1HMDQB5MuNJoGfjTWGAEe939bkh2rlceBvxJh9WzJ2RUhb6ZzjglEySbByeL/7gajKybssXSN/R 8gchJtgZHvYPUjnpmL+/5iUfuUKAAUGA6XfpV9FHzWYOAhAngRfHANNNFFzb0YwA7XkDeFI/CkqJx lqkUXd3bUcuxR1VjHK9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oG4Mn-001am0-Ey; Mon, 25 Jul 2022 20:07:49 +0000 Received: from mail-oi1-f180.google.com ([209.85.167.180]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oG4Mj-001acH-NJ for linux-arm-kernel@lists.infradead.org; Mon, 25 Jul 2022 20:07:46 +0000 Received: by mail-oi1-f180.google.com with SMTP id w204so14788923oie.7 for ; Mon, 25 Jul 2022 13:07:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=4GWuWpoAhrVCWo1uur9iksaj/fTVZRC6odEtZowuyck=; b=JUIs7U4NDmjUep+rBL0IXRkBs4jG7HNZ1rh4g/YfLrog9JEgt3kKcuNEaKFdvqFrR/ YLMbK9P5VCfXUPgeM2Lq83uv14n92dq77LKl/Vd4NfDrxGcGdvW4QsM+iPf/oGtgw03j pVQPAV3hycc98H7r6SOeWaI3YKTjh334IYpr1OeYjRbh9ruHRSg1RaFAD3NeGiBhha+c zrAvp1oKfF/EPq3BUFVxie34fUqSVyeebRRTPil8RIW+Fh37vRI9W0/rUD0fXH0mun5s wHCd0KmD3DR7EfuiJ6hcOyHIQWWvtHtAc7xO39Kxpj5jxMf+D3zs2MVDgK3yZxFiYYQR WrKg== X-Gm-Message-State: AJIora8PhqajLNpK19hAk9tnEA5gQUaE4YRVwbyKVmutzY7+uaifKhMl bKpqGe5GWrqg6+UTjSIGlw== X-Google-Smtp-Source: AGRyM1s9bFZXSzKFUySKHhgElYf8SWow+HiRmq7/Fd7H0J6JmYb+GfEYGWIS4ue0TpRPUdBZYB81vw== X-Received: by 2002:a05:6808:209d:b0:33a:8b99:f7a3 with SMTP id s29-20020a056808209d00b0033a8b99f7a3mr6336587oiw.119.1658779662190; Mon, 25 Jul 2022 13:07:42 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id o31-20020a056870911f00b0010c7487aa73sm6473352oae.50.2022.07.25.13.07.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jul 2022 13:07:41 -0700 (PDT) Received: (nullmailer pid 2625395 invoked by uid 1000); Mon, 25 Jul 2022 20:07:40 -0000 Date: Mon, 25 Jul 2022 14:07:40 -0600 From: Rob Herring To: "Peng Fan (OSS)" Cc: krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, aisheng.dong@nxp.com, festevam@gmail.com, ping.bai@nxp.com, kernel@pengutronix.de, linux-imx@nxp.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: Re: [PATCH 0/9] dt-bindings: pinctrl: imx: use minItems Message-ID: <20220725200740.GA2610621-robh@kernel.org> References: <20220723094335.3577048-1-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220723094335.3577048-1-peng.fan@oss.nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220725_130745_802159_19607654 X-CRM114-Status: GOOD ( 11.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Sat, Jul 23, 2022 at 05:43:26PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > There are many warnings when do dtbs_check: fsl,pins are too long, > so add minItems to address that. A single cell is not valid though, right? This particular property is problematic because each entry depending on the platform has different number of cells (5, 6, etc.). A single cell (minItems: 1) is not valid though, right? There's a fix in dtschema min branch which should fix the warnings. Unfortunately, it just strips any bounds checking. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel