From patchwork Mon Dec 11 08:01:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suraj Jaiswal X-Patchwork-Id: 176521 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp6892908vqy; Mon, 11 Dec 2023 00:03:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IFyqju/yMoZV10lkvmE1jqyqv6vxrMmR1vL9ri0JlLgfTJpkONdHx3/hxKzkt8YRtHYB8q5 X-Received: by 2002:a05:6a00:2394:b0:6cb:a2f7:83d with SMTP id f20-20020a056a00239400b006cba2f7083dmr4813908pfc.19.1702281796882; Mon, 11 Dec 2023 00:03:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702281796; cv=none; d=google.com; s=arc-20160816; b=z4TPFOdIWHI6vV69lwNT7oQywMnlFyPT/r2vj04tKRpugl40RsX2A+s96m3/FlAZ6X qbp3dASVC3/8l3NKHF3yyc73Ri2nZAKcnBKa2Ov84TKfjsnZLWEUBv/FGS8iqS7+UdHO j1psMIkbx0xCX9zzQ+/ElJMReqlnKpi+Ni+JXI3tHyWMCzAfXvxgwwCgLHacBUEkiLwF D5bYyyuZnsh0MkrmbKIEP6/iGDpRd2AZKIwE8wkg8977DFV/9a2FIbIEEIf308vPTM4V qNJliJM3BB3nh530ZJJwM4JbipTekZ+ER1on/lxRQkD+NZkapNXepqG22qGU+D9umFMF t9/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NxM4Hzj0Zu7rwaDjip3vlG09i1StZxhDtyXhLRHX4Jk=; fh=AO1athPla3jqhCn4k6adBHi7gs3A5EcpzQmM6u71SYU=; b=aCqHBIW5ymw7VKH+d+HosvBYYG6VYtWvIrOrVtPBOMFnjf+A+rIU574/2qx1tGp30/ dqMfUI8s6l/LrEIfOq0K1O5EC2/5s5ukO9BeyS0hWSNX2YL+w5twrjsoTX7FY8wJ56ym CvJo9IogfhRHUGSM/sUnaMz3YIN0K/nKSVnm8vuWx8/DMEBA+zTUwIrIC9YfkAQYzmlr MD2MgfyIiaU2nzGRJzYDwfvmbGHkXvi/WSX9SVL2OF5Hdlwd49lpfP0y+usfGQjroOo7 QmgzHoRtIhJckNOYyrPGbWygqGixCH2d0F4tGdwfQtY2q8XX980Ff8Gan+mrE6wP3VbZ MTdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="gODWvx/A"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id 19-20020a631253000000b005c661b579c0si5785482pgs.68.2023.12.11.00.03.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 00:03:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="gODWvx/A"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 2566280A2191; Mon, 11 Dec 2023 00:03:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229520AbjLKICu (ORCPT + 99 others); Mon, 11 Dec 2023 03:02:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233882AbjLKICq (ORCPT ); Mon, 11 Dec 2023 03:02:46 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 225BE113; Mon, 11 Dec 2023 00:02:47 -0800 (PST) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BB7vqKj020801; Mon, 11 Dec 2023 08:02:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=NxM4Hzj0Zu7rwaDjip3vlG09i1StZxhDtyXhLRHX4Jk=; b=gO DWvx/A1DGlCxoa5swNwFDOLdBMudtCE7LEQ9Maleu9GWNCIvJa/svUmIm6x6DQf9 dx1SwCyPutHwcSMTP0VjO0JVqkInIbIa0z2yB5asbZUCGTUsJpDEtED6EsVrHRM2 tSbBPNja0fax0+I36JelkgmO6ebLU5xA/ovmAWm3EYOWGo3SWXk3rwMJcD2+WNmr o9Gb86arV4Lu7r8zLUNiuHswsaSLgjkuzMF73E0zCUS76o9oeHn3RkkbGe6BoNMj 1+xZNhwiJ9ue5zAonVtUjurrNn87X9kLUfp7wFgfvqzne2TPQ4kRWtpUj/3iqLzD 1gB0i9gZsEWQVHeuHX7A== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uvney2nas-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Dec 2023 08:02:33 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BB82WId003088 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Dec 2023 08:02:32 GMT Received: from hu-jsuraj-hyd.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 11 Dec 2023 00:02:22 -0800 From: Suraj Jaiswal To: , Vinod Koul , Bhupesh Sharma , Andy Gross , Bjorn Andersson , Konrad Dybcio , "David S. Miller" , Eric Dumazet , "Jakub Kicinski" , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Alexandre Torgue , "Jose Abreu" , Maxime Coquelin , , , , , , Prasad Sodagudi , Andrew Halaney , Rob Herring CC: Subject: [PATCH net-next v5 2/3] arm64: dts: qcom: sa8775p: enable safety IRQ Date: Mon, 11 Dec 2023 13:31:52 +0530 Message-ID: <20231211080153.3005122-3-quic_jsuraj@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231211080153.3005122-1-quic_jsuraj@quicinc.com> References: <20231211080153.3005122-1-quic_jsuraj@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: K6Jhpl5AWdelnIsUh5p0pYG7zW7XKIxm X-Proofpoint-ORIG-GUID: K6Jhpl5AWdelnIsUh5p0pYG7zW7XKIxm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 bulkscore=0 impostorscore=0 mlxlogscore=653 mlxscore=0 phishscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 clxscore=1015 suspectscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312110066 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 11 Dec 2023 00:03:14 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784971837234741747 X-GMAIL-MSGID: 1784971837234741747 Add changes to support safety IRQ handling support for ethernet. Signed-off-by: Suraj Jaiswal Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index 6b92f9083104..a3ed75a1314c 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -2394,8 +2394,9 @@ ethernet1: ethernet@23000000 { <0x0 0x23016000 0x0 0x100>; reg-names = "stmmaceth", "rgmii"; - interrupts = ; - interrupt-names = "macirq"; + interrupts = , + ; + interrupt-names = "macirq", "safety"; clocks = <&gcc GCC_EMAC1_AXI_CLK>, <&gcc GCC_EMAC1_SLV_AHB_CLK>, @@ -2427,8 +2428,9 @@ ethernet0: ethernet@23040000 { <0x0 0x23056000 0x0 0x100>; reg-names = "stmmaceth", "rgmii"; - interrupts = ; - interrupt-names = "macirq"; + interrupts = , + ; + interrupt-names = "macirq", "safety"; clocks = <&gcc GCC_EMAC0_AXI_CLK>, <&gcc GCC_EMAC0_SLV_AHB_CLK>,