linux-sg2042/drivers/clk/meson
Martin Blumenstingl 33d0fcdfe0 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>
2017-01-23 10:18:21 -08:00
..
Kconfig clk: gxbb: add AmLogic GXBB clk controller driver 2016-06-22 18:07:31 -07:00
Makefile clk: meson: Rename meson8b-clkc.c to reflect gxbb naming convention 2016-09-01 17:31:44 -07:00
clk-cpu.c clk: meson8b: clean up cpu clocks 2016-06-22 18:02:35 -07:00
clk-mpll.c clk: meson: add mpll support 2016-06-22 18:02:59 -07:00
clk-pll.c clk: meson: fractional pll support 2016-06-22 18:05:47 -07:00
clkc.h gxbb: clk: Adjust MESON_GATE macro to be shared with meson8b 2016-09-01 17:42:41 -07:00
gxbb-aoclk.c clk: meson: Fix invalid use of sizeof in gxbb_aoclkc_probe() 2016-08-24 00:55:13 -07:00
gxbb.c clk: gxbb: add the SAR ADC clocks and expose them 2017-01-23 10:18:21 -08:00
gxbb.h clk: gxbb: add the SAR ADC clocks and expose them 2017-01-23 10:18:21 -08:00
meson8b.c clk: meson: fix CLKID_GCLK_VENCI_INT typo 2016-09-14 11:17:15 -07:00
meson8b.h meson: clk: Add support for clock gates 2016-09-01 17:43:12 -07:00