From patchwork Mon Jan 29 12:11:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suraj Jaiswal X-Patchwork-Id: 193427 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp521630dyb; Mon, 29 Jan 2024 04:13:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IHSmqakD2m0W1oIQpuRC7/j0XjSKu5hiPFql0OeJom165J2CHja0s1DVKcQvjpnTy8OiS1A X-Received: by 2002:a05:6a20:94c5:b0:19c:ae4c:1757 with SMTP id ht5-20020a056a2094c500b0019cae4c1757mr1354415pzb.52.1706530400132; Mon, 29 Jan 2024 04:13:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706530400; cv=pass; d=google.com; s=arc-20160816; b=GC8cfyKOiGCkcUCvLg7K1V+Eq8Rjli66YxilOX12QTzZ1G5F9OtPp3ms6zcyHO/YvR 3anBESrFHd4tbg5QgnoYAGLrV0y4ePCIfmK8bE7vzbQOPz6fgrze1GN++rKsGeGF7WqI /G7QDwtLN/TbB2UVpiJ0wu3AcsaxJzWHT2R4gJHYH8PFnNGKoUAYm4MnSKhcKudFSYak m3lPIxzG8XWHL0qhdSyea7jcUXc5b0tIjc3Hq1ce+8RcBiTpEKWYpQ0brvl1Zl9O6XPH pmlslKj68eI4c+nq2sXkmn+xcJP0HrvkIflFDlexNR8Sba2l/LitB3DqXCUpf8fk+i0e fYfg== 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=QYB2nL9Ef0zv94lmn7EA3bR4bQA5zFyrUXFMroTcfWR/PxNY354edN2q+MHVL+tW4t BDKbqgfJpQgk7nEZhplQwJvT1XTaEYKvvyL94PrjqDc63/lQJcitF5L0m0vxHmQdhtZ4 CizlqCeMwPwbcCPPQmLgetVQfa/nWkaQ5QXZDEAl38obKu/5VaP5+smHfmWbOTc4AGbN UTy/d3ACb1wp9GfDckdIUIaSLQ7EOiVE1xM5Owf9f4MlIpKOCmuuq2+DSk4iKlTUs4v7 7kiWxf41AcTFzsXb32ollRqD0Z5rZ2ZmPfMLNau+teuDiuvdy2zCuiGBvxyQ1wwDhsVH lMcg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gqfwgsIM; 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-42670-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42670-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lk18-20020a17090b33d200b00292a409e5b3si5736038pjb.55.2024.01.29.04.13.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 04:13:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42670-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gqfwgsIM; 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-42670-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42670-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E2F932838A6 for ; Mon, 29 Jan 2024 12:13:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2FEAE60896; Mon, 29 Jan 2024 12:12:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="gqfwgsIM" 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 99C7A5FDCB; Mon, 29 Jan 2024 12:12:28 +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=1706530350; cv=none; b=jgc+CXUmrzpEy5s9bT+3Ird7LpjQELtb0oguAnb+OXCRQUsH6r+NYZlN+r5quyzWCeX2o9IewEHvqBfwx8X5+BkihBCQzasCEYEuB3Auw0Ot4tSTmu/drMB1U6N0oNNOjaP1nQ78vpjoeeX6MlURPSeDOE0aezmwV5UhnLEoxGQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706530350; c=relaxed/simple; bh=Q9GexvbMR9U9svXdctm9mgfVDg3Vr0FetBCYCg0EYkw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bmp30Zv7MpHO5WkPB0SR1AM6mjJoHZ7nhtcQAaGz4U8Sz4+jCp9MrWsC44Mnd7DwxzCvDZFI8NhRwOBXXlKv6OEAncrybWRc89ogETUtVQULt5KzTeewipkzuHaZr0E/A0hpj8M+saDZzuVFsnI0D/ss/1ZIROJhxdu/u8T6jXY= 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=gqfwgsIM; 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 (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40TBdjHt031046; Mon, 29 Jan 2024 12:12:13 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=gq fwgsIMp1ETcK7pj/m3MU1KiISijj/wc2j2Xv8gqGbEoSV/Duu9gV4pu9u5+JNFy5 /DzS2LNM1qDko1qB9GcmGrplwe5jNY17aZ61eBdBv65UDkIf4Pynuf0u1bZ1fGW7 SARYp0jlO4b9x+lE5c+jeersS9QI4Hb6C2oIFgegmCQj/DPmguHkMtSEY3iwjETm 13LJymm6NXTdhAkx9OoM0TeSKJyhAq0GK+ATgeWJArIAtb57/ofkaSOzS6vZV8Js jTjWlrYVbrtAViS2jX++QrGviSKi0pMTJjMMdk3haUZPVt1GlSDRD1KKEdL9uAbV a6caC/Ub9gAb3zACqWEQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vxa42g77r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 Jan 2024 12:12:12 +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 40TCC6gE006052 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 Jan 2024 12:12:06 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, 29 Jan 2024 04:11:57 -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 v10 2/3] arm64: dts: qcom: sa8775p: enable safety IRQ Date: Mon, 29 Jan 2024 17:41:28 +0530 Message-ID: <20240129121129.3581530-3-quic_jsuraj@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240129121129.3581530-1-quic_jsuraj@quicinc.com> References: <20240129121129.3581530-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-GUID: Ane17WTh6W5zSS-234QRcRPc9ZohJfEf X-Proofpoint-ORIG-GUID: Ane17WTh6W5zSS-234QRcRPc9ZohJfEf 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-29_07,2024-01-29_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=670 phishscore=0 malwarescore=0 mlxscore=0 clxscore=1011 spamscore=0 priorityscore=1501 adultscore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401290089 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789426820744916404 X-GMAIL-MSGID: 1789426820744916404 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>,