lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1551362893-100023-1-git-send-email-lipengcheng8@huawei.com>
Date:   Thu, 28 Feb 2019 22:08:13 +0800
From:   Pengcheng Li <lipengcheng8@...wei.com>
To:     <xuwei5@...ilicon.com>, <robh+dt@...nel.org>,
        <mark.rutland@....com>, <catalin.marinas@....com>,
        <will.deacon@....com>, <lgirdwood@...il.com>, <broonie@...nel.org>,
        <perex@...ex.cz>, <tiwai@...e.com>, <john.stultz@...aro.org>,
        <alsa-devel@...a-project.org>, <linux-kernel@...r.kernel.org>
CC:     <lipengcheng8@...wei.com>, <suzhuangluan@...ilicon.com>,
        <kongfei@...ilicon.com>, <liyuequan@...ilicon.com>,
        <cash.qianli@...ilicon.com>, <huangli295@...ilicon.com>,
        <hantanglei@...wei.com>, <wangyoulin1@...ilicon.com>,
        <ninggaoyu@...ilicon.com>, <xuwei5@...wei.com>
Subject: [PATCH 3/3] arm64: dts: hi3660-hikey960: Add i2s & sound device

From: Youlin Wang <wangyoulin1@...ilicon.com>

Signed-off-by: Youlin Wang <wangyoulin1@...ilicon.com>
Signed-off-by: Tanglei Han <hantanglei@...wei.com>
Signed-off-by: Guangke Ji <jiguangke@...wei.com>
Signed-off-by: Feng Chen <puck.chen@...ilicon.com>
Signed-off-by: Kaihua Zhong <zhongkaihua@...wei.com>
Signed-off-by: Jun Chen <chenjun14@...wei.com>
Signed-off-by: John Stultz <john.stultz@...aro.org>
Signed-off-by: Yiping Xu <xuyiping@...ilicon.com>
Signed-off-by: Pengcheng Li <lipengcheng8@...wei.com>
Cc: Wei Xu <xuwei5@...ilicon.com>
Cc: Rob Herring <robh+dt@...nel.org>
Cc: Mark Rutland <mark.rutland@....com>
---
 arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 29 +++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
index 186251f..457cebc 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
@@ -27,6 +27,35 @@
 		/* rewrite this at bootloader */
 		reg = <0x0 0x0 0x0 0x0>;
 	};
+
+	i2s2: hi3660_i2s {
+		compatible = "hisilicon,hi3660-i2s-1.0";
+		reg = <0x0 0xe804f800 0x0 0x400>,
+			<0x0 0xe804e000 0x0 0x400>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&i2s2_pmx_func &i2s2_cfg_func>;
+		dmas = <&asp_dmac 18 &asp_dmac 19>;
+		dma-names = "rx", "tx";
+		#sound-dai-cells = <0>;
+	};
+
+	sound {
+		compatible = "simple-audio-card";
+		simple-audio-card,name = "hikey-hdmi";
+		simple-audio-card,format = "i2s";
+
+		simple-audio-card,bitclock-master = <&sound_master>;
+		simple-audio-card,frame-master = <&sound_master>;
+
+		sound_master: simple-audio-card,cpu {
+			sound-dai = <&i2s2>;
+		};
+
+		simple-audio-card,codec {
+			sound-dai = <&adv7533>;
+		};
+	};
+
 };
 
 &uart5 {
-- 
2.8.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ