^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Copyright (c) 2019 BayLibre, SAS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) * Author: Neil Armstrong <narmstrong@baylibre.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #ifndef __G12A_AOCLKC_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #define __G12A_AOCLKC_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) * CLKID index values
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) * These indices are entirely contrived and do not map onto the hardware.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) * It has now been decided to expose everything by default in the DT header:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) * include/dt-bindings/clock/g12a-aoclkc.h. Only the clocks ids we don't want
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) * to expose, such as the internal muxes and dividers of composite clocks,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) * will remain defined here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #define CLKID_AO_SAR_ADC_DIV 17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #define CLKID_AO_32K_PRE 20
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #define CLKID_AO_32K_DIV 21
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #define CLKID_AO_32K_SEL 22
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #define CLKID_AO_CEC_PRE 24
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #define CLKID_AO_CEC_DIV 25
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #define CLKID_AO_CEC_SEL 26
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) #define NR_CLKS 29
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) #include <dt-bindings/clock/g12a-aoclkc.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) #include <dt-bindings/reset/g12a-aoclkc.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #endif /* __G12A_AOCLKC_H */