qcom,apq8016-sbc.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. * Qualcomm Technologies APQ8016 SBC ASoC machine driver
  2. This node models the Qualcomm Technologies APQ8016 SBC ASoC machine driver
  3. Required properties:
  4. - compatible : "qcom,apq8016-sbc-sndcard"
  5. - pinctrl-N : One property must exist for each entry in
  6. pinctrl-names. See ../pinctrl/pinctrl-bindings.txt
  7. for details of the property values.
  8. - pinctrl-names : Must contain a "default" entry.
  9. - reg : Must contain an address for each entry in reg-names.
  10. - reg-names : A list which must include the following entries:
  11. * "mic-iomux"
  12. * "spkr-iomux"
  13. - qcom,model : Name of the sound card.
  14. Dai-link subnode properties and subnodes:
  15. Required dai-link subnodes:
  16. - cpu : CPU sub-node
  17. - codec : CODEC sub-node
  18. Required CPU/CODEC subnodes properties:
  19. -link-name : Name of the dai link.
  20. -sound-dai : phandle and port of CPU/CODEC
  21. -capture-dai : phandle and port of CPU/CODEC
  22. Example:
  23. sound: sound {
  24. compatible = "qcom,apq8016-sbc-sndcard";
  25. reg = <0x07702000 0x4>, <0x07702004 0x4>;
  26. reg-names = "mic-iomux", "spkr-iomux";
  27. qcom,model = "DB410c";
  28. /* I2S - Internal codec */
  29. internal-dai-link@0 {
  30. cpu { /* PRIMARY */
  31. sound-dai = <&lpass MI2S_PRIMARY>;
  32. };
  33. codec {
  34. sound-dai = <&wcd_codec 0>;
  35. };
  36. };
  37. /* External Primary or External Secondary -ADV7533 HDMI */
  38. external-dai-link@0 {
  39. link-name = "ADV7533";
  40. cpu { /* QUAT */
  41. sound-dai = <&lpass MI2S_QUATERNARY>;
  42. };
  43. codec {
  44. sound-dai = <&adv_bridge 0>;
  45. };
  46. };
  47. };