]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: arizona: Add device tree binding to specify mono outputs
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 14 Dec 2015 10:19:11 +0000 (10:19 +0000)
committerLee Jones <lee.jones@linaro.org>
Mon, 11 Jan 2016 07:33:16 +0000 (07:33 +0000)
commit1bf5d98afeac46b96e120e39f6fbe5462eef6463
treecc8b7bee94629fd66114fa25b3235c1f65c4bda1
parentd2b5b7dcbe8b6ee90c7f227662a6cdf04748b6f8
mfd: arizona: Add device tree binding to specify mono outputs

Add device tree bindings to support specifying outputs from the chip as
mono outputs. Whilst we are doing it change the out_mono pdata from a
bool to an int, because Sparse gets upset about using ARRAY_SIZE on
bools.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-core.c
include/linux/mfd/arizona/pdata.h