This small series improves it66121_probe() in various ways:

 * use a bulk read for reading the vendor and device ID registers
 * log errors in ID reading and matching instead of failing silently
 * on successful probe be quiet on !DEBUG, more informative on DEBUG

Note there is a separate series fixing probing on the BeagleBone Black
rev.D [0]. That is orthogonal and they overall improve probing of this
chip.

[0] 
https://lore.kernel.org/lkml/[email protected]/

Signed-off-by: Luca Ceresoli <[email protected]>
---
Changes in v2:
- Split patch 1 in two parts
- Use just a u8[4] array for the bulk read
- Link to v1: 
https://patch.msgid.link/20261015-drm-ite-it66121-log-probe-errors-v1-0-7fd6994e0...@bootlin.com

---
Luca Ceresoli (4):
      drm/bridge: ite-it66121: check for read errors reading IDs
      drm/bridge: ite-it66121: simplify getting the chip IDs
      drm/bridge: ite-it66121: log an error if the IDs do not match
      drm/bridge: ite-it66121: make successful probe quiet

 drivers/gpu/drm/bridge/ite-it66121.c | 30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)
---
base-commit: f210da5b4aace6919f2723586d22126b73c0e31a
change-id: 20261015-drm-ite-it66121-log-probe-errors-9c8cfef8a7f7

Best regards,
--  
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Reply via email to