Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp960099lqj; Mon, 3 Jun 2024 06:22:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW2JCiq01UV9vAqNOPNH6cML6QztytHtJKX0u4IcUhMZrPRnu81dnMul4ynUT5RMVtnAhVNXA8iv7A2DkrCWr2CAbWks/t4UNr1PjG6hA== X-Google-Smtp-Source: AGHT+IFcer6yteLQJeGL1P9FiY/Zpq4+lqmJkYkL3WE0JamFfIzE34bwxK80sPJCOYpIwXxHR+dh X-Received: by 2002:a17:903:22cf:b0:1f6:7cc9:fb2c with SMTP id d9443c01a7336-1f67cc9fd61mr28249975ad.49.1717420930211; Mon, 03 Jun 2024 06:22:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717420930; cv=pass; d=google.com; s=arc-20160816; b=iwJZRocB9N3zsef080QoQHVT0GBHFukPmyCIIY8UMDDCTV7ul3pwby0j9N0aOYamUY E+EIDAnI3Eli2C3hCyDYtnXj8gCRxm/v2TE0EwStz75Ix4XUsGkVaaiXGAc7pjqHHbDv WAUIn4rJG6FCMcjsBIkqYCoPmqeUVYJjyHprwGsKKQZ2zqtDaGygN1ksK16S2Q2vcHPu 9teI824tQ2n9rGM1xvff/MpTQ7p15IZ2+eJIwPk/L7QBn8t6QQaSBrta+ucol9kDf43t 9FBqy1vhBpJ/vJArrGNhiKqCSmZ2Bz4fSWhRQ6fu+x8z9dW2xyleT7QJHHzdeWJf/IDt HWMg== 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; bh=uUWeemdgxuyDC+J9zwfW7edrxjLpDXVN8jhG3iSeFMg=; fh=i7CCxJxIsADD6R7DU5baV3wzWWfhY1kvYzdwlGXjKrA=; b=O39AUEaFF71kYMeWJPtb4gmwFSNHfVA8WD2ewls8h/AhvciDTFclJU1H0P9hNLTqU3 p/D3HmpWDIj29oVaYPT00UFu12W9/tafxJacnKadVXtrydr0i9atpNN+Cq9sD1Rb2Xkk 6Sc4pEhQJZZVBUJhkvzAZ0mZbNgXMOPInZOjxMCl/GX2UHZGBcCHvyJTJTvU6MeyGtr0 WNNGr0mQbMisVYv7aehzqhH7qpcr4lZY3OEF3cfefjesZqy5FBaCeg6/UWz1IVHqhMgh YNASNFaKwV6hUDN11ZZYSaJdQlW3VFOFxWHJeAYZbvzMhmK10wuz/IrP0qXa3/XfYhuo SP4g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-199172-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199172-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f68b50c211si4206275ad.511.2024.06.03.06.22.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 06:22:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199172-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; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-199172-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199172-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de 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 F2F51B22071 for ; Mon, 3 Jun 2024 13:05:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A56D412CD8B; Mon, 3 Jun 2024 13:03:51 +0000 (UTC) Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (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 BC9D882D6C; Mon, 3 Jun 2024 13:03:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717419831; cv=none; b=ONPlsSxrYpm24YW50S4fTeBbxiPF6wuhOjA/ttDvYNZ85c3LSnuIKVcMOUARVw/wSXrxM343snt9J9JG9cDaBvbns57OxcJalmSsoSofm1piNxeXng1uG6XYTrvGE6CMOGgBt13ZNMkLWdOAILfZ9HlYNUHPVJDHfO05BOk43pg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717419831; c=relaxed/simple; bh=pQwAZbSp6yuqdG6HclzfMC9AWq7yy7DmsrfsUxhagdw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qRXGUmEO0qjF78zcYZt3KsOVVZ+/wWAJC51RzEraViCXLZGFyDc/7k+bvNqvyCNucoQtii50RLq0VkxQm7NEjPz9q1tAmpXK0w4rpMgOmOjPXTWRGBiMxntQu+zXGAI+gdQ2gsBoVsrCHxt3Vvz6p1NaRK/mKiXh33nnivXjwgA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Received: from [213.70.33.226] (helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sE7LG-0007Q6-KA; Mon, 03 Jun 2024 15:03:14 +0200 From: Heiko Stuebner To: neil.armstrong@linaro.org, Cristian Ciocaltea , Andrzej Hajda , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Sandy Huang , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mark Yao , Andy Yan Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, kernel@collabora.com, Alexandre ARNOUD , Luis de Arquer , Algea Cao Subject: Re: [PATCH 00/14] Add initial support for the Rockchip RK3588 HDMI TX Controller Date: Mon, 03 Jun 2024 15:03:12 +0200 Message-ID: <11359776.NyiUUSuA9g@phil> In-Reply-To: References: <20240601-b4-rk3588-bridge-upstream-v1-0-f6203753232b@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: 7Bit Content-Type: text/plain; charset="us-ascii" Am Montag, 3. Juni 2024, 14:14:17 CEST schrieb Andy Yan: > Hi Neil: > > On 6/3/24 16:55, Neil Armstrong wrote: > > Hi Christian, > > > > On 01/06/2024 15:12, Cristian Ciocaltea wrote: > >> The RK3588 SoC family integrates a Quad-Pixel (QP) variant of the > >> Synopsys DesignWare HDMI TX controller used in the previous SoCs. > >> > >> It is HDMI 2.1 compliant and supports the following features, among > >> others: > >> > > . > > > > .. > > > >> * SCDC I2C DDC access > >> * TMDS Scrambler enabling 2160p@60Hz with RGB/YCbCr4:4:4 > >> * YCbCr4:2:0 enabling 2160p@60Hz at lower HDMI link speeds > >> * Multi-stream audio > >> * Enhanced Audio Return Channel (EARC) > > -> Those features were already supported by the HDMI 2.0a compliant HW, just > > list the _new_ features for HDMI 2.1 > > > > I did a quick review of your patchset and I don't understand why you need > > to add a separate dw-hdmi-qp.c since you only need simple variants of the I2C > > bus, infoframe and bridge setup. > > > > Can you elaborate further ? isn't this Quad-Pixel (QP) TX controller version > > detectable at runtime ? > > > > I would prefer to keep a single dw-hdmi driver if possible. > > > > The QP HDMI controller is a completely different variant with totally different > registers layout, see PATCH 13/14. > I think make it a separate driver will be easier for development and maintenance. I'm with Andy here. Trying to navigate a driver for two IP blocks really sounds taxing especially when both are so different. Synopsis also created a new dsi controller for the DSI2 standard, with a vastly different registers layout. I guess at some point there is time to say this really is a new IP ;-) . Though while on that thought, I don't fully understand why both a compiled under the dw_hdmi kconfig symbol. People going for a minimal kernel might want one or the other, but not both for their specific board. Heiko