From patchwork Tue Jan 30 11:41:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suraj Jaiswal X-Patchwork-Id: 194039 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1170029dyb; Tue, 30 Jan 2024 04:05:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IGrRCU9R3G4ImAhjGoyRg/0Mp4+JnmR9Oi94aMdeHDuXMcAUOYjmPwo/rO6RG83Y2We+YDB X-Received: by 2002:a17:90a:a581:b0:28f:f19d:e43 with SMTP id b1-20020a17090aa58100b0028ff19d0e43mr5226406pjq.3.1706616334625; Tue, 30 Jan 2024 04:05:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706616334; cv=pass; d=google.com; s=arc-20160816; b=DNgxq/qp48VD+nAN8KgX5080qIcvaHfSA3P27jsONrGaMN4fr61EO2ZJhrxagamczF Cv+xs6k0RWeRL0rrqDj3Eg7bojIIIXX6bnc99sTGAFb4ce+UEFe+yPN70B6VngCqqeDF HrIzumyzMxAtK8kktaeP1/UOQaWiphnXpFNjY+/tRvCBLXR9URFUVaqyC8Yey+vYaYyN yjn9hM86vnhLjeDCVvqiBug33Eyp1pRxF4eOQBGZfvaHtoCe/fC9PS1kit6nQo9UP3Nb MCMJRy02pLkS+ndAONTvn46+9jo8FQ0aQiRzM/BzAyDlzXcT2hxuH6Os2zndYpctHFnH YH8g== ARC-Message-Signature: i=2; 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=Wh6lLBcYnitqJMoFJXXrxxVCl9SKgE7CdX7ZWQHyARVlWdAMl46KF3hSqOuY+BVFsy 7k3JV7nZdFtg7OeX4AI+wHXup0BpYveaBBojW27tMoEImr5/5mkUEmFFNMUU4nrpe5xv QP8nmvWkgrmuS8reCVPtTN/WqcFqxAQnhbIAqXgoRrhrPOW9qViGquclfVeHL6YWjH3V b32YMTM2Tg6uumYGLCfUF9FbUsDVnN9aNtpHQv7ycUVGwNG8ZEu+311oEoKv8z6bra/o JJsLs8+u6RCoWfDO76yqvwYOTlVrWr6Aq+6i3KmEbaUdEcOC8RPZBF4iMLE0bFt7GKva gDYA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=avdZGDnw; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-44539-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44539-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. [147.75.48.161]) by mx.google.com with ESMTPS id q4-20020a17090aa00400b0028fef76a8f6si9417857pjp.8.2024.01.30.04.05.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 04:05:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44539-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=avdZGDnw; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-44539-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44539-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 504B7B25DB1 for ; Tue, 30 Jan 2024 11:42:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8BF156A026; Tue, 30 Jan 2024 11:42:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="avdZGDnw" 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 46F196A011; Tue, 30 Jan 2024 11:41:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706614917; cv=none; b=iMQCl0kfzGNJePgljG0sCD7+Qsn5kfrE9o9PZy7t2iuPP6ApvE5haExyBdBOKbC19QBYv2x9MrgrJNIFAEjuRpVGOz83M0y6+nQra82O7xG+3eEGYsoM+T1lon5ZyII4tKen9VJs0YO5qBZCeBWlJbaXwTxTfzb+DCo3bI3s4R0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706614917; c=relaxed/simple; bh=Q9GexvbMR9U9svXdctm9mgfVDg3Vr0FetBCYCg0EYkw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MGqsCekIrBAyPSem/Aoj0388uQccv/J3KeIu4FcpVGgT9+XxA4ecdGsfSnufyOnpKxgp2NN5nPgTAQRP6GpD5Gw6qnqr5jtmFSBc+7sMrCh+ETF1FkIrNA5WGRSwhrKYTy0+Op2JGk2eadQxxgAGv+emHrx2TccIUo+kziohLr0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=avdZGDnw; arc=none smtp.client-ip=205.220.168.131 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 (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40UB0BY2004123; Tue, 30 Jan 2024 11:41:40 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=av dZGDnwy0IerDPmv/Pg1JuFXJwt26TVt0AMrnmxMcY8hb5HcB0FEGC1FuYw2WNDWV e+Q3ZPt2uaXOY6BtuAF2Hk7wpeV8iVp1p4YSdHW6vOIFeb9bXhteiEDlTfb/GMa2 +qwQFRH2HwxTjdFfPrY3ezGdm2yL0waswPQ6kI8XJFiIVHl7xYpclCIDJkZusXXE IpQnMv/D+vo9ZCQhtzj+bE++pmspwnF7uVWiQvQ6rdgUn+hwGnRsH/S5PZKxWQP1 r+hgl14Am56ylpMiVPzN7pDDI4F/Vm9OU8hXXVk3ryyo+7Ne4W6uWLBrZRe7Rd+m FHa8pwrxhCEOtuNfREag== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vxydh04qp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jan 2024 11:41:40 +0000 (GMT) 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 40UBfdw6012472 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jan 2024 11:41:39 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, 30 Jan 2024 03:41:29 -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 v11 2/3] arm64: dts: qcom: sa8775p: enable safety IRQ Date: Tue, 30 Jan 2024 17:11:01 +0530 Message-ID: <20240130114102.4116046-3-quic_jsuraj@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240130114102.4116046-1-quic_jsuraj@quicinc.com> References: <20240130114102.4116046-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: 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-ORIG-GUID: Ykg0lYW5EsysBMdbaef5o40UorIhrsEP X-Proofpoint-GUID: Ykg0lYW5EsysBMdbaef5o40UorIhrsEP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-30_05,2024-01-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 mlxscore=0 malwarescore=0 clxscore=1015 spamscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 mlxlogscore=670 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401300085 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789516446929642438 X-GMAIL-MSGID: 1789516929454262038 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>,