From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) (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 E6DF12580F2 for ; Thu, 2 Jul 2026 14:46:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.251.105.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783003595; cv=none; b=i6qT2ORDdi+XEaL4x79SdYi/2CwikTddJnMxfaItoa6T3GNUvJgNTo6gHxdZtuLbvVD+xKugOHgLYXenAXhue33dsfj11rDZP6ezIAh7Ygi8kVLannSqusRTGHRrKdBpM5plpC+KgobXIrcyO6wcvb0PjgPUfweDBRW7BaIBays= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783003595; c=relaxed/simple; bh=E0gC4MANsuSpWJyHYxzHDJZ9tL8K1fxGS3Ks/UcaSEQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VZJUPthZjW9LpJu6IsjI5sRXdztNMyOJTy82Rx/kTjpT2vyKAP1ESH5ks+PFEXKz8HQg/ETYcoLKboC4hmZN9p3lWFh/0ixJdpegSIFAOKmsFlW6JlQLn4cfU7H4ir51LypH9+gEKg7AK9eQc/TzIwqBG2bth4vKgVPaTO4Qv7Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=B4xUsm82; arc=none smtp.client-ip=148.251.105.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="B4xUsm82" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1783003592; bh=E0gC4MANsuSpWJyHYxzHDJZ9tL8K1fxGS3Ks/UcaSEQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=B4xUsm82C2Ng+wsCb52BFjCwhnkD5rchqc+1DCK+oXgPcysKrFIazxgBqVVFycnud 9XoMy0iAxkcdVqTN2UXPFHAlv93u3+cqIyOynJjCWdO79+Uvn4luJUMNkomkPXV2K1 Kg16w9sAc/jgusj/+WvuWmM49BYoqHoOctU/ZdHIVTeGSLbsLPlvFgA5dt3ydDm3dY FrY5M9qkqW0y1qHYVxo5ii0ju1gYirEeTImHp/6iMNNr/zg5jVC2TDzsFeLM+DRtae ehZfVFOMHQ3lBfBAYNIqgURylcH/8i8OsaAFgZFsxKmCdfO7TDrof05GTBhPYJyIbh EKAJvW9bN4Anw== Received: from localhost (unknown [100.64.0.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by bali.collaboradmins.com (Postfix) with ESMTPSA id 37B1317E0E9E; Thu, 2 Jul 2026 16:46:32 +0200 (CEST) From: Cristian Ciocaltea Date: Thu, 02 Jul 2026 17:46:14 +0300 Subject: [PATCH v8 01/39] video/hdmi: Introduce HDMI version enum 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260702-dw-hdmi-qp-scramb-v8-1-d79890d00b6a@collabora.com> References: <20260702-dw-hdmi-qp-scramb-v8-0-d79890d00b6a@collabora.com> In-Reply-To: <20260702-dw-hdmi-qp-scramb-v8-0-d79890d00b6a@collabora.com> To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Sandy Huang , =?utf-8?q?Heiko_St=C3=BCbner?= , Andy Yan , Daniel Stone , Dave Stevenson , =?utf-8?q?Ma=C3=ADra_Canal?= , Raspberry Pi Kernel Maintenance Cc: kernel@collabora.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org X-Mailer: b4 0.15.2 Add an enum to represent HDMI specification versions. This will be used by upcoming changes to associate HDMI connectors and bridges with a maximum supported version and to simplify handling of version-dependent features. Signed-off-by: Cristian Ciocaltea --- include/linux/hdmi.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/linux/hdmi.h b/include/linux/hdmi.h index 8dab78e1f61b..b80a5ee63bb2 100644 --- a/include/linux/hdmi.h +++ b/include/linux/hdmi.h @@ -27,6 +27,18 @@ #include #include +enum hdmi_version { + HDMI_VERSION_UNKNOWN, + HDMI_VERSION_1_0, + HDMI_VERSION_1_1, + HDMI_VERSION_1_2, + HDMI_VERSION_1_3, + HDMI_VERSION_1_4, + HDMI_VERSION_2_0, + HDMI_VERSION_2_1, + HDMI_VERSION_2_2, +}; + enum hdmi_packet_type { HDMI_PACKET_TYPE_NULL = 0x00, HDMI_PACKET_TYPE_AUDIO_CLOCK_REGEN = 0x01, -- 2.54.0