Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6572658rdb; Fri, 15 Dec 2023 02:22:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IHOhYs2XzxdT1BfIlkGvYXjOqQCM1eO5e8ZXjpdsIEptHlyLt4Q88WtpFTkEL+HNnrAB8O0 X-Received: by 2002:a05:6e02:20ee:b0:35d:5995:903f with SMTP id q14-20020a056e0220ee00b0035d5995903fmr9175851ilv.50.1702635753500; Fri, 15 Dec 2023 02:22:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702635753; cv=none; d=google.com; s=arc-20160816; b=dHmXlfTQaSvoJUsI5huanRNQxrdJwYfOHRl0sBDmC0PcNWxVwcrMFthlFQcLUo/TBj +dW6iifLsNWjv8lIR5UWJmZE81Al4eKbsU4KT99C8Ntavyg2Ug+0es+wHm+gmFFfzquj BWvBTghPCJjvIzhPiJVDnZun8gdTsOjXEArNJxC1WHqII8hTy5NCRiJYz+/TFVLgPvBn U9oyWUHTD+1K2QUAyZmYmSx8Xk0eojIQ7Rw5vF43TYKKJl6DITmGkoQtxGHmUHAUShOn 9OG2WwuwYjdxBv9lcFLXeO06wt6t1hAWUUluh9DxH9z/FH3TnpPU9W94/n032xs/N99F S3qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=zxSZf1ld5t8Yko2g6KhmX2WkAgLz/+p2GmwCYQ2zsHo=; fh=VaaSHlkIP9RDab/x2iGLe9CnZ6CZPM3YoyvBno5yK28=; b=EC5FWCEPyoLsJi1DuG7xGowz5nlig4nh1AsAY0e8cVeanTMuXfmnoVPD+nycF9ZAWl hcz/cXRaXBB29aqiIRRwf29+NrYOCNv6z41/cjjKIxgUf796rqkJyPlXv48MuUBXmTHO YTWwQq/3Si+MEscBzAJH7wkJlrENMVPgHQDhxkpHW3Ig9afESG/C8b1Pz2vTvDj4QDoO evBAdwo2+HgVLiZWOGUe4awjvVds/eSZhsD2XqgIn2HoldC96lxIgoDK1XCeo2vS88XU CVHqyW3+vGjgAZH8ltTYRhAOINm4+syOllYX42h/fP9eRXlpeBqOF0LWJ5e8yi20kkiV B+ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A6TuLD4H; spf=pass (google.com: domain of linux-kernel+bounces-743-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-743-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id r11-20020a65508b000000b005b95fbb1745si12885570pgp.562.2023.12.15.02.22.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 02:22:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-743-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=@linaro.org header.s=google header.b=A6TuLD4H; spf=pass (google.com: domain of linux-kernel+bounces-743-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-743-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 2663828530F for ; Fri, 15 Dec 2023 10:22:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E34951A27A; Fri, 15 Dec 2023 10:22:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="A6TuLD4H" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F6A12DB7E for ; Fri, 15 Dec 2023 10:21:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a1d2f89ddabso58927066b.1 for ; Fri, 15 Dec 2023 02:21:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702635717; x=1703240517; 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=zxSZf1ld5t8Yko2g6KhmX2WkAgLz/+p2GmwCYQ2zsHo=; b=A6TuLD4Hl2gBMf0YA3Y48BI4BZTSwUyfBHZ80n6qenD9EAFdjjsbGJ/okzxRNrn9WO g+qxphnYmy4YfD8CBkgmf0vT/mLvq8vduXculg1kQJZZ4wd8QmP6b/CGtgYYzFcn2aZ2 Nm0N+u/l7ZLLQ1z6Sepnx2pys9xGY5Ve04+SH273zmv6PjWsUyQHo65NAKGEJIFgG9+I tQvynfH5qX5UJtunhg0NZO0gD9ZN5PiRTV+TtacJWT+sEpIrPmmW+DmpTMrfp5N/oaZD nTplI90ncZlVXeXB7Hz+FlUfAEm8I/d0T1uDbtXeWdSSH+YrPu1y+codOLqLeqIESg2f aljQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702635717; x=1703240517; 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=zxSZf1ld5t8Yko2g6KhmX2WkAgLz/+p2GmwCYQ2zsHo=; b=WN/VOszWHgOhfiXk2IIZ/PvQ8tzqosEjGrNwgS3WlC4hS7povwQRhkEZ8Sxbb1CKbZ DyPeuobra3DO52eEYImsR/rwcxi7HQoQBmu64T1eC/TC7K6dKir1rYEakCXxvuc/enge tFmUof8pNI7AlufGLx4gE6SjfGPJzwilHMyklFoZK9w2JwV5VEboEXmuRRIuEjV2idg/ sJcEXK78+w1czk7ggjpyr7j/UIZQ8zwfxdlEeNuLPIzn8I3oaGbwc0k4wDDmZlhHLVRp +xZpkQUKulznhycCPlY/cHli/3YH45lyEszudWNlzJw3gpZ5j9d9yCeex0aP5Kuu37a+ 6zFg== X-Gm-Message-State: AOJu0YxfdFlRV31bpaIbPWSYOImi2KOCNH8v4s8dFUHK/AaOWXpRrtbh UsNUlp43Mlf0dLtX5e5b2KjOOg== X-Received: by 2002:a17:906:6a19:b0:9d8:78f2:7ea2 with SMTP id qw25-20020a1709066a1900b009d878f27ea2mr7789943ejc.54.1702635717167; Fri, 15 Dec 2023 02:21:57 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id tl18-20020a170907c31200b00a1da2c9b06asm10575697ejc.42.2023.12.15.02.21.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Dec 2023 02:21:56 -0800 (PST) Message-ID: <1fa2d219-63d7-45cf-9e05-b85dbce24076@linaro.org> Date: Fri, 15 Dec 2023 11:21:53 +0100 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 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: <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> 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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fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <3de98516-9a28-4f58-8951-2a7752621fee@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 15/12/2023 11:03, Jie Luo wrote: >>>>> + cmn-reference-clock: >>>>> + $ref: /schemas/types.yaml#/definitions/uint32 >>>> >>>> Nothing improved here >>> >>> With this change, the warning is not reported when i run >>> dt_binding_check, looks the new added property needs >>> the type ref to avoid the warning reported. >> >> Nothing improved in the property name, nor its style, nor in the actual >> contents/values. > > This property is for CMN PLL block reference clock configuration, > so i use this property name. > > it will be appreciated if you can suggest a suitable name, thanks. See example-schema about naming. Read writing-bindings. You need vendor prefix for custom properties. > >> >> ... >> >>>>> + reset-gpios: >>>>> + maxItems: 1 >>>>> + >>>>> + reset-assert-us: >>>>> + maxItems: 1 >>>> >>>> This does not look related to ipq5332. >>> >>> The reset gpio properties are needed on ipq5332, since qca8084 phy is >>> connected, which uses the MDIO bus level gpio reset. >> >> I am talking about this property, not these properties. > > ok. > >> >>> >>> Without declaring these gpio properties, the warning will be reported >>> by dt_binding_check. >> >> How is it even possible to have warnings if there is no such node in >> DTS? We do not care about warnings in your downstream code. >> >> >> Best regards, >> Krzysztof >> > > If i do not declare the property "reset-assert-us" and > "reset-deassert-us", the warning will be reported by "make > dt_binding_check" since i > add a example in this file. This argument does not make sense, sorry. Obviously if property is not allowed, it should be removed. Provide rationale, in terms of hardware, why this property must be added and why it cannot be deduced from the compatible. Best regards, Krzysztof