Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1258539rbb; Mon, 26 Feb 2024 04:06:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXpx9g0wRB6LxAQfXSoJ1MI/s98CzffhqGdDCQjw9dXiYP8L2QOw8OBqnKuIsE49xsJSiFuEG6qvO1JjLXUCzZQ9SrLXvLFcK5DSpZNCw== X-Google-Smtp-Source: AGHT+IGP99+XRyyylIb32viV0AcSnn6HCbZO/aV6z1rdYQVFzFrkLXyhRjwqaqV6VLc4ArqSqwc7 X-Received: by 2002:a05:6214:cae:b0:68f:8ddd:aad3 with SMTP id s14-20020a0562140cae00b0068f8dddaad3mr8914733qvs.20.1708949207476; Mon, 26 Feb 2024 04:06:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708949207; cv=pass; d=google.com; s=arc-20160816; b=A/BpP1gcbd1QyI57YsuPlmWtFLQwqjh3FjO41bNRAWsmWDg5AdUQ0wQmGUKTPe9Xzw wjvd0o0JBOiLiQiQXpmlUfeVZqc1fr7zS81OLKFnGOqNFTRAJodIR2PlcXKoL05z2haw KqORTRUkBuPcwH1DJBYS2V7DWzCB9rYm77klM26PLw+O7yD266ot0oTnRS01F1UgaYiM dD2EjMORjAaeT1xlOpGCI3KtIqYAdTyazIf7WGheCd8Q54V8kJiG9/WjviujFAo55+gx yVc/oRjrKaqDFCp9zGrBVdLmgn2jfZuFjocELabz/NgkTtq6qS1Hs4XddrAq/djJnm6f BDQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=jZb3RsfWCFtGnSiN/0Ua3do7F7uOiKDfXi71EwZXwms=; fh=wS1WZxh6tFbwN4PVH7OT83ooY/ATHmjVDv3xWbAUW1Y=; b=Lo3u4RY7a237ecCjj+kVDqIbyA5ddHm1fCKPWcftu/lYWnrNt1pXYQT+7d4Z4PuFYA 234HB1bsCxjmA66GAZsopSjbB5y7EDCRBJXPEN3GPRCLPQl7MFDuy1yMg4aql7pqtguK YyKs4NNuN8YOGiHSKZwgbTiJmF33lDMDX6wJTrBVSyWcUbThiB0rZG0mLE1vfhZXfjQ0 vfmgieIvp35f6GzhvOAEmnRwU5tKk/YXxEWL9SFuzF83whgPYz6JqdfRMG30gLFspWJq FMkPz7dENp20jRYnTkWPUho7dCTdFOJBZh0UTSggJY6XamndB0C+PUDN+u5G0dnSRAkK 7Cpw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ax9TMgno; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-81330-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81330-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id iu12-20020ad45ccc000000b0068efe8cf6dasi4933674qvb.12.2024.02.26.04.06.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 04:06:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81330-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ax9TMgno; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-81330-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81330-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2FD461C23B58 for ; Mon, 26 Feb 2024 12:06:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 80F685FDC0; Mon, 26 Feb 2024 12:06:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Ax9TMgno" Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 AABE05FBBD for ; Mon, 26 Feb 2024 12:06:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708949196; cv=none; b=gMYGesjIdLpAowMd1UtudIfXEWb0QwX0WimHtKMdd8zQSdTtWVv9kzQ3tOBlyeMkRBSbX/wNpwcTjyS/ZkZ4GwvYM3Hn5/TwJtNmbgZvaSVANo+eETdfCx09/U1J+hnPgiyb18ngml9LjrRrgp1WsP4NaRMBVpuCADjPtnd/iWA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708949196; c=relaxed/simple; bh=pTYTDm4YFv+QOrr5bBaNY1rUu1WgvEgqowBld52xfmY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MnWenvfavr2wz6dhshFW1+VDC0TkZ2PWuOFo1KTxmcd88niFU/RBncSo5tWZNpf0LZpezUzJYssZr1hlFbjNo+BVdTPsz53mfqOndkmNIa7Dz+Sfs7kVQq98TgAVU9+34xK/KS7S6uyLjyCGffoh9Afy7pMX/vGwBz7hfgauxQA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Ax9TMgno; arc=none smtp.client-ip=209.85.208.43 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-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-5645960cd56so3305421a12.1 for ; Mon, 26 Feb 2024 04:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708949193; x=1709553993; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=jZb3RsfWCFtGnSiN/0Ua3do7F7uOiKDfXi71EwZXwms=; b=Ax9TMgno1cRe6SUSxkbjyX/hG5Y+0w/FP5globyvHZJQc0kTFxycNmWHsCbutmdha1 QYdzeg2+PwRDEXlFIpeb81Nlm5GnwWvEloTXrY/B81eKaFEKU63ED89jiAJTngzE9pcT rxGsOJpcMW33qERJwGeh3h2SKtMv7oj0Y0lrDnFOHA3JJM1gcYijH/i7FxY3NShO3GTX I1GmyNg7GpuHfIXTkFslMxjecRRK68JKdZDFQRzJMCBwt1I38plodZyrLR0dnJh5VIxR yAPoB2cPZOPsEDN6UgFHl2f4YVrf0I2xws2hzNnJ1hPpq/I4mEyNHWc08HPfW2/Z0gSa ncSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708949193; x=1709553993; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jZb3RsfWCFtGnSiN/0Ua3do7F7uOiKDfXi71EwZXwms=; b=OeK5/cl13VWmXbRcQSCMtL09DJngoJgVEPgxofBexB0hBXM4JDfCYige0S3I8Tljh6 KUt/graR4C6oXbeedSrd4iTfdOH0Ci4zeLk45QAIAdQNvjB8vp6/d0PpBXSkpWI5fUaK 6R1dhOJnbcMwkVNYfxTRts3QMZtvgE+zULXSuB/gKRxOcIdaG87iVeA6DEBBEimo0n12 slBSBpKZydpgo/RSDUI1AXl/e5pMQHWl4th95F+tt2BcSxKCBKpuDoCdI4u/e+cuVFmq 5eOZO3olPqbLfqV8AJyZRoVWgSrar6wsoK7PSJARC4hhY9b6uMVkOGIxI2rbGN53NXqt SoZQ== X-Forwarded-Encrypted: i=1; AJvYcCUf9Va/ksFKL4AEymSWzR8cumwOoQxWYJdMQFUxjPit/Zxx4APJ7ChMv2uaFZF21kCWvQpzLrT32HzdshR2LMfxS0JdA64RohEyS7YX X-Gm-Message-State: AOJu0YxILLz3iMrU1DuPsR7ET9KWrw/SY/EtA7y3QogQG9ZHHqPN4+m2 RpWT2lSfBNjAWEWQwCnsgiFEHGtotRfQSzHU1g8zreIJ3YWki6n63oeUB1zyRI8= X-Received: by 2002:a05:6402:1817:b0:564:4221:9aa9 with SMTP id g23-20020a056402181700b0056442219aa9mr4623645edy.38.1708949193002; Mon, 26 Feb 2024 04:06:33 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id n9-20020a056402060900b0056200715130sm2301671edv.54.2024.02.26.04.06.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Feb 2024 04:06:32 -0800 (PST) Message-ID: Date: Mon, 26 Feb 2024 13:06:29 +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 v2 8/9] media: dt-bindings: Add Intel Displayport RX IP To: =?UTF-8?Q?Pawe=C5=82_Anikiel?= Cc: airlied@gmail.com, akpm@linux-foundation.org, conor+dt@kernel.org, daniel@ffwll.ch, dinguyen@kernel.org, hverkuil-cisco@xs4all.nl, krzysztof.kozlowski+dt@linaro.org, maarten.lankhorst@linux.intel.com, mchehab@kernel.org, mripard@kernel.org, robh+dt@kernel.org, tzimmermann@suse.de, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, chromeos-krk-upstreaming@google.com, ribalda@chromium.org References: <20240221160215.484151-1-panikiel@google.com> <20240221160215.484151-9-panikiel@google.com> <13aeb2ff-72f4-49d9-b65e-ddc31569a936@linaro.org> Content-Language: en-US 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+XWKydnmsfY7SSnjAzLUGA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iJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 26/02/2024 11:59, Paweł Anikiel wrote: >>> +properties: >>> + compatible: >>> + const: intel,dprx-20.0.1 >>> + >>> + reg: >>> + maxItems: 1 >>> + >>> + interrupts: >>> + maxItems: 1 >>> + >>> + intel,max-link-rate: >>> + $ref: /schemas/types.yaml#/definitions/uint32 >>> + description: Max link rate configuration parameter >> >> Please do not duplicate property name in description. It's useless. >> Instead explain what is this responsible for. >> >> Why max-link-rate would differ for the same dprx-20.0.1? And why >> standard properties cannot be used? >> >> Same for all questions below. > > These four properties are the IP configuration parameters mentioned in > the device description. When generating the IP core you can set these > parameters, which could make them differ for the same dprx-20.0.1. > They are documented in the user guide, for which I also put a link in > the description. Is that enough? Or should I also document these > parameters here? user-guide is something for users, like user-space programmers or end-users. I would never open it to look for any information related to hardware. Anyway, external resources are a no-go. We have it clearly in submitting patches: https://elixir.bootlin.com/linux/v6.8-rc6/source/Documentation/process/submitting-patches.rst#L130 > >> >>> + >>> + intel,max-lane-count: >>> + $ref: /schemas/types.yaml#/definitions/uint32 >>> + description: Max lane count configuration parameter >>> + >>> + intel,multi-stream-support: >>> + type: boolean >>> + description: Multi-Stream Transport support configuration parameter >>> + >>> + intel,max-stream-count: >>> + $ref: /schemas/types.yaml#/definitions/uint32 >>> + description: Max stream count configuration parameter >>> + >>> + port: >>> + $ref: /schemas/graph.yaml#/properties/port >>> + description: SST main link >> >> I don't understand why you have both port and ports. Shouldn't this be >> under ports? > > I put both so that you can use the shorter port property when the > device only has one port (i.e. no MST support). It would work fine > without it. If you think that's unnecessary, I can remove it (and use > the ports property even if there is only one). No, it is fine, but then you need allOf: which will restrict to only one of them: either port or ports. Best regards, Krzysztof