Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp24707548rwd; Sun, 2 Jul 2023 03:20:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlEkIjrYMKC5Q8HdiBN8skN4ikuVilYHDO+Ns1c9bJ92tT5mvLnHGewK5CmJkPHAbqP02Af2 X-Received: by 2002:a05:6a00:b48:b0:680:40b2:5424 with SMTP id p8-20020a056a000b4800b0068040b25424mr8814912pfo.23.1688293225659; Sun, 02 Jul 2023 03:20:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688293225; cv=none; d=google.com; s=arc-20160816; b=swXJvp0VYngq9WwkWYv7gdBNq5WxqtEdpFPgQRTV7WWcbfTXBn59KPmU1wAaKIyPOO 3SMlCMVvDQbH8xd0jk4iYw5infFEJc5PjW11M396Chw8RY6z7WGIqZxkTNxa7gMMgU8o rw5cYCBRLxZ2dZhNld6J8t7ni5UKJfIYtmQkX7egkXHbv8Qr3PtceLoLXyzzmLpB2xrB EcTpmKR2hGGnfs/QA3e+0EAJC1WDgqvrfyowDADyaa/o3UDiDW87UibfwH9lTPeScVMb 8k17k/n2wiQUO3JxMJaRxMGycYGoYBDVRAlLBPposxdx20dTjFh38F3Zlb9JedalFlzj oY7Q== 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=5NmKF6Dtx0WFynYD1yu40PVvG4JCk6q71/bw+brbYBQ=; fh=aqe9VcigDUu1SjpXvPnFvJ8/tl2wBU7+iNjjOycw73o=; b=jX9ZoUI0rOgkWZ0zmWoyjyRook4Na2k3559Kn/PjZSFMLpVPkf1fk8ea7+s/yaK5VJ ZFss+3fkENcT8XC1D6Pj1T+2I1vTQtwsJ70Ga6C0X81Ozuw6BLHXt5VyhtkdKyy4ZnUD juYgAVArwi1S1gMWKc9XP75XJyFiCNa4a6tJAfp6zSQ+dwU5QI2uzVkS+tozQaC5ylEc /8xrVO4n9sQkil116B/NFJnwTNyFWR8JEDmbD/dr3gkjh9TyAZVpFU5B7xbl5BosfHkf mZzhfoupfBpffD4G5A8aBACGuYrlQL1E6wd8OrA+RSsmjpRBhi820/aZQmXg2cMoDzJS BO0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=InBenrzx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eb3-20020a056a004c8300b0063d19a45a93si8747176pfb.280.2023.07.02.03.20.07; Sun, 02 Jul 2023 03:20:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=InBenrzx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229783AbjGBKBH (ORCPT + 99 others); Sun, 2 Jul 2023 06:01:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229533AbjGBKBG (ORCPT ); Sun, 2 Jul 2023 06:01:06 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7061612A; Sun, 2 Jul 2023 03:01:05 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 362A0htD025062; Sun, 2 Jul 2023 10:00:43 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=5NmKF6Dtx0WFynYD1yu40PVvG4JCk6q71/bw+brbYBQ=; b=InBenrzxEFA2ymyHsGBsP/PdrU4oMr75nYfwf3+iyT1UP31Kf4cXDSqlVVwUnAtxdduq eDKCcnNfAAD3g+n6qfQNS2FHdnOSPiD879YZxjo+tLARMm2MK7VhvJ7AOBGpRBG+x2mb vxiDYUbZf1nJ++cSGg0IIe/meDEkRlJYkxedwey4NrmbwdoDyIHVtToQhdZUnBdC15HN koU+ryVVDC8fhDxWZVgwthQNQ9oilyMRVjq6RfOxoJIRWl56dgV/WDyrbsENRHhQRepn /BSx4YQ7VELIRtv1XUkV49mUK+OGPeMsuevBv1NYtes0I8pdNk0Tjl+GOdQOXZqXhqnM oA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rjbfqj17y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 02 Jul 2023 10:00:42 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 362A0fR8023359 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 2 Jul 2023 10:00:41 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; Sun, 2 Jul 2023 03:00:39 -0700 Message-ID: Date: Sun, 2 Jul 2023 18:00:36 +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> <7144731c-f4ae-99b6-d32a-1d0e39bc9ee7@quicinc.com> <49f8ca40-e079-ad00-256e-08a61ffced22@quicinc.com> <34ef466e-df95-4be4-8366-64baf5f04cca@lunn.ch> From: Jie Luo In-Reply-To: <34ef466e-df95-4be4-8366-64baf5f04cca@lunn.ch> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: wgnCkkoHbDD_nWmzAIDnJ0jGv4qPCOrR X-Proofpoint-ORIG-GUID: wgnCkkoHbDD_nWmzAIDnJ0jGv4qPCOrR 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-02_08,2023-06-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 mlxlogscore=661 phishscore=0 clxscore=1015 impostorscore=0 mlxscore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307020093 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/2/2023 12:21 AM, Andrew Lunn wrote: >> Hi Andrew, >> it is the PLL related registers, there is no PHY ID existed in MII register >> 2, 3 of this block, so it can't be instantiated as the generic PHY device. > > Well, phylib is going to scan those ID registers, and if it finds > something other than 0xffff 0xffff in those two ID registers it is > going to think a PHY is there. And then if there is no driver using > that ID, it will instantiate a generic PHY. > > You might be able to see this in /sys/bus/mdio_bus, especially if you > don't have a DT node representing the MDIO bus. > > Andrew Okay, understand it. thanks Andrew for pointing this. i will check it.