Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1434701

[PATCH v4 6/7] ARM: dts: sun9i: cubieboard4: Add device node for AC100

From Chen-Yu Tsai <wens@csie.org>
Newsgroups linux.kernel
Subject [PATCH v4 6/7] ARM: dts: sun9i: cubieboard4: Add device node for AC100
Date 2016-06-30 18:10 +0200
Message-ID <rPMHn-3hk-19@gated-at.bofh.it> (permalink)
References <rPMHn-3hk-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
Changes since v3:                           

  - Moved 4M ADDA clk to codec side

Changes since v2: none
Changes since v1: none
---
 arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts b/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts
index 1526b41c70f1..cf2f4b72a841 100644
--- a/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts
+++ b/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts
@@ -250,6 +250,30 @@
 			};
 		};
 	};
+
+	ac100: codec@e89 {
+		compatible = "x-powers,ac100";
+		reg = <0xe89>;
+
+		ac100_codec: codec {
+			compatible = "x-powers,ac100-codec";
+			interrupt-parent = <&r_pio>;
+			interrupts = <0 9 IRQ_TYPE_LEVEL_LOW>; /* PL9 */
+			#clock-cells = <0>;
+			clock-output-names = "4M_adda";
+		};
+
+		ac100_rtc: rtc {
+			compatible = "x-powers,ac100-rtc";
+			interrupt-parent = <&nmi_intc>;
+			interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+			clocks = <&ac100_codec>;
+			#clock-cells = <1>;
+			clock-output-names = "cko1_rtc",
+					     "cko2_rtc",
+					     "cko3_rtc";
+		};
+	};
 };
 
 #include "axp809.dtsi"
-- 
2.8.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/7] mfd: ac100: Add support for X-Powers AC100 audio codec / RTC combo IC Chen-Yu Tsai <wens@csie.org> - 2016-06-30 18:10 +0200
  [PATCH v4 1/7] mfd: ac100: Add device tree bindings for X-Powers AC100 codec/RTC combo IC Chen-Yu Tsai <wens@csie.org> - 2016-06-30 18:10 +0200
    Re: [PATCH v4 1/7] mfd: ac100: Add device tree bindings for X-Powers  AC100 codec/RTC combo IC Rob Herring <robh@kernel.org> - 2016-07-01 04:50 +0200
    Re: [PATCH v4 1/7] mfd: ac100: Add device tree bindings for X-Powers  AC100 codec/RTC combo IC Lee Jones <lee.jones@linaro.org> - 2016-07-01 10:50 +0200
  [PATCH v4 6/7] ARM: dts: sun9i: cubieboard4: Add device node for AC100 Chen-Yu Tsai <wens@csie.org> - 2016-06-30 18:10 +0200
  [PATCH v4 2/7] mfd: ac100: Add driver for X-Powers AC100 audio codec / RTC combo IC Chen-Yu Tsai <wens@csie.org> - 2016-06-30 18:10 +0200
  [PATCH v4 7/7] ARM: dts: sun9i: Switch to the AC100 RTC clock outputs for osc32k Chen-Yu Tsai <wens@csie.org> - 2016-06-30 18:30 +0200

csiph-web