[net-next,v5,1/3] dt-bindings: net: qcom,ethqos: add binding doc for safety IRQ for sa8775p
Message ID | 20231211080153.3005122-2-quic_jsuraj@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp6892735vqy; Mon, 11 Dec 2023 00:02:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IFR5mmxSDlIf5scdNlwvSVWOjCgnhWFaE+pAUdrxfmnc1Cva5iuL+L30BdpsY7y4kOA9rjm X-Received: by 2002:a17:90a:1c96:b0:28a:9104:5a6f with SMTP id t22-20020a17090a1c9600b0028a91045a6fmr975874pjt.80.1702281770319; Mon, 11 Dec 2023 00:02:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702281770; cv=none; d=google.com; s=arc-20160816; b=mSYpN/AZXpNhTuhynI+quLLnkvYxrW0Oy57H3pjKcVd1IkrelP6sRhp25OuFbw1JJv sHUZoUOhazCpsGlYBIlsF7The98bhqj89pJtfG5Ti+nhXZ+z+u3v2cuLZVUJeA9ejoyK FAm5eu8ipVpRagiHo+JhvMWmT1DmUzXz0mzAolBugKdNqxRXBebLP3fpjltS0YG4iKFR P/LWu83dIydL9NTK5iHewCL4CYGHrN64IhZxoU+FGLeHDEOMFYk6rg8cGjrFBdxBGV5P GIjiPpzTMmoMsbZ2j6WyWADpsJN7O0jjD8gVOHOVD1ZkMjd3dO206ENltHLi3uydQebQ WWVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=F1dvCu31Go4iODMevg5gumxXIA00ejjefDfCvFXuExg=; fh=AO1athPla3jqhCn4k6adBHi7gs3A5EcpzQmM6u71SYU=; b=HXXLDd3TJFP+H6v2xV30bBYlwVN8kCaVufE0np+TNbb6Gk8s198H+cDB0Fg7CYFQG1 x5JrLeDhYA5bZmniaEXVDwCSYN8VfIHQSjuHenbeuckMLxepIiioo2Ym/H/ifgaNpkbS Ymt2s7QGbQO/y/hiE2MLsIM9Axmmzhwp2Q3xPQNsPt1SuuFK7I4qyG9MdRkfw5ec0Z3y LxWZ9MEnrOPKALP/X7pPWoBIul3QOxMOOvhRb+iXrz7iY69ZLnjrL2G02falecKwSWyc Nye6qy1cckPXh/sKiuId1H5IjOAVn66nk4xATxHYIpAu6sf0jwqgWx/x3SHVVaYrrgrJ maJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="T/76lJ0Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id c10-20020a170902724a00b001d09fdba96esi5667035pll.590.2023.12.11.00.02.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 00:02:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="T/76lJ0Z"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id E51AE80A1A64; Mon, 11 Dec 2023 00:02:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229463AbjLKICi (ORCPT <rfc822;dexuan.linux@gmail.com> + 99 others); Mon, 11 Dec 2023 03:02:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233760AbjLKICf (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 11 Dec 2023 03:02:35 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 533D6107; Mon, 11 Dec 2023 00:02:40 -0800 (PST) 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 3BB3u1j7017255; Mon, 11 Dec 2023 08:02:26 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=F1dvCu31Go4iODMevg5gumxXIA00ejjefDfCvFXuExg=; b=T/ 76lJ0ZyraFug80UO47Ak4pmd7AGY6lEvIG2r0As7T98NaMlRt98V+nM8yOSqIGt+ m4oU/fwgLQEHEtjWHZQs6C6HAVXJM5spwD3qeCF8fG2UXWzo5k+2LM3mNj5aaMeu syXuu5SvasjfIQ1n12ueGQNMV9P0TSWnc2ndON5qBOMnu28E5Qii3tN9dkRyImY6 SE4TTxUiEWh60skltGR7k8gRLPdnSeFvP+SOTQmzaq0GCos2/O2NXM20+RLirxdb uKz8IOLs9z038V2pYJoYD7YISZ2dPAjPIoT4qWQW3dT6jXwEdMRuuOz8riWz/2/j bh6TvV6l+o0iaJERJUrg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uvnfjamrb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Dec 2023 08:02:26 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BB82PW5007882 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 Dec 2023 08:02:25 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, 11 Dec 2023 00:02:15 -0800 From: Suraj Jaiswal <quic_jsuraj@quicinc.com> To: <quic_jsuraj@quicinc.com>, Vinod Koul <vkoul@kernel.org>, Bhupesh Sharma <bhupesh.sharma@linaro.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, "Jakub Kicinski" <kuba@kernel.org>, Rob Herring <robh+dt@kernel.org>, "Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Alexandre Torgue <alexandre.torgue@foss.st.com>, "Jose Abreu" <joabreu@synopsys.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, <netdev@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-stm32@st-md-mailman.stormreply.com>, Prasad Sodagudi <psodagud@quicinc.com>, Andrew Halaney <ahalaney@redhat.com>, Rob Herring <robh@kernel.org> CC: <kernel@quicinc.com> Subject: [PATCH net-next v5 1/3] dt-bindings: net: qcom,ethqos: add binding doc for safety IRQ for sa8775p Date: Mon, 11 Dec 2023 13:31:51 +0530 Message-ID: <20231211080153.3005122-2-quic_jsuraj@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231211080153.3005122-1-quic_jsuraj@quicinc.com> References: <20231211080153.3005122-1-quic_jsuraj@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] 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: W9rhH4rFLWKYZsz1rOeVFxX3_g4MnVvm X-Proofpoint-GUID: W9rhH4rFLWKYZsz1rOeVFxX3_g4MnVvm 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 mlxscore=0 phishscore=0 spamscore=0 adultscore=0 clxscore=1015 impostorscore=0 priorityscore=1501 bulkscore=0 mlxlogscore=999 lowpriorityscore=0 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312110066 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 11 Dec 2023 00:02:47 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784971809432889619 X-GMAIL-MSGID: 1784971809432889619 |
Series |
Ethernet DWMAC5 fault IRQ support
|
|
Commit Message
Suraj Jaiswal
Dec. 11, 2023, 8:01 a.m. UTC
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 <quic_jsuraj@quicinc.com>
---
Documentation/devicetree/bindings/net/qcom,ethqos.yaml | 9 ++++++---
Documentation/devicetree/bindings/net/snps,dwmac.yaml | 6 ++++--
2 files changed, 10 insertions(+), 5 deletions(-)
Comments
On Mon, Dec 11, 2023 at 01:31:51PM +0530, Suraj Jaiswal wrote: > 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 <quic_jsuraj@quicinc.com> Rob gave you his Reviewed-by over here on the last revision: https://lore.kernel.org/netdev/170206782161.2661547.16311911491075108498.robh@kernel.org/ in the future if someone gives you a tag you should add it to the patch for the next revision you send out (assuming you have to send out another version, otherwise the maintainers will collect the tags when they merge that version of the series). If the patches change a lot then it makes sense to remove the tag since it wasn't what they reviewed, but in this case you've only expanded a comment in the commit message so it is appropriate to be present. > --- > 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..93d21389e518 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, safety] > + - const: safety > > clocks: > maxItems: 4 > @@ -89,8 +91,9 @@ examples: > <&gcc GCC_ETH_PTP_CLK>, > <&gcc GCC_ETH_RGMII_CLK>; > interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, > - <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; > - interrupt-names = "macirq", "eth_lpi"; > + <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 782 IRQ_TYPE_LEVEL_HIGH>; > + interrupt-names = "macirq", "eth_lpi", "safety"; > > 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 5c2769dc689a..3b46d69ea97d 100644 > --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml > +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > @@ -107,13 +107,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, safety] > + - enum: [eth_wake_irq, eth_lpi, safety] > + - enum: [eth_wake_irq, eth_lpi, safety] > > clocks: > minItems: 1 > -- > 2.25.1 >
sure @andrew Thanks Suraj On 12/11/2023 7:22 PM, Andrew Halaney wrote: > On Mon, Dec 11, 2023 at 01:31:51PM +0530, Suraj Jaiswal wrote: >> 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 <quic_jsuraj@quicinc.com> > > Rob gave you his Reviewed-by over here on the last revision: > > https://lore.kernel.org/netdev/170206782161.2661547.16311911491075108498.robh@kernel.org/ > > in the future if someone gives you a tag you should add it to the patch > for the next revision you send out (assuming you have to send out > another version, otherwise the maintainers will collect the tags when > they merge that version of the series). If the patches change a lot then > it makes sense to remove the tag since it wasn't what they reviewed, but > in this case you've only expanded a comment in the commit message so it is > appropriate to be present. > >> --- >> 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..93d21389e518 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, safety] >> + - const: safety >> >> clocks: >> maxItems: 4 >> @@ -89,8 +91,9 @@ examples: >> <&gcc GCC_ETH_PTP_CLK>, >> <&gcc GCC_ETH_RGMII_CLK>; >> interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, >> - <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; >> - interrupt-names = "macirq", "eth_lpi"; >> + <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, >> + <GIC_SPI 782 IRQ_TYPE_LEVEL_HIGH>; >> + interrupt-names = "macirq", "eth_lpi", "safety"; >> >> 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 5c2769dc689a..3b46d69ea97d 100644 >> --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml >> +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml >> @@ -107,13 +107,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, safety] >> + - enum: [eth_wake_irq, eth_lpi, safety] >> + - enum: [eth_wake_irq, eth_lpi, safety] >> >> clocks: >> minItems: 1 >> -- >> 2.25.1 >> >
diff --git a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml index 7bdb412a0185..93d21389e518 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, safety] + - const: safety clocks: maxItems: 4 @@ -89,8 +91,9 @@ examples: <&gcc GCC_ETH_PTP_CLK>, <&gcc GCC_ETH_RGMII_CLK>; interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, - <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; - interrupt-names = "macirq", "eth_lpi"; + <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 782 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "macirq", "eth_lpi", "safety"; 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 5c2769dc689a..3b46d69ea97d 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -107,13 +107,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, safety] + - enum: [eth_wake_irq, eth_lpi, safety] + - enum: [eth_wake_irq, eth_lpi, safety] clocks: minItems: 1