mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 23:51:37 +00:00
133bb341b9
When submitted v2 of the G12A AO-CLK IDs, the CLKID_AO_CTS_OSCIN was moved
to the internal non-exported bindings, but this clock is necessary for
the second AO-CEC-B module since it embeds the 32768Hz dual-divider
clock generator unlike the AO-CEC-A module.
Export it back to the public bindings.
Fixes: be3d960b0a
("dt-bindings: clk: add G12A AO Clock and Reset Bindings")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lkml.kernel.org/r/20190321092010.14382-1-narmstrong@baylibre.com
33 lines
896 B
C
33 lines
896 B
C
/* 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_DIV 17
|
|
#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 */
|