Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp761568lqo; Fri, 10 May 2024 14:16:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX/G+VMC53BDFtv7NSKc8W69gJeu1+1ZPgbjJ8V6Djlwo5Bq2Fw6F4fa1MxK5ZfxNgJsc34/d2KOUTk+zhkQVoRQlln8dvWrrUVAJ/Ljg== X-Google-Smtp-Source: AGHT+IElo4oTpKiM8dVhFBToh7aYq0ubK9aMveUATpDb+EY2+DEDuX4ojJSLJialtqVqaX6Q1RQO X-Received: by 2002:a05:6a21:33aa:b0:1aa:5ca9:c564 with SMTP id adf61e73a8af0-1afde0a9a66mr4834130637.5.1715375786015; Fri, 10 May 2024 14:16:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715375786; cv=pass; d=google.com; s=arc-20160816; b=f5Zyye4ba+oaA8VZ4zZgMJQn4RPUObBycsJt8GsAn+W6pAYErM054Gytq6eynNVwZB ay51PSa+frY5r/1fJZrTcZ5Wub6tzpdrTwGzMvNl34pxo3MX4PcqIBKbQqbmXVsq0MMX Z+EmbI3wtMpAyLcYhYEu7hVilC3ncSDkddfsIL96QNJW2ylB6emuddUgx7hXq/axI/Lu fEfoGd6+uPu8GEVL4MishkyxIXG9g19DdieWn28cOprQT5xz/nKtSYtZtjfWV3ncisC3 gUzRn6NSZIOSyfp320rw9+yyShPMphWmiD/i2gE9p8f2r/h8ab89uPhPl4HqSGUVApDb li7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=JBvwAJj9ECrTX/hm7IKk89Pq4y8el4nx0n1821sCMRM=; fh=1Ek1cz93nmxeCSHCFVr90wIq+OKglfIU+jdeTEByreM=; b=PdO9VJFO/RKosLU4hHqhW1Z2KPxu4U8WkFLzevBb1mcoRGvoeWqIqsHfADHWu8Cdi0 sjt0A7/iV/ywnkjCqpXDBJGzUg6glEETOHUUiVTtAo4b8AMSylfk6aa8HttWXotizOhC VtQ7RUk/QoApvevRnN2YXXl8Bb/RwymTrJKpEnLucOqrDH+9EzvdDkhpMr20rVHko6Lp IZOw2gSYU3F9qDZlN+le45YF1mzMgTTrz/V/3EBzmIuu4z2zPPc9juc0iR6wZpId5IHv +lkLdzyEYOfpZ1+E4R8JHbnyfqN788pdrkokv7Q/7fukFcmLoqy4ehubvfSm1HgQsDpM mcTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VV6lfcdM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-176203-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176203-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2b41c3csi4438429b3a.330.2024.05.10.14.16.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 14:16:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176203-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VV6lfcdM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-176203-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176203-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 778E1283F5C for ; Fri, 10 May 2024 21:16:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 530BC13B5B0; Fri, 10 May 2024 21:16:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VV6lfcdM" 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 7246450A93; Fri, 10 May 2024 21:16:15 +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=1715375775; cv=none; b=U24OP4iKFcdyEechwB1Y4Rctesn8rDuHyPppVi0yvYBiv4sV9CJB39aULYihMflJyLIPgg9eHjdTnxqOslxGw7rCJBM9ZwUNYHYqAoz+/sZ8oUYLF6xF9zmUNcCXnVgC8eSsVGu6melxg0cjyE/YgIQd08hPrYkixGzYnrY0I4U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715375775; c=relaxed/simple; bh=K6EhDqPaBDztZnvn/KM7LNk+8HMiGpLYxVSS9Ir0nE0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tWFw9O8oGGNcvHfLSBGnTR43d6w/Yhwzlfsne8UE3zYdNd9HYiQG2jvA04/b+hp2NobMUcyhRHPe9unKk0sNrqfIvOndkUQR7ZgCuadR1FGr88Te9tYXoSiU9ufdfhUGeizui2RHe3OCWMuT7WY3jxSZUqBGanv//xFsGc3T2uc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VV6lfcdM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D8C08C113CC; Fri, 10 May 2024 21:16:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715375775; bh=K6EhDqPaBDztZnvn/KM7LNk+8HMiGpLYxVSS9Ir0nE0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VV6lfcdMZ0TEjobmN5Nzgr3+3HR8pdRWF9d4Tnw0OacGPSKaGVHIlittLNo2vJrfJ WHLsw1Dx9SSdjnHP4Fhea7jUQT/K8F1xt0pv0S6o4tbO96gx8ONtXYiIxV8Ygv75/z cjjqP5ML5eRiwqhovQDS7Jn+mbuVBzCvMGuR3sY1ujFgSBscZGBPlVpB0GxKWihM+x oJby08HePcWDP3vAiw++HgLIOXapLAZhB5wBd8C6bIHJgBlLXLI9v5UD8iDVlG0OIJ JOPmRKvMgaHqPzMpyxQ/KyLFhe1F00hbYN+rFEm5Esg2qTTXN82HpuFrjbU1d95o1Y eE2aByExTAlpQ== Date: Fri, 10 May 2024 16:16:13 -0500 From: Rob Herring 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, 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 Subject: Re: [PATCH v3 05/10] media: dt-bindings: video-interfaces: Support DisplayPort MST Message-ID: <20240510211613.GA751688-robh@kernel.org> References: <20240507155413.266057-1-panikiel@google.com> <20240507155413.266057-6-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: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240507155413.266057-6-panikiel@google.com> On Tue, May 07, 2024 at 03:54:08PM +0000, Paweł Anikiel wrote: > Add a DisplayPort bus type and a multi-stream-support property > indicating whether the interface supports MST. > > Signed-off-by: Paweł Anikiel > --- > .../devicetree/bindings/media/video-interfaces.yaml | 7 +++++++ > include/dt-bindings/media/video-interfaces.h | 2 ++ > 2 files changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/media/video-interfaces.yaml b/Documentation/devicetree/bindings/media/video-interfaces.yaml > index 26e3e7d7c67b..7bf3a2c09a5b 100644 > --- a/Documentation/devicetree/bindings/media/video-interfaces.yaml > +++ b/Documentation/devicetree/bindings/media/video-interfaces.yaml > @@ -94,6 +94,7 @@ properties: > - 5 # Parallel > - 6 # BT.656 > - 7 # DPI > + - 8 # DisplayPort > description: > Data bus type. > > @@ -217,4 +218,10 @@ properties: > Whether the clock signal is used as clock (0) or strobe (1). Used with > CCP2, for instance. > > + multi-stream-support: If MST is a known term for DP, then perhaps "dp-mst-support" for the name. In any case, 'dp' should be in there somewhere. > + type: boolean > + description: > + Support transport of multiple independent streams. Used for > + DisplayPort MST-capable interfaces. Wouldn't this be implied by the devices at each end of the link? The drivers for each device should really list out features supported for the link. The mode used is then the union of those 2 lists with DT properties only used when the union is not definitive. > + > additionalProperties: true > diff --git a/include/dt-bindings/media/video-interfaces.h b/include/dt-bindings/media/video-interfaces.h > index 68ac4e05e37f..b236806f4482 100644 > --- a/include/dt-bindings/media/video-interfaces.h > +++ b/include/dt-bindings/media/video-interfaces.h > @@ -12,5 +12,7 @@ > #define MEDIA_BUS_TYPE_CSI2_DPHY 4 > #define MEDIA_BUS_TYPE_PARALLEL 5 > #define MEDIA_BUS_TYPE_BT656 6 > +#define MEDIA_BUS_TYPE_DPI 7 > +#define MEDIA_BUS_TYPE_DISPLAYPORT 8 > > #endif /* __DT_BINDINGS_MEDIA_VIDEO_INTERFACES_H__ */ > -- > 2.45.0.rc1.225.g2a3ae87e7f-goog >