Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp399785rdb; Fri, 17 Nov 2023 01:57:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IEohlcjTd7n9EH/atkixe/S2IiG06FdQzjHduuMAezlZyn/LxiwKmEbGHHKvHjxLckT+SCW X-Received: by 2002:a17:90b:4a4a:b0:280:c98f:2092 with SMTP id lb10-20020a17090b4a4a00b00280c98f2092mr18598146pjb.33.1700215062380; Fri, 17 Nov 2023 01:57:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700215062; cv=none; d=google.com; s=arc-20160816; b=YVmqZBN10uR19iuDzifzscEI+1P8bqu4dxELtJQGcvBLbm/7ymvpz5hAJdtBGYUfAH GNeEA50gQwtuJKQPHXvIqlOZbPmuPCh1EoNv/QIRbNWKKvwnaBKMypKgVO/H1TZk9do3 q3xEXNndc/oBct93lZknX3WCqYAZnXIjE4+KpZQbrIVrvouAj/78Oa1f9HtEujHnvwo5 dCXSbDLc4f3C0xdI6XmtrsczmxLJDZ2bCorsFTOL+iYPwG82+odbHykfy4Ypndpa/Vas DKeNXKkaP9mROO6XVvPevOT9Ic6JNML6Z7A8H72GnENIFf/vktiq/kNpJ7VsPjWkl5E1 bOLA== 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=MBwQNnrP/VoAcmnLrs6vo1SDNvrC8nNxML8vPT+zO5s=; fh=ept2zr7e+4Qi6qLaPJRo7u3bPRS4avDe9aDuaBdppfQ=; b=U3almKIhQI4gE3v621PxVgBEL7FaWP/XDMjwALtNdXPNhgI3fC99F6FXvqYBm4V7o5 vnhtbIvnBVKRVV54VZ23w0QWt3was/dAuEl5gqK3wwSOMvRa62mzR3Ud+n0Iu22Xsb0r Y9MTLJkOgIMhgc4jrnIOMgJIy/R5vQWxJ0M7+iJdg3ttA5EIug5XDPGwjjXA3Un1y8Yn 2zXJG04jGWzxrCsMwJUM/AaMUR/tGMXOdM5lN2foBazd70zDFs0zNBGErVHcUur8m6Y3 QKAoBPeIsZ8yWN3KABj6DFziaFld/KvgLTDY/gEv39mbZtgkRgRGHXuT7VfKzf9gxnjP XGJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=cHxEdEru; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id z23-20020a17090ad79700b00274c5572179si1611337pju.2.2023.11.17.01.57.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 01:57:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=cHxEdEru; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 105A981D82F3; Fri, 17 Nov 2023 01:57:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345844AbjKQJ4x (ORCPT + 99 others); Fri, 17 Nov 2023 04:56:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235726AbjKQJ4s (ORCPT ); Fri, 17 Nov 2023 04:56:48 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 857C110E0; Fri, 17 Nov 2023 01:56:44 -0800 (PST) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AH9XDQJ007104; Fri, 17 Nov 2023 09:56:33 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=MBwQNnrP/VoAcmnLrs6vo1SDNvrC8nNxML8vPT+zO5s=; b=cHxEdEruI4S98eFsBMjPeWOSOt4i/ANGXHbwaVFGFoCTFbpW36cV/HqbpnK3yHLUKWUr H7RISv4qYe0UToETdFyCf5H5nIkjFvOyyQ8eJOc9fY53u4EdvIBgosQssYBs3xU3WYMZ Zp19V0IXjTk6FEDxExTyD1CecyZY/k9YqF7oV7gtxvyjn+rtlinWFqUQ8quwUnxPnHeX No2msSBW/9U67shr2z8sV5+RrA/aJcQm87zm8nSQQ9VqGDA8zU8JErEVIdHDHb9o3lkl Iuig1bFqSadUIYIo5TT8WcJsN4Q+s6osMqTr1gCoPMRrLI53tdtqEWEuSFNwjs4rWOU0 cQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3udpqq205v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 09:56:32 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AH9uVKB030753 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 09:56:31 GMT Received: from [10.253.8.81] (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.39; Fri, 17 Nov 2023 01:56:26 -0800 Message-ID: Date: Fri, 17 Nov 2023 17:56:24 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/9] net: mdio: ipq4019: increase eth_ldo_rdy for ipq5332 platform Content-Language: en-US To: Krzysztof Kozlowski , , , , , , , , , , , , , , CC: , , , , References: <20231115032515.4249-1-quic_luoj@quicinc.com> <20231115032515.4249-2-quic_luoj@quicinc.com> <7786f8e0-2395-4bb6-bc29-071ed637611f@linaro.org> From: Jie Luo In-Reply-To: <7786f8e0-2395-4bb6-bc29-071ed637611f@linaro.org> 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: nvHhsVaDEiLh6-yQu5letGiCWdpGE7Yo X-Proofpoint-ORIG-GUID: nvHhsVaDEiLh6-yQu5letGiCWdpGE7Yo 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-17_07,2023-11-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 phishscore=0 spamscore=0 bulkscore=0 clxscore=1015 lowpriorityscore=0 mlxlogscore=999 impostorscore=0 suspectscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311170073 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,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Fri, 17 Nov 2023 01:57:33 -0800 (PST) On 11/16/2023 7:57 PM, Krzysztof Kozlowski wrote: > On 15/11/2023 04:25, Luo Jie wrote: >> There are two PCS(UNIPHY) supported in SOC side on ipq5332, >> and three PCS(UNIPHY) supported on ipq9574. >> >> Signed-off-by: Luo Jie >> --- >> drivers/net/mdio/mdio-ipq4019.c | 55 +++++++++++++++++++-------------- >> 1 file changed, 32 insertions(+), 23 deletions(-) >> >> diff --git a/drivers/net/mdio/mdio-ipq4019.c b/drivers/net/mdio/mdio-ipq4019.c >> index abd8b508ec16..9d444f5f7efb 100644 >> --- a/drivers/net/mdio/mdio-ipq4019.c >> +++ b/drivers/net/mdio/mdio-ipq4019.c >> @@ -18,28 +18,31 @@ >> #define MDIO_DATA_WRITE_REG 0x48 >> #define MDIO_DATA_READ_REG 0x4c >> #define MDIO_CMD_REG 0x50 >> -#define MDIO_CMD_ACCESS_BUSY BIT(16) >> -#define MDIO_CMD_ACCESS_START BIT(8) >> -#define MDIO_CMD_ACCESS_CODE_READ 0 >> -#define MDIO_CMD_ACCESS_CODE_WRITE 1 >> -#define MDIO_CMD_ACCESS_CODE_C45_ADDR 0 >> -#define MDIO_CMD_ACCESS_CODE_C45_WRITE 1 >> -#define MDIO_CMD_ACCESS_CODE_C45_READ 2 >> +#define MDIO_CMD_ACCESS_BUSY BIT(16) >> +#define MDIO_CMD_ACCESS_START BIT(8) >> +#define MDIO_CMD_ACCESS_CODE_READ 0 >> +#define MDIO_CMD_ACCESS_CODE_WRITE 1 >> +#define MDIO_CMD_ACCESS_CODE_C45_ADDR 0 >> +#define MDIO_CMD_ACCESS_CODE_C45_WRITE 1 >> +#define MDIO_CMD_ACCESS_CODE_C45_READ 2 > > Where is anything related to ipq5332 here? This is for alignment format, will keep it untouched in the next patch set. > > > .. > >> bus->name = "ipq4019_mdio"; >> bus->read = ipq4019_mdio_read_c22; >> @@ -288,6 +296,7 @@ static void ipq4019_mdio_remove(struct platform_device *pdev) >> static const struct of_device_id ipq4019_mdio_dt_ids[] = { >> { .compatible = "qcom,ipq4019-mdio" }, >> { .compatible = "qcom,ipq5018-mdio" }, >> + { .compatible = "qcom,ipq5332-mdio" }, > > How user comes before binding? The new added compatible is for the GCC uniphy AHB/SYS clocks configured on the ipq5332 platform, will move this change into the following patch that involves the ipq5332 to make it clear. . > > Best regards, > Krzysztof >