Skip to content

Commit 1a39678

Browse files
author
Boris Brezillon
committed
drm: add Atmel HLCDC Display Controller support
The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display controller device. This display controller supports at least one primary plane and might provide several overlays and an hardware cursor depending on the IP version. At the moment, this driver only implements an RGB connector to interface with LCD panels, but support for other kind of external devices might be added later. Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Rob Clark <[email protected]> Tested-by: Anthony Harivel <[email protected]> Tested-by: Ludovic Desroches <[email protected]> Acked-by: Nicolas Ferre <[email protected]>
1 parent bb276cb commit 1a39678

File tree

11 files changed

+3459
-0
lines changed

11 files changed

+3459
-0
lines changed

drivers/gpu/drm/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ source "drivers/gpu/drm/cirrus/Kconfig"
183183

184184
source "drivers/gpu/drm/armada/Kconfig"
185185

186+
source "drivers/gpu/drm/atmel-hlcdc/Kconfig"
187+
186188
source "drivers/gpu/drm/rcar-du/Kconfig"
187189

188190
source "drivers/gpu/drm/shmobile/Kconfig"

drivers/gpu/drm/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ obj-$(CONFIG_DRM_GMA500) += gma500/
5454
obj-$(CONFIG_DRM_UDL) += udl/
5555
obj-$(CONFIG_DRM_AST) += ast/
5656
obj-$(CONFIG_DRM_ARMADA) += armada/
57+
obj-$(CONFIG_DRM_ATMEL_HLCDC) += atmel-hlcdc/
5758
obj-$(CONFIG_DRM_RCAR_DU) += rcar-du/
5859
obj-$(CONFIG_DRM_SHMOBILE) +=shmobile/
5960
obj-$(CONFIG_DRM_OMAP) += omapdrm/

drivers/gpu/drm/atmel-hlcdc/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
config DRM_ATMEL_HLCDC
2+
tristate "DRM Support for ATMEL HLCDC Display Controller"
3+
depends on DRM && OF && COMMON_CLK && MFD_ATMEL_HLCDC
4+
select DRM_GEM_CMA_HELPER
5+
select DRM_KMS_HELPER
6+
select DRM_KMS_FB_HELPER
7+
select DRM_KMS_CMA_HELPER
8+
select DRM_PANEL
9+
help
10+
Choose this option if you have an ATMEL SoC with an HLCDC display
11+
controller (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family).

drivers/gpu/drm/atmel-hlcdc/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
atmel-hlcdc-dc-y := atmel_hlcdc_crtc.o \
2+
atmel_hlcdc_dc.o \
3+
atmel_hlcdc_layer.o \
4+
atmel_hlcdc_output.o \
5+
atmel_hlcdc_plane.o
6+
7+
obj-$(CONFIG_DRM_ATMEL_HLCDC) += atmel-hlcdc-dc.o

0 commit comments

Comments
 (0)