Thread (1 message) 1 message, 1 author, 2017-01-20

[PATCH v3 2/4] clk: gxbb: add the SAR ADC clocks and expose them

From: khilman@baylibre.com (Kevin Hilman)
Date: 2017-01-20 15:46:00
Also in: linux-amlogic, linux-clk, linux-devicetree, linux-iio

Stephen Boyd [off-list ref] writes:
On 01/19, Martin Blumenstingl wrote:
quoted
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 <redacted>
---
Acked-by: Stephen Boyd <redacted>

This should go through arm-soc along with the other patch to dts.
Applied to v4.11/dt64 of the amlogic tree.

Kevin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help