Received: by 2002:a05:7208:20d2:b0:82:bbfa:f723 with SMTP id z18csp37421rbz; Tue, 7 May 2024 09:52:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXWx6Yn7iuO0/VF7iDVX2Lbelr+gpLcKuaVXovaVKJueZirkHayFPmsg5Y4EDsJj/toUhGzXNf/NIkj4oQBiOjPZpbcFfWabxyK7RfWWg== X-Google-Smtp-Source: AGHT+IGPHMm9iP7VwZN8+fgnEHTeflFbWcq2uAVZOI11C72jUTNnxi0fyizqyBm/BXc8aRYEBdxJ X-Received: by 2002:a17:90a:eac1:b0:2b1:54e4:e125 with SMTP id 98e67ed59e1d1-2b611aed161mr507054a91.22.1715100758067; Tue, 07 May 2024 09:52:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715100758; cv=pass; d=google.com; s=arc-20160816; b=GWpXOfGqJgngIoa4k4YFp2U2jzqJhJK1BeU7jkv00hb1+MYOxbDulzj8U4rdqr7IaZ mcVF+CWfYt5jpoeOsLkmIIUahtTj4sk8BpiLv483eOokHGp2o1GIRXVoO4eYo8fOf98G wpyPbfwWLhGk4dCXiy3Rbyngcmr1Y2E2Tj/U7a5USUtlKGaYZ+Wb8Z92Vy7BEebsbZix 6I7GQQ5LuHquCu3Yw23tnE7+Hs6rvX1/s3AoA8vAaXUnJXrdMXbRViaR2tW+836Sq4DC TKFb8DAas3E3B1z7hkyOaaR8aHCFvIVmd6k7BMymjw3usZG8pbycsibVAYafZfN9wvQK vkBg== 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=eaU9lfNeGvzDk/FguUmNiX85th2MDtqaVJk9CUYYnuw=; fh=dMzKF6eKhRDTFCZcbUnDaaHXS+6lLwBBRygKrb6wX/o=; b=XZjK0prVg7qiviEa5jpi3pd2NjvwNonR1zW47c0+O2hV/HCew1CvC/CpwVs88dSPy/ 3l4njvntumsYfjdfhsUVEQcit9K4Yyd9nqsWHr2AWuYVdNT6srYATMmCLgiRU0NlvHUM lHHaP8T4qUuFRjnGerQkeJrww+B+ZNi+YWZM3nTiu7M9FtAfGSFneteXHmRPcAwgs5qG n7kz7aSGKiDb3bRhb4koDpuNOQygZm0UMjjmIjX5WI1WYEzJoVdvqfElNKysrz5ACj3u PbONaAxEyVt25jGobxQ3KKCVOmRNi+kT9f+2KxjudLpjf1X72CsmKKkXKorhNOQsOsHe gqGw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JpoiKtsC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-171796-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171796-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id o12-20020a17090a5b0c00b002b2c202277csi10589102pji.37.2024.05.07.09.52.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 09:52:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171796-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JpoiKtsC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-171796-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171796-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E8095B248F7 for ; Tue, 7 May 2024 16:26:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 37DE91649C8; Tue, 7 May 2024 16:26:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JpoiKtsC" 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 5C1E2165FA4; Tue, 7 May 2024 16:26:19 +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=1715099179; cv=none; b=sYN/RKjuBxkAnRfaeKY4yN/Ghs/b3VbfzIORZaSk4YBgfvY4ZdUpKae8ddc/8wPT3WpS0MI76rJkJRL+mx+08NbZwmu2aiA2RljeSPF13Cuu2azEwVjjMF9O0JGytMMYy6A2c4jsA3DzQNn7JYx8F9AMvZPVdsajt1o5F0oc54A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715099179; c=relaxed/simple; bh=/5I1D7aRR2QRwr2mUkZwUa89+yp2b+yvvGuDrXWWovQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Fn2t/2RCvoR7JbjfuKUR61pnck/YmkYFMm7xzdP9gr/hGhUZVuIIxDDATQIfft+DPekDrU6ywfLcxUXZdEazOWNjvSJ3bIRD41NFmuTKHoEEWSizcsbwdnmj4pYh6XIbIKhsEuDiwlG/KvFSZd8RxE/CgDg22i34Rd84MEYpIt8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JpoiKtsC; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98957C2BBFC; Tue, 7 May 2024 16:26:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715099178; bh=/5I1D7aRR2QRwr2mUkZwUa89+yp2b+yvvGuDrXWWovQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JpoiKtsCDRWS9H1oYa/F6JwX9mrEjG8l7IWfcqtNn8AuxO8/CG1gIbh+CBbJ+550C WAlUqrQJbhClxSfpmosuhoTg6boD5NTMroeZI9Fd8abpXOQEC8Qfb61cMnMWTcqHGJ qc19+ywvq3bGZfGibwZ9QJ4MV75vqbdvXJoiTpNqc8OSCaY5cI20S51TOvsiyXl93Y WXEaFYRfmR3uzX2eY9TGF9k1Vmkq5xuO8R7wXsQ5ZIef9QFo0svLZwoTEIgMskSn5t fH+QFguKVRjj0sdmB5nqvzlmr5EutpSOO6F74VMLulMZCWuqpPJLvVVXw/9HQauPP4 YN1cqa1a8rv2g== Date: Tue, 7 May 2024 11:26:16 -0500 From: "Rob Herring (Arm)" To: AngeloGioacchino Del Regno Cc: mripard@kernel.org, maarten.lankhorst@linux.intel.com, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org, ck.hu@mediatek.com, airlied@gmail.com, linux-mediatek@lists.infradead.org, wenst@chromium.org, chunkuang.hu@kernel.org, daniel@ffwll.ch, tzimmermann@suse.de, matthias.bgg@gmail.com, jitao.shi@mediatek.com, shawn.sung@mediatek.com, linux-arm-kernel@lists.infradead.org, p.zabel@pengutronix.de, dri-devel@lists.freedesktop.org, kernel@collabora.com, yu-chang.lee@mediatek.com Subject: Re: [PATCH v3 1/3] dt-bindings: display: mediatek: Add OF graph support for board path Message-ID: <171509917467.817282.9286531892598521217.robh@kernel.org> References: <20240502115622.248456-1-angelogioacchino.delregno@collabora.com> <20240502115622.248456-2-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: <20240502115622.248456-2-angelogioacchino.delregno@collabora.com> On Thu, 02 May 2024 13:56:20 +0200, AngeloGioacchino Del Regno wrote: > The display IPs in MediaTek SoCs support being interconnected with > different instances of DDP IPs (for example, merge0 or merge1) and/or > with different DDP IPs (for example, rdma can be connected with either > color, dpi, dsi, merge, etc), forming a full Display Data Path that > ends with an actual display. > > The final display pipeline is effectively board specific, as it does > depend on the display that is attached to it, and eventually on the > sensors supported by the board (for example, Adaptive Ambient Light > would need an Ambient Light Sensor, otherwise it's pointless!), other > than the output type. > > Add support for OF graphs to most of the MediaTek DDP (display) bindings > to add flexibility to build custom hardware paths, hence enabling board > specific configuration of the display pipeline and allowing to finally > migrate away from using hardcoded paths. > > Signed-off-by: AngeloGioacchino Del Regno > --- > .../display/mediatek/mediatek,aal.yaml | 40 +++++++++++++++++++ > .../display/mediatek/mediatek,ccorr.yaml | 21 ++++++++++ > .../display/mediatek/mediatek,color.yaml | 22 ++++++++++ > .../display/mediatek/mediatek,dither.yaml | 22 ++++++++++ > .../display/mediatek/mediatek,dpi.yaml | 25 +++++++++++- > .../display/mediatek/mediatek,dsc.yaml | 24 +++++++++++ > .../display/mediatek/mediatek,dsi.yaml | 27 ++++++++++++- > .../display/mediatek/mediatek,ethdr.yaml | 22 ++++++++++ > .../display/mediatek/mediatek,gamma.yaml | 19 +++++++++ > .../display/mediatek/mediatek,merge.yaml | 23 +++++++++++ > .../display/mediatek/mediatek,od.yaml | 22 ++++++++++ > .../display/mediatek/mediatek,ovl-2l.yaml | 22 ++++++++++ > .../display/mediatek/mediatek,ovl.yaml | 22 ++++++++++ > .../display/mediatek/mediatek,postmask.yaml | 21 ++++++++++ > .../display/mediatek/mediatek,rdma.yaml | 22 ++++++++++ > .../display/mediatek/mediatek,ufoe.yaml | 21 ++++++++++ > 16 files changed, 372 insertions(+), 3 deletions(-) > Reviewed-by: Rob Herring (Arm)