All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/7] Rx mode support for Cadence DPHY
@ 2021-06-24 18:41 ` Pratyush Yadav
  0 siblings, 0 replies; 28+ messages in thread
From: Pratyush Yadav @ 2021-06-24 18:41 UTC (permalink / raw)
  To: Vinod Koul
  Cc: Nikhil Devshatwar, Tomi Valkeinen, Laurent Pinchart,
	Paul Kocialkowski, Vignesh Raghavendra, Chunfeng Yun,
	Kishon Vijay Abraham I, Peter Chen, Pratyush Yadav, Rob Herring,
	devicetree, linux-kernel, linux-phy

Hi,

This series adds support for Rx mode on Cadence DPHY driver. It has been
split off from [0] to facilitate easier merging. I have still kept it as
v3 to maintain continuity with the previous patches. This series also
includes conversion to YAML binding.

Tested on TI's J721E with OV5640 sensor.

[0] https://patchwork.linuxtv.org/project/linux-media/list/?series=5526&state=%2A&archive=both

Changes in v3:
- Use a table to select the band.
- Use a table to poll the data lane ready bits.
- Multiply the DPHY HS clock rate by 2 to get the bit rate since the
  clock is DDR.
- Add Rob's R-by.

Changes in v2:
- Drop reg description.
- Add a description for each DPHY clock.
- Rename dphy@... to phy@... in example.
- Add Laurent's R-by.
- Re-order subject prefixes.
- Re-order subject prefixes.
- Add power-domain to the example.
- Add Laurent's R-by.
- Re-order subject prefixes.

Paul Kocialkowski (1):
  phy: Distinguish between Rx and Tx for MIPI D-PHY with submodes

Pratyush Yadav (6):
  phy: cdns-dphy: Prepare for Rx support
  phy: cdns-dphy: Allow setting mode
  phy: cdns-dphy: Add Rx support
  phy: dt-bindings: Convert Cadence DPHY binding to YAML
  phy: dt-bindings: cdns,dphy: make clocks optional
  phy: dt-bindings: cdns,dphy: add power-domains property

 .../devicetree/bindings/phy/cdns,dphy.txt     |  20 -
 .../devicetree/bindings/phy/cdns,dphy.yaml    |  54 +++
 drivers/phy/cadence/cdns-dphy.c               | 344 ++++++++++++++++--
 include/linux/phy/phy-mipi-dphy.h             |  13 +
 4 files changed, 375 insertions(+), 56 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/phy/cdns,dphy.txt
 create mode 100644 Documentation/devicetree/bindings/phy/cdns,dphy.yaml

-- 
2.30.0


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

end of thread, other threads:[~2021-08-11 17:40 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-24 18:41 [PATCH v3 0/7] Rx mode support for Cadence DPHY Pratyush Yadav
2021-06-24 18:41 ` Pratyush Yadav
2021-06-24 18:41 ` [PATCH v3 1/7] phy: Distinguish between Rx and Tx for MIPI D-PHY with submodes Pratyush Yadav
2021-06-24 18:41   ` Pratyush Yadav
2021-08-06 11:11   ` Paul Kocialkowski
2021-08-06 11:11     ` Paul Kocialkowski
2021-08-11 17:36     ` Pratyush Yadav
2021-08-11 17:36       ` Pratyush Yadav
2021-06-24 18:41 ` [PATCH v3 2/7] phy: cdns-dphy: Prepare for Rx support Pratyush Yadav
2021-06-24 18:41   ` Pratyush Yadav
2021-08-06 10:18   ` Vinod Koul
2021-08-06 10:18     ` Vinod Koul
2021-08-11 17:39     ` Pratyush Yadav
2021-08-11 17:39       ` Pratyush Yadav
2021-06-24 18:41 ` [PATCH v3 3/7] phy: cdns-dphy: Allow setting mode Pratyush Yadav
2021-06-24 18:41   ` Pratyush Yadav
2021-06-24 18:41 ` [PATCH v3 4/7] phy: cdns-dphy: Add Rx support Pratyush Yadav
2021-06-24 18:41   ` Pratyush Yadav
2021-08-06 11:15   ` Vinod Koul
2021-08-06 11:15     ` Vinod Koul
2021-08-11 17:33     ` Pratyush Yadav
2021-08-11 17:33       ` Pratyush Yadav
2021-06-24 18:41 ` [PATCH v3 5/7] phy: dt-bindings: Convert Cadence DPHY binding to YAML Pratyush Yadav
2021-06-24 18:41   ` Pratyush Yadav
2021-06-24 18:41 ` [PATCH v3 6/7] phy: dt-bindings: cdns,dphy: make clocks optional Pratyush Yadav
2021-06-24 18:41   ` Pratyush Yadav
2021-06-24 18:41 ` [PATCH v3 7/7] phy: dt-bindings: cdns,dphy: add power-domains property Pratyush Yadav
2021-06-24 18:41   ` [PATCH v3 7/7] phy: dt-bindings: cdns, dphy: " Pratyush Yadav

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.