clk-exynos-audss.txt 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. * Samsung Audio Subsystem Clock Controller
  2. The Samsung Audio Subsystem clock controller generates and supplies clocks
  3. to Audio Subsystem block available in the S5PV210 and Exynos SoCs. The clock
  4. binding described here is applicable to all SoCs in Exynos family.
  5. Required Properties:
  6. - compatible: should be one of the following:
  7. - "samsung,exynos4210-audss-clock" - controller compatible with all Exynos4 SoCs.
  8. - "samsung,exynos5250-audss-clock" - controller compatible with all Exynos5 SoCs.
  9. - reg: physical base address and length of the controller's register set.
  10. - #clock-cells: should be 1.
  11. The following is the list of clocks generated by the controller. Each clock is
  12. assigned an identifier and client nodes use this identifier to specify the
  13. clock which they consume. Some of the clocks are available only on a particular
  14. Exynos4 SoC and this is specified where applicable.
  15. Provided clocks:
  16. Clock ID SoC (if specific)
  17. -----------------------------------------------
  18. mout_audss 0
  19. mout_i2s 1
  20. dout_srp 2
  21. dout_aud_bus 3
  22. dout_i2s 4
  23. srp_clk 5
  24. i2s_bus 6
  25. sclk_i2s 7
  26. pcm_bus 8
  27. sclk_pcm 9
  28. Example 1: An example of a clock controller node is listed below.
  29. clock_audss: audss-clock-controller@3810000 {
  30. compatible = "samsung,exynos5250-audss-clock";
  31. reg = <0x03810000 0x0C>;
  32. #clock-cells = <1>;
  33. };
  34. Example 2: I2S controller node that consumes the clock generated by the clock
  35. controller. Refer to the standard clock bindings for information
  36. about 'clocks' and 'clock-names' property.
  37. i2s0: i2s@03830000 {
  38. compatible = "samsung,i2s-v5";
  39. reg = <0x03830000 0x100>;
  40. dmas = <&pdma0 10
  41. &pdma0 9
  42. &pdma0 8>;
  43. dma-names = "tx", "rx", "tx-sec";
  44. clocks = <&clock_audss EXYNOS_I2S_BUS>,
  45. <&clock_audss EXYNOS_I2S_BUS>,
  46. <&clock_audss EXYNOS_SCLK_I2S>,
  47. <&clock_audss EXYNOS_MOUT_AUDSS>,
  48. <&clock_audss EXYNOS_MOUT_I2S>;
  49. clock-names = "iis", "i2s_opclk0", "i2s_opclk1",
  50. "mout_audss", "mout_i2s";
  51. };