qcom,lcc-mdm9615.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. * Copyright (c) 2014, The Linux Foundation. All rights reserved.
  3. * Copyright (c) BayLibre, SAS.
  4. * Author : Neil Armstrong <narmstrong@baylibre.com>
  5. *
  6. * This software is licensed under the terms of the GNU General Public
  7. * License version 2, as published by the Free Software Foundation, and
  8. * may be copied, distributed, and modified under those terms.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. */
  15. #ifndef _DT_BINDINGS_CLK_LCC_MDM9615_H
  16. #define _DT_BINDINGS_CLK_LCC_MDM9615_H
  17. #define PLL4 0
  18. #define MI2S_OSR_SRC 1
  19. #define MI2S_OSR_CLK 2
  20. #define MI2S_DIV_CLK 3
  21. #define MI2S_BIT_DIV_CLK 4
  22. #define MI2S_BIT_CLK 5
  23. #define PCM_SRC 6
  24. #define PCM_CLK_OUT 7
  25. #define PCM_CLK 8
  26. #define SLIMBUS_SRC 9
  27. #define AUDIO_SLIMBUS_CLK 10
  28. #define SPS_SLIMBUS_CLK 11
  29. #define CODEC_I2S_MIC_OSR_SRC 12
  30. #define CODEC_I2S_MIC_OSR_CLK 13
  31. #define CODEC_I2S_MIC_DIV_CLK 14
  32. #define CODEC_I2S_MIC_BIT_DIV_CLK 15
  33. #define CODEC_I2S_MIC_BIT_CLK 16
  34. #define SPARE_I2S_MIC_OSR_SRC 17
  35. #define SPARE_I2S_MIC_OSR_CLK 18
  36. #define SPARE_I2S_MIC_DIV_CLK 19
  37. #define SPARE_I2S_MIC_BIT_DIV_CLK 20
  38. #define SPARE_I2S_MIC_BIT_CLK 21
  39. #define CODEC_I2S_SPKR_OSR_SRC 22
  40. #define CODEC_I2S_SPKR_OSR_CLK 23
  41. #define CODEC_I2S_SPKR_DIV_CLK 24
  42. #define CODEC_I2S_SPKR_BIT_DIV_CLK 25
  43. #define CODEC_I2S_SPKR_BIT_CLK 26
  44. #define SPARE_I2S_SPKR_OSR_SRC 27
  45. #define SPARE_I2S_SPKR_OSR_CLK 28
  46. #define SPARE_I2S_SPKR_DIV_CLK 29
  47. #define SPARE_I2S_SPKR_BIT_DIV_CLK 30
  48. #define SPARE_I2S_SPKR_BIT_CLK 31
  49. #endif