From patchwork Tue Dec 19 10:48:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suraj Jaiswal X-Patchwork-Id: 180860 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1849637dyi; Tue, 19 Dec 2023 02:50:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IF1LnqVleAdiXfTDcndVVk1MtIint5vDDbCCWfvwpQc3mqSoxPgVgDOgeMha6IihutYgcox X-Received: by 2002:a05:6a20:7344:b0:18f:97c:5b78 with SMTP id v4-20020a056a20734400b0018f097c5b78mr8793896pzc.70.1702983052459; Tue, 19 Dec 2023 02:50:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702983052; cv=none; d=google.com; s=arc-20160816; b=TE6Fh03W18Sc5+bv1n1cKyNhsQB+atLh8RhF/fwCDuxc1TO4IFYQZZoUr/z83FYgyo KSCqVdll2IvnNGNUQfUtv/YIfu5JeuxoE2lRO9ITjXDh7EmZgu0HPUsXZEiTnfRiDzIJ rPwv2/cwRqoww3zrKc0wAOBQbTKP9dH//gAhw6DU08GrIPWjlg0TTxo+eL0yfXGhygiO +7uEmz5fzEPP5JFUhiHEjD/VAZrPLHvngBTyhC+UPDIWLqkZa/qe52f70Z4dV6Q926YY vl1Y6WujeBLkoikWe9qOQQKnjLBxzX78M1WBtqhJb5XjtAyTK5+4HN+C3n3aCB2WZPb3 4ndg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=TfqR6JKafu34tfx0jZ0jFDiYXMECziyEP7kmMeKNiTk=; fh=AO1athPla3jqhCn4k6adBHi7gs3A5EcpzQmM6u71SYU=; b=uyMi6cn31ssIsDcdggt31PhnS19UnhMyDD5NqsEUlfVxvMX3wwQZlgFZIKn4E2+mZS zvr3iuGnBidCuierQ7QyEME74S0u4ZZZMmUeUKgWHlnm+XcFs0lFAR7W64jwE3R1JFF5 AQZU+c3QIuVU5slYXtgFWNf7iELo3CLXQzgZ4DbB24StvGBBi+sLR6VTaKVomweYnV0u E06uiW0FfwVD+a5cOI4nryTbeQThILicqVmo8CgxrY8Yv8KepvMXkZH0FVWwV4C6WzzI tQiufZnmHZLR36mXi5Ud7C15ktZ+7Xjlb/L9zNCkR9Amn9cfxmzgUSri2x1xWKVNpIIm Do/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=JsMU3JK1; spf=pass (google.com: domain of linux-kernel+bounces-5032-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5032-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id i12-20020a170902c94c00b001cfb52101e3si20321333pla.413.2023.12.19.02.50.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 02:50:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5032-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=JsMU3JK1; spf=pass (google.com: domain of linux-kernel+bounces-5032-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5032-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 01460B241E2 for ; Tue, 19 Dec 2023 10:50:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6EE4E182C6; Tue, 19 Dec 2023 10:49:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="JsMU3JK1" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8052D168CC; Tue, 19 Dec 2023 10:49:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BJAmtdO004830; Tue, 19 Dec 2023 10:48:55 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=TfqR6JKafu34tfx0jZ0jFDiYXMECziyEP7kmMeKNiTk=; b=Js MU3JK1vAr90tJn0Q3HMsH06SJSPbDXVpaUUCvDZBgx2vzAo76/PZCARm1c8yMCq+ YygtJnVNMOAooQAxyWuucfpNkoKGF+Q8OBewvAlwu9/V+o8FP0f4Ef1ouE2Lrua9 bckGSZncb4V+DTz0sC1w3+0zNFE1EZqFF2koUcPB97et2wY/ZG+0ggvoPaWXnH2C pGiZ3Iz3TI5ob5lUg1dfko2wqFwoReLcOORqYTaw2Gr2S0zQQjUMqFy6YYHEL//f cCvKtAk6/cCh9B7e1V/yxx882aor6mv6djZiISEE/vHyqRRghBN9SWbH2gbsCXtN dYaMBg5hPAB+cWiaVJvA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v39n8r0e8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Dec 2023 10:48:55 +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 3BJAmsSg031559 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Dec 2023 10:48:54 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; Tue, 19 Dec 2023 02:48:43 -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 v7 2/3] arm64: dts: qcom: sa8775p: enable safety IRQ Date: Tue, 19 Dec 2023 16:18:14 +0530 Message-ID: <20231219104815.3443231-3-quic_jsuraj@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231219104815.3443231-1-quic_jsuraj@quicinc.com> References: <20231219104815.3443231-1-quic_jsuraj@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-ORIG-GUID: rcw6iaIZCGIe7W5UTzkuDgWkvqalbjIj X-Proofpoint-GUID: rcw6iaIZCGIe7W5UTzkuDgWkvqalbjIj 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 malwarescore=0 clxscore=1015 suspectscore=0 phishscore=0 mlxlogscore=695 lowpriorityscore=0 spamscore=0 impostorscore=0 mlxscore=0 bulkscore=0 adultscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312190079 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785707157479531968 X-GMAIL-MSGID: 1785707157479531968 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 a7eaca33d326..f3645c3f96a1 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", "sfty"; 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", "sfty"; clocks = <&gcc GCC_EMAC0_AXI_CLK>, <&gcc GCC_EMAC0_SLV_AHB_CLK>,