150-dt-sun7i-enable-codec-on-pcduino3.patch 663 B

123456789101112131415161718192021222324252627
  1. From 5296d8ff65298091758aa8d50d00539cd3781042 Mon Sep 17 00:00:00 2001
  2. From: Jelle van der Waa <jelle@vdwaa.nl>
  3. Date: Sun, 9 Aug 2015 18:51:22 +0200
  4. Subject: [PATCH] ARM: dts: sun7i: Enable audio codec on pcDuino
  5. Enable the on-chip audio codec
  6. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
  7. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  8. ---
  9. arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 5 +++++
  10. 1 file changed, 5 insertions(+)
  11. --- a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
  12. +++ b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
  13. @@ -111,6 +111,11 @@
  14. allwinner,pins = "PH2";
  15. };
  16. +
  17. +&codec {
  18. + status = "okay";
  19. +};
  20. +
  21. &cpu0 {
  22. cpu-supply = <&reg_dcdc2>;
  23. };