From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FD14EB64DC for ; Sat, 1 Jul 2023 08:04:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229880AbjGAIEo (ORCPT ); Sat, 1 Jul 2023 04:04:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbjGAIEl (ORCPT ); Sat, 1 Jul 2023 04:04:41 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F331F199; Sat, 1 Jul 2023 01:04:39 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3617o5r7015948; Sat, 1 Jul 2023 08:04:26 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=MS5CIDx1MWEkurYsT3/3Q/wJyBuayl6mQcGoOBHnq0U=; b=duioDlccW/0/yXqWjehFi7vQgcr7aPdQHuYP63ron4ncxZGUwenlPOa2NX71Rz7K0LDj R0C70njLtpYnP7l5ryf9XreSLCzkyce9TV+Fp3tCbRBAhRRojplZ5BJyq+IJbnbd3/5S BVwVgIeu+qjA+KcQVVJrMXUvIwlHjMj8R1ReekRe37+LuI9KgbqwwZRJUadmSumK3CfV dxkRTaDC0xhRxhhB1T5GEPYU7d7R4OOlodbAuUpXrRsIfRzOIDchfc5i8SdPpdSWfhUw IKrakSoFq8rD9JPEoedgaGJ+ROHq7V9ahAwbrIcFCP7j0z+Fux22XxnYDtnUqK4ua7Ge eQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rj9umgn0c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 01 Jul 2023 08:04:25 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36184PHU005241 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 1 Jul 2023 08:04:25 GMT Received: from [10.253.13.42] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.7; Sat, 1 Jul 2023 01:04:17 -0700 Message-ID: <7144731c-f4ae-99b6-d32a-1d0e39bc9ee7@quicinc.com> Date: Sat, 1 Jul 2023 16:04:15 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 3/3] net: phy: at803x: add qca8081 fifo reset on the link down Content-Language: en-US To: Andrew Lunn CC: , , , , , , , References: <20230629034846.30600-1-quic_luoj@quicinc.com> <20230629034846.30600-4-quic_luoj@quicinc.com> <0f3990de-7c72-99d8-5a93-3b7eaa066e49@quicinc.com> <924ebd8b-2e1f-4060-8c66-4f4746e88696@lunn.ch> From: Jie Luo In-Reply-To: <924ebd8b-2e1f-4060-8c66-4f4746e88696@lunn.ch> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: jL09s1ySArYGVPXMxy2JKVpkt77Em51c X-Proofpoint-ORIG-GUID: jL09s1ySArYGVPXMxy2JKVpkt77Em51c X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-01_06,2023-06-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 clxscore=1015 bulkscore=0 phishscore=0 malwarescore=0 mlxlogscore=461 adultscore=0 mlxscore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307010075 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/30/2023 9:21 PM, Andrew Lunn wrote: >> SERDES device is the block converts data between serial data and parallel >> interfaces in each direction, which is the SGMII interface in qca8081 PHY, >> it's address is always the PHY address added by 1 in qca8081 PHY. > > What other registers does this block have? What behaviour can be > configured? Does it have any support for Clause 73? Is there an open > datasheet for it? > > Andrew Hi Andrew, This block includes MII and MMD1 registers, which mainly configure the PLL clocks, reset and calibration of the interface sgmii, there is no related Clause 73 control register in this block. Normally it is the hardware behavior, driver do not need to configure these registers, adding this interface fifo reset is for avoiding the packet block issue in some corner case. it seems there is no open datasheet after searching the internet, but you can get the basic information of qca8081 from the following link. https://www.qualcomm.com/products/internet-of-things/networking/wi-fi-networks/qca8081 Thanks, Jie