Received: by 2002:a05:6512:2355:0:0:0:0 with SMTP id p21csp5525528lfu; Mon, 28 Mar 2022 15:59:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXHASUd4pvFI4/iGsWfHF74w4SQ0sxlhcvV3GMBgUI9f2stYNpVykPzV08wTykRJZzlei/ X-Received: by 2002:a05:6870:b39c:b0:d1:4a9f:35f9 with SMTP id w28-20020a056870b39c00b000d14a9f35f9mr693547oap.119.1648508390058; Mon, 28 Mar 2022 15:59:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648508390; cv=none; d=google.com; s=arc-20160816; b=XOYjucTUTp96fFhx9KgkeFMm0k/cgKrxTyoZZUazboSWBP2rMk2pDAX5yyq7fpuoZ7 0trz4VecnOPh0uh/+GXshUKg9MFcjqyWFBEXnxgIsChs77khn9UkBq+yQwnxavrHX9mC hKsabq5MSiM9GmotCg6KNe4vzoxzfZKmXYw92IvPaxlLLoR+p64MkIAd4XEPGBKXCmsq q5lqfZEZkwGHILXtYUgm8IJdOZ2UrOEN7bd7RN5AcgYr0ZSPCDiyQDIii25hpQKJ/LCr z+XXltdQZhqgqird0vim/buq3Mw1mpWNp5gyVRHxN2t22jaCxcjMpy0n+LeOy00fFBsu AyUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hmQ8Pxzi+Z9l8ejBIWAmIqyy4Jpg692Mg7RREXlY2/Q=; b=YOo8oQxXbS3tcNlzZ8IDwlLv43yLPKQ1lsQiFxpdoeCMhmTNK6WJrOZwylsalLRoVG MsZNHGp4bfCL3aNmg5azmTOysDS+3zm5yflw8Npj0JppXHhqErYPFxbh2QHBT9m8VYtc yxpQE2eC1we6VOPn8jLWdAZobcoPM3GaibNLZ8I5V9UlhCQmwDOJ5kugHJYmeXUFfKlk QYbQSoDUp+RGFCVyw8MIHMFi6zuCbXYy7YoW0wKRVoHRHWR6ELAV1mH8RFWgabCHzZL3 gmD8L7zPdcHaftxtx3s6zU7EzOUqv2zL0QokkeLEe5X/Nh6vNLUHWckLOgfw7dg2AWUy EEvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dGhJRXlB; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id o126-20020aca5a84000000b002ef0c347615si11138171oib.149.2022.03.28.15.59.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 15:59:50 -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=@gmail.com header.s=20210112 header.b=dGhJRXlB; 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=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 F27F027CE3D; Mon, 28 Mar 2022 14:58:59 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245132AbiC1SS1 (ORCPT + 99 others); Mon, 28 Mar 2022 14:18:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231712AbiC1SS0 (ORCPT ); Mon, 28 Mar 2022 14:18:26 -0400 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64A6A38D9A; Mon, 28 Mar 2022 11:16:45 -0700 (PDT) Received: by mail-pl1-x633.google.com with SMTP id w8so15361284pll.10; Mon, 28 Mar 2022 11:16:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=hmQ8Pxzi+Z9l8ejBIWAmIqyy4Jpg692Mg7RREXlY2/Q=; b=dGhJRXlBShwg8AriQxi7fKU2M/J713BdphGZclZ0PJ7lZso9/8FinVzDhD/2f88oZj lbiwQiWzjjC94beyGKvUl3OJT4njdmwWj8JGcxL/8BCBTtueq1WUGspGKUP5nJsn7KrM yoc4qM9O0pcV+qhmWDkEpINspKieu994ykC6KiJttD146G4iSGuluqHql6PIO7U9SfhB GKKAYKImLaaddTWhIOwubiiMFq2tKM45hr5GS+CMbf9BoeMSnGKnIiPGMuh+834kHK5g ZBwBamOzMULQPlfd480rP8JnGbip+Z0/otTzlzae4VPtLreXqXv+HFGboddZZv6BVvlW 8Mdg== 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=hmQ8Pxzi+Z9l8ejBIWAmIqyy4Jpg692Mg7RREXlY2/Q=; b=GXbhHjUD6TL+kI0iuo1bukuy4mCj3c6YBrjFppPT8eazWnbfJ9TDHvJAGHLw71i3xB Kx+tEdC2VaNlEoDP4MsF+FRqvWbIUvtQQA8JvRmYm87/oOdwf9iKekfyThesyuakgLJ8 q2b1i8SbsTtDmnMZpHEpEa2ulOPAAkBmq6uhOWWyDry7Y99K8uioWhKo5bBgkxJvXZa/ 0cQwlq28DA8xYxsT0uGyVG0EOSYaOdoXUFo24CTeUwQy4wy1E1KWK49gqypTNWVW8Mj6 UNun1trbYlelBY5mWLDEBDgP/hBcjM35L/Jm/E1CKPKdsryteFlYsHU5jDot8LNJHx6q mDtA== X-Gm-Message-State: AOAM533jmLFj6fEM4q3L585qCMlmEdPgH4hXMTa3ZoRHB+kVJw4YDlw+ //G8smNBtpWxSz83NCbT/eE= X-Received: by 2002:a17:90b:4d87:b0:1c9:7f58:e5ca with SMTP id oj7-20020a17090b4d8700b001c97f58e5camr424499pjb.154.1648491404814; Mon, 28 Mar 2022 11:16:44 -0700 (PDT) Received: from 9a2d8922b8f1 ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id e19-20020a637453000000b003821bdb8103sm14081451pgn.83.2022.03.28.11.16.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 11:16:44 -0700 (PDT) Date: Mon, 28 Mar 2022 23:46:38 +0530 From: Kuldeep Singh To: Krzysztof Kozlowski Cc: Andy Gross , Bjorn Andersson , Mark Brown , Rob Herring , Mukesh Savaliya , Akash Asthana , Rob Herring , linux-arm-msm@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: spi: qcom-qspi: Add minItems to interconnect-names Message-ID: <20220328181638.GA16448@9a2d8922b8f1> References: <20220326212134.45759-1-singh.kuldeep87k@gmail.com> <42c32324-ce22-ae37-6118-35590f4e355c@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42c32324-ce22-ae37-6118-35590f4e355c@kernel.org> 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 On Sun, Mar 27, 2022 at 09:21:34PM +0200, Krzysztof Kozlowski wrote: > On 26/03/2022 22:21, Kuldeep Singh wrote: > > Qualcomm QSPI DT spec says interconnects has minimum length 1 and > > maximum length 2. Same configuration will be applicable for > > interconnect-names. Schema currently depicts interconnects length > > correctly but not interconnect-names. It can have a single entry, which > > is a valid case yet to be incorporated in the current configuration. The > > schema tries to look for 2 names and fail for DTs with a single entry. > > Thus, add minItems property to interconnect-names to fix it. > > Thanks for the patch. > > 6 sentences which explaining the same, which could be written in one > sentence. In the same time you actually do not explain whether having > one interconnect is correct. You just say what DT spec says about > interconnects, but maybe that's wrong. Though commit desscription is subject to personal perspective, but I also see some duplication here and will submit v2 with a shorter description. > > So either keep just one sentence or really explain why one or two are > allowed (based on datasheet for example). Please see commit 8f9c291558ea, interconnect properties were added by one of maintainers of qcom-qspi. And it's been sometime this change is in-tree with no regressions introduced. So, I don't think we should double check this change. My change simply define minItem constraint to interconnect-names which is already existing on interconnects. -Kuldeep