Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp398518rwb; Thu, 22 Sep 2022 00:50:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5RX2sVq1QJbUQv4yCrr5bQGWL4Gns4Rz1yMzvmbegp/yUo+UFUR+penRgpcoNkRldtv09Q X-Received: by 2002:a17:902:ab55:b0:176:8906:a3c5 with SMTP id ij21-20020a170902ab5500b001768906a3c5mr2166023plb.72.1663833043015; Thu, 22 Sep 2022 00:50:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663833042; cv=none; d=google.com; s=arc-20160816; b=j3xVOyysLUMx9Kv+Mg3QDfFb3XokDBPWmHLdQF6CgwWJdTerdS1DntTikLQLIkSwoT z/2FbD3iDc17bCXRKZMONOpeoFRAD19dXRtCIvg65wdUhRXe4pd8oeQ7eXUxFgUrPtcU Hi6mO/3CAuuu8A8K7dSzTLFKRGrApasyGTKvWWEIWj2KXyVnDqvMR3r/LPV0muFo7jrF gWACDmoWTsu5TzDycEnJauIy+SNd3nHb1e2BhtjOjONgNvhtSTn6Z+LK4Ahld8XxuOcw uekj73PMrtg2QH/e38QuyvAqP0z/Mrrak59nD9QQ5QoDKKhMxvHxwYUx27sK93tfIBJv bcwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=aj/zfNjbhseVF5hz4JgkRF+U1n7Rvv8xDs/IFGCygyg=; b=ZaTClOIdGaiv0ZYvMsWA3lmIH5PQke7K0p6z2sT4EAW3CPOfZg+r5Ev9B4xcREN++R e3O3VFnEtHv6ds+WYULy3xtKU0v7VMWZ4C1Bk0SBxW5kxhvZ7/iGiZrzR9znMrqtMcja L2V+RGaHVS6ZsraBtpLM1Qy+czBlL6HaBWwuzc9f6vturkgvn8eRxsfd/i8lEHjGgixF +FLKW7ruq4rT5F7dQ/GLorJL8gqaYrG9zhuDK6XCDGAyJe/GX0JGBVd8QHzX2ALoay1z NWEQazzldbZZv1+nXysuKjxQboxLf82vDWU7QD6QcCnWZPSQPc5cPTa5iuwwtJzxjdYl XfVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=bav5418V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i2-20020a635842000000b00438854c876esi4567124pgm.419.2022.09.22.00.50.30; Thu, 22 Sep 2022 00:50:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=bav5418V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231189AbiIVHbC (ORCPT + 99 others); Thu, 22 Sep 2022 03:31:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231293AbiIVHak (ORCPT ); Thu, 22 Sep 2022 03:30:40 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A5E4A50E3; Thu, 22 Sep 2022 00:30:27 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 28M7U9Vf020473; Thu, 22 Sep 2022 02:30:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1663831809; bh=aj/zfNjbhseVF5hz4JgkRF+U1n7Rvv8xDs/IFGCygyg=; h=From:To:CC:Subject:Date; b=bav5418VL9rrlaHU6C20TkVxI0LBnfM6JJVV88ougEsCQsTkJy2NHucB/AmllyiDC u9dohYT4Q/kNodyTrr2E9FZTKcMLOijA8HY2DaO1GKJvUwzasbKOCRbYhYnRQTar4H 6R91k4EhZKIZDEF9Bi8f9IVt5Y9ey0ULDhCMDPzs= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 28M7U95r056421 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 22 Sep 2022 02:30:09 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) 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.2507.6; Thu, 22 Sep 2022 02:30:08 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Thu, 22 Sep 2022 02:30:09 -0500 Received: from keerthy.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 28M7U55V032864; Thu, 22 Sep 2022 02:30:06 -0500 From: Keerthy To: , CC: , , , , , , Subject: [PATCH] arm64: dts: ti: k3-j721s2: Fix the interrupt ranges property for main & wkup gpio intr Date: Thu, 22 Sep 2022 12:59:50 +0530 Message-ID: <20220922072950.9157-1-j-keerthy@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 The parent's input irq number is wrongly subtracted with 32 instead of using the exact numbers in: https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/j721s2/interrupt_cfg.html The GPIO interrupts are not working because of that. The toggling works fine but interrupts are not firing. Fix the parent's input irq that specifies the base for parent irq. Tested for MAIN_GPIO0_6 interrupt on the j721s2 EVM. Fixes: b8545f9d3a542 ("arm64: dts: ti: Add initial support for J721S2 SoC") Signed-off-by: Keerthy --- arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 2 +- arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi index 34e7d577ae13..c89f28235812 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi @@ -60,7 +60,7 @@ #interrupt-cells = <1>; ti,sci = <&sms>; ti,sci-dev-id = <148>; - ti,interrupt-ranges = <8 360 56>; + ti,interrupt-ranges = <8 392 56>; }; main_pmx0: pinctrl@11c000 { diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi index 4d1bfabd1313..f0644851602c 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi @@ -65,7 +65,7 @@ #interrupt-cells = <1>; ti,sci = <&sms>; ti,sci-dev-id = <125>; - ti,interrupt-ranges = <16 928 16>; + ti,interrupt-ranges = <16 960 16>; }; mcu_conf: syscon@40f00000 { -- 2.17.1