]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Add atmel-hlcdc driver
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 6 Oct 2014 13:48:43 +0000 (15:48 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 25 Nov 2014 16:18:43 +0000 (16:18 +0000)
commitdb526c78a9541eed75caffa50ef4f4c7fbcebb3a
tree7c3cfdadde1aa4f5b02ae953467c78035d5e7ec5
parentd51b0a2f95116b5a58aaa446e4a06788406fff4d
mfd: Add atmel-hlcdc driver

The HLCDC IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5
family or sama5d3 family) exposes 2 subdevices:
- a display controller (controlled by a DRM driver)
- a PWM chip

The MFD device provides a regmap and several clocks (those connected
to this hardware block) to its subdevices.

This way concurrent accesses to the iomem range are handled by the regmap
framework, and each subdevice can safely access HLCDC registers.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Tested-by: Anthony Harivel <anthony.harivel@emtrion.de>
Tested-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/atmel-hlcdc.c [new file with mode: 0644]
include/linux/mfd/atmel-hlcdc.h [new file with mode: 0644]