Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp602894rdb; Thu, 15 Feb 2024 09:27:39 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVaV0b6tq1F+EA9wA4kSSxHrCCvrxJQUk0uVyVoPdyBcgGcjjMJj8/Y93AjcAcv+eEZmlYj2Dnf5ea2f9ce3usi3eaGrufo1SbIWNi1/g== X-Google-Smtp-Source: AGHT+IGvfIXlw3lxROERzBr0kfHMUV6uOTydTZ1Lbpfx7MFLqXiTiaQfszolQbtlK5tNe4WwYr0P X-Received: by 2002:a17:906:af0f:b0:a3c:3612:c2c6 with SMTP id lx15-20020a170906af0f00b00a3c3612c2c6mr2013437ejb.8.1708018059384; Thu, 15 Feb 2024 09:27:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708018059; cv=pass; d=google.com; s=arc-20160816; b=tMnCdkwSkeorrf9UnL+rkZI1zUT4Boyy7PV2/RrpGcdrnW1QGhScO80wTzLKrrE+/P /qTcDqqY1D+VUdTlYydbOSYGx06QGss/jiqSDuyZCGnSZgLj+z2IzVHkLO3eZiOgTa5n pQyuI0fgRV8DEYe8SG2wOZGHrYawRRZXm28wV/BSHutwS8Sel+Z57MmBx9oTARmd7Pud dd1gd4v7gz2g6oQQDkQQgN/bAAyRCiHK9SkR35SorbXnJOM8P/yfJxl1hqrd750mKNVm rwwbha7yRySdm0c4hCspT8iIdpBtdhIcz+LjuSO59Rn9UGuai/kBOzdqXDH1OmMqpi13 lq4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ise8Cu+UbXWESGflFMet1gwmT+TehTdP0o9RjsmskPk=; fh=6UGJxGAIXRHcThKRyjkD9aHO4bOFc8uRy1jjupwr2Ds=; b=JJm9d5G92D9iUY0VzSvAKWSFRUVtCEj5hdS1jZ0ta9bYDvsRyLFehZc2wm2hgO9y56 t3uMn09rLp+5ufoV9IHVSLYB0L4ZCH3bBJg6sa6100AiIGKPdj1hSEN/rn9N4cXRCw7y bM9c8UuRTIMLaDCp6pVYtxT1g7l7nx768gklX2o6Dt6hiyWhVFuRhIcEMp7Ck/WBwInT ppWistd26a8HGmcQVzHeBwHpyApclP26M0Mve7YAM+FR1JOOalxl3ebV7GV1QP9K5iAN i0EVKwF/HF3MubrUGhKzLoqmC+r8QWVSRpiRP9wGECEIHQxkK2fQ5rcIjMMxpGC/PgFZ rZqw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Emff3pkv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-67405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67405-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t24-20020a17090616d800b00a3839a7c576si784752ejd.333.2024.02.15.09.27.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 09:27:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Emff3pkv; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-67405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67405-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id EB2181F23902 for ; Thu, 15 Feb 2024 17:27:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B200B139570; Thu, 15 Feb 2024 17:26:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Emff3pkv" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D7B21369A2; Thu, 15 Feb 2024 17:26:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708017989; cv=none; b=t2ev7YHIhZAaO1agd2C/N/ABr/SMVGxotT6gBWpkrdOEd8y/kVRCtu/I8IqZBVbfIadDGVyOg71zjxdnpS9kWR315wx3QgwUzsm2HlY0bzliS4sLVnBAeUQkYpqPcbA5J+3IlXeGc6LAQIMl5XaoUWXufMGA9pmyM8oHbUUDaU0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708017989; c=relaxed/simple; bh=eSq19Hx9R3mJB4qxGio917FATDQAO4ZEh4JWZW2Mwcg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Pn3g5FKeM6qOSefPN+NU3PzLfVhR0z2M7R4xIffCl9BpGOB8oGHD3ROJP3fN9cYjqV98G/GJ9oKcxJG0uLQQyUcg4nnoYfzBvamDWrP4hZ29GWYFCgPrTat4mcGeFdLDoo7M61mV82vD3e4b8E6ds6k3x5FncAoZuuuhe/5ye2Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Emff3pkv; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72583C433C7; Thu, 15 Feb 2024 17:26:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708017989; bh=eSq19Hx9R3mJB4qxGio917FATDQAO4ZEh4JWZW2Mwcg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Emff3pkv9SMwmr52IwT3QfZi8fKIdBD5hhfK9jDgUY0Xykumd+Hw8LHlyZvF644tZ Wh+kitCoR8zbNcriaHGLEUuHQ4F0uG2i2Pxa44S+DkojGiZ4SECBwbxYuej/uw2cNY J7onXGVpGHFcU7pByOsf1fAAOASYSFxGNdmifzhi4/yf+6br22aeFFOFb2aKrLog0g Pxb1gzXNxi7QIMdbobSa/FvMtewoPlVC79zVB0uF8kaP/4t6IkbOY8AUspr4+nSjwu X8IP1FMKwppSvrY6E32K1ga6ZqFjysf3iRifNN3TqddSTGzlABefXMhqzCXWYsUq6U 2wXRrNyh3rKuw== Date: Thu, 15 Feb 2024 17:26:23 +0000 From: Conor Dooley To: =?utf-8?B?UGF3ZcWC?= 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 Subject: Re: [PATCH 8/9] media: dt-bindings: Add Intel Displayport RX IP Message-ID: <20240215-moodiness-concert-0050a16f644c@spud> References: <20240212131323.2162161-1-panikiel@google.com> <20240212131323.2162161-9-panikiel@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hSfnCMcAR7JL8pIR" Content-Disposition: inline In-Reply-To: <20240212131323.2162161-9-panikiel@google.com> --hSfnCMcAR7JL8pIR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Yo, On Mon, Feb 12, 2024 at 01:13:22PM +0000, Pawe=C5=82 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: >=20 > https://www.intel.com/programmable/technical-pdfs/683273.pdf >=20 > Signed-off-by: Pawe=C5=82 Anikiel > --- > .../devicetree/bindings/media/intel,dprx.yaml | 125 ++++++++++++++++++ > 1 file changed, 125 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/intel,dprx.ya= ml >=20 > diff --git a/Documentation/devicetree/bindings/media/intel,dprx.yaml b/Do= cumentation/devicetree/bindings/media/intel,dprx.yaml > new file mode 100644 > index 000000000000..3ed37e0a4a94 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/intel,dprx.yaml > @@ -0,0 +1,125 @@ > +# 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=C5=82 Anikiel > + > +properties: > + compatible: > + const: intel,dprx Please version this compatible, given that is it for an FPGA IP. I could not find an example of another intel IP that had versioning, but there's plenty of xilinx stuff you can get inspiration from. > + reg: > + items: > + - description: core registers > + - description: irq registers > + > + interrupts: > + maxItems: 1 > + > + intel,has-mst: Mostly this looks fine, but this property drew my eye. Firstly, I'd probably call this "intel,multi-stream-support" rather than "intel,has-mst". > + type: boolean > + description: The device supports Multi-Stream Transport Secondly, there are many many configuration parameters for this IP, but you have chosen to document just one. Are all other configuration parameters currently in their default states or ignored by the driver? If not, please at least document all configuration settings that you rely on - for example the max stream count or audio packet encoding. > + > + port: > + $ref: /schemas/graph.yaml#/properties/port > + description: SST main link > + > + 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,has-mst > + then: > + required: > + - ports > + else: > + required: > + - port > + > +additionalProperties: false > + > +examples: > + - | > + dprx@c0062000 { "dprx" isn't a class of device, please try to use a generic node name here. Thanks, Conor. > + compatible =3D "intel,dprx"; > + reg =3D <0xc0062000 0x800>, > + <0xc0060f80 0x10>; > + interrupts =3D ; > + intel,has-mst; > + > + ports { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + port@0 { > + reg =3D <0>; > + dprx_mst_0: endpoint { > + remote-endpoint =3D <&fb_mst0_0>; > + }; > + }; > + > + port@1 { > + reg =3D <1>; > + dprx_mst_1: endpoint { > + remote-endpoint =3D <&fb_mst1_0>; > + }; > + }; > + > + port@2 { > + reg =3D <2>; > + dprx_mst_2: endpoint { > + remote-endpoint =3D <&fb_mst2_0>; > + }; > + }; > + > + port@3 { > + reg =3D <3>; > + dprx_mst_3: endpoint { > + remote-endpoint =3D <&fb_mst3_0>; > + }; > + }; > + }; > + }; > + > + - | > + dprx@c0064000 { > + compatible =3D "intel,dprx"; > + reg =3D <0xc0064000 0x800>, > + <0xc0060fe0 0x10>; > + interrupts =3D ; > + > + port { > + dprx_sst_0: endpoint { > + remote-endpoint =3D <&fb_sst_0>; > + }; > + }; > + }; > --=20 > 2.43.0.687.g38aa6559b0-goog >=20 --hSfnCMcAR7JL8pIR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZc5JPwAKCRB4tDGHoIJi 0gBLAQDhmoTNTAhTFhv9uO2IJ/2GJs5qeqMZXhKTI+ttHPKd1wEA43adUWXt/iGD f7ogI1OIq4ytqQCW75qGuHEwYznCAQ8= =drWq -----END PGP SIGNATURE----- --hSfnCMcAR7JL8pIR--