Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp419217rdb; Fri, 17 Nov 2023 02:40:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEGmhvp43GsRxM4P5PEvj72BdmcbGMdq1bsZU+tCLLmYe88RIu2FieJJ6kAyKbu52tBTUgK X-Received: by 2002:a05:6a20:4323:b0:187:d736:8b7d with SMTP id h35-20020a056a20432300b00187d7368b7dmr3650860pzk.14.1700217631735; Fri, 17 Nov 2023 02:40:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700217631; cv=none; d=google.com; s=arc-20160816; b=VVz7g1BNZnkixrHfXAMuVVPLm7ulhxZX8F3OCh0ZExOTwtDKQGj1Jn8dnkKVkwevM6 tx4Qpg757NU8Sv4gQ6//SHu+G1Tbdj0VSmsuQoucpdiH1jQ/xZ9o1Be3YHQXN/Zd5Ho8 kRCs6coyclrMipTSeEA76wCXftDoHZfH2e+GYWq1jxojXdtPBIITWupCqREwmJ3KmiLm 5Pielaa1hAo9ANt66e6jfKkU4HZfcJz5x56wrlxkkQ9bqymYYW3N0D6zaRQT6XyWNXyI GchrSkxoYwNJ4zgD49iqtqQ9KSilW/xzKjpmfFot0uN3XOgAXyO+LyAO1BSW5MkJ+uw3 TDwg== 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=N1LKHWofL2jd0zTzkWIHIphiswe2t8sV9Iu0y2Wbw/0=; fh=VaaSHlkIP9RDab/x2iGLe9CnZ6CZPM3YoyvBno5yK28=; b=H9UWSeBKaIAhAzDpL2WKZCe1ruDKwJU6ZhmxPFjiPc00QHeiNdlnTUVr0yl0ibK8av 6SChsTzuNzKBkt4dAyHwm1cdgo+pu/KhzepUvI2FMou37PtkfbDC3kHe5VgUx1hivnLp TIOHMv8irvnM31B0HNCoNxBeeaTXpO6T6tzKBVc2NfdAjm+w3IzZeIkx2isxXZOWQaMl m40FkK/5tiyIu6xuzrA28IzqcbhcErJVmNlIyKy5/j64vIJZBqP6Iddal85Wu+i3a3GN BtfYZO2+4p0FhQRMX/nxnhaiQDXu/x21Uy8UVX8J7qQX/NRGPI81APR2WDh4FtyNAqHL cBQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GiUnUcD3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id h16-20020a170902f55000b001ce5b8090c2si1636116plf.439.2023.11.17.02.40.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 02:40:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GiUnUcD3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id A88D881EA70A; Fri, 17 Nov 2023 02:40:28 -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 S1345794AbjKQKkP (ORCPT + 99 others); Fri, 17 Nov 2023 05:40:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230510AbjKQKkN (ORCPT ); Fri, 17 Nov 2023 05:40:13 -0500 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EAA8C2 for ; Fri, 17 Nov 2023 02:40:09 -0800 (PST) Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2c79d8b67f3so23357511fa.0 for ; Fri, 17 Nov 2023 02:40:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700217608; x=1700822408; 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=N1LKHWofL2jd0zTzkWIHIphiswe2t8sV9Iu0y2Wbw/0=; b=GiUnUcD3/ps3qD+3BZxOrT4fmgoHr2T1bZGWq2/5TZ73PQBXMxiEYYKqEjIIbcegYO pSo+sGIwBR1FxM5LQ95V5Pkd0cAX5hhQJVYUKo0YgDA3kFO8ZcviFBuk6Pp8oXBh+drp isN5o6QsnkWB5JJOjzc3Ppksqgq4jiiroXmqitG7yaZjED/4StPZOWvO9dn+GTze6OJo Kojcs67f1XLY45seoByA9zr2tQcEQpO40qEFXPdOA7YDYu+ao6WTNlDndca3q8OlQOdo K4C3fE3ScOeDW7cYmY8F8WWk1Wz1Wk+/85NZGzpoLS08eMqu2iDWoXCvC6YANFpJKIpM IABA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700217608; x=1700822408; 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=N1LKHWofL2jd0zTzkWIHIphiswe2t8sV9Iu0y2Wbw/0=; b=glUh6gnbQ0E6laP06gbeZYTg8H2tOPt5wscGlKpZcpgy53cra8EstHER1fvbS4gjKq yBwXc6zrg34hynoIR72FLlebK+C4M9/z9koyL8gkpCQ6Yi6nXwYIt8HsDF7MeeiHJvfq oMTnHlV3nO/n87TIRXmcDN4rjnwfQdHcUA47OdT5rq6PGaoQwOCSh4S0IyjT0azi/Htg gwcPeZyvORBjxXuyumYpWf4mm6PLj1jU92yCbPtKao/QZBCqHaoJK8gZT2mU34ezkg77 RLQMdSzNu2jvpHFiqivdGAXHiEubXvPjk0Lhvpiq71PwPZlJNHjVSsLz8uMoNxFsVVIe 55mA== X-Gm-Message-State: AOJu0Yw1LVmi0kRErwUXX8/quBGhl5aots5E3aAbpV9QY2iyosQNaUkD grGmZ4GlK8zPlPKghcsMGaEIdA== X-Received: by 2002:a2e:b285:0:b0:2c5:2d16:6d93 with SMTP id 5-20020a2eb285000000b002c52d166d93mr8864245ljx.28.1700217607859; Fri, 17 Nov 2023 02:40:07 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id s26-20020a7bc39a000000b004064741f855sm2175059wmj.47.2023.11.17.02.40.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Nov 2023 02:40:06 -0800 (PST) Message-ID: <2a9bb683-da73-47af-8800-f14a833e8ee4@linaro.org> Date: Fri, 17 Nov 2023 11:40:04 +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> 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+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGwMFCRRfreEFCwkIBwIGFQoJCAsCBBYC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lA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <76e081ba-9d5a-41df-9c1b-d782e5656973@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 02:40:28 -0800 (PST) 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. > >> >>> + 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 Best regards, Krzysztof