Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2077334lqe; Tue, 9 Apr 2024 08:57:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVFEaGZzoNSVOu5KMWN0gaZJWpua8rSCbVbEEFW/TZFv5B7tUyWEN2Rm/oepDcTICGOUXJeQn3R/TiRTVFBfhod/WJkHzIssNN5eZSUIA== X-Google-Smtp-Source: AGHT+IHPbmWzwD5cRRo9+JQHX/kF/Li3xGhkkJu75hkUp+bnJ4SnbYfah+xqd8aDlrbtUkAr+5oY X-Received: by 2002:a17:902:9308:b0:1e2:3cbe:adcc with SMTP id bc8-20020a170902930800b001e23cbeadccmr174303plb.49.1712678234794; Tue, 09 Apr 2024 08:57:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712678234; cv=pass; d=google.com; s=arc-20160816; b=hhuGED1dWYH6PuyvD8fr9mfb5SRGVfcx90v6BwII45UpS8hPV+BRDXLwehHb7+Six0 bbI/+O9/eA8kEE+5x0RInFHGVNMgYrd8oKu6Ep/9wWuEvF0SCdcjGYQztbbtYVIkxKpc Ioo7M5WPnOH3JoeRT1Wq8nKj1ltszugZoSEUjCI8ZiudHGa3zjeNQmQlnVWa/XfGORuf rx0eBL/DzC+ymQshUzOg/bryaAFTKqBzGjEtKaVmG1z9Qahx2XPOKvLxJA20vtqKZBmz Rx28QgNeAn7K1BiTk9kxTMo+/J7WaguPglE9virVyx79O5cHJea7ZMexvoZ4hX0zksp0 hWHQ== 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=wtt9U27FyEOGR2UTmgVGfK4xgQEk5CAqsjVixP3DF/w=; fh=o7tgJ9ifAf4EsHfc1NRPqIi41jRKxViuK5HfCBU7RAI=; b=B9qwsqw/fiVvggEYWJ/8TwdXWmvgHN8bn9ZSwEObJP1jo5X40vKyrSMi0NZchE7lL6 3KbBeyHPKWdown8Rejp4V1KPDHfg/RmIAxub7xmaytP0bLDapBFWT/XEmBffYqecnv7g hL1Li0VclnagwrdFoRhlCqrdHinUSeEH0/I+4nKahcihO7gHl5oQur+K4NQ5Joa11OeQ cZ0nWMx+PExUsfTQ4AWA4zzbAyL7Aca4rBhJPCgFMyldMcouG5zuVEyKMgoM9TN0R+PW XLxYO/1UvHc0HCuMkevmDFoF9ELn3emKg/GeR1xy9m7h5821Kglmr5x47czxn0PYctQW Dq0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eFoNqvqS; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-137205-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137205-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id b13-20020a170902ed0d00b001defa2d6abasi8510107pld.71.2024.04.09.08.57.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 08:57:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137205-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eFoNqvqS; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-137205-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137205-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 42607B301E2 for ; Tue, 9 Apr 2024 15:22:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28E2C13793D; Tue, 9 Apr 2024 15:20:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eFoNqvqS" Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 AB4BA12FF9C for ; Tue, 9 Apr 2024 15:20:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712676016; cv=none; b=g34BfD1eyEz/XCxzqcYoo5NwJmLIUjosvkbPXCC1VcrwFjzsoA8bffM16QbRDvJyVGrImBjpjwOY6gmG2i3m+2GZttq7SWUe/cHcLW5L31BJaAr+IQPHhjvUt8pdPXHeySNk+bt0Rq8lYrVhQM1UHgB/6L4hVx+aOKJ3rBEFJpU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712676016; c=relaxed/simple; bh=LqKkb1utOjLZhC4alhKZWg38iwuOQgG70I2Czp/PPN4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jtS8mGoX8M5FURBBhALNoij8LDJA53fkFj/Wugiuz5oRIKWPizcArenBsoGg0XnzGbrROvhOoOolH/zTkYGtw97M5fC8ws5nFHHcUOgC69JPgdk14lUE1xZuAQbFeGoZcvXfzr1KX+BMSbSfd2cBk3UuD7b9TrPUNIPiV5gEMcU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=eFoNqvqS; arc=none smtp.client-ip=209.85.167.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-516c97ddcd1so6688049e87.2 for ; Tue, 09 Apr 2024 08:20:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712676013; x=1713280813; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=wtt9U27FyEOGR2UTmgVGfK4xgQEk5CAqsjVixP3DF/w=; b=eFoNqvqSkTF0YEOOF2C46A70CmTm4i+1lWNwqCxR1vAoxtV71oXtX6/vu96bcPiBKI KlF3SUJCj+E3j/Br9lK31DrHlSCpulaX6dY2vwBg6iKPb4p8CYoQZtfiu4yrnFWHW5f9 fWvxbs7lOh5dq3GgLzsUT/ucgPGXq6WYqoSXLk0V5Gxo/XXYkao3RnTEmGCl/6lbPHt/ Tuqj2nX8+agsCAdFyM6s4V7dI7zSXsoeZpuv8MISZJytgmfMNknIDUo+hBMUO/uvmXuz HHlcRL02a+QmU83hcvkzxGQfQ11XTmTf2k4Rmd9B1mj/zo5PFyhjaeQ1F5Iwq9zHoFNG OXRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712676013; x=1713280813; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wtt9U27FyEOGR2UTmgVGfK4xgQEk5CAqsjVixP3DF/w=; b=w4jkIoIicY9poa+s4i/3Rz3OxhPCX6UFkiNgf/XS54/eh1VShQCZpG05nc69thTg8J lL9pLGlylrk5ya8VOV99pvV5xTywoll7KNcJq9m1QBCkXsFZoaKrHuaShBWNmko2IFjQ 4OTw61N/MgX9ziORtiiNxiIsyQWDeH8rrqR2em/W2/+6t6gRzuX12zAJPnawodZxTIeJ ZCTrs+25TNYYc5bZdO3QP4dcLad1S6xrYbVPEetSrT3dnJMzqTlydM1ta34jA8Zhkaga AxZR+eFm3+5NDO0UTGeN1LxxpJpE/hl1oD0YUGudFaJjrL7R1Ml/qwFKj21TdUW8OGxV 070w== X-Forwarded-Encrypted: i=1; AJvYcCU9TG6AqWynXwR/sP6MxH8oX4Ipa95oEmwMn6xXthE/28HPxIVNrGS43G/Ef4UL1QEWR8FJZyma1CMppfOH55MYt7uuaneKbH55gbrt X-Gm-Message-State: AOJu0YzcJp7H2Fn6fZqcEdZZn3KbaFBuGMnk3E/+NsWwHKCU9EbFyTQP RmArsXGVplMnlF/UwU1+g6RLRp1zOjEMOw47yao2T5qWMgFIC7bozAnI/0mqviY= X-Received: by 2002:a05:6512:459:b0:513:c60a:5fc0 with SMTP id y25-20020a056512045900b00513c60a5fc0mr7405646lfk.0.1712676012907; Tue, 09 Apr 2024 08:20:12 -0700 (PDT) Received: from eriador.lumag.spb.ru (dzyjmhyyyyyyyyyyyykxt-3.rev.dnainternet.fi. [2001:14ba:a00e:a300::227]) by smtp.gmail.com with ESMTPSA id d4-20020a196b04000000b00516c247fc40sm1560288lfa.222.2024.04.09.08.20.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 08:20:12 -0700 (PDT) Date: Tue, 9 Apr 2024 18:20:10 +0300 From: Dmitry Baryshkov 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, wenst@chromium.org, kernel@collabora.com Subject: Re: [PATCH v2 1/3] dt-bindings: display: mediatek: Add OF graph support for board path Message-ID: References: <20240409120211.321153-1-angelogioacchino.delregno@collabora.com> <20240409120211.321153-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: <20240409120211.321153-2-angelogioacchino.delregno@collabora.com> On Tue, Apr 09, 2024 at 02:02:09PM +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. With the color and gamma being in play, should the configuration be board-driver or rather use-case driven with the driver being able to reroute some of the blocks at runtime? > > 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 -- With best wishes Dmitry