Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/dts Enable audio codec



details:   https://anonhg.NetBSD.org/src/rev/bb42bfdca09a
branches:  trunk
changeset: 318943:bb42bfdca09a
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu May 10 00:05:01 2018 +0000
description:
Enable audio codec

diffstat:

 sys/arch/arm/dts/sun50i-a64-pinebook.dts |  19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 6980837ff643 -r bb42bfdca09a sys/arch/arm/dts/sun50i-a64-pinebook.dts
--- a/sys/arch/arm/dts/sun50i-a64-pinebook.dts  Thu May 10 00:04:46 2018 +0000
+++ b/sys/arch/arm/dts/sun50i-a64-pinebook.dts  Thu May 10 00:05:01 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun50i-a64-pinebook.dts,v 1.8 2018/05/06 10:43:52 jmcneill Exp $ */
+/* $NetBSD: sun50i-a64-pinebook.dts,v 1.9 2018/05/10 00:05:01 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -163,3 +163,20 @@
 };
 
 #include "axp803.dtsi"
+
+&codec {
+       allwinner,pa-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>;       /* PH7 */
+       status = "okay";
+};
+
+&codec_analog {
+       status = "okay";
+};
+
+&dai {
+       status = "okay";
+};
+
+&sound {
+       status = "okay";
+};



Home | Main Index | Thread Index | Old Index