swr-wcd-ctrl.txt 812 B

123456789101112131415161718192021222324252627282930313233
  1. Qualcomm technologies inc WCD Codec SoundWire controller
  2. Required properties:
  3. - compatible : should be "qcom,swr-wcd"
  4. - reg : Unique device ID(48 bits) of Soundwire slave device node.
  5. In the below example, wsa881x is soundwire slave device for
  6. which the swr-devid is <0x0 0x032000> where 0x03 represents
  7. device Unique_ID, 0x20 represents Part_Id1 and 0x00
  8. represents part_Id2.
  9. - qcom,swr-num-dev : Maximum number of possible slave devices.
  10. - #address-cells = <2>;
  11. - #size-cells = <0>;
  12. Optional property:
  13. Example:
  14. swr_master {
  15. compatible = "qcom,swr-wcd";
  16. qcom,swr-num-dev = <2>;
  17. #address-cells = <2>;
  18. #size-cells = <0>;
  19. wsa881x@32000 {
  20. compatible = "qcom,wsa881x";
  21. reg = <0x00 0x032000>;
  22. };
  23. wsa881x@42000 {
  24. compatible = "qcom,wsa881x";
  25. reg = <0x00 0x042000>;
  26. };
  27. };