From patchwork Mon Dec 4 13:26:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suraj Jaiswal X-Patchwork-Id: 173336 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp2761097vqy; Mon, 4 Dec 2023 05:29:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IFFUxxCIUhfR18anQnORh3TjpTgtMcR3WXvV6wJQPCjV5sVsuBc/x+rWg+I/ynKlLeLSW1T X-Received: by 2002:a05:6a00:87:b0:6ce:5190:1ff8 with SMTP id c7-20020a056a00008700b006ce51901ff8mr1656040pfj.34.1701696569683; Mon, 04 Dec 2023 05:29:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701696569; cv=none; d=google.com; s=arc-20160816; b=Sr4zqESHRtT00BntDswrNiaY7pyPBY/mNqzp0iKuO/VibSrOmHv6ETm6jqPvnnUddr dqQ8ZKOaqdDVPrXXHJukBnSA+fYCETxViGv+eOxntuIpqBcS04Br/QnvLalYq03CavGP W7xs55R9rWoWjVQb0gE5Pd/h8z22/pbU/NZ1P4z1mSPYoN1ek9bbUyRunUadqgIiG0Rf rQ79ZsgNkSOazQ1fQlKsMsWgmBLET9f1DncUo4Giu7rLf02yqm7tq8A+XPg6SgJPtukw cK2X+WidHs3eyOxhbcq/UzmdH6oyrkuuku95JFWSzyEQ4Fpdc7vOnvR+WwNcFW//Fvk3 s8tQ== 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=x6LE3MtLGhTYFhqYeP5YLz7sqj7w/XAt98FOhZLnZRI=; fh=gw1nGGRvPTMpMB1+2yIHl2JD2hbsUI2mdSe/41PDYQ8=; b=oKmARcbexPKPuhDogQSW2oDWi5GEfK07b46sTB4ZopDqGfrAUuocg5oZCCnvYEQkMl z8UbbwjouuUxrmjjd2zXXlri3Hm0pngUUOX3zDK/zwZYjL5jglMfCZtcpe2BfMp29wBp zdA2TE/N5QIESoaI1fgXpvtje+QQpCEkZdMe9HojcNO/x+MiVS7je5kCOmLXpFSgBYJO kOneNS8n43S2lEF0PBUbF9G8yjEOcxlegGM7Y34hn22+0qHiXDPBfc21UVQpAFnlFX1i C4BqycZ0LYcE02Edrlt4TL+tpk6zgYmOb9Pz8Gu5C1ZjBInKSvsrn9o+5XHg4CzYSCs4 yzng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=V22Vl24d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id r18-20020a63d912000000b005b938759695si7721078pgg.886.2023.12.04.05.29.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 05:29:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=V22Vl24d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 9066580A30E5; Mon, 4 Dec 2023 05:29:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235598AbjLDN3Q (ORCPT + 99 others); Mon, 4 Dec 2023 08:29:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235658AbjLDN3D (ORCPT ); Mon, 4 Dec 2023 08:29:03 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE25726B3; Mon, 4 Dec 2023 05:27:27 -0800 (PST) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B4Ce4AF011000; Mon, 4 Dec 2023 13:27:05 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=x6LE3MtLGhTYFhqYeP5YLz7sqj7w/XAt98FOhZLnZRI=; b=V22Vl24djUnUDIxatSXKFmWeDnk9oVMX+fnxLSOYexdpIp8skG/kd8Tq6l6bjN++lGRn uET2d3l9B4aY3gXfM+EmThe8VMVuLJ6+HAdpHQgzhBtFyw+e8qGLDKnGHwYydovjAHQt 9IUudU73DC9hFaJ183Q3cNstgy/q2+YJWu7elleFfJeJA01DrWFP1rnJjVBtG34oCGUv JpPDhXzmSlj4RTdjfnpDcZ+qm4NqxPyp7uaA9x3P8T53+AzJYkKgmDcGtQxmNui+Cqzh QI14rZqMR7QUozeTXbty7zxGTnBVaRi0kOifTk5YNffOO6C5F4Zy/o6pc1Rg2UKDagc0 7g== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3usdfwge2r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Dec 2023 13:27:04 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B4DR2sf012818 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 4 Dec 2023 13:27:02 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, 4 Dec 2023 05:26:53 -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 CC: Subject: [PATCH net-next v3 2/3] arm64: dts: qcom: sa8775p: enable safety IRQ Date: Mon, 4 Dec 2023 18:56:16 +0530 Message-ID: <60c5e8ba8536538966fa4b22ccbd8345f8869a15.1701695218.git.quic_jsuraj@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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: oFYomotq8I7OHHagPXN7ns1P349Pk735 X-Proofpoint-ORIG-GUID: oFYomotq8I7OHHagPXN7ns1P349Pk735 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-04_12,2023-12-04_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxlogscore=662 mlxscore=0 suspectscore=0 lowpriorityscore=0 adultscore=0 priorityscore=1501 phishscore=0 spamscore=0 malwarescore=0 clxscore=1015 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2312040101 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 04 Dec 2023 05:29:28 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784358181916721384 X-GMAIL-MSGID: 1784358181916721384 Add changes to support safety IRQ Handling Support for ethernet. Signed-off-by: Suraj Jaiswal --- 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 13dd44dd9ed1..c92d8f9b92f5 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>,