From patchwork Fri Feb 9 08:50:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suraj Jaiswal X-Patchwork-Id: 198787 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp714611dyd; Fri, 9 Feb 2024 00:51:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXsK/zx0lCZjnDVqkOuza2P07z5KfaKOJ++OhvbQ6/f4EtEcVTCETsVMNCH3rilWMNQ901gVoLGur1K3v4Q6D4HBjYsqw== X-Google-Smtp-Source: AGHT+IENsrCUFYR+IVFEiHQ0/hz9hC7catkD1BRVcJdUCHX0sjpBmSt/DsZVIGeshklHFZeeUsH+ X-Received: by 2002:a25:e911:0:b0:dc6:6d0f:d985 with SMTP id n17-20020a25e911000000b00dc66d0fd985mr740356ybd.62.1707468703503; Fri, 09 Feb 2024 00:51:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707468703; cv=pass; d=google.com; s=arc-20160816; b=Lv5UPAT2gHKv/xetvGFJRXPEFoFCoixWR6v9pGXu1uAE+yN8pQOybc/YO7uAYrN8eB //OrT90WvB3BQhORpeEHotB+zoLpiOlITlGZfPn8R914vl2avvPxTaeGJUZVq+pMpAaa otCCaORlfteJCtozYzvRkONz/s7W0eenFPrVRBaCaGQ8gCv5B67YiR/P9IIfOWPsyOH0 cN1uQwzzO0UVI3k/8wvEQP5mSU93VLP88qTzrFbSzXrVo6m8Z7ioAW1Qp6lc2ttRVn6p 2WVAnZklV15P38Rz3njVKUDIzPWqMv7oDLSBc/WMj6YGFJAIZCm99CMTKjBNxu9SVFrz uVTA== 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=qbPHgnrfuKeByVdQtbytaMD0b1YAcZza7Kk2Oe/KVXQ=; fh=RFgq2iF6G+E8ZCoEck9cE6icWxNJ+CbE2mhHJD7a8fs=; b=kpBvKxbAMkIX7ynh194pc3qTBi84vnw7OB7cnF/fM1hVaLP1VIaqJrQDuwwQHDHRLI zAaVlbK3n13kGlDRglp9i/8w/aTmC2UFD3CAmLgGTzRabaxN/ElSoneku2sev/qrhV6U eL4kDPXtQ7/u2qBMI3G2IC9gag8irvetzA+LimNEdAYM9fjB+jKaVlqT+QvuYS2BzXZm EjGP3awC7Flcf5YUjSBcbrFnpJ1XJjR3/aYpBsx8jm0ru40BAj7Uuo/X3fD5nOp+70Hw TN+ng0wm29PhV6sS4b24ybKPGRCPEhyrHCEibxJ+rX/0bv3UBf94UascSLRiQLVcuRfz f9wg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mOhVxFQ5; 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-59128-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59128-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=2; AJvYcCUAVrsmNoh1FIvR08JCALp/w+HxVbbC5eQNAQBRW+JDOoK9hh3GmRxm6x4kPjcuwUIrdToSB6Y4VY5ZbrktJA2ijDil0A== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id r8-20020a05620a298800b00785951741f4si1688197qkp.490.2024.02.09.00.51.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 00:51:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59128-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mOhVxFQ5; 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-59128-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59128-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 3E3B21C2378A for ; Fri, 9 Feb 2024 08:51:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0AEBA67750; Fri, 9 Feb 2024 08:51:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="mOhVxFQ5" 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 96EEE26AD3; Fri, 9 Feb 2024 08:50:58 +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=1707468660; cv=none; b=qNSBtgtum10IfMT4UzWDgLoM2EsjIhjf68DbqKiY2VTJi2p6uESHQKul+kZQnPwG19MYda3ji/moyFGn6ABMgnqOqsm/O0AYbHQJSgy1s3pKUi9dmzRGQpq13PK/khX0M5QrLEUuHhi07KnZDY51Hb/UJQJYteGswgFPXNVG9oU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707468660; c=relaxed/simple; bh=46TxITUCI4adv66f+DYoKNK4PMSD0/ydyB3L9EhQOzk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dr2bcSKBRHICr1EfMut4XkWcG6cKu5GpKb1vpNW24OupDFjVyh23zz8hoWwS7N4kPJpazObbFeVl0d5oEW8a+qD+FJ24ocR0x56SxeXRRMRNGmcpNkOZRec0gYgu4/L2LnlmH2Q/reuhNM36ciud+XIDx21SO7nPFf/ZQEkpJwg= 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=mOhVxFQ5; 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 (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4197qEs9012150; Fri, 9 Feb 2024 08:50:44 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=qbPHgnrfuKeByVdQtbytaMD0b1YAcZza7Kk2Oe/KVXQ=; b=mO hVxFQ55vMH9vhI61dekFGg/53p5U6qF3FioMEbyY7uQJzn0wn7ysOn3pMuroVLOR ReaqEUGemzUh/8bs0R9Yiti+/XMqIeCxxbHT1DcFnXdetZyzJGTOJFqMpCGQxOkt qCbyo6YBZkEGLYvhvMFCzVz8lSiKQPNXXTzRY8tGKG735GsFl4U7nPoR6PlBpUMc MeR89Uj5Ruz+lDFJ2LkQFOhLxh4VpftVHNBmPQztnv4n0QJ1FtZCXFO/pX1nR8es 5YW6koJxniI6LK88o2dKmfnnPuqTwmDdjFc/K7f9d1jkk5YSYijh/j/Izqk0mR3Z 4PeMAoPXzuvbPyEXCO0g== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w4sudk9uj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 09 Feb 2024 08:50:44 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4198oh4t018767 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 9 Feb 2024 08:50:43 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; Fri, 9 Feb 2024 00:50:33 -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 v13 1/2] dt-bindings: net: qcom,ethqos: add binding doc for safety IRQ for sa8775p Date: Fri, 9 Feb 2024 14:20:11 +0530 Message-ID: <87b5fde663d3cda71dcb270d21053dfde22c2002.1707467850.git.quic_jsuraj@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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: EVGFUnLcFzarHFpXXgBOKK8JGClEMYOP X-Proofpoint-ORIG-GUID: EVGFUnLcFzarHFpXXgBOKK8JGClEMYOP 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-02-09_06,2024-02-08_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 lowpriorityscore=0 spamscore=0 mlxscore=0 bulkscore=0 phishscore=0 mlxlogscore=999 clxscore=1015 priorityscore=1501 adultscore=0 malwarescore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402090062 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790410703440451394 X-GMAIL-MSGID: 1790410703440451394 Add binding doc for safety IRQ. The safety IRQ will be triggered for ECC(error correction code), DPP(data path parity), FSM(finite state machine) error. Signed-off-by: Suraj Jaiswal Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/net/qcom,ethqos.yaml | 9 ++++++--- Documentation/devicetree/bindings/net/snps,dwmac.yaml | 6 ++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml index 7bdb412a0185..69a337c7e345 100644 --- a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml @@ -37,12 +37,14 @@ properties: items: - description: Combined signal for various interrupt events - description: The interrupt that occurs when Rx exits the LPI state + - description: The interrupt that occurs when HW safety error triggered interrupt-names: minItems: 1 items: - const: macirq - - const: eth_lpi + - enum: [eth_lpi, sfty] + - const: sfty clocks: maxItems: 4 @@ -89,8 +91,9 @@ examples: <&gcc GCC_ETH_PTP_CLK>, <&gcc GCC_ETH_RGMII_CLK>; interrupts = , - ; - interrupt-names = "macirq", "eth_lpi"; + , + ; + interrupt-names = "macirq", "eth_lpi", "sfty"; rx-fifo-depth = <4096>; tx-fifo-depth = <4096>; diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index 90c4db178c67..6b0341a8e0ea 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -108,13 +108,15 @@ properties: - description: Combined signal for various interrupt events - description: The interrupt to manage the remote wake-up packet detection - description: The interrupt that occurs when Rx exits the LPI state + - description: The interrupt that occurs when HW safety error triggered interrupt-names: minItems: 1 items: - const: macirq - - enum: [eth_wake_irq, eth_lpi] - - const: eth_lpi + - enum: [eth_wake_irq, eth_lpi, sfty] + - enum: [eth_wake_irq, eth_lpi, sfty] + - enum: [eth_wake_irq, eth_lpi, sfty] clocks: minItems: 1