Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1105140lqe; Sun, 7 Apr 2024 20:20:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXctF78+JLvG1No4lOOX5BVS8d/GPl8HL2rksM39rU7zP2hGsDqRnJ2jNBXIGqipxcqfehVZzyJOybcFEQ1m7Vn03pWGvV41h2hx3ROVA== X-Google-Smtp-Source: AGHT+IGuoBkGRHyOFiPWCgH3eEn0br3Ehn+EL1SuhA+QjqSD3NgI3vJplmy7kXGWXgHIgXQSPIIM X-Received: by 2002:a17:906:5596:b0:a51:79ed:8f80 with SMTP id y22-20020a170906559600b00a5179ed8f80mr4469750ejp.44.1712546459138; Sun, 07 Apr 2024 20:20:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712546459; cv=pass; d=google.com; s=arc-20160816; b=biN9TTS8qoXL7rNnjyLc5hN/fLUKYBhHq+A5+E4uSncCh3hK1DrOCxILp6uojY2CUY j+hmJshqjEjMXJG9y/hw0jC3wkk1VoP0nw+GfAhF0mdOLR3u0vj8KW1fSBoUPqefGLj/ Xy7hu8QUL7KKBdhDfKjbxgXGzTK1iDEMkrakYsRq7XkowMWcMmV0EjPZQcRs8Rw78TsW UW6muBIswsx7Svp/LCDwU0ORT1dbQ9KryqwGYBSP5TTS1IwWF6DXzBHF+NqDM4TJaPgS FzKVA2UOfdM7qsqWYTNkL2euL1t3f2g1VoIhRHQaPw8rWoJUcO34/Y+Wo5zssKE5Lqhq tMhA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=98HjqpVnhziiB+tCaWwhwMYDm4sqJVU4VjSmJrU5jEA=; fh=STgmWoU+tUP9Wpm99FAeGiNl41/3Q4oS3ibzyOrjbUU=; b=JF/HP+qAOLVvQo+a4Z6yRIE2t59iWtiLP+5Nxaci4sFzSsDLGFh3pe2JjaXJiWPOkr L5LZGmK5zsqmxxqIMSBUvEqsNwse9dT0tH7lizip5I9faVNUG3qF9nX9aCiTRTB7aSW8 bm+XyOzv4+ymz+k8GEq6uG2yM4/inVohnvXx9l2v7YU9ht0pFi+9sKy0eALOaohNlxuI QKrqyz/27ylLgNtZWqsEjzXuDHt/PdKweFrMWiqVRO176eLp7wnyZhKOhH7Qn97PBxaU ONLsgXq59tbF5wj308ozWr01RAFQ/px9NljDwX5Q/BuNsEY4Pl56dOERVe6vxX1U02/i fkrg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Jgvbo77O; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-134750-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134750-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h15-20020a1709063b4f00b00a46cc196cdesi3178002ejf.247.2024.04.07.20.20.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 20:20:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134750-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Jgvbo77O; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-134750-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134750-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 DB5161F22125 for ; Mon, 8 Apr 2024 03:20:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D63B95228; Mon, 8 Apr 2024 03:20:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Jgvbo77O" Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 69D954A2F for ; Mon, 8 Apr 2024 03:20:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712546444; cv=none; b=cqq96cWxKZBSFz4n8mv1NgJYTG9etqm38J/I7UBiE91e1Hyk0r6TFoOeT4rB9YQkH4z3vxAfysH1nIhEb221dtPZ4Oyu7yxeGy6O9cL/eZPXB6IEU5th0r75sFvlNmzA1UhaKGjrDLdlnQI8jdi/uJEtCXAqeLeRfIFXDN0sDAM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712546444; c=relaxed/simple; bh=ojK6SlOHB17tCQIV04NpYZqymOAkU5cXNzX5Jd0mImg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=EGpTxycjqSymOL8EnP6dENDF1kQ/8wGIDWHpJadQ8/FBUn88Lq7+NKZ6d4PR9k69DcWj+TeqiI7tbKKVOBl0EZVvpbOt+J7lG0uvdMKnB/VeP9y72I4dQ8ipZuHH5gc1ySqruJ0YzjnSqTyovY1ihgPOGhgiurwkutQgHLIxGT8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=Jgvbo77O; arc=none smtp.client-ip=209.85.167.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-516cbf3fe68so4794526e87.0 for ; Sun, 07 Apr 2024 20:20:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1712546440; x=1713151240; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=98HjqpVnhziiB+tCaWwhwMYDm4sqJVU4VjSmJrU5jEA=; b=Jgvbo77OgskNj717YL/OH8Zzr+IFirQN6aNdcMrDZiJKlxRKcuLAClsIAIHEzls4IQ TSiwigGNwvjB+X105/9mjnrYFI5w8xsMv7wy4sVc8E3F7svn6vnFf5sa9xfuKrU1jgO2 aB700zL/5TeLFkkstALTt9IyncZqI58Z6ku1I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712546440; x=1713151240; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=98HjqpVnhziiB+tCaWwhwMYDm4sqJVU4VjSmJrU5jEA=; b=b68o6rHDK+D8Yctweldf7NeZi16tpAode4tpAV5MrMG6eFJSW7z/HTFiQOoRLKdwga M367kTbpLYkQ4YE9CZHnLZHbF7sZhkp8JwZ0OsKsstbwrZH9YpSpQ79O7OWVQFdI/0cX za6sML/uP8xPQBrhLjL8b7l1svL81lV3Jd4GmU8UKXYY52mTCkZhmlH72AxdDUN7Lhep SKedX+R3jHlz8MIXcy0kwSfOJiDFkWUE1RIknpsx+u2OkiHJ4IAq99hYgnOwPCM5FveR 7UJAtZQjrXDy5jY+vlChgP+PlxgczAecYIGTVSfBhHHpTfi5ZmutHG4p9B9wcVY5jtTg daLg== X-Forwarded-Encrypted: i=1; AJvYcCVPnUGzsK3ztDyLcEwbPpidAHyQeTgdv8c1MGkOMp1ZCfcg0Epk/f2g/yVhirh0jF2LXfR3dixwgEXUeBO4PgmxcRab4oFnhl+ZsxLQ X-Gm-Message-State: AOJu0YyiX3WW0UarqiK17opGlvmVmCJI1SfBmrrgRujES3cj9UoXqyjC Bzy3G9trzmPKdFQO4Fhz9SRVAu396JCX6LKt/56m0k4qIh1MxQafrtdYmQBRI4U+xdcVXUbIcuD cAFjASBaGDgQV3Pz4LPcGEcPqIY1WZtmbxjsQ X-Received: by 2002:ac2:4c13:0:b0:513:d71e:eeab with SMTP id t19-20020ac24c13000000b00513d71eeeabmr5343840lfq.45.1712546440562; Sun, 07 Apr 2024 20:20:40 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240404081635.91412-1-angelogioacchino.delregno@collabora.com> <20240404081635.91412-3-angelogioacchino.delregno@collabora.com> In-Reply-To: <20240404081635.91412-3-angelogioacchino.delregno@collabora.com> From: Chen-Yu Tsai Date: Mon, 8 Apr 2024 11:20:29 +0800 Message-ID: Subject: Re: [PATCH v1 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path To: AngeloGioacchino Del Regno Cc: chunkuang.hu@kernel.org, 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, 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, kernel@collabora.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Apr 4, 2024 at 4:16=E2=80=AFPM 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,mmsy= s.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml > index b3c6888c1457..90758bb5bcb1 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 > + Technically the mmsys device serves as an glue layer for the display pipeline, providing things like clock control and signal routing; the device itself is not part of the pipeline, and probably shouldn't be part of the graph? ChenYu > required: > - compatible > - reg > -- > 2.44.0 >