From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 A44FC31AA8F for ; Tue, 19 May 2026 14:47:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779202052; cv=none; b=qgw9/PNmwJqbgM3jI9YNPqliBn5k9UJJH4iE+75Sn9hflZJz4CPmfHLEUdUOO/KoUt/3YbruZ8+xgmkDp3XG0D0odv4zVHz9gkE4gP20UTtBVVL9w8mU9FS4cF1T0UDjD0wOzzxx/mFNJkxRU6Yjbv6UHTE2hXyU0HNAoQ0Skos= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779202052; c=relaxed/simple; bh=PORub1hmmDtALj9TsT0FLTOqyO3DlyPnRlea3Zn+bsk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AEHLUkz22gT26vOHKKP17zmzdwM0WSyCrb/yEveCxG9zTrk86YpT9U0GXBGW3maECWiWmuq1141WTXk7aiXg9Gdc9bcW+LOHROIav1iSQ2OcpmrlY5m2c7EY8O26+TSDBlROS/aZGc8mS3roERQJGkKteO3Jd7+23J5pRj39ldQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=e1UkIQ/9; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=jp+XkmGt; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="e1UkIQ/9"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="jp+XkmGt" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1779202047; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Ac46A5tx5N3WaVtwsY4RrFV9ou6PtDA5opWWhwSNYcE=; b=e1UkIQ/9Zt+KnJHUlzIO7fsFqezQYQLzLGUY0JGVBH26fG4zh5AMQWBXSRZJ5+lc/+vm1G M1dSZC67EGi7BW3o7BtRYEFHl79RPrSwAXD8FwQzPlR3/hlhiGCm5hMEvt7qHxj6iAty/P wFKNXxKGJ9y/Evtsj3qbnVoyvcJUbto= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-13-iPVMTOLmNa-vyORuDGVD8g-1; Tue, 19 May 2026 10:47:25 -0400 X-MC-Unique: iPVMTOLmNa-vyORuDGVD8g-1 X-Mimecast-MFC-AGG-ID: iPVMTOLmNa-vyORuDGVD8g_1779202044 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-48d1bc85bb3so12768295e9.0 for ; Tue, 19 May 2026 07:47:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1779202043; x=1779806843; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Ac46A5tx5N3WaVtwsY4RrFV9ou6PtDA5opWWhwSNYcE=; b=jp+XkmGtvoELYnFYovxmiq7PbZZfE3ANaOTX2Za5mNQobTxUKeEp4AYvJmAZhj3N9U zGznC7nW7KuweRNpY2FGwKOyG/2La2h5b2lyhTfDIqTsEamo8FIKi2yJbmqI+XpgN/Rv hy33saGZEWigcdklHvrZpUa78WGnR7LQdFZx7GwZBrWsasvWKaTAbJSh9G/oWQNnNnMY 0KprP+pRH/y15Oj2sZmHy2Hil6dYh39L3sVuqpsTcOifJrjDDsM4D5XGnv/uwsQ4o3OP wySEY+O+a8NtpJpnlBb6+Y9Bs7si72Q1vsna66PdftaWUQVasAGSOZ+fkYWwSAnHyP9c Sihw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779202043; x=1779806843; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ac46A5tx5N3WaVtwsY4RrFV9ou6PtDA5opWWhwSNYcE=; b=pQO5+oxG/z66Sx8fD4ZsASayVk+Wv3wqI23GZJg6XoaDy57sMlF6dXa6V8NM0eHjXx hXADvimanSeB0+jIWjK3A/vrfdUDshzHQQFuYbtsm4qPGj4pdGfNFz7f2Up5icw/mogQ Vnp8Er4MOwUQ4F1Br7qOso6aeua9E4AsIYIQLlOKNWFB891f67kyZY1dnV+kAV/3TlQD c0YRo4ZXncvYU7BU6d+ZWYxtX2Qr6XAqneIE90INJp5SiqeriGGHNWgmNfF4ZW7XpSgv 7YUWSr+brTpCl693/GgUdIlcaL21GCOp4yUJFKnNRvMht6wcVx3XWkY7b1O0BJpi9T52 Re+g== X-Gm-Message-State: AOJu0Yz6rfPS3Fam4BICWjLXbO6AFId0XMnXRZXsjccAy1rBb8nOyNuu UAWZ+RHeN0ulqoDDDkTkwGtD/Ywn5T0rBgkq/b+5O4PKoiYOEVqkFggdBxKP9wZCoA+1dyk2l+G P5sWn09TA31Wqxl04Nqth5XFa5DOI8S68KNf3MyH3vFQSsVEqOX1e7x+PQnBjV38pYETh3ZFhGe San9qh3Qq8H1r+SlJMWgXu03sukHSZ1Rzquvz0jyrolFTWHm/Y X-Gm-Gg: Acq92OHCUYDkpaIEvwkc61H3/CkBDUEXUHFZhMK6S2EsgGJWx/DU5Kwud+hqE9SZXST F+0Tl4ZzLeIPc0rtwvlmZ/67VRrQQ2nl9HtqpxrXc5qhnj/qq+59CVHwdAxjD6V0Se1sC6PHRbu cfk/ouZ6lPN51LsDIrs2TqOqORX2JqrlMZgvW2f5X7lNfidAG1qLPdWk5pdHexsm8B9hRh6KSR4 ZlbjOJwh+gMVMM1nPUO7bEwHb4WTtLMYAABUQGE3SPL++l3AQVd77MIHP/f+jcV5pl4TiKDNFj+ bbOW2UcxOjfFtJuS3R0G03Ov22AYz8+NNLn/iZJvc4LfBYOH6z/pEQz8Z/MI3o8hxDcCtXqYJjW HlccAPRC+CUY+t4RfvXGgm9tMS9ZAZCbD1m53whnpMUTc23ivbqDcvnIC8w== X-Received: by 2002:a05:600d:8:b0:48f:e044:927d with SMTP id 5b1f17b1804b1-48fe537fa84mr260382195e9.10.1779202043466; Tue, 19 May 2026 07:47:23 -0700 (PDT) X-Received: by 2002:a05:600d:8:b0:48f:e044:927d with SMTP id 5b1f17b1804b1-48fe537fa84mr260381215e9.10.1779202042898; Tue, 19 May 2026 07:47:22 -0700 (PDT) Received: from localhost (62-151-111-63.jazzfree.ya.com. [62.151.111.63]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48fe53767ecsm298800115e9.10.2026.05.19.07.47.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2026 07:47:22 -0700 (PDT) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Javier Martinez Canillas , Abhinav Kumar , Alain Volmat , Andrzej Hajda , Andy Yan , Brian Masney , Chen-Yu Tsai , Chris Morgan , Cristian Ciocaltea , Daniel Stone , David Airlie , Dmitry Baryshkov , Dmitry Baryshkov , Heiko Stuebner , Jani Nikula , Jernej Skrabec , Jessica Zhang , Jonas Karlman , Konrad Dybcio , Laurent Pinchart , Liu Ying , Luca Ceresoli , Maarten Lankhorst , Marijn Suijten , Maxime Ripard , Neil Armstrong , Nicolas Frattaroli , Raphael Gallais-Pou , Rob Clark , Robert Foss , Samuel Holland , Sean Paul , Sebastian Reichel , Shengjiu Wang , Simona Vetter , Thomas Zimmermann , dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: [PATCH 0/8] drm/display: hdmi: Add common TMDS character rate constants Date: Tue, 19 May 2026 16:46:56 +0200 Message-ID: <20260519144712.1418302-1-javierm@redhat.com> X-Mailer: git-send-email 2.54.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Several DRM drivers define their own local macros or use magic numbers for the standard HDMI TMDS character rate limits. Maxime Ripard suggested that instead these common rate constants could be included to a shared header. This series introduces these constants to the header and replaces the local defined constants or magic numbers in drivers. I split the changes as one patch per driver, so that these can be reviewed individually and merged at their own pace. Javier Martinez Canillas (8): drm/display: hdmi: Add common TMDS character rate constants drm/bridge: dw-hdmi: Use the common TMDS char rate constant drm/bridge: dw-hdmi-qp: Use the common TMDS char rate constant drm/bridge: inno-hdmi: Use the common TMDS char rate constant drm/sti: hdmi: Use the common TMDS char rate constants drm/sun4i: hdmi: Use the common TMDS char rate constant drm/msm/hdmi: Use the common TMDS char rate constants in 8996 PHY drm/msm/hdmi: Use the common TMDS char rate constants in 8998 PHY drivers/gpu/drm/bridge/inno-hdmi.c | 4 +--- drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 6 ++---- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 10 ++++------ drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c | 9 +++++---- drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c | 9 +++++---- drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c | 5 +++-- drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 4 ++-- include/drm/display/drm_hdmi_helper.h | 6 ++++++ 8 files changed, 28 insertions(+), 25 deletions(-) -- 2.54.0 base-commit: fa81649af168a4d6d5260ed0fa9bbb5f6db3f11c branch: add-common-tmds-rates