From patchwork Fri Jan 15 21:06:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 12024141 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6630C433DB for ; Fri, 15 Jan 2021 21:08:19 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6919623A03 for ; Fri, 15 Jan 2021 21:08:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6919623A03 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=cUff8JoJbFIGrL6MhQlG/NpRDKmVlLC3zvP8BaRVFYk=; b=EKPuJf/rs8vdqLHgkLMWDePklu X5d62AzDriLOuG9G5siTMsg66djKHSy8tT0JrIYMDvtqm04Kw9rg7JcYGXHI81nrGQwKyBE3O8wTu rBHAuc8Px798UicJBiiD9W29x3i1C0IvjaNg+H652X0JiB2aqfXSY4lTzO4T5oxGGWve4T72QVReO 2TKXgJf/3vCh/RteIS4pclpAIeasi7Vju4bvCxR3LX8TQPf5K/HOonzmSA76Y6mqsMHcadAHnr/1+ hPimHtXeh0lyDVk1h3YoOkD9m0mPwGo/MIuS97XVVipNWyddisUvNAL/SuAbVmX4jHT7InVukp7Tl 5+UDqVPA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0WIp-0003Lw-CA; Fri, 15 Jan 2021 21:06:39 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0WIj-0003K6-J5 for linux-arm-kernel@lists.infradead.org; Fri, 15 Jan 2021 21:06:35 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 10FL6VSC044316; Fri, 15 Jan 2021 15:06:31 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1610744791; bh=lSbnnKL5je0ksIl3ZafhacuyYDpFxm0MC9dJyE+A2mc=; h=From:To:CC:Subject:Date; b=ACUgwC4stCgS8AQKSHiF3N9CsXGgcdWwkeDUDDiGgIBP+ur+xj3viR6yUjOLu+pdJ 3kFJXREoz47mjBB4BXzITzBBPSEzZrG2sP0N4I5R8HBjOpJMpK3a2yQ46VB9tS1+I+ Y9rWE7uifGXu2jFV0L7Ki7cdiTh3SWQzLx592co0= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 10FL6Vm2110177 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 15 Jan 2021 15:06:31 -0600 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Fri, 15 Jan 2021 15:06:31 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Fri, 15 Jan 2021 15:06:31 -0600 Received: from lelv0597.itg.ti.com (lelv0597.itg.ti.com [10.181.64.32]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 10FL6VmJ103016; Fri, 15 Jan 2021 15:06:31 -0600 Received: from localhost ([10.250.34.42]) by lelv0597.itg.ti.com (8.14.7/8.14.7) with ESMTP id 10FL6VMF046857; Fri, 15 Jan 2021 15:06:31 -0600 From: Suman Anna To: Nishanth Menon , Tero Kristo Subject: [PATCH] arm64: dts: ti: am65x/j721e: Fix PRUSS INTC warnings with #address-cells Date: Fri, 15 Jan 2021 15:06:25 -0600 Message-ID: <20210115210625.20427-1-s-anna@ti.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210115_160633_715682_A891DF2B X-CRM114-Status: GOOD ( 11.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Grzegorz Jaszczyk , Vignesh Raghavendra , Lokesh Vutla , Jan Kiszka , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org A "Warning (interrupt_provider)" is generated for each PRUSS INTC instance on TI K3 dts files when building the TI K3 dtbs with W=2, AM65x: /bus@100000/icssg@b000000/interrupt-controller@20000: Missing #address-cells in interrupt provider /bus@100000/icssg@b100000/interrupt-controller@20000: Missing #address-cells in interrupt provider /bus@100000/icssg@b200000/interrupt-controller@20000: Missing #address-cells in interrupt provider J721E: /bus@100000/icssg@b000000/interrupt-controller@20000: Missing #address-cells in interrupt provider /bus@100000/icssg@b100000/interrupt-controller@20000: Missing #address-cells in interrupt provider Fix these by adding the '#address-cell' property with value 0. Signed-off-by: Suman Anna --- Hi Nishanth, This is a follow-up fix to the ICSSG dt node series [1] to get rid of the warnings with W=2, but will depend on the PRUSS INTC dt-binding update patch [2] to not generate any warnings with dtbs_check. regards Suman [1] https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=414883 [2] https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210115205819.19426-1-s-anna@ti.com/ arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 3 +++ arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 2 ++ 2 files changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi index 8aa8f1273563..3975753e2dd7 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi @@ -982,6 +982,7 @@ icssg0_intc: interrupt-controller@20000 { reg = <0x20000 0x2000>; interrupt-controller; #interrupt-cells = <3>; + #address-cells = <0>; interrupts = , , , @@ -1113,6 +1114,7 @@ icssg1_intc: interrupt-controller@20000 { reg = <0x20000 0x2000>; interrupt-controller; #interrupt-cells = <3>; + #address-cells = <0>; interrupts = , , , @@ -1244,6 +1246,7 @@ icssg2_intc: interrupt-controller@20000 { reg = <0x20000 0x2000>; interrupt-controller; #interrupt-cells = <3>; + #address-cells = <0>; interrupts = , , , diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index 605fe557cbb4..9ed521602780 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi @@ -1710,6 +1710,7 @@ icssg0_intc: interrupt-controller@20000 { reg = <0x20000 0x2000>; interrupt-controller; #interrupt-cells = <3>; + #address-cells = <0>; interrupts = , , , @@ -1841,6 +1842,7 @@ icssg1_intc: interrupt-controller@20000 { reg = <0x20000 0x2000>; interrupt-controller; #interrupt-cells = <3>; + #address-cells = <0>; interrupts = , , ,