1d5b0e70fSEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2d5b0e70fSEmmanuel Vadot /* 3d5b0e70fSEmmanuel Vadot * Copyright (c) 2021, The Linux Foundation. All rights reserved. 4d5b0e70fSEmmanuel Vadot */ 5d5b0e70fSEmmanuel Vadot 6d5b0e70fSEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_QCOM_LPASS_AUDIO_CC_SC7280_H 7d5b0e70fSEmmanuel Vadot #define _DT_BINDINGS_CLK_QCOM_LPASS_AUDIO_CC_SC7280_H 8d5b0e70fSEmmanuel Vadot 9d5b0e70fSEmmanuel Vadot /* LPASS_AUDIO_CC clocks */ 10d5b0e70fSEmmanuel Vadot #define LPASS_AUDIO_CC_PLL 0 11d5b0e70fSEmmanuel Vadot #define LPASS_AUDIO_CC_PLL_OUT_AUX2 1 12d5b0e70fSEmmanuel Vadot #define LPASS_AUDIO_CC_PLL_OUT_AUX2_DIV_CLK_SRC 2 13d5b0e70fSEmmanuel Vadot #define LPASS_AUDIO_CC_PLL_OUT_MAIN_DIV_CLK_SRC 3 14d5b0e70fSEmmanuel Vadot #define LPASS_AUDIO_CC_CDIV_RX_MCLK_DIV_CLK_SRC 4 15d5b0e70fSEmmanuel Vadot #define LPASS_AUDIO_CC_CODEC_MEM0_CLK 5 16d5b0e70fSEmmanuel Vadot #define LPASS_AUDIO_CC_CODEC_MEM1_CLK 6 17d5b0e70fSEmmanuel Vadot #define LPASS_AUDIO_CC_CODEC_MEM2_CLK 7 18d5b0e70fSEmmanuel Vadot #define LPASS_AUDIO_CC_CODEC_MEM_CLK 8 19d5b0e70fSEmmanuel Vadot #define LPASS_AUDIO_CC_EXT_MCLK0_CLK 9 20d5b0e70fSEmmanuel Vadot #define LPASS_AUDIO_CC_EXT_MCLK0_CLK_SRC 10 21d5b0e70fSEmmanuel Vadot #define LPASS_AUDIO_CC_EXT_MCLK1_CLK 11 22d5b0e70fSEmmanuel Vadot #define LPASS_AUDIO_CC_EXT_MCLK1_CLK_SRC 12 23d5b0e70fSEmmanuel Vadot #define LPASS_AUDIO_CC_RX_MCLK_2X_CLK 13 24d5b0e70fSEmmanuel Vadot #define LPASS_AUDIO_CC_RX_MCLK_CLK 14 25d5b0e70fSEmmanuel Vadot #define LPASS_AUDIO_CC_RX_MCLK_CLK_SRC 15 26d5b0e70fSEmmanuel Vadot 27*7ef62cebSEmmanuel Vadot /* LPASS AUDIO CC CSR */ 28*7ef62cebSEmmanuel Vadot #define LPASS_AUDIO_SWR_RX_CGCR 0 29*7ef62cebSEmmanuel Vadot #define LPASS_AUDIO_SWR_TX_CGCR 1 30*7ef62cebSEmmanuel Vadot #define LPASS_AUDIO_SWR_WSA_CGCR 2 31*7ef62cebSEmmanuel Vadot 32d5b0e70fSEmmanuel Vadot /* LPASS_AON_CC clocks */ 33d5b0e70fSEmmanuel Vadot #define LPASS_AON_CC_PLL 0 34d5b0e70fSEmmanuel Vadot #define LPASS_AON_CC_PLL_OUT_EVEN 1 35d5b0e70fSEmmanuel Vadot #define LPASS_AON_CC_PLL_OUT_MAIN_CDIV_DIV_CLK_SRC 2 36d5b0e70fSEmmanuel Vadot #define LPASS_AON_CC_PLL_OUT_ODD 3 37d5b0e70fSEmmanuel Vadot #define LPASS_AON_CC_AUDIO_HM_H_CLK 4 38d5b0e70fSEmmanuel Vadot #define LPASS_AON_CC_CDIV_TX_MCLK_DIV_CLK_SRC 5 39d5b0e70fSEmmanuel Vadot #define LPASS_AON_CC_MAIN_RCG_CLK_SRC 6 40d5b0e70fSEmmanuel Vadot #define LPASS_AON_CC_TX_MCLK_2X_CLK 7 41d5b0e70fSEmmanuel Vadot #define LPASS_AON_CC_TX_MCLK_CLK 8 42d5b0e70fSEmmanuel Vadot #define LPASS_AON_CC_TX_MCLK_RCG_CLK_SRC 9 43d5b0e70fSEmmanuel Vadot #define LPASS_AON_CC_VA_MEM0_CLK 10 44d5b0e70fSEmmanuel Vadot 45d5b0e70fSEmmanuel Vadot /* LPASS_AON_CC power domains */ 46d5b0e70fSEmmanuel Vadot #define LPASS_AON_CC_LPASS_AUDIO_HM_GDSC 0 47d5b0e70fSEmmanuel Vadot 48d5b0e70fSEmmanuel Vadot #endif 49