OSDN Git Service

mfd: madera: Add support for requesting the supply clocks
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 21 Oct 2019 13:58:13 +0000 (14:58 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 11 Nov 2019 08:45:03 +0000 (08:45 +0000)
commit1e624fce3a1ca03fcea167cc43399d0073472edc
treec741a350d6568bd18b470f9463a19bb35927abcf
parentc9d93428bf6212a61482a688d8201e66de9c0a0b
mfd: madera: Add support for requesting the supply clocks

Add the ability to get the clock for each clock input pin of the chip
and enable MCLK2 since that is expected to be a permanently enabled
32kHz clock.

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