167-4-dt-sun7i-add-codec-to-cubietruck.patch 810 B

1234567891011121314151617181920212223242526272829
  1. From 42ac277ad129cf69d5540938c943f6291a7a9898 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Emilio=20L=C3=B3pez?= <elopez93@gmail.com>
  3. Date: Mon, 18 Aug 2014 01:10:05 -0300
  4. Subject: [PATCH] ARM: sun7i: dt: enable audio codec on Cubietruck
  5. This commit enables the on-chip audio codec present on the A20 SoC
  6. and outlines the SoC to connector routes for the Cubietruck.
  7. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  8. ---
  9. arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 7 +++++++
  10. 1 file changed, 7 insertions(+)
  11. --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
  12. +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
  13. @@ -257,6 +257,13 @@
  14. #include "axp209.dtsi"
  15. +&codec {
  16. + routing =
  17. + "Headphone Jack", "HP Left",
  18. + "Headphone Jack", "HP Right";
  19. + status = "okay";
  20. +};
  21. +
  22. &cpu0 {
  23. cpu-supply = <&reg_dcdc2>;
  24. };