[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251202102208.80713-1-y-abhilashchandra@ti.com>
Date: Tue, 2 Dec 2025 15:52:04 +0530
From: Yemike Abhilash Chandra <y-abhilashchandra@...com>
To: <tomi.valkeinen@...asonboard.com>, <mchehab@...nel.org>,
<robh@...nel.org>, <krzk+dt@...nel.org>, <conor+dt@...nel.org>,
<hverkuil@...all.nl>, <sakari.ailus@...ux.intel.com>,
<laurent.pinchart@...asonboard.com>
CC: <hansg@...nel.org>, <mehdi.djait@...ux.intel.com>, <ribalda@...omium.org>,
<git@...tzsch.eu>, <vladimir.zapolskiy@...aro.org>,
<benjamin.mugnier@...s.st.com>, <dongcheng.yan@...el.com>, <u-kumar1@...com>,
<jai.luthra@...ux.dev>, <linux-media@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<y-abhilashchandra@...com>
Subject: [PATCH V2 0/4] Add support for DS90UB954-Q1
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
Powered by blists - more mailing lists