Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp483011rdb; Fri, 17 Nov 2023 04:43:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IFPPpyzv51T5Njwbvh6kH/mCsMaYigzQdW2NlcdmrndkcYGT0UvQG1VR0IB0kM1k6Y05YJx X-Received: by 2002:a17:902:d303:b0:1cc:4124:7754 with SMTP id b3-20020a170902d30300b001cc41247754mr11330582plc.32.1700225005353; Fri, 17 Nov 2023 04:43:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700225005; cv=none; d=google.com; s=arc-20160816; b=lEXP8TyUvY5Sjpj6MOi0qL3Z6vAEWgUDofbDeEmPcjT4YIoS1Nozyxs4m1QsBnCui5 F0BRuiMryBrJNQ0ieO7/MfflsnV1Q7HeMNNdCa1v01Zq8LtcvAiBKkqGXcZBumOgvNuB Ws7aAEyAKd9SbF4d9QOeVdsut0vjuIL2JzpJj9K/ndvHc+FHOlVAg0Wwr1Drddf/QFsH CBrQWGe+GcYxUNcN2zYp1uTcilty06BgGj+A1Ix0kRsKtIbMSI385EnAr5DU4NvtR5Pw ZzELCX5qvxVYhbEnZ9+vU6Pu9Cqnp17hq4kyGOzSH/LpzjNJ2hnopAAnOYOtBsl+wzsk aSdw== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=Wmy0vwHLNSalg0GyBNA6b2vQ5xOe/KV1rGIN3z1r2II=; fh=VaaSHlkIP9RDab/x2iGLe9CnZ6CZPM3YoyvBno5yK28=; b=KFCZpziD3cE53WrGA18SLB1S9hh2fLdexBi+/AoZHHfnWsOVK8MJMeC5cKLYoTEpUy lDv9IyLjMRlsRKTWO6V6gq9+YPzp5Q+ZoB8EfKtTy4aNKoM/QbL/VsQRTgCIlD37/myv WSLYR+joU+kQSdNVdCyVjBcsAWuBbUqPWJprU21+CR+cNenSNx4bGBBMK6lZ2kV7O1Lf ZborslJY7fCS9DxybtbNsqzhPC6PQl22uwjGGxUFwDn/p5jdULi50yuzLFpeD37doXGK pOO5XBvfzfTg2PEiv3O4DkTsC1AqSKkRP9c7T0qMCjebzvKPu/MgMNw4sYBplEDjOwwT cLLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=o2SYsnYJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id f18-20020a170902ce9200b001c449fb7bfcsi1891196plg.353.2023.11.17.04.43.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 04:43:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=o2SYsnYJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2B5E182958A0; Fri, 17 Nov 2023 04:43:24 -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 S1345808AbjKQMnU (ORCPT + 99 others); Fri, 17 Nov 2023 07:43:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231357AbjKQMnT (ORCPT ); Fri, 17 Nov 2023 07:43:19 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FE5DD5C for ; Fri, 17 Nov 2023 04:43:15 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-5441305cbd1so2744919a12.2 for ; Fri, 17 Nov 2023 04:43:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700224994; x=1700829794; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Wmy0vwHLNSalg0GyBNA6b2vQ5xOe/KV1rGIN3z1r2II=; b=o2SYsnYJAsLFkxkASrNueX3dInnjxjich1AD0VOn1KHf0EQodRf0DEUasLYoHEtxIC AEKfgLbz2l5AOFqNaSqOCLagByHk9Thpspl528Tz2nx9eNjuUFiRkN81+ysCqRtYZ92O di7b8GFYxrwcpfJDbCTahimdaFmfiQvMMdQ6cpuR+9s00jOaVnFNYubOGdcha6Imxx4P qvjzi99UoUczQvyRqMCoenkS4uWxlJq560225Yi88ly3x/NfMc3OEqPf1HazzeBHJ8GH f8AFMMzsxQhMB3nY/84FED7lrpME4cbefaO+vkYsCV1RTCqo+o3cQU09SgFpwDLXBMtq YOYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700224994; x=1700829794; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Wmy0vwHLNSalg0GyBNA6b2vQ5xOe/KV1rGIN3z1r2II=; b=dETyz7TAQ5IfkDbFEI0hJY7ma5WhyXCSPFNkQi3JPmhZ8ltaH3+laHCfqLzkYRcOwm C5si2x3YmjtXE8cPn8vCWpA/+iDOwefXi+ktdxeDOKqMqtNno2tLODezqFlfl23aZkgi Y/QZR1lyDYkWUwRIJhCWKQVDH+gWYsrT/3AgFegMlXe9btoepjR4S9uH/FaapyBGmAtT nUBcPdEiNXwbHj9pSBjp2OA6R11/OXhfOBpV/DmnNqpI1bRdd57FuYNWaqQqsBN5QsWF AdiC9OpBmHE83pzucQDgQgT3qS9TFQQN/h52nee4kADs9pkAK6/RnNUNxTocYmpfK3Wa BKfw== X-Gm-Message-State: AOJu0YzUJLCb9+F/GPw0NaF6dN1YbMrfy5O96sKYtCBb2FM731LAbUDR SWzQXMSX88dM6D2dRkdVP4z3kg== X-Received: by 2002:a17:906:1919:b0:9e7:494a:8ed with SMTP id a25-20020a170906191900b009e7494a08edmr14101320eje.72.1700224993723; Fri, 17 Nov 2023 04:43:13 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id i14-20020a170906090e00b009ae57888718sm744664ejd.207.2023.11.17.04.43.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Nov 2023 04:43:12 -0800 (PST) Message-ID: <77a194cd-d6a4-4c9b-87f5-373ed335528f@linaro.org> Date: Fri, 17 Nov 2023 13:43:10 +0100 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: Jie Luo , agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, robert.marko@sartura.hr Cc: linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_srichara@quicinc.com 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> <386fcee0-1eab-4c0b-8866-a67821a487ee@quicinc.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA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Zu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <386fcee0-1eab-4c0b-8866-a67821a487ee@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 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 04:43:24 -0800 (PST) On 17/11/2023 12:20, Jie Luo wrote: > > > 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. Then your patch is wrong as I said. You now affect other variants. I don't quite get your responses. Style of them suggests that you disagree, but you are not providing any relevant argument. > > 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. We still do not know your base and dtschema version. Best regards, Krzysztof