summaryrefslogtreecommitdiff
path: root/drivers/clk/meson/g12a-aoclk.h
blob: 04b0d55066412d0a4c5fb06cd6e0a24cdb104854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
 * Copyright (c) 2019 BayLibre, SAS
 * Author: Neil Armstrong <narmstrong@baylibre.com>
 */

#ifndef __G12A_AOCLKC_H
#define __G12A_AOCLKC_H

/*
 * CLKID index values
 *
 * These indices are entirely contrived and do not map onto the hardware.
 * It has now been decided to expose everything by default in the DT header:
 * include/dt-bindings/clock/g12a-aoclkc.h. Only the clocks ids we don't want
 * to expose, such as the internal muxes and dividers of composite clocks,
 * will remain defined here.
 */
#define CLKID_AO_SAR_ADC_SEL	16
#define CLKID_AO_SAR_ADC_DIV	17
#define CLKID_AO_CTS_OSCIN	19
#define CLKID_AO_32K_PRE	20
#define CLKID_AO_32K_DIV	21
#define CLKID_AO_32K_SEL	22
#define CLKID_AO_CEC_PRE	24
#define CLKID_AO_CEC_DIV	25
#define CLKID_AO_CEC_SEL	26

#define NR_CLKS	29

#include <dt-bindings/clock/g12a-aoclkc.h>
#include <dt-bindings/reset/g12a-aoclkc.h>

#endif /* __G12A_AOCLKC_H */