From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE73EC433EF for ; Thu, 14 Apr 2022 07:36:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240421AbiDNHi5 (ORCPT ); Thu, 14 Apr 2022 03:38:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240430AbiDNHit (ORCPT ); Thu, 14 Apr 2022 03:38:49 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68E845130C for ; Thu, 14 Apr 2022 00:36:23 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id u15so8343385ejf.11 for ; Thu, 14 Apr 2022 00:36:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=I08MYbmwCgj672tZNAB4iBcbAhXpDOOP8jOuTMDXcxE=; b=xC0mNjbcvnq1Ou090vpGtEyf/JNmAAqopzUB8R5qRblpAX0AXOaTlvMd52f4TxIlgH PCjoH3qxD0PG4oO0PKcWLPD75N6x/q24CyzaT2yyXjFGekLcf5TCwU1TWP6pkazeftX3 p3YMc3P6ICx1e3g/Bgu14FuaWMo9F66pdTTmO+txflvH1KLkDdTf5sESkkym7fmMJkQh QLrzTOlxRRtCMv0se/rP6LISrU1f9w89+SYXxYRwlgfialzgm5RjV4MIOjietLGkGx1S po0lng2rSxKnoeqE3Q5NijJ/vkpOENLqQztqO1lIj+Aqkzb2daACvfx66qMC2zpD0NPD gdqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=I08MYbmwCgj672tZNAB4iBcbAhXpDOOP8jOuTMDXcxE=; b=eSGfGHSMatRtxr6qaTeAPxU6ZSPf8HQEfQfxFNkRk95mMPZ+8BdFCOqBKfJoG2iC0q 4QG7FgezzBgdw+mOXWp+ybdER838uOkRo/jGEi7uK0p/scfAYk1TeGDBE3QGOj/dATIQ hFxkDHrQornaSAnf/+7gVc2fj6CpnLE4RQGXeW6CgFlLiKmwc4J1QRqPTeys0i+V9SRk xKxga/Vs6Piy4pAbjLWcnCg7+wymbUWor58f/nwljogQCHc5HchUVSg9r4bcTUAoGGXr Ip3JGbN5l9CREKP4BRt9n1gbzeZevccQHVP2qNJfWTkRcvDVoC6IGti/+rxzFCQ1xst9 HySQ== X-Gm-Message-State: AOAM530MwJfZ6YkECykmbYKq7rU27QjuWZGoxxrIax25JMq54yme7amG LYPb8CRero/tiJSS4dfSd9KgpA== X-Google-Smtp-Source: ABdhPJw9UXjI9+jbhL/tFdNvzNFLdlGFRWM/OL0aA7R3lIQwwl9pVB+ilW7uG/3DORr2fspKHtyMbw== X-Received: by 2002:a17:907:eaa:b0:6e8:9105:b3c7 with SMTP id ho42-20020a1709070eaa00b006e89105b3c7mr1248966ejc.26.1649921781804; Thu, 14 Apr 2022 00:36:21 -0700 (PDT) Received: from [192.168.0.209] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id w6-20020a170906184600b006e8914a0a9fsm370288eje.88.2022.04.14.00.36.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Apr 2022 00:36:21 -0700 (PDT) Message-ID: <0598d1bb-cd7c-1414-910c-ae6bedc8295d@linaro.org> Date: Thu, 14 Apr 2022 09:36:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] dt-bindings: dmaengine: qcom: gpi: Add minItems for interrupts Content-Language: en-US To: Vinod Koul , Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220414064235.1182195-1-vkoul@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220414064235.1182195-1-vkoul@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 14/04/2022 08:42, Vinod Koul wrote: > Add the minItems for interrupts property as well. In the absence of > this, we get warning if interrupts are less than 13 > > arch/arm64/boot/dts/qcom/qrb5165-rb5.dtb: > dma-controller@800000: interrupts: [[0, 588, 4], [0, 589, 4], [0, 590, > 4], [0, 591, 4], [0, 592, 4], [0, 593, 4], [0, 594, 4], [0, 595, 4], [0, > 596, 4], [0, 597, 4]] is too short > > Signed-off-by: Vinod Koul > --- > Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml > index 8a790ffbdaac..7d2fc4eb5530 100644 > --- a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml > +++ b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml > @@ -32,6 +32,7 @@ properties: > interrupts: > description: > Interrupt lines for each GPI instance > + minItems: 1 This should be some real case minimum, not just 1. Unless really only one interrupt is also possible in existing variations? Best regards, Krzysztof