Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3158232rdb; Thu, 16 Nov 2023 01:36:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IF/Gouc+bNv9RxtVTjn7KcCi3gZ49g33+YLU15EuA9XDBfvkpOWJ9p/asNSlabzdZ5tuiEh X-Received: by 2002:a05:6a20:e10b:b0:187:d18a:3163 with SMTP id kr11-20020a056a20e10b00b00187d18a3163mr629574pzb.48.1700127405212; Thu, 16 Nov 2023 01:36:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700127405; cv=none; d=google.com; s=arc-20160816; b=Fzt9cYXnlnRPG0o08JYJz7CkC1F2RcYXKmesdifZftGIJedZf30jh3hdOAmE4/t0/P dodRBfia6EtWYrkoIi9NdDTsw9C7TxuejvvTYv62vOE/YzoGAS2Kyhy7+HTtqluLuhUE 8/m82fFTX7C8fut10WslgR/rXY33J4YVQTEl3u1H3lDM5ORERNSVNLbBsZqz7nj/Go9d 3ZiN67IYJnJiAYYOYQC7DO3Z9KUeThOiSsgANwtI0m9jy3Dcwzf5yq66nDC9wsUzrSKN bigTm6De/dyJDMVoHnpnVFF9NPxvECnRuRpqrPsb5KGtHY+lD5LR8pUJhMLR6wovjJqy ZeYg== 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=GEuP6Rpji2X+1oMcUTO94Nar7xPCb3N4/EUxMMrf/9g=; fh=a8SIrncv9rCUJdKfdpiz94URYq1gyRkw8WzwvsOTAp4=; b=CNuACazBG7x/ZDM5evdjF6LlOZZ8zr/I4hWE9Ys2El5ipQOGSJYdAVfHaybP06U+m3 XysWICbUPs66qXsSwp8T+vDkErPM6cMzbmUFEgoDbWERFvjO8KT93t5/0onzOiE1ElBn U8yzFUjR8jXL9OypJ0R+HZh2LjEkDy2gRVOA1D0lP9AtKGP82k635Z8wuiGKx1s5XkvK 27pYooc4VBizt1+2lgKBZRSn3YiD9uRQMEizcl1OzD3KYi6Md1WlKRkbJfN+0k9OTtOU RmK+NXmsIacFnysfF15uH9kZ8hrzl60RKWsRN8UySuU0eUYCGbNLCKd6kEifIrZaAvTS HURQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ePhMpjb+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id k14-20020a170902c40e00b001bbb175a81asi12451973plk.263.2023.11.16.01.36.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 01:36:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ePhMpjb+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 4FC1F8025449; Thu, 16 Nov 2023 01:36:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235704AbjKPJgb (ORCPT + 99 others); Thu, 16 Nov 2023 04:36:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235728AbjKPJg0 (ORCPT ); Thu, 16 Nov 2023 04:36:26 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 354C01BC0; Thu, 16 Nov 2023 01:36:10 -0800 (PST) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AG5AkBw032381; Thu, 16 Nov 2023 09:35:57 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=GEuP6Rpji2X+1oMcUTO94Nar7xPCb3N4/EUxMMrf/9g=; b=ePhMpjb+EHMZuVH+IIKJnXvKthI7OxRzandm8JFsCLlW7ZWEDuXik7els5LAUytggbkx j8djCv7k4gTwFdD/U3yAjnyB+RmbD+EKpxvvi62YmvTmxynOwRMmHZ35OLLMecdMYB0K isjUeDf8u2SdQCzILgzexB2hYz7ZQ4PGyMKTYMESGY0udqT/divkIbKV8buQmXAdBlFx 8lVQxLT3SSw1nJ0Xd3loQYbCw1ok+AJF1JyDlVz8zLMthNj7zfL+WLjl0Npbp+w8LK4k suxENXthknOakvv0sNewPJs8JYSf5BhrBwOULXP8OeJjTbCxYrrvQ8QRc1DmEifmUYG+ 6A== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ud1k51vg8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Nov 2023 09:35:57 +0000 Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AG9Ztg8028243 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Nov 2023 09:35:55 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 01:35:52 -0800 Message-ID: Date: Thu, 16 Nov 2023 17:35:49 +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: Andrew Lunn CC: , , , , , , , , , , , , , , , , , References: <20231115032515.4249-1-quic_luoj@quicinc.com> <20231115032515.4249-2-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: nasanex01b.na.qualcomm.com (10.46.141.250) 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-GUID: TH3DcYruvcjW6eYr3stYd3ERefWUPhEi X-Proofpoint-ORIG-GUID: TH3DcYruvcjW6eYr3stYd3ERefWUPhEi 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_07,2023-11-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=592 bulkscore=0 spamscore=0 suspectscore=0 clxscore=1015 malwarescore=0 priorityscore=1501 impostorscore=0 phishscore=0 mlxscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311160076 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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 16 Nov 2023 01:36:42 -0800 (PST) On 11/15/2023 9:44 PM, Andrew Lunn wrote: >> + for (ret = 0; ret < ETH_LDO_RDY_CNT; ret++) { >> + if (priv->eth_ldo_rdy[ret]) { >> + val = readl(priv->eth_ldo_rdy[ret]); >> + val |= BIT(0); >> + writel(val, priv->eth_ldo_rdy[ret]); >> + fsleep(IPQ_PHY_SET_DELAY_US); >> + } > > Please add a new variable, rather than use ret this way. OK, will add it in the next patch set. > >> + for (ret = 0; ret < ETH_LDO_RDY_CNT; ret++) { >> + res = platform_get_resource(pdev, IORESOURCE_MEM, ret + 1); >> + if (res) >> + priv->eth_ldo_rdy[ret] = devm_ioremap(&pdev->dev, > > same here. Ok. > > Andrew > > --- > pw-bot: cr