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 B8D14C433EF for ; Thu, 14 Apr 2022 07:36:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240434AbiDNHix (ORCPT ); Thu, 14 Apr 2022 03:38:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240437AbiDNHiu (ORCPT ); Thu, 14 Apr 2022 03:38:50 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 692DA56222 for ; Thu, 14 Apr 2022 00:36:23 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id bh17so8383605ejb.8 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=ik5x7HNGbR1C2WfUJ9CU9AdPDZmLAXhxbnsqnXr7YgdLhGZf3rwZFsTaXtrAP3WGul YTLTbYzEdgquRcNLzNlUtuQh9G9i7/15qGjReICUIXXnKxAZQwVNF6FKaMMGtyYtj8Av 1S6eQzxc2cXuxjyvFRvKvIGf2eyCqOBJm31wfRDKmZ84uPFBLKRRmc+5zjj5f+amjHis C13POibngJdvoin1fSUO6Swi1hjkXkD0g3RKwP/Os9sECGJjhJgu9PZa/jgdzYeStNUU X96qn7vlGaWrl5jlZf+no/qpCFgnhCItrzJzcqj95jrR2GqhZfIOdPmK0DZlfxKyV+mn HJCQ== X-Gm-Message-State: AOAM530Rhde4FtXklr0KKUBh5zGl41vqpXqAKk9vb4F7qKCdBqizjC3w Dv6IqdnLlm7niWSIy1Gc1aI5TQ== 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: devicetree@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