Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / clk / meson / g12a-aoclk.h
bloba67c8a7cd7c471cba8ded30e325f8b4fef002341
1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
2 /*
3 * Copyright (c) 2019 BayLibre, SAS
4 * Author: Neil Armstrong <narmstrong@baylibre.com>
5 */
7 #ifndef __G12A_AOCLKC_H
8 #define __G12A_AOCLKC_H
11 * CLKID index values
13 * These indices are entirely contrived and do not map onto the hardware.
14 * It has now been decided to expose everything by default in the DT header:
15 * include/dt-bindings/clock/g12a-aoclkc.h. Only the clocks ids we don't want
16 * to expose, such as the internal muxes and dividers of composite clocks,
17 * will remain defined here.
19 #define CLKID_AO_SAR_ADC_DIV 17
20 #define CLKID_AO_32K_PRE 20
21 #define CLKID_AO_32K_DIV 21
22 #define CLKID_AO_32K_SEL 22
23 #define CLKID_AO_CEC_PRE 24
24 #define CLKID_AO_CEC_DIV 25
25 #define CLKID_AO_CEC_SEL 26
27 #define NR_CLKS 29
29 #include <dt-bindings/clock/g12a-aoclkc.h>
30 #include <dt-bindings/reset/g12a-aoclkc.h>
32 #endif /* __G12A_AOCLKC_H */