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 1FBA1C32774 for ; Mon, 22 Aug 2022 19:15:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238397AbiHVTPQ (ORCPT ); Mon, 22 Aug 2022 15:15:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238332AbiHVTOx (ORCPT ); Mon, 22 Aug 2022 15:14:53 -0400 Received: from mail-oa1-f51.google.com (mail-oa1-f51.google.com [209.85.160.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0ACD2F381; Mon, 22 Aug 2022 12:14:46 -0700 (PDT) Received: by mail-oa1-f51.google.com with SMTP id 586e51a60fabf-11c896b879bso14076782fac.3; Mon, 22 Aug 2022 12:14:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=+9mYtYRdtFYJ0G4uhdbdFfotHF7Sh4Tm00IctJc4L4s=; b=PDvyOTd4ewNzUM1BUZaKm/vj5dItr+56cU6UuzIE5XGvD7WOAgNbwz67E8qlXhHbuM fSXg3p/+lBXmhyX8P91qdrx4+glo0TBcl2M6WV+M0BkNLt6L+Fj87z1tthju+WHVBK1L utKaIHZf4lPeRyvZNLPmKESVnwwIUq8RM2t2BZ8y/hLxYBSEveUrqEyD6BGwxvr3peoG bJTdMxJUjnePlzlVx86amAbdLgVk5lyffMqRrfqZGS7U+k569uqpd/b28lAjofic59S0 8mxznaKb3dJrDGrKnW2CfXJNRQHyoovSGa9WjyDWRLEDfgIuwUPAr6UzWSSHdpZsweFe mUgA== X-Gm-Message-State: ACgBeo032mSJaADijtwIUhNcr5Hqnr3s6I9sHtKEM0AGOT1mI7NuNwSw +Y/0REdVgndj1//aKA4Jaw== X-Google-Smtp-Source: AA6agR5oYMphkHrwtR9ftlAb0utmEIuJpCmM4Twje7fpd6P2+GKlfXYkStDRhzqW/KE83WCop63FmA== X-Received: by 2002:a05:6870:6193:b0:11d:3674:69e3 with SMTP id a19-20020a056870619300b0011d367469e3mr3957587oah.83.1661195686011; Mon, 22 Aug 2022 12:14:46 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id g203-20020aca39d4000000b00342d18cc2fdsm2731970oia.53.2022.08.22.12.14.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Aug 2022 12:14:45 -0700 (PDT) Received: (nullmailer pid 248067 invoked by uid 1000); Mon, 22 Aug 2022 19:14:43 -0000 Date: Mon, 22 Aug 2022 14:14:43 -0500 From: Rob Herring To: Apurva Nandan Cc: Santosh Shilimkar , linux-kernel@vger.kernel.org, Nishanth Menon , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Tero Kristo , Krzysztof Kozlowski , Marc Zyngier , Hari Nagalla , Rob Herring , linux-mmc@vger.kernel.org, Thomas Gleixner , Ulf Hansson Subject: Re: [PATCH 1/3] dt-bindings: irqchip: ti,sci-inta: Fix warning '#interrupt-cells' was unexpected Message-ID: <20220822191443.GA247988-robh@kernel.org> References: <20220819190729.32358-1-a-nandan@ti.com> <20220819190729.32358-2-a-nandan@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220819190729.32358-2-a-nandan@ti.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Sat, 20 Aug 2022 00:37:27 +0530, Apurva Nandan wrote: > #interrupt-cells = <0> property is required in device tree for > ti,sci-inta nodes, or else we will have following warning when building > device tree files with W=2 warning level. > > arch/arm64/boot/dts/ti/k3-j721e-main.dtsi:147.51-156.5: Warning (interrupt_provider): /bus@100000/main-navss/interrupt-controller@33d00000: Missing #interrupt-cells in interrupt provider > > And further, #interrupt-cells is required to be in yaml bindings as well > to prevent following schema warnings: > > k3-j721e-common-proc-board.dtb: interrupt-controller@33d00000: Unevaluated properties are not allowed ('#interrupt-cells' was unexpected) > From schema: linux/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.yaml > > Add #interrupt-cells property in ti,sci-inta.yaml > > Signed-off-by: Apurva Nandan > --- > .../devicetree/bindings/interrupt-controller/ti,sci-inta.yaml | 3 +++ > 1 file changed, 3 insertions(+) > Acked-by: Rob Herring