Received: by 2002:a05:7412:8d23:b0:f7:29d7:fb05 with SMTP id bj35csp194588rdb; Sat, 16 Dec 2023 05:24:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+UUy7DxQtlNbhExbbuAQhJ4+/Eu7QNWFewWLE/CZn5xrTju9mVETFRTorRLkPy+UldFSx X-Received: by 2002:a05:6a20:7f94:b0:191:2dc7:573b with SMTP id d20-20020a056a207f9400b001912dc7573bmr7268469pzj.43.1702733052672; Sat, 16 Dec 2023 05:24:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702733052; cv=none; d=google.com; s=arc-20160816; b=bo+PrRqRs2lReE+DPORtGPSu3IjV7k5U3J5XAJ+GrRD8+dTxgN8YJUqVK7pYl0eYM0 /t/b7H4ZBZyWuF01tNk4fJMrfIsXUerxa38nfdsaE/xn+CUPQi3T2P9Jzfx2XchLnwzj gt0tIqKVQfYXaq8DfMId7YfIatrmR89dXbfo1okHVnU3idNUmMdnHwXLok3k1UEgr2nb LYdKlKwxMntC3iLKFfZslN4XBPwsnpPFal5DWt8v5ONpao0aoyfNJ4+/JiVtf29HUIM5 uWWFLl0mmmA23zfowvcG/ekvowqkb29rI/SBODSMuxiyKbzBZCso650oO6fGyIuENi69 Utcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=uPCVVeSCgO1QdpCAfjeGPtohdqxeUiPo9vIMiGwQhWs=; fh=pBmltEvP491oe6Ec4y8D4abJeDNEx91cA6m3AwU9Bg0=; b=B0tlqURAR09I3q5M6Si+F9Zn5Watlcm94ZbcPX/LQDYZcJpMHwRoea4iYfYV1Wmqmh 2ggGVGXJvoOeM3dDLHbHhSQ3OWQ9R9pOd1XYTvamsSNDobn9+Gcx1ddDC43fzbas4R6v 9t5a/y+P3LAvRx1VYm2I3RXT6xgksFIvu9xsmIOXqfeMWoVYLJTT84LHVkfqWCYk4lXX 45iV4s+0Qh6/0N8O6Q0YNRTL8TkdEO0jpE+rg3kaQuLG9i4e/eCztEf0ONiL/Be92e/9 2ANCIM67bN0nBHaFyQPGPMDp+eD8SDiTckUvA8IqN5f4JcLrrzPKfdJ6pA69B6OPOyo6 xUdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OGlqfcXJ; spf=pass (google.com: domain of linux-kernel+bounces-2198-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2198-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id hi2-20020a17090b30c200b0028b11f1a1a5si3941568pjb.57.2023.12.16.05.24.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 05:24:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2198-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OGlqfcXJ; spf=pass (google.com: domain of linux-kernel+bounces-2198-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2198-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 77610281851 for ; Sat, 16 Dec 2023 13:24:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E048E2C69D; Sat, 16 Dec 2023 13:23:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="OGlqfcXJ" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D445724B37; Sat, 16 Dec 2023 13:23:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BGDMSGj014399; Sat, 16 Dec 2023 13:23:35 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=uPCVVeSCgO1QdpCAfjeGPtohdqxeUiPo9vIMiGwQhWs=; b=OG lqfcXJc0TYhkFYL/5zC6SmGCNYI9w6+kmfeBHEF7OmtY1hc4ZsrhbwzbuCt3zhhe pCjPiJ4z2xlDtL9z8jTu50yyBnCE/yjUFCMCWnqtuN48m1BsjfHU0yAYeGmKpjPX f+bWQgN+RR0GatMdXSywzlr4/jFGNz2cDaNHfoVpn2PClTFatUodN7ZMZIAZkn9j 00G/g/CuX976jDJW/e7ugEuMKzaQ2TfwQpOHrgr2xGEHLo4mNmnF5nSuqWSrMBPe prDpJ5XbAwCxcLlYH3Munv6m6i+AHo4nSvOwLJIPBOOrlcl0rmo/440uzTZb1DBW CRtSBdW11uV9CTyuDg6g== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v151jgkj9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 16 Dec 2023 13:23:34 +0000 (GMT) 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 3BGDNYhA014031 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 16 Dec 2023 13:23:34 GMT Received: from [10.253.9.247] (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.40; Sat, 16 Dec 2023 05:23:29 -0800 Message-ID: <69178bc1-d682-4947-bfc5-bd3bb817e8aa@quicinc.com> Date: Sat, 16 Dec 2023 21:23:26 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 5/5] dt-bindings: net: ipq4019-mdio: Document ipq5332 platform To: Andrew Lunn CC: Krzysztof Kozlowski , , , , , , , , , , , , , , , , , , References: <20231214090304.16884-1-quic_luoj@quicinc.com> <20231214090304.16884-6-quic_luoj@quicinc.com> <1e4c55c8-8ed6-4f2e-8328-8a173f09b62f@linaro.org> <3c8e33b4-6ebc-476f-a00f-15cc8a1ad9e4@quicinc.com> <3de98516-9a28-4f58-8951-2a7752621fee@quicinc.com> <1fa2d219-63d7-45cf-9e05-b85dbce24076@linaro.org> <6acecb29-2a6c-40af-a5a3-bec3e7286df7@linaro.org> <6e5b6ab5-fc89-4986-894a-62af08343859@quicinc.com> <83ea51ac-e976-44b6-ad5c-f11661646671@lunn.ch> Content-Language: en-US From: Jie Luo In-Reply-To: <83ea51ac-e976-44b6-ad5c-f11661646671@lunn.ch> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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-ORIG-GUID: 06cDCZ-XIz3U5gU7xSggbJlrQzqu0Yeo X-Proofpoint-GUID: 06cDCZ-XIz3U5gU7xSggbJlrQzqu0Yeo X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 mlxlogscore=852 adultscore=0 malwarescore=0 spamscore=0 phishscore=0 mlxscore=0 suspectscore=0 bulkscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312160104 On 12/15/2023 9:34 PM, Andrew Lunn wrote: >> These properties "reset-assert-us" and "reset-deassert-us" are the >> general properties from mdio.yaml, which are used when the MDIO >> bus driver is registered by the MDIO framework. >> The general DT property already supports to do the correct config, >> then compatible string is not needed to be checked for doing the >> configs. > > Given the complexity of your device, i doubt you can make it work > without using a compatible containing the ID register values. That > will get your driver loaded, and the probe method called which can > then deal with all the clocks and resets in whatever way it wants. > > Andrew > I misunderstood Krzysztof's suggestion in the previous message, i thought the reset properties configuration is checked according to the compatible string in the drive code. Yes, these properties can be deduced from the compatible string in the DT doc, i will update this in the next patch set. Thanks for the comments and suggestion.