[DPU PATCH 0/3] Add support for DisplayPort driver on SnapDragon 845

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These patches add support for Display-Port driver on SnapDragon 845 hardware. It adds
DP driver and DP PLL driver files along with the needed device-tree bindings.

The block diagram of DP driver is shown below:


                 +-------------+
                 |DRM FRAMEWORK|
                 +------+------+
                        |
                   +----v----+
                   | DP DRM  |
                   +----+----+
                        |
                   +----v----+
     +------------+|   DP    +----------++------+
     +        +---+| DISPLAY |+---+      |      |
     |        +    +-+-----+-+    |      |      |
     |        |      |     |      |      |      |
     |        |      |     |      |      |      |
     |        |      |     |      |      |      |
     v        v      v     v      v      v      v
 +------+ +------+ +---+ +----+ +----+ +---+ +-----+
 |  DP  | |  DP  | |DP | | DP | | DP | |DP | | DP  |
 |PARSER| |EXTCON| |AUX| |LINK| |CTRL| |PHY| |POWER|
 +--+---+ +---+--+ +---+ +----+ +--+-+ +-+-+ +-----+
    |         |                    |     |
 +--v---+ +---v-----+             +v-----v+
 |DEVICE| |EXTCON   |             |  DP   |
 | TREE | |INTERFACE|             |CATALOG|
 +------+ +---------+             +---+---+
                                      |
                                  +---v----+
                                  |CTRL/PHY|
                                  |   HW   |
                                  +--------+


These patches have dependency on clock driver changes mentioned below:
https://patchwork.kernel.org/patch/10632753/ 
https://patchwork.kernel.org/patch/10632757/



Chandan Uddaraju (3):
  dt-bindings: msm/dp: add bindings of DP/DP-PLL driver for Snapdragon
    845
  drm/msm/dp: add displayPort driver support
  drm/msm/dp: add support for DP PLL driver

 .../devicetree/bindings/display/msm/dp.txt         |  249 ++++
 .../devicetree/bindings/display/msm/dpu.txt        |   16 +-
 drivers/gpu/drm/msm/Kconfig                        |   25 +
 drivers/gpu/drm/msm/Makefile                       |   21 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c        |  206 +++
 drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.h        |   44 +
 drivers/gpu/drm/msm/dp/dp_aux.c                    |  570 +++++++
 drivers/gpu/drm/msm/dp/dp_aux.h                    |   44 +
 drivers/gpu/drm/msm/dp/dp_catalog.c                | 1188 +++++++++++++++
 drivers/gpu/drm/msm/dp/dp_catalog.h                |  144 ++
 drivers/gpu/drm/msm/dp/dp_ctrl.c                   | 1476 +++++++++++++++++++
 drivers/gpu/drm/msm/dp/dp_ctrl.h                   |   50 +
 drivers/gpu/drm/msm/dp/dp_debug.c                  |  507 +++++++
 drivers/gpu/drm/msm/dp/dp_debug.h                  |   81 +
 drivers/gpu/drm/msm/dp/dp_display.c                | 1027 +++++++++++++
 drivers/gpu/drm/msm/dp/dp_display.h                |   58 +
 drivers/gpu/drm/msm/dp/dp_drm.c                    |  542 +++++++
 drivers/gpu/drm/msm/dp/dp_drm.h                    |   52 +
 drivers/gpu/drm/msm/dp/dp_extcon.c                 |  400 +++++
 drivers/gpu/drm/msm/dp/dp_extcon.h                 |  111 ++
 drivers/gpu/drm/msm/dp/dp_link.c                   | 1549 ++++++++++++++++++++
 drivers/gpu/drm/msm/dp/dp_link.h                   |  184 +++
 drivers/gpu/drm/msm/dp/dp_panel.c                  |  624 ++++++++
 drivers/gpu/drm/msm/dp/dp_panel.h                  |  121 ++
 drivers/gpu/drm/msm/dp/dp_parser.c                 |  679 +++++++++
 drivers/gpu/drm/msm/dp/dp_parser.h                 |  208 +++
 drivers/gpu/drm/msm/dp/dp_power.c                  |  652 ++++++++
 drivers/gpu/drm/msm/dp/dp_power.h                  |   59 +
 drivers/gpu/drm/msm/dp/dp_reg.h                    |  357 +++++
 drivers/gpu/drm/msm/dp/pll/dp_pll.c                |  153 ++
 drivers/gpu/drm/msm/dp/pll/dp_pll.h                |   64 +
 drivers/gpu/drm/msm/dp/pll/dp_pll_10nm.c           |  401 +++++
 drivers/gpu/drm/msm/dp/pll/dp_pll_10nm.h           |   94 ++
 drivers/gpu/drm/msm/dp/pll/dp_pll_10nm_util.c      |  531 +++++++
 drivers/gpu/drm/msm/msm_drv.c                      |    2 +
 drivers/gpu/drm/msm/msm_drv.h                      |   22 +
 include/drm/drm_dp_helper.h                        |   19 +
 37 files changed, 12525 insertions(+), 5 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/msm/dp.txt
 create mode 100644 drivers/gpu/drm/msm/dp/dp_aux.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_aux.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_catalog.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_catalog.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_ctrl.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_ctrl.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_debug.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_debug.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_display.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_display.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_drm.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_drm.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_extcon.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_extcon.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_link.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_link.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_panel.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_panel.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_parser.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_parser.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_power.c
 create mode 100644 drivers/gpu/drm/msm/dp/dp_power.h
 create mode 100644 drivers/gpu/drm/msm/dp/dp_reg.h
 create mode 100644 drivers/gpu/drm/msm/dp/pll/dp_pll.c
 create mode 100644 drivers/gpu/drm/msm/dp/pll/dp_pll.h
 create mode 100644 drivers/gpu/drm/msm/dp/pll/dp_pll_10nm.c
 create mode 100644 drivers/gpu/drm/msm/dp/pll/dp_pll_10nm.h
 create mode 100644 drivers/gpu/drm/msm/dp/pll/dp_pll_10nm_util.c

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux