Extend phy_configure_opts_mipi_dphy to support position and polarity
Get series with b4
b4 am [email protected] change-id 20260325-dphy-params-extension-5fcd9ba8af61Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | phy: dphy: Add lane_positions to DPHY config structinclude/ | +13 | 0 replies | |
| 2/4 | phy: dphy: Add lane_polarities to DPHY config structinclude/ | +8 | 0 replies | |
| 3/4 | phy: dphy: Add clock_lane_position to DPHY config structinclude/ | +7 | 0 replies | |
| 4/4 | phy: dphy: Add clock_lane_polarity to DPHY config structinclude/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Extend phy_configure_opts_mipi_dphy to support position and polarity
struct phy_configure_opts_mipi_dphy currently passes @lanes as a linear count of data-lanes starting from lane zero to a consuming DPHY driver.
This proves insufficient when we want to specify lane location and lane polarity.
To address this gap extend the structure to pass four new fields.
- lane_positions
An array indicating the physical position of each data-lane
- lane_polarities
An array indicating the polarity of each data-lane
- clock_lane_position
A singleton indicating the physical location of the clock-lane
- clock_lane_polarity
A singleton indicating the polarity of the clock lane
These properties correspond to data-lanes, clock-lanes and lane-polarities as defined in video-interfaces.yaml and already parsed by v4l2_fwnode_endpoint_parse.
A controller can use these fields to pass down the relevant data to the PHY driver over and above the assumption of simple linear consecutive data-lanes as has been possible to this point.
---
Bryan O'Donoghue (4):
phy: dphy: Add lane_positions to DPHY config struct
phy: dphy: Add lane_polarities to DPHY config struct
phy: dphy: Add clock_lane_position to DPHY config struct
phy: dphy: Add clock_lane_polarity to DPHY config struct
include/linux/phy/phy-mipi-dphy.h | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-)
---
base-commit: c824345288d11e269ce41b36c105715bc2286050
change-id: 20260325-dphy-params-extension-5fcd9ba8af61
Best regards,
Signature · 1 line
Bryan O'Donoghue <[email protected]>