Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1200464rbb; Mon, 26 Feb 2024 01:47:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVNWnqwpHftun8e2rUJ0PJbmiexKlRCw7D5/v7pf/Z6S3vFsQjd3ZDc/rsIb9s5bMEK3xsfSWYaUQnUMWJ77xX05XBiz5yU7KRd6AHo6w== X-Google-Smtp-Source: AGHT+IG/s8FEv1NdZRnktqxFGTS56K8/I1KEQQ38QrVeTL1Ne4hTQKpHJgczUTyKM4c6yJSBpmA4 X-Received: by 2002:a17:90a:9bc5:b0:29a:be1a:ea40 with SMTP id b5-20020a17090a9bc500b0029abe1aea40mr1621437pjw.9.1708940864721; Mon, 26 Feb 2024 01:47:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708940864; cv=pass; d=google.com; s=arc-20160816; b=l+seNUaBGoCOn7YruTLDuoqTcl7Jp52JcDMl4ioQm9fdwHCRAaAg7mTq9ziz62JEoI ffb7i10QdTVRIFTf2hKvzH3DUJUQ5c0yNXvwv73y2BC+2JUkVqEpdxIuh8B9Ion9+RvD mX8jfAeKPaQBSa07666oFkSKtX23skoTjyCec/rivb+6i3mhYxSM0K3Vz3D/ZCxjRO2c 0f68e3iTmrzYDQ3fOH7tNkGNG4zXfQ3QjosQ/3CALHLbibOO+653BdfA4BdjqJnCb3in Xl6+vt72fsuT8fL1uetdg6fqwjKeFbJxZ5s359Lm6Z50SrgdppxDYR4p4bzL//TwJIJL pJFg== 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:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=ecRoWB6BvHUhdzEjksTvnhXSI1/zwOKVS+LkVvmOMPQ=; fh=77uc2izw0zJo0rTUA1upqLAKd9WwoEBjmkd+DVYBns8=; b=VWGzquowlKVR4WSrTgctnE3Dxw8x2hePh74GYd+sE8hlBB+1d3GBwcUitZCbZIql3c RCEb7iYgdJOXEfaHEte0iqGd247xOM2dsUDI0u+I9nKvdCcCpBlXG+20/zs2rc7Oe7Fm GvVPtQDwXflczqyD+f9qTezxqRyUd9Wvt9mk2S2EdDMdUL5VIC+kNedn7FquJr6Mhw3k pRBY77D57g08UPPavdoO/8ZCOyloQR6F7DRtiYsXtuB95atBMS9gbd5SINYuuvhJg7wm 3fnQjPanmPcCruZdNnDMsSjIy2wC02VuEJVo8cC81BSkKwmLBQUbw9y+MvYAynDeMK8W m5PQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VeiK6zdT; 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-81018-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81018-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 pq13-20020a17090b3d8d00b0029ab9d892a8si1768161pjb.8.2024.02.26.01.47.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 01:47:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81018-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=VeiK6zdT; 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-81018-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81018-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 6B43C2868A1 for ; Mon, 26 Feb 2024 09:47:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C58384FB2; Mon, 26 Feb 2024 09:13:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VeiK6zdT" Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) (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 7047D82877 for ; Mon, 26 Feb 2024 09:13:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708938785; cv=none; b=F9bGxDvilbjE2X1OtAC/lu4GcK/cjUh77dlGVMBb2wnbAKJpc+QdNnzOluDQ41T/ivhPYB1MJCPS0ciELw3xVhDwn5ZcqnTVZ7tWl0ieN89gHnaikN2uhYgdRZN4oGmcqjeRbTnMzNTSUWecU6o9Z07voWLRKJylFcMkm+Zh7qc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708938785; c=relaxed/simple; bh=KWGbGG8rfrPPvdpe7G9H/psbmmodTAi/gM+lU2rSfZ8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oicfK9pPPsxmSzHkdEUk925M+I0QbadRpvDE/pAmjOmxQ5hZWX9YQET9O5j7zEipdqr2gqsd/u8p05MWNQA8y/hQnu2aLsHgHmeASVslEsWfjxK5o2lwtPdc3sIse+klmsbkPS/PKLp0jw8CgOH+950JQFGneefU778N7FJ4rgQ= 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=VeiK6zdT; arc=none smtp.client-ip=209.85.160.178 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-qt1-f178.google.com with SMTP id d75a77b69052e-42e7fa59fa2so3049651cf.0 for ; Mon, 26 Feb 2024 01:13:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708938782; x=1709543582; 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=ecRoWB6BvHUhdzEjksTvnhXSI1/zwOKVS+LkVvmOMPQ=; b=VeiK6zdTqFj55xYZ506gR2kNCHhVwYGOZFuqjRKF8+p7mTzcIh95YmhuZwbjfADuBQ l0sUS01sKxbcO+V5wAqPyh+AXwfJDq4RVYyZEEJM1K/d1yRQHCjPvFnzdZYqvygrQxec lhkz3YborMaKIWsbP6Ur0eFRf2hxb0F92w7Z6MPDbaaKl2ShnzUXc6Ur+cw8eCwEjIqE 4eIp4dzMYq8eiDEUYC8+0AMm5Ua0IPWPtsPQDSwhL/WvgS86tmrHvUz4tEPwUMATLO2U zBnZtFHqvBUvtG09wyaw8AZkjBu7L13AnT7Z8tYw4CVkELzD12L4whaaSXoR96Ao2txl jR3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708938782; x=1709543582; 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=ecRoWB6BvHUhdzEjksTvnhXSI1/zwOKVS+LkVvmOMPQ=; b=OLigmTrTmNcYy8KgbkGKXyPDtE2LdRyhueNPFdF8Xd+cegZew/+aKgsCduH/1WyIJU GStYGMazHYm4FuIvjspw/u2tQJQOcAo6fXfjEkT5izTa9mPbUx1Z4q45dI8e1Kdu5nsh XoRRfbmGSXEQ6+KFD9IO3baEToYXh4eIP442LtT2FfugG5zXQdIhBV+E4J4b6tosklbE LWITn6/+7sBthw2BrHfRaw2B3LxlqOTBDXpEf4KdDFhZ+NsY+ufKX+oaewMCSlY5o5ZD XKWqKHB63YbkwZtqI6y4NqmsDaRKWmgom6+ZYqpzANcmtQ5gjPaVKhXYsjN8TwY571+9 pQhg== X-Forwarded-Encrypted: i=1; AJvYcCUzVIkHJOob5/PaaGuTkmL/7CYRA4w8VH0IovQUQuGCvnOGl6swKLzJl6H5uMj6zIEkpjZDO8Ing+cg5glzhaEvJ7cnMxE7ABv+C1gc X-Gm-Message-State: AOJu0Yyr+DkN2XKnAMRp24JhKZA7QDt1oEJA44kbHLMumGxZ3qR8W6jD g4xqyjRC99/XGft4zZMPupJrUrLGz7fcwAOu1le6EVZzRiiKY7OGRe8CH8hF5Vc= X-Received: by 2002:ac8:5909:0:b0:42e:8bb3:33b7 with SMTP id 9-20020ac85909000000b0042e8bb333b7mr871347qty.11.1708938782433; Mon, 26 Feb 2024 01:13:02 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id o6-20020ac85546000000b0042e637083b7sm2221677qtr.26.2024.02.26.01.12.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Feb 2024 01:13:02 -0800 (PST) Message-ID: <13aeb2ff-72f4-49d9-b65e-ddc31569a936@linaro.org> Date: Mon, 26 Feb 2024 10:12:56 +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 Content-Language: en-US To: =?UTF-8?Q?Pawe=C5=82_Anikiel?= , 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 Cc: 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> 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/XDVpb1Een2XucPp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6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240221160215.484151-9-panikiel@google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 21/02/2024 17:02, Paweł Anikiel wrote: > The Intel Displayport RX IP is a part of the DisplayPort Intel FPGA IP > Core. It implements a DisplayPort 1.4 receiver capable of HBR3 video > capture and Multi-Stream Transport. The user guide can be found here: > > https://www.intel.com/programmable/technical-pdfs/683273.pdf > > Signed-off-by: Paweł Anikiel > --- > .../devicetree/bindings/media/intel,dprx.yaml | 160 ++++++++++++++++++ > 1 file changed, 160 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/intel,dprx.yaml > > diff --git a/Documentation/devicetree/bindings/media/intel,dprx.yaml b/Documentation/devicetree/bindings/media/intel,dprx.yaml > new file mode 100644 > index 000000000000..31025f2d5dcd > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/intel,dprx.yaml > @@ -0,0 +1,160 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/intel,dprx.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Intel DisplayPort RX IP > + > +maintainers: > + - Paweł Anikiel > + > +description: | > + The Intel Displayport RX IP is a part of the DisplayPort Intel FPGA IP > + Core. It implements a DisplayPort 1.4 receiver capable of HBR3 video > + capture and Multi-Stream Transport. > + > + The IP features a large number of configuration parameters, found at: > + https://www.intel.com/content/www/us/en/docs/programmable/683273/23-3-20-0-1/sink-parameters.html > + > + The following parameters have to be enabled: > + - Support DisplayPort sink > + - Enable GPU control > + The following parameters' values have to be set in the devicetree: > + - RX maximum link rate > + - Maximum lane count > + - Support MST > + - Max stream count (only if Support MST is enabled) > + > +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. > + > + 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? > + > + ports: > + $ref: /schemas/graph.yaml#/properties/ports > + > + properties: > + port@0: > + $ref: /schemas/graph.yaml#/properties/port > + description: MST virtual channel 0 or SST main link > + > + port@1: > + $ref: /schemas/graph.yaml#/properties/port > + description: MST virtual channel 1 > + > + port@2: > + $ref: /schemas/graph.yaml#/properties/port > + description: MST virtual channel 2 > + > + port@3: > + $ref: /schemas/graph.yaml#/properties/port > + description: MST virtual channel 3 > + > +required: > + - compatible > + - reg > + - interrupts > + > +allOf: > + - if: > + required: > + - intel,multi-stream-support > + then: > + required: > + - intel,max-stream-count > + - ports > + else: > + required: > + - port Best regards, Krzysztof