From patchwork Tue Jul 9 19:26:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 168771 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp8946601ilk; Tue, 9 Jul 2019 12:26:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxR9d56ka3zUsaHQUDzv7mmvW95Kk+000FEhtr0QDdTc8hrP2XL6NgAaVwLdk8wI+Ot/OiW X-Received: by 2002:a17:902:f301:: with SMTP id gb1mr33592370plb.292.1562700395970; Tue, 09 Jul 2019 12:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562700395; cv=none; d=google.com; s=arc-20160816; b=Me/do4wkgKVNOGckunM9qAbLnd5bjT8lGwYFus70O04ZJIaCpizY8WqC+JT3gP152w V3SgOmRKCQ5XBxOKmmx5/SCp58WtROjV2DSFYgETffUWe8EFYFlYIW7c78RhY6TRuFHV wh7XMWkUC/WgMQDKmdMomUiC1J/VMv3amHlWGV6q6edJsa5e+qBJKKezWtBLHhA8o+4e WmtS4q2vIcl5a9HQtSHEvZwtIvEQuro6EtvtpwkBmNnQLua29Nfd/JDeoMsklxpy+DK3 TCheSAI16c+n/nZOA3DE9eOyNkGK6+ulONfRfG4dk2gL5ewtLrzsXdfvRmMnESTON0Hj BO2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=YJCxWDqrIACeyw572XUN88X748QX9Vah3vz0WR7ceS0=; b=CnEMUW0ibXEHcwLyQhoFuvqNz5WKq/LGJWJFS30zaWJaW64CYL+rqx7E65E/f3aptV caZ8XOvt/xCKdqFDTBea9LvAYYQAo+5gA1i1gQvHLaNaoPCZmDW40ICD4dCMHZMPuZAm UTJs0O78jorc2maqYbv1Od2OihTNLxRD85JbQNU5yzxHt14OiTaIYYbPami/opWlj34H HaDyBIXmx/WLeqBIid/w3I+jw7x0lLQgPoHeJDF8FM9elO249W/wMjR7PwPSDqk2GsOw x4t+rKEONzm9Uphr1NVAcwu9LwN1pXCfJQlaShDv7J8XZ6fxTTdmJXEEQiBUSSfalHN6 Hsag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-spi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-spi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k190si24279265pge.308.2019.07.09.12.26.35; Tue, 09 Jul 2019 12:26:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-spi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-spi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-spi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727046AbfGIT0f (ORCPT + 1 other); Tue, 9 Jul 2019 15:26:35 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:34148 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726491AbfGIT0e (ORCPT ); Tue, 9 Jul 2019 15:26:34 -0400 Received: by mail-io1-f65.google.com with SMTP id k8so454614iot.1; Tue, 09 Jul 2019 12:26:34 -0700 (PDT) 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=YJCxWDqrIACeyw572XUN88X748QX9Vah3vz0WR7ceS0=; b=YCpxB+sehO4NnSiV+g6W2Xa1MMwpIoZVq4FwBkp5z+xJL6Zpqqvnvgf8JkCc5Ir2+4 6+Kdo5oY++mF2hqWIZJKiB3YgV3qlMZP5IwaQXpePNtKhCg1H8waZrxzEzQVB21xz4sX wx9dfDY+V/TIH4jsTmpj+KFKLwagRI8f2oxd8L/uQwuEEjWIrUJMas3MIHDlIKD4t2Jl LlgGwdVednr2sStHoPAxe76UzOLfdtwUGw0ZYDnoOo2MjA0RBFn/FcVELjdOV15xGWqk cqUPrEtqnl8MCREIJjcXMP4lG/Xaf8nQ1ma3hlAZoi6qvmbVrxGYag1DzAELMfNoSrDi yIbA== X-Gm-Message-State: APjAAAWhsSV3b3jMrtJa2tp7f80aX6xuTE46q/n5LnryDJfHRTv2v02Y g8IHB69hKdeE99ZAfo4uu5EHrCF1CQ== X-Received: by 2002:a05:6638:3d2:: with SMTP id r18mr30146201jaq.13.1562700393681; Tue, 09 Jul 2019 12:26:33 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.251]) by smtp.googlemail.com with ESMTPSA id c17sm18671708ioo.82.2019.07.09.12.26.32 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 09 Jul 2019 12:26:33 -0700 (PDT) From: Rob Herring To: Mark Brown Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Maxime Ripard , linux-spi@vger.kernel.org Subject: [PATCH] spi: dt-bindings: spi-controller: remove unnecessary 'maxItems: 1' from reg Date: Tue, 9 Jul 2019 13:26:31 -0600 Message-Id: <20190709192631.16394-1-robh@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Mixing array constraints like 'maxItems' and string or integer value constraints like 'minimum' don't make sense. Also, with only value constraints, it is implied we have a single value. So lets remove 'maxItems: 1'. Cc: Mark Brown Cc: linux-spi@vger.kernel.org Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/spi/spi-controller.yaml | 1 - 1 file changed, 1 deletion(-) -- 2.20.1 diff --git a/Documentation/devicetree/bindings/spi/spi-controller.yaml b/Documentation/devicetree/bindings/spi/spi-controller.yaml index 876c0623f322..a02e2fe2bfb2 100644 --- a/Documentation/devicetree/bindings/spi/spi-controller.yaml +++ b/Documentation/devicetree/bindings/spi/spi-controller.yaml @@ -73,7 +73,6 @@ patternProperties: Compatible of the SPI device. reg: - maxItems: 1 minimum: 0 maximum: 256 description: