Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3188644rdb; Thu, 16 Nov 2023 02:47:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IHyHzDdL8U6JukzBjOY+v1VCy48QyDlOSPsVFUFGdtLVN4Qc5mtFyHDyj5q/xd45Qq7jtWZ X-Received: by 2002:a17:90a:e82:b0:280:982:aa9f with SMTP id 2-20020a17090a0e8200b002800982aa9fmr1995446pjx.7.1700131662407; Thu, 16 Nov 2023 02:47:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700131662; cv=none; d=google.com; s=arc-20160816; b=yyu3vsR5n93hnIvwR+OvdtuD6R9AFwj9YCO9yKmSHwGBuwjezbFJMHYb4oEt9TirvA iBs+aMqi2GQ13RBkT6gMUb23PnjoEyvdCSQDeVi3ppjYtCcAz2DvlGRA9lnk9aw7afX1 q7G1bS4lDb4NYznzqygmwS2ovtA4yf9uzCqtnz26co/ObsoDl+Q1pvmo0mxfkrbJNkTC jVimg6dDSHR9jB7thX+nFivHiO+iygRtTKJZE1eO32AmlRV2dULz3xB1IMpwutB0K47k 695jwGMcu/BXgEbBQsaSbN2b0bt1N1GRRPH9y+8RYI13su/vRkmeMw0FWqJ05dxXysxQ 8lFQ== 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=Cn8olFKDeTEapbVBkb5b5dpQq6Q1s+C8jvBPvhu2nwk=; fh=a8SIrncv9rCUJdKfdpiz94URYq1gyRkw8WzwvsOTAp4=; b=hGlxm8+XcfnaNWCNGm++u6xzQapzS9ln+u282Zkiom0uveg0BiGuFwgaZQQC+dlWJW DDVa9WAmf73Ttpj38uc+HJfEiS30PB7pdFcevDbWjr83N2lSsFMIPdixIMv+2pxS249r 8L/WOCgYYTGnUhktBKCByqpHfoKQev0xWoSKPPq9wq1lxgPEeAFjP9fmTtDiELpi7fQ6 KTo1x8mKyv+B/guJmkeKPLstAjOO1sk0pid7sbYztI+5DPHsf2urm5F2N73b3vvlqYWl e1fB+hjb7jFxZJUT8Um1huhbomPbtzEfX/Lcl7P8XcWcSt9DB5kbMY7HscjXYPffzRZD pH+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Zz8aZ6XB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id iz20-20020a170902ef9400b001ce0931ba15si11479194plb.184.2023.11.16.02.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 02:47:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Zz8aZ6XB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id C580C807E880; Thu, 16 Nov 2023 02:47:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345023AbjKPKrc (ORCPT + 99 others); Thu, 16 Nov 2023 05:47:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230193AbjKPKrb (ORCPT ); Thu, 16 Nov 2023 05:47:31 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 498DD1B9; Thu, 16 Nov 2023 02:47:28 -0800 (PST) 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 3AG5WYOD025542; Thu, 16 Nov 2023 10:47:15 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=Cn8olFKDeTEapbVBkb5b5dpQq6Q1s+C8jvBPvhu2nwk=; b=Zz8aZ6XBdfoilriznxGtigllxZjBTofXbDWLkV4uqRDoZyxDWJGNQAhoMC2AED7p0v5a iE5Xb/16AW3VLrEcQ3jtUyRBfQHL7dSrvJJw1XdoQyT/FQdxS6FaWnhBXi7KDxte4iV9 Np76W45ZIRBFaGMoQ41roZ5eelNc01Qy9z1yckyMzagjcGUloRROJcf2XZ0ZLyZ5lCRq lkAryD/c5CjDiH3WhipkqD6XL38IogNF/kKwfCSQPf2r64hB+vLGszK2aEFflYbLkcVg h7OwrjVq0G69ZXwPAJ7NxzXU17hlOQCaH5iIOn6O6yqjLyVA5CZsetUbCI7Z9U8Bx9se 7g== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ud7b8s9ky-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Nov 2023 10:47:15 +0000 Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AGAlE0n003126 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Nov 2023 10:47:14 GMT Received: from [10.253.72.184] (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Thu, 16 Nov 2023 02:47:10 -0800 Message-ID: <2ca3c6eb-93da-4e44-aa6b-c426b8baecb9@quicinc.com> Date: Thu, 16 Nov 2023 18:47:08 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 8/9] net: mdio: ipq4019: add qca8084 configurations Content-Language: en-US To: Andrew Lunn CC: , , , , , , , , , , , , , , , , , References: <20231115032515.4249-1-quic_luoj@quicinc.com> <20231115032515.4249-9-quic_luoj@quicinc.com> From: Jie Luo In-Reply-To: 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 nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: u9bHEkF3KW_0JlAYEr0OswZ0jgLDQGfJ X-Proofpoint-GUID: u9bHEkF3KW_0JlAYEr0OswZ0jgLDQGfJ 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-16_09,2023-11-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 mlxscore=0 bulkscore=0 phishscore=0 spamscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 mlxlogscore=694 clxscore=1015 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311160086 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Thu, 16 Nov 2023 02:47:39 -0800 (PST) On 11/16/2023 12:20 AM, Andrew Lunn wrote: > On Wed, Nov 15, 2023 at 11:25:14AM +0800, Luo Jie wrote: >> The PHY & PCS clocks need to be enabled and the reset >> sequence needs to be completed to make qca8084 PHY >> probeable by MDIO bus. > > Is all this guaranteed to be the same between different boards? Can > the board be wired differently and need a different configuration? > > Andrew Hi Andrew, This configuration sequence is specified to the qca8084 chip, not related with the platform(such as ipq5332). All these configured registers are located in qca8084 chip, we need to complete these configurations to make MDIO bus being able to scan the qca8084 PHY(PHY registers can be accessed).