devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/4] Add support for DS90UB954-Q1
@ 2025-12-02 10:22 Yemike Abhilash Chandra
  2025-12-02 10:22 ` [PATCH V2 1/4] media: dt-bindings: ti,ds90ub960: Refactor port definitions Yemike Abhilash Chandra
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Yemike Abhilash Chandra @ 2025-12-02 10:22 UTC (permalink / raw)
  To: tomi.valkeinen, mchehab, robh, krzk+dt, conor+dt, hverkuil,
	sakari.ailus, laurent.pinchart
  Cc: hansg, mehdi.djait, ribalda, git, vladimir.zapolskiy,
	benjamin.mugnier, dongcheng.yan, u-kumar1, jai.luthra,
	linux-media, devicetree, linux-kernel, y-abhilashchandra

DS90UB954-Q1 is an FPDLink-III deserializer that is mostly register
compatible with DS90UB960-Q1. The main difference is that it supports
half of the RX and TX ports, i.e. 2x FPDLink RX ports and 1x CSI TX
port. Therefore, add support for DS90UB954 within the existing DS90UB960
bindings and the driver.

Changelog:
Changes in v2:
- Refactor the port definitions in the DT bindings and then add support for the DS90UB954.
- Use enums for the chip type and chip family.
- Some status registers are reserved on the DS90UB954 and always read as zero in log_status.
  Skip these registers.
- Move the link-frequency check for the DS90UB954 into the existing block that validates
  allowed link frequencies for the DS90UB960, and check for DS90UB954 first and then 1200 MHz
  next, as this ordering is more logical to readers.
- The strobe setting registers differ slightly between the DS90UB960 and the DS90UB954. Update
  the code to accommodate these differences.
- Although REFCLK_FREQ measurement is not synchronized on the DS90UB954, a single read is
  practically sufficient. Remove the loop that performs two reads.
- Fix a few minor issues in the Kconfig description and code comments.

Note: I did not collect the ACK from Conor since there is significant change in the bindings in v2.

Test logs: https://gist.github.com/Yemike-Abhilash-Chandra/ca582375fe682221c6597e60f247d92f
DT binding check results: https://gist.github.com/Yemike-Abhilash-Chandra/bd6050d021f72a78ac82b3b342e923f2
Link for v1: https://lore.kernel.org/all/20250523083655.3876005-1-y-abhilashchandra@ti.com/

Yemike Abhilash Chandra (4):
  media: dt-bindings: ti,ds90ub960: Refactor port definitions
  media: i2c: ds90ub960: Use enums for chip type and chip family
  media: dt-bindings: ti,ds90ub960: Add support for DS90UB954-Q1
  media: i2c: ds90ub960: Add support for DS90UB954-Q1

 .../bindings/media/i2c/ti,ds90ub960.yaml      | 400 +++++++++++++-----
 drivers/media/i2c/Kconfig                     |   4 +-
 drivers/media/i2c/ds90ub960.c                 | 221 +++++++---
 3 files changed, 461 insertions(+), 164 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-12-10  9:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-02 10:22 [PATCH V2 0/4] Add support for DS90UB954-Q1 Yemike Abhilash Chandra
2025-12-02 10:22 ` [PATCH V2 1/4] media: dt-bindings: ti,ds90ub960: Refactor port definitions Yemike Abhilash Chandra
2025-12-05 15:11   ` Rob Herring
2025-12-10  9:25     ` Yemike Abhilash Chandra
2025-12-02 10:22 ` [PATCH V2 2/4] media: i2c: ds90ub960: Use enums for chip type and chip family Yemike Abhilash Chandra
2025-12-05 10:46   ` Tomi Valkeinen
2025-12-02 10:22 ` [PATCH V2 3/4] media: dt-bindings: ti,ds90ub960: Add support for DS90UB954-Q1 Yemike Abhilash Chandra
2025-12-05 15:17   ` Rob Herring
2025-12-10  9:33     ` Yemike Abhilash Chandra
2025-12-02 10:22 ` [PATCH V2 4/4] media: i2c: ds90ub960: " Yemike Abhilash Chandra
2025-12-05 11:10   ` Tomi Valkeinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).