Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2159096iof; Tue, 7 Jun 2022 21:43:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwaefsSATraoGO23K2U9pkZLIb56NQtRtoEy9nwpBDh41f6cRUN1NksEhIb6mvdbSsKcmv X-Received: by 2002:a17:90b:4a92:b0:1e8:2c09:d008 with SMTP id lp18-20020a17090b4a9200b001e82c09d008mr28963814pjb.169.1654663411151; Tue, 07 Jun 2022 21:43:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654663411; cv=none; d=google.com; s=arc-20160816; b=uItqN3r+nGU7+0rAsuPlrvpIyOC8vjoCNVLdLcP81/3oSWliwHmRT+7DlRGy6KacIY Ij8/rRbTRrKuuPEzWFfsZhmsaX+D0UaxRFbxo14RKE2LmPCVFlDg2zxLozvbGZHKjfI4 EPTQtqDHIj8Bokbbka5ivZdkdHUfTvzYzW/u7kBHPb5/6J2fmq7XbJWQCDJYKElNPxZi vrzzxyjJ5KFb+6fL/Zgc7TOssFHGC5ycXWhbhkQe8FxRYnFlVlUgVJ/BHw4ypLkQTm36 gBUnINETQPuob4cpR8ttbYVDf8j/kQ5q3p7VH/Wb7g3vl5Nc2ZNgDkG8tcQVMGaIgtDN 54QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=t388SsnqRIQjbsW5HSlGP8U2d3jqBHL5atYmeSpJ968=; b=cF3sC/CDbFv687cW7Yswl6GIQuLkRKuvdvp3CjT9GkoPLKWvkPZKS+daTXlFL/jHip eYmCcrEYDaF1D6yO7+GadygZ0s1TmexMQiLG8c6JUO7+ue2kEuj/8SZsHWFaBQN4ULUp dVr85WEjQmmQzQq7L/UE3yjuO50fwOwdNkamqIS31BuU166HNbxR5Y8PSpN8/omW3pv1 Pg7jEL9k7OjA45iV4EI0Pqb6DxZ2kYLB/la0XJfsGaJHYw73BirwUHtECNikFoRRTyXm 0nvRb5dsSGrBdERXR2VhvnvjqqEx6eG+yUB71yWdoPDz+wtS0QOxbDvYss0l5v2ciexn w5TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0tHJ59TE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id cm18-20020a056a00339200b0051b98c3d62asi17971186pfb.233.2022.06.07.21.43.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 21:43:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0tHJ59TE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 778E1D9203; Tue, 7 Jun 2022 21:13:22 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345044AbiFGRem (ORCPT + 99 others); Tue, 7 Jun 2022 13:34:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346946AbiFGRZf (ORCPT ); Tue, 7 Jun 2022 13:25:35 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8541108AA6; Tue, 7 Jun 2022 10:23:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 1D9EDCE2017; Tue, 7 Jun 2022 17:23:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9205C3411F; Tue, 7 Jun 2022 17:23:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654622622; bh=cnXSpj71eQMwhKdrGkg6POkXC+2h0YgRyd9EbaikIb8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0tHJ59TECvRi1rXVKDKzvS93zilhDgd9m99lVoP0TOjYAp6HRvQK4qbw7/yZitK1i mLa0zdm81F7upAOMO0HuFNkmu85oYTP6dukzeVFxksGl5QYf5xX0JtYCkrTtnb8/9e lKcrsxRkhMXFlune/RzQFRe+g7t6Puqtrd8F6FEY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kuldeep Singh , Krzysztof Kozlowski , Mark Brown , Sasha Levin Subject: [PATCH 5.10 126/452] spi: qcom-qspi: Add minItems to interconnect-names Date: Tue, 7 Jun 2022 18:59:43 +0200 Message-Id: <20220607164912.313103228@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607164908.521895282@linuxfoundation.org> References: <20220607164908.521895282@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 From: Kuldeep Singh [ Upstream commit e23d86c49a9c78e8dbe3abff20b30812b26ab427 ] Add minItems constraint to interconnect-names as well. The schema currently tries to match 2 names and fail for DTs with single entry. With the change applied, below interconnect-names values are possible: ['qspi-config'], ['qspi-config', 'qspi-memory'] Fixes: 8f9c291558ea ("dt-bindings: spi: Add interconnect binding for QSPI") Signed-off-by: Kuldeep Singh Reviewed-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20220328192006.18523-1-singh.kuldeep87k@gmail.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml index ef5698f426b2..392204a08e96 100644 --- a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml +++ b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml @@ -45,6 +45,7 @@ properties: maxItems: 2 interconnect-names: + minItems: 1 items: - const: qspi-config - const: qspi-memory -- 2.35.1