Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3187542rdb; Thu, 16 Nov 2023 02:44:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IHl5+B5ss132HeAmsSHC0mzcGMV11FGHg/0DIP4gn5kB5IJ9/04Zq5WlcSVx7kmTSa4GeGr X-Received: by 2002:a05:6a20:8429:b0:181:15:5755 with SMTP id c41-20020a056a20842900b0018100155755mr22135014pzd.56.1700131497817; Thu, 16 Nov 2023 02:44:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700131497; cv=none; d=google.com; s=arc-20160816; b=lsY3IYEX+vn/jUER0OZl4FsdRv4t77x9jPNw1F18cTLvFvLYSOm000kOI/56FD00bY 2o4W67Tyy8D15tno0WS/SHt6yptRryTgyVt3bYzLM8MyDCeR0DnzH+AxuGGhZysPU6a5 3abMaJ8Ho+1ff6AcGY9B21dyOp1hDzMWIpEsl/LS/COFRRZqA6eoMAfn/Erqo60uy+Ig WrFNfUZl2n7lF3i23j3yAvBMNwcROtk8sDWfaqcJHyPi166zVlmhHIQ9sSfQpulMr9o6 Rqk3O0qKH123zNwCi6YqR8uVZ1Pa7Z2w57VmhOFRySpBmrYK3w4ezFO6MGHHom+/eTEK Ryww== 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=D1svzL+K4mX38CebFwfuvfAb54VtCzK1NOI55/OaP1w=; fh=7pX9mzxihAILYxWrxsWzIOI78QCjnW5wAnNHZT3rYtY=; b=xvfAjsTDrHhFRh4RDpymCNsft/n8QF+Ncr8Q7qV560/8sY7NFUiOVfy1wGZLUSGZEZ xtxvgyPNg6OIkTN5GdGG3SMKe5a+ji2Eia03waSjG6+9FgUzWDaRWeYVYEEmcyTo72s3 /6wl/I5RRrbBR02ACIIK1u2/4TjsEuxwAveLqicjWqxsyVCJ42Ehev76C+OkgxZKX3Fq Y9I77Kp7isiZnmK7Z7fad5lFrHfVyOgFrkk+0ABI4XymwbUm89sKXXE8tnr6DrFV9iS9 vHEpAC2c/KZo6tSpa0FryqMPiX5XcJQGf314bAweDzbrUvN5X9UJkXnrjqK7KY1Slikx lfnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=EJrx+9Cc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id mm1-20020a17090b358100b0028001292940si1728419pjb.68.2023.11.16.02.44.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 02:44:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=EJrx+9Cc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 614D18048686; Thu, 16 Nov 2023 02:44:56 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345024AbjKPKoy (ORCPT + 99 others); Thu, 16 Nov 2023 05:44:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345042AbjKPKot (ORCPT ); Thu, 16 Nov 2023 05:44:49 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6119118B; Thu, 16 Nov 2023 02:44:45 -0800 (PST) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AG8Vakx004901; Thu, 16 Nov 2023 10:44:28 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=D1svzL+K4mX38CebFwfuvfAb54VtCzK1NOI55/OaP1w=; b=EJrx+9CctyeAF0U2Sq28VpTjQIduRpRZHsS9oEBP6M8lURbSpsR88+ZlwvkZRzyMkTIm Bck56GTPURRmDZz2KICOsce6FtRnOLOqJIiyXR2pSI4uMwj8lwbqOAbEo82epofV+vO+ Rg80ms/wFz918EnctIvik+mtQezNX8Mo4pTiqz3DJKt+1EhLzjq08VF4AK17eie5WqCO LkJ2GpQCq/y0lRoLvucPqjgvOZKbwfP8eWW0KzUUlt+dG9YJh5M7yJ/9F/+DFd9XFNdy lvqh2b+k5HHuYpOIaH6jNmFwNaOt+KTiGHLtCWFW5en6rdvwrCpXyLFqyfCoFUehhv1R hg== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ucuac32ct-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Nov 2023 10:44:28 +0000 Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AGAiLm2023401 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Nov 2023 10:44:21 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:44:17 -0800 Message-ID: <8608e88e-e379-4e08-b376-86d9f25d2270@quicinc.com> Date: Thu, 16 Nov 2023 18:44:14 +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: Konrad Dybcio , 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: aO_XPBb_fBjY-CpFbSBD2d8e64uf5W3x X-Proofpoint-GUID: aO_XPBb_fBjY-CpFbSBD2d8e64uf5W3x 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-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxlogscore=450 spamscore=0 malwarescore=0 mlxscore=0 bulkscore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 impostorscore=0 priorityscore=1501 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311160086 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 16 Nov 2023 02:44:56 -0800 (PST) On 11/16/2023 1:01 AM, Konrad Dybcio wrote: > > > On 11/15/23 17:20, 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? > No, this looks like a total subsystem overreach, these should be > taken care of from within clk framework and consumed with the clk > APIs. > > Konrad Hi Konrad, As Robert shared the link of the clock provider driver, which is registered as MDIO device and not available until to the qca8084 initializations completed done here, so i need to do raw read/write the clock registers in this patch.