Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5562757pxb; Mon, 28 Mar 2022 14:15:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2ocKrs6hxhHFriJhVC6qc9ZpmMV7eXHNfF0pRYKcvij4EYqvX2Iaav1LEZc3+BkV68GTf X-Received: by 2002:a05:6830:1cc8:b0:5ad:b06:7b83 with SMTP id p8-20020a0568301cc800b005ad0b067b83mr10769383otg.377.1648502156988; Mon, 28 Mar 2022 14:15:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648502156; cv=none; d=google.com; s=arc-20160816; b=nDxnWU6kAcURHM01dvwhUHJOxV1fh3VnT3EonzY9qSE9RNmuNeWs/5V1TXJru6S2nk G6FnpMpcvTsXfbWtAZYWM0fGO7covPT2Zh5xGpch92Lfs8+CXuohkJs+5UQ4aU35B3Vi ev0rgbHx0xND4MpHDW13zDL9FMjeV2vdYmOLruIOlnVFLra7lI4dQ8dQrmjmOXlr+lUM FaZZgPOex72VSk5p6akaYJy/+jgFeDDedL5bSVGU6JZ7tNmtstBFazIuGxglyq69pibk ri9IvPOZlWUYSOlscwTF0czQApjUZXlctSQa3/LVN7sHjOMRApJL0AjpYpquEuwVTpzB ZYsg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=GJEJWucPHfNfh0owOSh1kHfEuPNtGB0oLcBX/58o8qM=; b=bcY2D8F7KvgPfltQk9IJfjf9hauu6CqrT/qXKL1UqzjC3YzjDuQpWhuSwpqtu+ziPw 2O0ONvu2FWLcBPVvynBlngsWi4YYAtzpThx03E+isA0Jvte5kbpz9DnELfCO4v1vRWfE 8SC4mXTVX92ls6NvKZ1Q0KaXl1JWbbh2KqtAdln3eFNlZpefsuKNfdg6Af6Hi47skQdM F/9SNXnRHayUxNFFAysY+A2EULDZJIAQuymrSJpFkmWbxgucAh+TrYRlRp/F0t7H2Wa4 rtm1M+jaJG9wXgrs4EdzSIadp6m6TyY7/LusqhKtbzQIAQaKsA6oH6zvTYhDbSxXwkuv MUAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="JP/IsseE"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id w13-20020a056870a2cd00b000ddc9587884si10779208oak.26.2022.03.28.14.15.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 14:15:56 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="JP/IsseE"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 32C1A71A30; Mon, 28 Mar 2022 14:06:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245093AbiC1TV5 (ORCPT + 99 others); Mon, 28 Mar 2022 15:21:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244720AbiC1TVz (ORCPT ); Mon, 28 Mar 2022 15:21:55 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A9595DE4E; Mon, 28 Mar 2022 12:20:14 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id b13so11762221pfv.0; Mon, 28 Mar 2022 12:20:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GJEJWucPHfNfh0owOSh1kHfEuPNtGB0oLcBX/58o8qM=; b=JP/IsseErt3A3GaLZ07OVojIgAwMlkKQXJbU0k6teFguY4PSuv5O56wntHbS7cQX8M ygcQ6cP8WIS0Oe2g9kgoYbVhd8a6t3rkAW349ZzBJVb/5xDkScINNk6VtNUf4fFLXf7l MOKxSppY//7Wm1FNURCk/MdfjSzRBSxBZkg7bZT8DxtUeOp1w8uP/24JIM16Bn1fw7bh 8sLIsZi+o3DMg0VPJZwvau0LqCUve5dgtRttgqoVqmmpzUdQv0+o+C9eszP9egtXRt9X UH6I5aTsqmQ4QwCY0uw/FSHFWrv2FpMv6+o+sUda7CtYZp7bITnlqF1nE+ypDgwRqjof nexQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GJEJWucPHfNfh0owOSh1kHfEuPNtGB0oLcBX/58o8qM=; b=mj+VxfjPN6MKQgobI8EM6U1wj+BhrVTvRxnWrkwE0nt8w4OwaHM4z9I6IitusGDmMg W3GzgfRwIY7gbn+LofPfKzObY6/BdR7EsldqP5exGwqRbJqdVPTWeb6rrPTpuSuwXPKM iDYtHEJ+9QoP6i7S67WXE728IMyhROzjakclx8sqoxh23dA74qAVB9HmawAsKSO4JVk2 KEb6XijqAXRUykw8YZHDTATnyoHqJPVQlfz/YHGpX+7S4FxY5H6jLchAunJxfzYxi57H dPqDfheWB4aHu+aDNkQjn7x/KYvz5gG4kzL5oXYq1QcO4q5eyXq9lnZ5PXQtiDTFj9Nw KC/Q== X-Gm-Message-State: AOAM533WPk0Lhlyt5KaEm9GsI/DeMUXO4HVsaoEh2JlvKHL6Z8WM8ikS wyLG6/jOEXrHFCBlF8ytZljMrPAzk/U= X-Received: by 2002:a65:56cb:0:b0:378:82ed:d74 with SMTP id w11-20020a6556cb000000b0037882ed0d74mr11408905pgs.491.1648495213750; Mon, 28 Mar 2022 12:20:13 -0700 (PDT) Received: from localhost.localdomain ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id nn7-20020a17090b38c700b001c9ba103530sm265339pjb.48.2022.03.28.12.20.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 12:20:13 -0700 (PDT) From: Kuldeep Singh To: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Mark Brown , Rob Herring , Krzysztof Kozlowski , Mukesh Savaliya , Akash Asthana Cc: Rob Herring , linux-arm-msm@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] dt-bindings: spi: qcom-qspi: Add minItems to interconnect-names Date: Tue, 29 Mar 2022 00:50:06 +0530 Message-Id: <20220328192006.18523-1-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 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 --- v2: - Reword commit description 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 055524fe8327..116f3746c1e6 100644 --- a/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml +++ b/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml @@ -49,6 +49,7 @@ properties: maxItems: 2 interconnect-names: + minItems: 1 items: - const: qspi-config - const: qspi-memory -- 2.25.1