]> Gentwo Git Trees - linux/.git/commit
drm/bridge: it66121: Use vid/pid to detect the type of chip
authorNishanth Menon <nm@ti.com>
Wed, 29 Oct 2025 15:06:35 +0000 (10:06 -0500)
committerNeil Armstrong <neil.armstrong@linaro.org>
Fri, 21 Nov 2025 14:48:47 +0000 (15:48 +0100)
commita8811c0bb79c60bf2464e939c8e040b5d6f532ef
tree12edd17c318a12e0d75756ff51e9c290119033ec
parenta1df28b5f4d30467b8dabe861f1da324e00313fd
drm/bridge: it66121: Use vid/pid to detect the type of chip

The driver knows exactly which version of the chip is present since
the vid/pid is used to enforce a compatibility. Given that some
devices like IT66121 has potentially been replaced with IT66122 mid
production for many platforms, it makes no sense to use the vid/pid
as an enforcement for compatibility. Instead, detect the ID of the
actual chip in use by matching the corresponding vid/pid and drop the
compatible specific lookup table.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20251029150636.3118628-5-nm@ti.com
drivers/gpu/drm/bridge/ite-it66121.c