Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: clock: g12a-aoclk: expose CLKID_AO_CTS_OSCIN

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: be3d960b0aeb ("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

+1 -1
-1
drivers/clk/meson/g12a-aoclk.h
··· 17 17 * will remain defined here. 18 18 */ 19 19 #define CLKID_AO_SAR_ADC_DIV 17 20 - #define CLKID_AO_CTS_OSCIN 19 21 20 #define CLKID_AO_32K_PRE 20 22 21 #define CLKID_AO_32K_DIV 21 23 22 #define CLKID_AO_32K_SEL 22
+1
include/dt-bindings/clock/g12a-aoclkc.h
··· 28 28 #define CLKID_AO_CLK81 15 29 29 #define CLKID_AO_SAR_ADC_SEL 16 30 30 #define CLKID_AO_SAR_ADC_CLK 18 31 + #define CLKID_AO_CTS_OSCIN 19 31 32 #define CLKID_AO_32K 23 32 33 #define CLKID_AO_CEC 27 33 34 #define CLKID_AO_CTS_RTC_OSCIN 28