Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1926744lqe; Tue, 9 Apr 2024 05:02:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVAGPGetHtV74s5RW0Qxrv3rPkEU50hwi+qA4S5NIeQSyVRQZUWkMdOVImN+pwlOCoGdbmFvt0K5M7kdyiMe5rw7OuYdANLrLJmM0+vlA== X-Google-Smtp-Source: AGHT+IF29hLA3WFVFV2gKwxpBhlW4Xw+zEHepprKV4EyMPf0pYawh1Cf69+4aj5UUMWxqM4jt5ct X-Received: by 2002:a50:950e:0:b0:568:be6d:e5e5 with SMTP id u14-20020a50950e000000b00568be6de5e5mr8172090eda.37.1712664166049; Tue, 09 Apr 2024 05:02:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712664166; cv=pass; d=google.com; s=arc-20160816; b=tQdJlvXD3nrbvo1yRc3qt20S4xHldE5F0D0KkZbHW0V6x0Hr/FPAKEM6/iiYA4h7xo LWpEplutYh8sKASoKcHfLJV83iNDHacIQ2xOC5oGBLXmXp6kTWUrW7coWhJxw5zmPzqC 0h4tYWUilY/6UnbvU1h528YEYnrNRDVsEkfQkXIoBLBJOpYGOuAhvB2vNFR+z8lunSxM +vwrReCOqL23QVPpIuoyFCvFBsKjeF60AwzSxpnht6Ij9DnB/VSGWDFTCG65NSs/0wvh 4tV9kD1T4z5uM5rkV0LBpGGv6s2RgXF/mPG4ilqqugFcUyS12wIT2/K1lc5h/M8kZoTJ QHcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=cSp6nz56wMC32aMd/1ykclxiGTanj8T5Gy8HjXdRdnY=; fh=sTusqoPrZaeAaYxqYYvY6Bys5Mcwl2pehf/80ocwmBU=; b=PENG5Nc/m97CRBaxlV2OxkTsdAiNL95AtG4CAT2M9qt4bHapB5XbJFaXsbDoEbZHdh pk3PPUcOUnS6qj0r2DD3qTNkk6ro0sLRq5gDYlaSOgoTbKDLS2GwvsmLqJx8GPrTJ3UQ tdb2PrOF+A0nazwfjahvIAlZJNDZ+5ab1I35FXy4O8K4pcQcvVlShzi5e9peoKkeitsZ b8f3N7cqhMdzQd3pglarYwi6SUCqLyqrehg4Rl9PRxIeXWA83o2rgIIwtCOVEjsV9mge oZe+APbz648yn2ok/eaCoJb0kqgqsnHPPpOU36eWyxNBTo/1nLZaRM0bkArwuBO/LcYJ mZYA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=02LJsze6; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-136829-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136829-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id y14-20020a056402358e00b0056df5ba6dd6si4678072edc.461.2024.04.09.05.02.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 05:02:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-136829-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=@collabora.com header.s=mail header.b=02LJsze6; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-136829-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136829-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 C3CC01F243C3 for ; Tue, 9 Apr 2024 12:02:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C72E12D746; Tue, 9 Apr 2024 12:02:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="02LJsze6" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 A7C9A12B141; Tue, 9 Apr 2024 12:02:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712664142; cv=none; b=We2KSmzGwIEjOPS67vy5QoMlZwdaT4v8RhYivnCkonS8uNWXobUt/7A7hCbHPJlvdf7T6N9ewviPe6sflq9p+jY37IuXtkahupwrvF4M5luPgsxs6VBcewqj+7B9/vqhFGxv2L73FhG2yRh7hAQRWbJouKiyyGLgxwweMGE/NXw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712664142; c=relaxed/simple; bh=RnG3B99ztVcbahOk3drEuVbXdWqVnpm0upNaJDwbdkk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=evKWeNYRT59RtendK5tPMEBe4t4pmklLnC+ILwNsQsvWom03qMeit8FbBg2xyDsxmaiZvPJbiNmdxBsfXlVNg+qjAz2JZ02UWKBu4gUbX/dpytrpXMn8HSy0meTmRgREDEeToFRH0Eacys125GCJ+7T9vE1n8LAIigj+l5AFNA4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=02LJsze6; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1712664138; bh=RnG3B99ztVcbahOk3drEuVbXdWqVnpm0upNaJDwbdkk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=02LJsze6QLQiLv2EXVYreZKP76WUn0F+q/qMJJdJfXvMRPVGtoAM84t5KMtursmj3 FNPz60BB07Y6ukGV8s05Rtp8BQiIfbOaqbb0R+3/p00detYIKfhKaIRLumLwxy+e1W 8mOwENn1sLLOQaA5WABdCLB6S58wpyePPWaUJ+T/MBJN0ErQkqFIhyyYXIzHqMmk9b /DzgtYIK923+pmJ1wyqa1r3AF1/G/2GmtN1tcJvpywCc7BjShsy823jw/9GsjaVbc8 doF/6wQ7mXUKX8GhC18Ybk9+gE2eNZnsRDZRhBGGa902isXX/KwFqd0ivW0MWlJBbI WEHC0s/KK4R0Q== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 7B52837820F8; Tue, 9 Apr 2024 12:02:17 +0000 (UTC) From: AngeloGioacchino Del Regno To: chunkuang.hu@kernel.org Cc: robh@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, angelogioacchino.delregno@collabora.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: [PATCH v2 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path Date: Tue, 9 Apr 2024 14:02:10 +0200 Message-ID: <20240409120211.321153-3-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240409120211.321153-1-angelogioacchino.delregno@collabora.com> References: <20240409120211.321153-1-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-Transfer-Encoding: 8bit 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. + 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