Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp439955rdb; Fri, 17 Nov 2023 03:22:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IGHE/lCAZcpF8Orex6BdCQ8xTfxGx+yJEz2Zs2+jORttdubqxFFBb1n5oqBScgfDGZLWgeY X-Received: by 2002:a05:6808:3097:b0:3b2:dc66:2170 with SMTP id bl23-20020a056808309700b003b2dc662170mr23784690oib.19.1700220147789; Fri, 17 Nov 2023 03:22:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700220147; cv=none; d=google.com; s=arc-20160816; b=JSUGII83/Jhgh8Dk7mLXTyxT3sAeRB7gxauNwx90pAAoUVAWlPwwTIMfvTc5P64vDO hULepLKdo66BAsV/IKXCzs9ZseqYUVnFjV+u2PQ5Ycrg9LsYnM1sXOhhh6vNTs3ACDzc Fgkdf1uPFMWFCqcJdPe5beGNTB5nGvVHyU1nrkfHuQcsAZH4jYRD6dcCJr3x895aIgXd 3pV7BY4i9NJKSUd0hebmh+eLfvo7NtupW6Yl5EToeTwWgmoC143LVuuu7xMnVusZVvIt tAskQBiiuIxl7IOvabcVFLT/rW9iFHbTLWSZ9SvJ01CKonBcbPdxSefhLmS+Bp5qeUbb 3lGA== 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=Z9gJdLm7IKRfDQ9NLi+fHbi4CTRli8SrT8CUFDfjBA8=; fh=ept2zr7e+4Qi6qLaPJRo7u3bPRS4avDe9aDuaBdppfQ=; b=Jm+qRNVhp6MWTu2u7sYqDu5jXf5R8cojfc8WJ6rc0h7RbrKocxmpD79M1JiC6SDuUz 2kFsgHI+mMnTNAcNNKyh8rDa3BeujaboSVpk+S7nGzG7NHpYY2k7NySwaaZoUKGXVcXc SIZ6Shsz2w206p1x27t46/WVcDAfuq6NsWyyxgRe8fiFYGYeoT7CXhIOTREUtKTyT87h qi2xhxtEI0jsqm6ImmB4pcVoGXNLfRYJ30Jp6+gb3FszTEsJ5gzRRspjPuohp+0Xg3An VxPRN73fCAKjbtvhEPpHFvpW+9x4k/0EEfg2W3h3TgVrY8M3EXfbFy4+Pe5sQa1vmTS1 xoIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=lIgfYeAn; 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 x16-20020a63fe50000000b005be10ed80d8si1713912pgj.87.2023.11.17.03.22.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 03:22:27 -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=lIgfYeAn; 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 CA35280BC52B; Fri, 17 Nov 2023 03:21:33 -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 S1345962AbjKQLVU (ORCPT + 99 others); Fri, 17 Nov 2023 06:21:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345869AbjKQLVO (ORCPT ); Fri, 17 Nov 2023 06:21:14 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD54CD50; Fri, 17 Nov 2023 03:21:06 -0800 (PST) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AHBGoww029430; Fri, 17 Nov 2023 11:20:53 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=Z9gJdLm7IKRfDQ9NLi+fHbi4CTRli8SrT8CUFDfjBA8=; b=lIgfYeAnCnkCsfbAAZuWZY/fL4l9s+1MgykSd2bf3VyRdjB+7P6v5S2DDmXLBaBMHGH5 gVVm7yx5RCYxL7nGysNP/h7o7YaN8aKgq5eVwwMIr1rtG4Or+3TEgQzCYFFfvKcQWCZi Rwm+FHZUoPceAbQjPSEhG2cExFGWqisFrMbNJo2wuS3gVAxbLxuAcOk1QP/jgdzWwTln GjQu90NFgEQy7XfqGiQe9unQ3dn1x2Y6yz66K7MOLUO6OJ+smeh7P/YgoIaOAbuXQdfQ +OYbv7GVmP8uuhiZPCbaEjdTXnfBxJ6HVtRoQ3n9pForAN4xmagrTAhSRUAMhVDV8dRM iA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3udkkutnv9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 11:20:52 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AHBKpL4003776 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 11:20:51 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 03:20:47 -0800 Message-ID: <386fcee0-1eab-4c0b-8866-a67821a487ee@quicinc.com> Date: Fri, 17 Nov 2023 19:20:44 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 9/9] dt-bindings: net: ipq4019-mdio: Document ipq5332 platform Content-Language: en-US To: Krzysztof Kozlowski , , , , , , , , , , , , , , CC: , , , , References: <20231115032515.4249-1-quic_luoj@quicinc.com> <20231115032515.4249-10-quic_luoj@quicinc.com> <834cbb58-3a88-4ba6-8db6-10440a4d0893@linaro.org> <76e081ba-9d5a-41df-9c1b-d782e5656973@quicinc.com> <2a9bb683-da73-47af-8800-f14a833e8ee4@linaro.org> From: Jie Luo In-Reply-To: <2a9bb683-da73-47af-8800-f14a833e8ee4@linaro.org> 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 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: OvrmDzTKujuTsjmEedgjqSVB_5wVajYg X-Proofpoint-ORIG-GUID: OvrmDzTKujuTsjmEedgjqSVB_5wVajYg 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_08,2023-11-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 mlxlogscore=999 clxscore=1015 spamscore=0 impostorscore=0 lowpriorityscore=0 phishscore=0 adultscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311170085 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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]); Fri, 17 Nov 2023 03:21:34 -0800 (PST) On 11/17/2023 6:40 PM, Krzysztof Kozlowski wrote: > On 17/11/2023 11:36, Jie Luo wrote: >>>> clocks: >>>> - items: >>>> - - description: MDIO clock source frequency fixed to 100MHZ >>>> + minItems: 1 >>>> + maxItems: 5 >>>> + description: >>> >>> Doesn't this make all other variants with incorrect constraints? >> >> There are 5 clock items, the first one is the legacy MDIO clock, the >> other clocks are new added for ipq5332 platform, will describe it more >> clearly in the next patch set. > > OTHER variants. Not this one. The change here is for the clock number added for the ipq5332 platform, the other platforms still use only legacy MDIO clock. so i add minItems and maxItems, i will check other .yaml files for the reference. > >> >>> >>>> + MDIO system clock frequency fixed to 100MHZ, and the GCC uniphy >>>> + clocks enabled for resetting ethernet PHY. >>>> >>>> clock-names: >>>> - items: >>>> - - const: gcc_mdio_ahb_clk >>>> + minItems: 1 >>>> + maxItems: 5 >>>> + >>>> + phy-reset-gpio: >>> >>> No, for multiple reasons. It's gpios first of all. Where do you see such >>> property? Where is the existing definition? >> >> will remove this property, and update to use the exited PHY GPIO reset. >> >>> >>> Then it is "reset-gpios" if this is MDIO. Why do you put phy properties >>> in MDIO? >>> >>>> + minItems: 1 >>>> + maxItems: 3 >>>> + description: >>>> + GPIO used to reset the PHY, each GPIO is for resetting the connected >>>> + ethernet PHY device. >>>> + >>>> + phyaddr-fixup: >>>> + description: Register address for programing MDIO address of PHY devices >>> >>> You did not test code which you sent. >> >> Hi Krzysztof, >> This patch is passed with the following command in my workspace. >> i will upgrade and install yamllint to make sure there is no >> warning reported anymore. >> >> make dt_bg_check > > No clue what's this, but no, I do not believe you tested it at all. It's > not about yamllint. It's was not tested. Look at errors reported on > mailing list. > >> DT_SCHEMA_FILES=Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml > Hi Krzysztof, Here is the output when i run the dt check with this patch applied in my workspace, md64 is the alias for compiling the arm64 platform. md64 dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml warning: python package 'yamllint' not installed, skipping CHKDT Documentation/devicetree/bindings/processed-schema.json SCHEMA Documentation/devicetree/bindings/processed-schema.json DTEX Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.example.dts DTC_CHK Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.example.dtb > > Best regards, > Krzysztof >