diff options
author | Nicolin Chen <Guangyu.Chen@freescale.com> | 2014-04-01 16:23:37 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 08:58:11 -0500 |
commit | baac7c0d466f6dd2a857ec679d20beecf554780b (patch) | |
tree | ecf3cf565a5bcd11d391c45727cdfe6e3ab31351 /include | |
parent | 0c8dc6b67e6e06f5c24d460f1b14a9b6ad2bc137 (diff) |
ENGR00306442-1 ARM: imx6sx: Merge SPDIF and AUDIO clocks into one gate clock
On Solo X, SPDIF and AUDIO clocks shares one single gate to switch two
entirely different clock routes:
SPDIF <-- <---- SPDIF_PODF ----....
\ /
gate1
/ \
AUDIO <-- <---- AUDIO_PODF ----....
The two audio modules would easily cause conflict during clock operations
if running in the same time:
SPDIF <-- gate1 <---- SPDIF_PODF ----....
AUDIO <-- gate1 <---- AUDIO_PODF ----....
To keep them safe, we here have to merge them into one gate clock and limit
their rates and parent identical:
<---- SPDIF_PODF ----....
/
SPDIF, AUDIO <-- gate1
\
<---- AUDIO_PODF ----....
[ The only disadvantage of this modification is that we can not separately
set a different clock rates and clock sources to SPDIF and AUDIO clock. ]
Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/dt-bindings/clock/imx6sx-clock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dt-bindings/clock/imx6sx-clock.h b/include/dt-bindings/clock/imx6sx-clock.h index 0cc658b7e436..4fe0e4686794 100644 --- a/include/dt-bindings/clock/imx6sx-clock.h +++ b/include/dt-bindings/clock/imx6sx-clock.h @@ -249,6 +249,7 @@ #define IMX6SX_CLK_ASRC_MEM 236 #define IMX6SX_CLK_SAI1_IPG 237 #define IMX6SX_CLK_SAI2_IPG 238 -#define IMX6SX_CLK_CLK_END 239 +#define IMX6SX_CLK_AUDIO_GATE 239 +#define IMX6SX_CLK_CLK_END 240 #endif /* __DT_BINDINGS_CLOCK_IMX6SX_H */ |