From mboxrd@z Thu Jan 1 00:00:00 1970 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 6D6B12E3713 for ; Mon, 14 Jul 2025 02:28:09 +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=1752460090; cv=none; b=K7rL1qvpLq2f1ZaipL99Dd8BR55m5TxN/zv1i5XD/9md40vv5O1Xn6SCyIytMTTqDkGFtoMd4IdcmFtegjSkptdcDwTw0UIPeheeB5KdG7I9KIpEB1q8qCxhybFJLyaqqBQIix/mcqycqjl6K8D1DOZjDbEaPdWgIab4lb5cEVk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752460090; c=relaxed/simple; bh=3nJgZl9vP4SdfX+E5yML/xW+OYiWq6C5glcWeET+8VE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=q/3SowM2Jyj5geTzrNUXUcpbAE+niyWoFpsNDn/VOzgw58U8dlAlljmuJNFLlvNVrK1u+Wgr8/Nx81wAeMwFLRgjphLF3m1a/t4SNgIzTDdt0kPSqGusAFLGI+9dbMc86jHSJIwUBEcXLCZoRDyNAhkY1y5N1xVW4Qqmfx2LDTY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=Wz6YCxqk; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="Wz6YCxqk" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 56DNUG3v019883 for ; Mon, 14 Jul 2025 02:28:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= F8OpwaFzraWMloUlXGdAgiuapqHg/Vvr2jLfpvwdlYE=; b=Wz6YCxqkz1Ookwwo mwfv8M+KivyoXwwzHCHRR4PEuzJM4R/fuR1WjLum6Q7rwbARYOUeUHzA0x1wXleU JNESETe6FMEKAR3SoaAkf2lqHQ1FNQCUihgy2BaZ+zIsg1SoAnVqdcicUzbOZxiS zkCa5FP0Lrgz47fDh8KtRMuiu9AOHX1Go8/8QblPasIMYtcJob88q8z2sxlXyIyj BjTMhCaW+sD5E94aLdjRFdhuYh4Z+Gij4OLulq+Km+L/R8uy6PoDHdFBkRnAkBfQ DuwwyVrUxLriYtggCs1m1uk/lIru/aV26n0nIDIrSo+4M1SZiMTNF6smTYZ0q4G3 QzjWNA== Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 47uh0aaycy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 14 Jul 2025 02:28:08 +0000 (GMT) Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-b3bc9d9590cso3592820a12.1 for ; Sun, 13 Jul 2025 19:28:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752460088; x=1753064888; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=F8OpwaFzraWMloUlXGdAgiuapqHg/Vvr2jLfpvwdlYE=; b=crMzdNWX+1Alo3Ty+emaRNnIym1JI2f7cIei3ZcV6DcWr2rhqW1Gc0ARAADGl9itpq WDJSMGXFEW1wUmRD9jRuywBxh4Rwka53pDDvBvaMXFbSgb33gvS9s4/5AIboYUktvIAW BTC0flw3ywNkpZDHUp3bTG2Q/rgAbjeo91fGsjMXw8LBzOTWgfVlZV//QhmUf83pg6MV hGe3nU6Ux3qk8eeLjliQCisrkcl0jitk4H0xOMWnosCwGOK9yTVkXkMlu01JGhS3MIaj m/bFqEggcNNmi4poHF3oGH+jGI7AfsTOP2gq1LtjG8YKGaF26bvaa2YIfCOzjmG098oi rP4Q== X-Forwarded-Encrypted: i=1; AJvYcCXVEUeuOAhj1GCJIKG8iL2xgnKWL/VK1MIF9DiI7ImqGizIXb/yp6Es4ExajkDPvuOEw2lMV3LpcaTx@vger.kernel.org X-Gm-Message-State: AOJu0Ywgf0Hj+y3z+fsJJPW8mfNhWcAxih994XbS+mRCoswM8gx7waNt 0SqKENttcI2TNceISrFZvZVzpnikVzhFiwPpMUlJcWPIXEIWQBY0jli87XnF8plgYyljCQIN3S+ kWwOPUo36aA3pq6nYvTaRjIN4RI23turF+25hG5iB7UK4hmwv2uOi9yu+IM7xdsjE X-Gm-Gg: ASbGncvW3AZDlrYq0uVGeCQA81n+zFXBFmNW1aRWlS2SL8wwUgi0Dm1qgP3g9aQwOsU CpNVckUGXdK/K8dffelNDCgOqDWTFCIs20kf9TSIyr/sP/S2S3I5F0cvRcPiPzjRoAL1WhLsAPl Yw60+SziTJdfu8D/a/jKiJ6tu7giwk+Bm+dBGkq6LzOsFFJ8U1xUyKjfZZDFKwyTZXIJHXzPf8L 0phLtqyPVqHEXSbwhBN6ukB5d1YonZPWeD3W+1OBpxphMczYLfj7Y3fd6DY4iBRVatA3IXk1i1g JJm9b72M1A0WnF9RSSJcFd/bEfmML2ILWurCqhE5bv6qI0RfUQx0WuOBfNrQEGoV5ugOMLIql1J rPnalqIBe9oQ5hw/jwpB3QHLsam/e X-Received: by 2002:a05:6a20:7491:b0:21f:7430:148a with SMTP id adf61e73a8af0-231201fa1f9mr17819860637.28.1752460087275; Sun, 13 Jul 2025 19:28:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IERlTzQAbGBtic0xw9HUW209GmM3H8UeFAoNwCUVrD0zAm95+xPpoXxs/SybzhJTxECUBR7vQ== X-Received: by 2002:a05:6a20:7491:b0:21f:7430:148a with SMTP id adf61e73a8af0-231201fa1f9mr17819826637.28.1752460086833; Sun, 13 Jul 2025 19:28:06 -0700 (PDT) Received: from [10.133.33.227] (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-74eb9dd598csm10053918b3a.17.2025.07.13.19.28.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Jul 2025 19:28:06 -0700 (PDT) Message-ID: <465b60e7-fe68-407c-add4-856178f4cb7c@oss.qualcomm.com> Date: Mon, 14 Jul 2025 10:28:00 +0800 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/4] Enable ethernet on qcs615 To: Yijie Yang , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Maxime Coquelin , Alexandre Torgue , Bjorn Andersson , Konrad Dybcio , Richard Cochran Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org References: <20250121-dts_qcs615-v3-0-fa4496950d8a@quicinc.com> Content-Language: en-US From: Yijie Yang In-Reply-To: <20250121-dts_qcs615-v3-0-fa4496950d8a@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNzE0MDAxMSBTYWx0ZWRfX4OsQNN34mt2u 91SeFDPky8YwbarmWHHZYP0MTO6/nWeON+07mSE03T5/l5vXMr3WN0HDLI354b205YD60CC200D u3BiNu8Qm+wvXdYU5jtXK8E7yFWSS87mU63eApjun8t59FMkb9q5LTVFZgouM1O6GCRTtkLZIul XZj53G2PF8vOXcq+LOkPPvF11fO3zF62gnEzLqzy0dSHG/AGnGElBxbutIxEF1Y19FTJQxEIdRq 7MhNPAC6z8lI08no8OHaUYCtEPKWAO0b5js9jUA9IgbNvzukjgYMi8E2wPpS/99QIBPq8DNxRxZ I4x0ucrb0vta7FSz2dGZ5qdwoCgALzzcWRiPvQ8TeFYONhDA6/E0yJ881ca3uaha9sQ8SCEQ6Wk oeOmeBHzydWaI0qCnRslE/fe9FWRt06iF8YBENMVBMB3RTK8BmYF3LsiDtdNQZuXIaxJYBvr X-Authority-Analysis: v=2.4 cv=YMOfyQGx c=1 sm=1 tr=0 ts=68746b38 cx=c_pps a=oF/VQ+ItUULfLr/lQ2/icg==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=IkcTkHD0fZMA:10 a=Wb1JkmetP80A:10 a=VwQbUJbxAAAA:8 a=COk6AnOGAAAA:8 a=mTSKI_wBhsZyk7PTtHgA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=3WC7DwWrALyhR5TkjVHa:22 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-ORIG-GUID: -KE1tRzB1lVvwpjazRxyPYIhN9d5lSi1 X-Proofpoint-GUID: -KE1tRzB1lVvwpjazRxyPYIhN9d5lSi1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.7,FMLib:17.12.80.40 definitions=2025-07-14_01,2025-07-09_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 suspectscore=0 bulkscore=0 mlxscore=0 spamscore=0 priorityscore=1501 impostorscore=0 mlxlogscore=999 adultscore=0 phishscore=0 malwarescore=0 lowpriorityscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2507140011 On 2025-01-21 15:54, Yijie Yang wrote: > Correct the definition and usage of phy-mode in both the DT binding and > driver code. > Add dts nodes and EMAC driver data to enable ethernet interface on > qcs615-ride platform. > The EMAC version currently in use on this platform is the same as that in > qcs404. The EPHY model is Micrel KSZ9031. > > Signed-off-by: Yijie Yang > --- > Changes in v3: > - Correct the definition of 'rgmii' in ethernet-controller.yaml. > - Remove the redundant max-speed limit in the dts file. > - Update the definition of 'rgmii' to prevent any further misunderstandings. > - Update the phy-mode in the dts file from rgmii to rgmii-id. > - Mask the PHY mode passed to the driver to allow the MAC to add the delay. > - Update the low power mode exit interrupt from 662 to 661. > - Update the compatible string to fallback to qcs404 since they share the same hardware. > - Update base commit to next-20250120. > - Link to v2: https://lore.kernel.org/r/20241118-dts_qcs615-v2-0-e62b924a3cbd@quicinc.com > > --- > Yijie Yang (4): > dt-bindings: net: ethernet-controller: Correct the definition of phy-mode > net: stmmac: dwmac-qcom-ethqos: Mask PHY mode if configured with rgmii-id > arm64: dts: qcom: qcs615: add ethernet node > arm64: dts: qcom: qcs615-ride: Enable ethernet node > > .../bindings/net/ethernet-controller.yaml | 2 +- > arch/arm64/boot/dts/qcom/qcs615-ride.dts | 104 +++++++++++++++++++++ > arch/arm64/boot/dts/qcom/qcs615.dtsi | 34 +++++++ > .../ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c | 18 +++- > 4 files changed, 152 insertions(+), 6 deletions(-) > --- > base-commit: 9424d9acada6461344c71ac02f2f3fbcdd775498 > change-id: 20241224-dts_qcs615-9612efea02cb > prerequisite-message-id: <20250120-schema_qcs615-v4-1-d9d122f89e64@quicinc.com> > prerequisite-patch-id: b97f36116c87036abe66e061db82588eb1bbaa9a > > Best regards, Since my last submission, I’ve been working on an updated version of the patch that incorporates the feedback received and improves the overall implementation. I plan to submit the revised version shortly. Please let me know if there are any additional concerns or changes in direction I should be aware of. I’d really appreciate any guidance to ensure the patch aligns well with the current goals of the subsystem. -- Best Regards, Yijie