diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2017-01-19 15:58:20 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2017-01-23 10:18:21 -0800 |
commit | 33d0fcdfe0e87070d96c678e554d711ae15b9fa6 (patch) | |
tree | 572705e9afdd982329b78e7c592fdc949ddbf3e5 /mm/Kconfig | |
parent | 0264a88d6153e6cd5ee61239058b2002f36dde6b (diff) | |
download | linux-33d0fcdfe0e87070d96c678e554d711ae15b9fa6.tar.gz linux-33d0fcdfe0e87070d96c678e554d711ae15b9fa6.tar.bz2 linux-33d0fcdfe0e87070d96c678e554d711ae15b9fa6.zip |
clk: gxbb: add the SAR ADC clocks and expose them
The HHI_SAR_CLK_CNTL contains three SAR ADC specific clocks:
- a mux clock to choose between different ADC reference clocks (this is
2-bit wide, but the datasheet only lists the parents for the first
bit)
- a divider for the input/reference clock
- a gate which enables the ADC clock
Additionally this exposes the ADC core clock (CLKID_SAR_ADC) and
CLKID_SANA (which seems to enable the analog inputs, but unfortunately
there is no documentation for this - we just mimic what the vendor
driver does).
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'mm/Kconfig')
0 files changed, 0 insertions, 0 deletions