From patchwork Tue Dec 22 04:06:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 346602 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp4992764ejs; Mon, 21 Dec 2020 20:06:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9MTvn7Kv3P7EEVpsfAOFz6HaKa4/AU7+ojSZ9igbwlf0SQoLAjvROjrcDs+wwaM6ZEqUs X-Received: by 2002:a17:902:6f01:b029:dc:3182:ce69 with SMTP id w1-20020a1709026f01b02900dc3182ce69mr15901764plk.10.1608610014035; Mon, 21 Dec 2020 20:06:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608610014; cv=none; d=google.com; s=arc-20160816; b=G6GzQmQQ82JiAZZfa7ZtWKOv4Z/yId7Y9gJjoZfOvJHtqeOf0Ff1PSy6TL/OKFD/Xl pdVk300WvNoowKlKv/9mo8gPv6SBiYyQRVBFTjsmeSAbCMZo6NeqhvM3/0y5fVSXq2rS MCMCaFgnpEpOckOFVOhJ8z1+y4E21xxkR62/zvAvIvZFU29UA+FJyFqXqHcIUH2hgVJg FmgTUMxOG16NyCgpQtZSFnGEQICh1ibdbMArPNL/afrrFeC+157Is7T08vUoo0jb/iNU cDiWYpKqhlU95Fe58CCWqByeh5mOhAQ7VphEEXnT0IwKIGuUyTcPWYX3v0fvdDSKYBpj HGmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :delivered-to; bh=aWzEw3uj981DZVzhTL5PKu+cc1RDmxCs5fNNDivGNkE=; b=xdQ5WiQhKCV0XPZj2GZ5DEMh/dCNcF6inZ0C6vuU0pUtWT9z056guJDNsOiz8OCS72 BOSPgCqYU4ls5Yprjw3uUJAVD0KPHyvVWuv9/ovKNhFYjc7ba1uysAsV3XyCawogV4sY XEMzstPRd4NN2xFgHbWT5IV6nNJnqPVjS+f/ItdrcpowOdzxP7xmTqJjiRpW1YLg98rw u/4x7ixM5J26o9Ks10VzWK+aOd5hO0s1mFFGtDRU2xXEdBuc5rir3LXrCKEvSinld34C p1NIxgFsJcOGHZEjUQVUC9JXpsXYNUsMrWAKko902Nph9SJ7q6rNb5OpNVGqizwGdHSb n3Vg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id v10si18496162plz.191.2020.12.21.20.06.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 20:06:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 361C76E0B6; Tue, 22 Dec 2020 04:06:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com [209.85.210.52]) by gabe.freedesktop.org (Postfix) with ESMTPS id 95D946E0B6 for ; Tue, 22 Dec 2020 04:06:48 +0000 (UTC) Received: by mail-ot1-f52.google.com with SMTP id d8so10833647otq.6 for ; Mon, 21 Dec 2020 20:06:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=q3IkBlOmHE3mDRbIb8lAHBUkpZJ3o80cNN5b/4sEG/I=; b=O1k3WNJ+ZWMvZi7jbPRZiQdb5o+RHSCA/oEtatliGGxW48ro1lZCP/28YZVHRTHraw l+ZJiye1JlYnwgijEEGQAdMMJOlVJuCgkdVFH1ohMVTMMYLShH7Lv4nCBZC+ecM5p2ZY 7zPQ88z4mdd/o5CZzHFbqlztnwIaiVlzFjBFXiUHOQZMPQgYNaUv+1vffSgjlNYgnarr CTuAmIeVc73i+gi2KzNlDw2nak5wJ3R4ETOSTpmtuHiIAccbB2vWh6tmBH/NSfb6yO3U aJpoYiVRzMpw66ixRjhvFs5ogKuL8IsCUgl/rAIJre5HsoQsYIMKOu4qlp99vVSYyGWA YdHA== X-Gm-Message-State: AOAM530DLSkJk08baZ526sFhD97cDX0z1Ai7CXAVY1o1JFwBeeoPfHKH BNuuE3FjodzhSCHKLaDEYA== X-Received: by 2002:a05:6830:1189:: with SMTP id u9mr14233531otq.70.1608610007879; Mon, 21 Dec 2020 20:06:47 -0800 (PST) Received: from xps15.herring.priv ([64.188.179.253]) by smtp.googlemail.com with ESMTPSA id m22sm4261765otr.79.2020.12.21.20.06.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 20:06:47 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org Subject: [PATCH] dt-bindings: Drop redundant maxItems/items Date: Mon, 21 Dec 2020 21:06:45 -0700 Message-Id: <20201222040645.1323611-1-robh@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jassi Brar , Vinod Koul , Mark Brown , Laurent Pinchart , dmaengine@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 'maxItems' equal to the 'items' list length is redundant. 'maxItems' is preferred for a single entry while greater than 1 should have an 'items' list. A meta-schema check for this is pending once these existing cases are fixed. Cc: Laurent Pinchart Cc: Vinod Koul Cc: Mark Brown Cc: Greg Kroah-Hartman Cc: Jassi Brar Cc: dri-devel@lists.freedesktop.org Cc: dmaengine@vger.kernel.org Cc: alsa-devel@alsa-project.org Cc: linux-usb@vger.kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml | 1 - Documentation/devicetree/bindings/dma/renesas,rcar-dmac.yaml | 1 - Documentation/devicetree/bindings/mailbox/arm,mhu.yaml | 1 - .../devicetree/bindings/sound/nvidia,tegra30-hda.yaml | 2 -- Documentation/devicetree/bindings/usb/renesas,usb-xhci.yaml | 1 - Documentation/devicetree/bindings/usb/renesas,usbhs.yaml | 3 --- 6 files changed, 9 deletions(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Acked-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Acked-By: Vinod Koul Acked-by: Mark Brown Acked-by: Greg Kroah-Hartman diff --git a/Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml b/Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml index 7b9d468c3e52..403d57977ee7 100644 --- a/Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml +++ b/Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml @@ -98,7 +98,6 @@ properties: maxItems: 1 dmas: - maxItems: 4 items: - description: Video layer, plane 0 (RGB or luma) - description: Video layer, plane 1 (U/V or U) diff --git a/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.yaml b/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.yaml index b548e4723936..c07eb6f2fc8d 100644 --- a/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.yaml +++ b/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.yaml @@ -73,7 +73,6 @@ properties: maxItems: 1 clock-names: - maxItems: 1 items: - const: fck diff --git a/Documentation/devicetree/bindings/mailbox/arm,mhu.yaml b/Documentation/devicetree/bindings/mailbox/arm,mhu.yaml index d43791a2dde7..d07eb00b97c8 100644 --- a/Documentation/devicetree/bindings/mailbox/arm,mhu.yaml +++ b/Documentation/devicetree/bindings/mailbox/arm,mhu.yaml @@ -61,7 +61,6 @@ properties: - description: low-priority non-secure - description: high-priority non-secure - description: Secure - maxItems: 3 clocks: maxItems: 1 diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.yaml index e543a6123792..b55775e21de6 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.yaml +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.yaml @@ -44,7 +44,6 @@ properties: maxItems: 3 clock-names: - maxItems: 3 items: - const: hda - const: hda2hdmi @@ -54,7 +53,6 @@ properties: maxItems: 3 reset-names: - maxItems: 3 items: - const: hda - const: hda2hdmi diff --git a/Documentation/devicetree/bindings/usb/renesas,usb-xhci.yaml b/Documentation/devicetree/bindings/usb/renesas,usb-xhci.yaml index 0f078bd0a3e5..22603256ddf8 100644 --- a/Documentation/devicetree/bindings/usb/renesas,usb-xhci.yaml +++ b/Documentation/devicetree/bindings/usb/renesas,usb-xhci.yaml @@ -51,7 +51,6 @@ properties: maxItems: 1 phy-names: - maxItems: 1 items: - const: usb diff --git a/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml b/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml index 737c1f47b7de..54c361d4a7af 100644 --- a/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml +++ b/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml @@ -74,11 +74,8 @@ properties: phys: maxItems: 1 - items: - - description: phandle + phy specifier pair. phy-names: - maxItems: 1 items: - const: usb