diff options
| author | Martin Blumenstingl <[email protected]> | 2017-01-19 14:58:20 +0000 |
|---|---|---|
| committer | Kevin Hilman <[email protected]> | 2017-01-23 18:18:21 +0000 |
| commit | 33d0fcdfe0e87070d96c678e554d711ae15b9fa6 (patch) | |
| tree | 572705e9afdd982329b78e7c592fdc949ddbf3e5 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | dt-bindings: amlogic: Add WeTek boards (diff) | |
| download | kernel-33d0fcdfe0e87070d96c678e554d711ae15b9fa6.tar.gz kernel-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 <[email protected]>
Tested-by: Neil Armstrong <[email protected]>
Acked-by: Stephen Boyd <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
