From patchwork Tue Jan 30 12:03:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suraj Jaiswal X-Patchwork-Id: 194040 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1170070dyb; Tue, 30 Jan 2024 04:05:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOneLht4zH3Ipx49vU8VPF3IWb340VVR7hkr0jfjjYYNx3ZEp/MXGvZ38j0JZVabyeu/94 X-Received: by 2002:a05:620a:471f:b0:784:db3:33fd with SMTP id bs31-20020a05620a471f00b007840db333fdmr1359231qkb.36.1706616337830; Tue, 30 Jan 2024 04:05:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706616337; cv=pass; d=google.com; s=arc-20160816; b=qn2Kd81mPhEuz4xO6158dae4vl3/VAmDnlbZypNmZ4nLlwkvsVAi0jaMhqhY9n2zti lk/kx+HBJhTvn6tkL5e9u3EVZG9OezYFwBCuK0q8FQbMA95VgVZQ1z7Z33NEsSqjZAnw Cj5q3CFgI6AYc+1DhV36MCGMG7k1N2yzWY7NNVYbPozYfu22COXI7vdZNQ6WtonZajtr LxFBFxwfd6gMDjlCsc42wQ2EgMaOhjCAosW4BpIJZk4mQ46jmwCYdIR8uvEG1fTu0Pjm cjESvH29mVGw9eg2s64nQTwe++q188vnwAzrL5szyu5Ok0zFxz4QLVMSuClKC7yRJtkA 1hEA== 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=OV93NrK6k57kB2Rzw4elFLSPCgOSkEg4yJpmGixnxPIhMvPxeQnPsB2r1s/4ZFaVR7 0QvbtRo9gqL/KGKgSLWbTiMuuNVTxJTP/GIhS8ESaN0OFGyqhRVftPrQT6+6XkH9JazT M2vu8g7hiEmISUIArplR7YZoUJvfzcTqTZAwnyzS/1iVe1SIlrE4QvCwy32VPM03F0rX MmBNsu01czfSejFJ9IDXNboLPteIRtAUdIvWrPdB7lrYSIm5Dm+6MTc85petXTvATKQ/ +Dszh7iqf0xepTjGCuw1Yaau1/nHv48RVOIgToFJX7L7YKjiLsx88uefdBwvUZ+J9o+i i7Yg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ileT0IsJ; 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-44572-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44572-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i4-20020a05620a144400b00781bd7ade5dsi5242595qkl.578.2024.01.30.04.05.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 04:05:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44572-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ileT0IsJ; 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-44572-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44572-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 9DD7D1C2389D for ; Tue, 30 Jan 2024 12:05:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8CC236BB22; Tue, 30 Jan 2024 12:04:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ileT0IsJ" 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 63E5B6A32F; Tue, 30 Jan 2024 12:04:01 +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=1706616242; cv=none; b=CRrtVZuSiQaFIvLdCVyz32oYQOOfEyy5fsFBkykMwMJ6L3+8LECJof8PFyGF84V150A6VjX7rWPgIkBqWlxGrnG6ul5mALiHPc921FTFhCs/nC7JghQ795k/K9qnzzma5FmmFfG9DkSubYeyZXxGZFdptqset515Mc/eBH+4Uew= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706616242; c=relaxed/simple; bh=Q9GexvbMR9U9svXdctm9mgfVDg3Vr0FetBCYCg0EYkw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mrqdcU4+ykecFfCfu6NtXOHjVEXpFa617Zz2qX7VABFQuOjZZ3bWVfDFc03aHFzNnHeF0ziDJLrx/4AFs/xR4Kk0I2c8jZi25GdQzwHuVfOZ1tpxuUj+PnG/9o+TNr4dR/oXyeCSDTtP3rY9ibyZxCQ3VpO8r6556Laq2TO9Ius= 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=ileT0IsJ; 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 (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40UAeDH8007415; Tue, 30 Jan 2024 12:03:48 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=il eT0IsJYna0dhrXJmJMViNq8a2jIRjyOWtot51UjXnACJ8XcBasrTzB53F7B8eu1x RY6G+OGEzJP1jYNrFHff6hWlHz6y5mJePv0eUnpH/uuelRQcQIyazmb4oMgJPdw4 s2K2rGYoFY7uuZk2HyTHg0MQz5g+2eDAfUhp1EEi3V/jTIXI6hGztZFA2YuA2+2Y DDsgborbN33u6FGzMAhMjnJAtrLH9H3D2bsxZkQlS2CscGkzsMozRh6wUcjgFttN 18UEP28Qa+l9bV7rNCFVghQLmkJcqPV0P4yINMP/n4Nm83bsZa7w7Mf8p0GoFBjG 1oSsoUTW80p7vpV0dikg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vxwwv8cr8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jan 2024 12:03:48 +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 40UC3lid032643 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jan 2024 12:03:47 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 04:03:37 -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 v12 2/3] arm64: dts: qcom: sa8775p: enable safety IRQ Date: Tue, 30 Jan 2024 17:33:05 +0530 Message-ID: <20240130120306.4120632-3-quic_jsuraj@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240130120306.4120632-1-quic_jsuraj@quicinc.com> References: <20240130120306.4120632-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-GUID: MyBmtL1moWnmTE5GhEYiHiEZmRp4haj0 X-Proofpoint-ORIG-GUID: MyBmtL1moWnmTE5GhEYiHiEZmRp4haj0 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 impostorscore=0 mlxscore=0 suspectscore=0 lowpriorityscore=0 priorityscore=1501 malwarescore=0 spamscore=0 phishscore=0 bulkscore=0 adultscore=0 clxscore=1015 mlxlogscore=670 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401300088 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789516933099134487 X-GMAIL-MSGID: 1789516933099134487 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>,