Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp282684rdh; Thu, 23 Nov 2023 04:05:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHR4ZffE14jNjI81MwNIcqpmVRiyFW62OH5cNoaK3PqhYdJ6g7uTCqgv+11HE/U4TV5sMBr X-Received: by 2002:a17:902:e84a:b0:1cc:636f:f376 with SMTP id t10-20020a170902e84a00b001cc636ff376mr5852677plg.44.1700741109234; Thu, 23 Nov 2023 04:05:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700741109; cv=none; d=google.com; s=arc-20160816; b=PyitQEUraJ/UXttWehmwsHtoqgMY9YrEhR+WppsKtqrrMf0WFpo3B69MHfszUWOlIa 7/oMNaHDxlGIPhjBOSV+CblCI81H0OS/vDEjNFWl43rDYl9wYNtLmHSjgzcuaQ6vunpK F13ONuXsNEjB1v6w/P/qKUnW9OklxPVqx/XAVOXe5+tECnqPNFlw1YWrkzAFduUopNgM bPxb/+torU6i7vz6O6qaZSF7gRufdIoWRX14+oU+dggSCazqGobf81TDZfIklrjC0ZEt 8trbYJpMvLY9CcDvnug/iagI9ryzuc6qTn+GNao9NvwShINRBy0r2qYSSY9ip/eJ1NVN 3W5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=mM8Bjpkm0Igg82YtDU28k9o+BPgvFhrCWPwlePqNs7Y=; fh=ywfPWsR7cxe/FZzFcIuGlT1F42uuj1SatNGktiNnwdQ=; b=tNFl23uZvL+w524jLroOWLIdlzAHIykhjHgQ1ydv/LFlSrPZhDYmb1HWnm/joZ9fQH UlM7/eMLMDXce0R8HsWycwP+V9mZMmEozzZWDgPnVXAvdVtzXBpnnQOI8GqzTM1RcuVi GBDS59mtT6rGvAf6XTVXg6Ipifugmcodh0iBIcLNQUKVRprp5wKtAkPIoOH4WSDNfY6h 3q47zFH5/15tDjIn43uC8ZymwtWtUfuIj1Nz3f4zalgnvIoWpFmMDEjTJX1BGTGfqSg4 Cne9QZRkUR3Zux0b2PfFdFaCA2byet3cfChp6O3UT2hCs3nBvPUF+v6SmqoWpEMSmYKL MwrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VmqBmSAX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id j12-20020a170903024c00b001c383a64ebesi1014633plh.319.2023.11.23.04.05.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 04:05:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VmqBmSAX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id DEADA8260C1F; Thu, 23 Nov 2023 04:05:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345208AbjKWMEf (ORCPT + 99 others); Thu, 23 Nov 2023 07:04:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345151AbjKWMEc (ORCPT ); Thu, 23 Nov 2023 07:04:32 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3100B0; Thu, 23 Nov 2023 04:04:37 -0800 (PST) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AN4cOUq014422; Thu, 23 Nov 2023 12:04:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=mM8Bjpkm0Igg82YtDU28k9o+BPgvFhrCWPwlePqNs7Y=; b=VmqBmSAXvYiSqb+dQnhY5XfTnP6+Y3Q7cQbU7dIyWDIiFs/vof4hr2Peyf3QROWxpL76 +O12bO68tqs71TzjMmLJVwZGZybrFnxphVz4Nq2tZDJRT65TFiAi3Rl7SAsBGLDzndaP W6fK1a8V508fXsHzCnxzOGAYn69OPUsgyseX3HnXYPU2eXNmMRMBIac5CC2ODoQXGlwC t/5eFSPIugrcxv+8eCdZPA/WYvLRpXy7VWVSKTAOyp1WtCsZYOdDeCKDY7snLPf36B2K jVuoGPcH6FEO+NlnmFQ+B5jkLkqzJq6m0VmobGd+DbeGnmqsYt3kVrkp8AEOPRCSy+MN tg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uhey5b6r6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 Nov 2023 12:04:24 +0000 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 3ANC4NP9006336 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 Nov 2023 12:04:23 GMT Received: from [10.216.9.56] (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; Thu, 23 Nov 2023 04:04:12 -0800 Message-ID: <55b46fef-6bfa-42da-b101-e338bfc93a66@quicinc.com> Date: Thu, 23 Nov 2023 17:34:07 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v3 1/3] dt-bindings: net: qcom,ethqos: add binding doc for fault IRQ for sa8775p Content-Language: en-US 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 CC: References: From: Suraj Jaiswal In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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: frO3nQXIW7342wIkeKI8wcv6sdrqgqpB X-Proofpoint-GUID: frO3nQXIW7342wIkeKI8wcv6sdrqgqpB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-23_10,2023-11-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=998 lowpriorityscore=0 spamscore=0 impostorscore=0 suspectscore=0 priorityscore=1501 mlxscore=0 malwarescore=0 clxscore=1015 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311230085 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=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 23 Nov 2023 04:05:05 -0800 (PST) @Andrew getting warning as part of below check . Need to explore more why this is coming . below warning is coming becuase of " interrupt-names = "macirq", "eth_lpi", "safety";" safety added here . If I remove safety they warning gone. Looks like we have to define property "safety" somewhere else as well . I have already added safety in "interrupt-names:" list but still no help . # make DT_CHECKER_FLAGS=-m DT_SCHEMA_FILES=net/qcom,ethqos.yaml dt_binding_check LINT Documentation/devicetree/bindings invalid config: unknown option "required" for rule "quoted-strings" xargs: /usr/bin/yamllint: exited with status 255; aborting CHKDT Documentation/devicetree/bindings/processed-schema.json SCHEMA Documentation/devicetree/bindings/processed-schema.json DTEX Documentation/devicetree/bindings/net/qcom,ethqos.example.dts DTC_CHK Documentation/devicetree/bindings/net/qcom,ethqos.example.dtb /local/mnt/workspace/andrew/linux-next/Documentation/devicetree/bindings/net/qcom,ethqos.example.dtb: ethernet@7a80000: interrupt-names:2: 'eth_lpi' was expected from schema $id: http://devicetree.org/schemas/net/qcom,ethqos.yaml# /local/mnt/workspace/andrew/linux-next/Documentation/devicetree/bindings/net/qcom,ethqos.example.dtb: ethernet@7a80000: Unevaluated properties are not allowed ('mdio', 'phy-handle', 'phy-mode', 'rx-fifo-depth', 'snps,reset-active-low', 'snps,reset-delays-us', 'snps,reset-gpio', 'snps,tso', 'tx-fifo-depth' were unexpected) from schema $id: http://devicetree.org/schemas/net/qcom,ethqos.yaml# On 11/23/2023 5:23 PM, Suraj Jaiswal wrote: > Add binding doc for fault IRQ. The fault IRQ will be > triggered for ECC, DPP, FSM error. > > Signed-off-by: Suraj Jaiswal > --- > Documentation/devicetree/bindings/net/qcom,ethqos.yaml | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml > index 7bdb412a0185..e013cb51fb07 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 fault occurs > > interrupt-names: > minItems: 1 > items: > - const: macirq > - const: eth_lpi > + - const: safety > > 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", "safety"; > > rx-fifo-depth = <4096>; > tx-fifo-depth = <4096>;