]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit2c86e9fb7263dbca2c21a086090d32ba90129f7b
tree7c3cfdadde1aa4f5b02ae953467c78035d5e7ec5
parent6e3f62f0793ebff3f91076490ff0fbb107939701
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]