Skip to content

drm/i2c: adv7511: ADV7533 support

Archit Taneja dri-devel linux-arm-msm linux-devicetree 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest8 patches 0 repliesNew
  2. v57 patches 0 repliesSuperseded
  3. v47 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v36 of 7 patches15 repliesSuperseded
v25 patches0 repliesSuperseded
v15 patches22 repliesSuperseded

Changes in v6 from the cover letter

- v5 changed the adv7511 module name to adv75xx.ko, it was previously called adv7511.ko. This revision fixes the Makefile such that the module name doesn't change, and hence not break userspace.
- Move the driver to the drivers/gpu/drm/bridge folder. This was planned to be done later, but I thought it would be better if we did it in this patchset itself since the driver is already converted to a bridge.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/i2c: adv7511: Convert to drm_bridgedrivers/gpu/drm/i2c/Kconfig drivers/gpu/drm/i2c/adv7511.c+140 -740 replies
2/8drm/i2c: adv7511: Move to bridge folderdrivers/gpu/drm/bridge/Kconfig drivers/gpu/drm/bridge/Makefile drivers/gpu/drm/bridge/adv7511/Kconfig +7 more+1390 -13870 replies
3/8drm/bridge: adv7511: Fix mutex deadlock when interrupts are disableddrivers/gpu/drm/bridge/adv7511/adv7511_drv.c+4 -40 replies
4/8drm/bridge: adv7533: Initial support for ADV7533drivers/gpu/drm/bridge/adv7511/Kconfig drivers/gpu/drm/bridge/adv7511/Makefile drivers/gpu/drm/bridge/adv7511/adv7511.h +2 more+230 -490 replies
5/8drm/bridge: adv7533: Create a MIPI DSI devicedrivers/gpu/drm/bridge/adv7511/Kconfig drivers/gpu/drm/bridge/adv7511/adv7511.h drivers/gpu/drm/bridge/adv7511/adv7511_drv.c +1 more+147 -80 replies
6/8drm/bridge: adv7533: Use internal timing generatordrivers/gpu/drm/bridge/adv7511/adv7511.h drivers/gpu/drm/bridge/adv7511/adv7511_drv.c drivers/gpu/drm/bridge/adv7511/adv7533.c+63 -20 replies
7/8drm/bridge: adv7533: Change number of DSI lanes dynamicallydrivers/gpu/drm/bridge/adv7511/adv7511.h drivers/gpu/drm/bridge/adv7511/adv7511_drv.c drivers/gpu/drm/bridge/adv7511/adv7533.c+31 -00 replies
8/8dt-bindings: drm/bridge: Update bindings for ADV7533Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt+21 -50 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/8] drm/i2c: adv7511: ADV7533 support

ADV7533 is a DSI to HDMI encoder chip. It's like ADV7511, but with an additional DSI RX block that takes in DSI video mode output.

This revision is quite similar to the previous version with some issues fixed.

Changes in v6:
- v5 changed the adv7511 module name to adv75xx.ko, it was previously called adv7511.ko. This revision fixes the Makefile such that the module name doesn't change, and hence not break userspace.
- Move the driver to the drivers/gpu/drm/bridge folder. This was planned to be done later, but I thought it would be better if we did it in this patchset itself since the driver is already converted to a bridge.

Changes in v5:
- Fix break observed when built for x86.
- Based off current drm-misc.
- Removes best_encoder connector helper function since it isn't needed after this series:
https://lkml.org/lkml/2016/6/2/508

Changes in v4:
- Separated out build for ADV7533. The original plan was to stub out the drm_mipi_dsi funcs, but that seemed like an overkill since it helped just this driver. It seems better to stub out the ADV7533 functionality altogether instead.
- Some minor DT binding corrections suggested by Laurent.

Archit Taneja (8):
drm/i2c: adv7511: Convert to drm_bridge
drm/i2c: adv7511: Move to bridge folder
drm/bridge: adv7511: Fix mutex deadlock when interrupts are disabled drm/bridge: adv7533: Initial support for ADV7533 drm/bridge: adv7533: Create a MIPI DSI device
drm/bridge: adv7533: Use internal timing generator drm/bridge: adv7533: Change number of DSI lanes dynamically
dt-bindings: drm/bridge: Update bindings for ADV7533

 .../bindings/display/bridge/adi,adv7511.txt        |   26 +-
 drivers/gpu/drm/bridge/Kconfig                     |    2 +
 drivers/gpu/drm/bridge/Makefile                    |    1 +
 drivers/gpu/drm/bridge/adv7511/Kconfig             |   15 +
 drivers/gpu/drm/bridge/adv7511/Makefile            |    3 +
 drivers/gpu/drm/bridge/adv7511/adv7511.h           |  392 +++++++
 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c       | 1124 ++++++++++++++++++++
 drivers/gpu/drm/bridge/adv7511/adv7533.c           |  265 +++++
 drivers/gpu/drm/i2c/Kconfig                        |    6 -
 drivers/gpu/drm/i2c/Makefile                       |    2 -
 drivers/gpu/drm/i2c/adv7511.c                      | 1024 ------------------
 drivers/gpu/drm/i2c/adv7511.h                      |  289 -----
 12 files changed, 1823 insertions(+), 1326 deletions(-)
 create mode 100644 drivers/gpu/drm/bridge/adv7511/Kconfig
 create mode 100644 drivers/gpu/drm/bridge/adv7511/Makefile
 create mode 100644 drivers/gpu/drm/bridge/adv7511/adv7511.h
 create mode 100644 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
 create mode 100644 drivers/gpu/drm/bridge/adv7511/adv7533.c
 delete mode 100644 drivers/gpu/drm/i2c/adv7511.c
 delete mode 100644 drivers/gpu/drm/i2c/adv7511.h
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation