drm/hisilicon: Add crtc driver for ADE
authorXinliang Liu <xinliang.liu@linaro.org>
Sat, 10 Oct 2015 02:16:22 +0000 (10:16 +0800)
committerXinliang Liu <xinliang.liu@linaro.org>
Fri, 29 Apr 2016 08:39:12 +0000 (16:39 +0800)
commit783ad972c9a0e4690fa9a1580d16b64f389bc068
tree969c827d349e8d73c54a5c02fac74320e0a00c83
parent23e7b2ab9a8ff5653e8140248a494c3f3171dce3
drm/hisilicon: Add crtc driver for ADE

Add crtc funcs and helper funcs for ADE.

v8: None.
v7:
- A few Regs define clean up and typo fixs.
v6:
- Cleanup reg-names dt parsing.
v5:
- Use syscon to access ADE media NOC QoS registers instread of directly
  writing registers.
- Use reset controller to reset ADE instead of directly writing registers.
v4: None.
v3:
- Make ade as the master driver.
- Use port to connect with encoder.
- A few cleanup.
v2:
- Remove abtraction layer.

Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
Signed-off-by: Xinwei Kong <kong.kongxinwei@hisilicon.com>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
drivers/gpu/drm/hisilicon/kirin/Makefile
drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h [new file with mode: 0644]
drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c [new file with mode: 0644]
drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c
drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.h