Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp350395lqj; Wed, 10 Apr 2024 12:17:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCURmefPo6nzCyqnbjsM89oaNFFldOz2FRZIIjl8lfbi4nsxQOl0zW2DDdYJp54ybopb6YQ9+n2bBTqBKPJsX2Th+OnzBq3z+6sKpml3IQ== X-Google-Smtp-Source: AGHT+IHLq/yYoX3lVLMebOpgYWQ/9tQLlHFCHOQ4DOb95YsCHSqQeoaiO0fH3HZ19w5W+85gn2z6 X-Received: by 2002:a17:903:2441:b0:1e4:1fb8:3216 with SMTP id l1-20020a170903244100b001e41fb83216mr4196393pls.52.1712776636803; Wed, 10 Apr 2024 12:17:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712776636; cv=pass; d=google.com; s=arc-20160816; b=IL9jbB9XZH8O6B14r9ZPdIhykpJWBZ/m6HA80xd3oY09dYMgxithALviIa+2+jHOrs 3TwOp4rcSd/YLQfBPAuJgYxsy1r95TLD0FOoMZEK6gGsBt9vRooH0csTn8RrZAvHD/0g DAByHezBPHO0VXfjus6UEdJsdbyXNFC5qAxhrxGZx9rp7Q8nv99cTIlbuR11HYnUSKF7 EnZtBUbtTYh5loOnTHpGlPW3f19mz5zXOKRMwkPHCHDX8qaG/BKiNatCHzAEuSa0N0ze CtK7yJyREUWRvHxkICMULkg6Ub3RWHdF5WjO83wn/6AW5UIT7/1IO6igsdT1zfI1Ie8H vfEw== 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=ZuN+F9V8zQKDQ2JVnzohQXPyx+7uGvUKPz6LV1hDlDU=; fh=xeRDUKieFb3fjiiAt0Lbox60KD9UR5WNbbAbWEyFTSU=; b=Wn6KeShEaivfcgf7bhmzKvoHg5VMgxzC5LUtEwZuQCny0SulytzMe6lArnAynRk3JI XlJUKFchV4ueFCU+Pk8anBEvbAi35Fs/8NvsQpWgTCvI4gP2b4YoxcS9N/34+zVYSx7o 5ybjCuGIFT75rqxthRQUVsAy0zRicH914caaDdIPcBLBGKPs2EPxe5lVZim+mg3XMlOc ldL5TVodti67V/h2+3CYksEyGx03xaLs5/XKt/nk9rrFCCwI0FWkHqZ47sCknu+is1bo ZnKRDKkGOEFuLvubB5opSu/wv/PRPq5tg3nUmkSt/VhX4b1EINBi9Dubb8vyAapT+nX4 lovA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="O6D/MyhR"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139249-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139249-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 y7-20020a17090322c700b001e23d5d66ecsi4445120plg.191.2024.04.10.12.17.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 12:17:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139249-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="O6D/MyhR"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139249-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139249-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 665CA286ABF for ; Wed, 10 Apr 2024 19:15:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A469D181305; Wed, 10 Apr 2024 19:15:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="O6D/MyhR" 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 C866417F370; Wed, 10 Apr 2024 19:15:27 +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=1712776527; cv=none; b=BfJZnbt2Z5sDAXnIrmUt3HlJkwW4z/X6n9OPG66FbZUEhjLiky2fwsjrBrZ4Aob9HGmVaOKo0fA2w79rz/qXU0Qc2FKAWV24gJAqMviKEdzFXyUl6rGQirMZlg37i/XhAcAb+yMWhEjB2Ssq0WeoFX8nlgLaAxu9BKjtF5IruQA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712776527; c=relaxed/simple; bh=Y8HrYr9N2X54zlXcRSCoc2hhNScMqkdWP9FAh9Krwpo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=A084uA4dNvH4idQ6Z5B4G+hJKsct0gr1DEg08JZxh6+5TATgYtZgwg0l0jYjE3w+RQ/lCMahLvvv6y7LAod/Iq0iAzjmZDdduKOVZn+47wev+4UsJNQLODr0hFj9wRONRdd2O8WK7qTCeoIatCdkwi87QaYxklDqEeVRx47twpA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=O6D/MyhR; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3F79C433C7; Wed, 10 Apr 2024 19:15:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712776527; bh=Y8HrYr9N2X54zlXcRSCoc2hhNScMqkdWP9FAh9Krwpo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O6D/MyhRjX4ilUEZ8v2TxELy3AD7IFMbhHI+0f3QYn6legTjbs42EOHPa6Zy/N1Cv 8YdZnZW13beNY1N/uwPLTXi/TBR2m5pfJzQ48FsByqAFNfWGKYGXjP3lH8eU47iMcN CSB/bud3Vs5fHAeuVXp7i9I4vmDpFB5W2U1iP6Z8oHNACDu9ZoGsmH7b8xVMCdLRjm giGQSJMdm9AAKD2Q+Mar3iE5l6Pq7TiMnEkuHcnLw+Xl8E8yOeEpYeAO4VuVf0msiJ CDs7PTm8dmFC/Pzq/Jg8gMPDsu6+wGfX2fqBHzQvlC4gxjU8Lrg0WmgZQrSfZDqG3+ 92LTTQTuF6w+g== Date: Wed, 10 Apr 2024 14:15:24 -0500 From: Rob Herring To: AngeloGioacchino Del Regno Cc: chunkuang.hu@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, matthias.bgg@gmail.com, shawn.sung@mediatek.com, yu-chang.lee@mediatek.com, ck.hu@mediatek.com, jitao.shi@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, wenst@chromium.org, kernel@collabora.com Subject: Re: [PATCH v2 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path Message-ID: <20240410191524.GA903053-robh@kernel.org> References: <20240409120211.321153-1-angelogioacchino.delregno@collabora.com> <20240409120211.321153-3-angelogioacchino.delregno@collabora.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=us-ascii Content-Disposition: inline In-Reply-To: <20240409120211.321153-3-angelogioacchino.delregno@collabora.com> On Tue, Apr 09, 2024 at 02:02:10PM +0200, AngeloGioacchino Del Regno wrote: > Document OF graph on MMSYS/VDOSYS: this supports up to three DDP paths > per HW instance (so potentially up to six displays for multi-vdo SoCs). > > The MMSYS or VDOSYS is always the first component in the DDP pipeline, > so it only supports an output port with multiple endpoints - where each > endpoint defines the starting point for one of the (currently three) > possible hardware paths. > > Signed-off-by: AngeloGioacchino Del Regno > --- > .../bindings/arm/mediatek/mediatek,mmsys.yaml | 23 +++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml > index b3c6888c1457..4e9acd966aa5 100644 > --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml > @@ -93,6 +93,29 @@ properties: > '#reset-cells': > const: 1 > > + port: > + $ref: /schemas/graph.yaml#/properties/port > + description: > + Output port node. This port connects the MMSYS/VDOSYS output to > + the first component of one display pipeline, for example one of > + the available OVL or RDMA blocks. > + Some MediaTek SoCs support up to three display outputs per MMSYS. I'm have a hard time understanding this, but is it 3 outputs simultaneously or connect mmsys to 1 of 3. Generally it's multiple ports for the former and endpoints for the latter. > + properties: > + endpoint@0: > + $ref: /schemas/graph.yaml#/properties/endpoint > + description: Output to the primary display pipeline > + > + endpoint@1: > + $ref: /schemas/graph.yaml#/properties/endpoint > + description: Output to the secondary display pipeline > + > + endpoint@2: > + $ref: /schemas/graph.yaml#/properties/endpoint > + description: Output to the tertiary display pipeline > + > + required: > + - endpoint@0 > + > required: > - compatible > - reg > -- > 2.44.0 >