Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp728523img; Thu, 28 Feb 2019 07:00:54 -0800 (PST) X-Google-Smtp-Source: AHgI3IbMoRy7P0K9S2KuFfK9VERWmh3oJZFfOZYI5Lf84ORE42gd8gPilLfZu4PVQpUrk01M8r38 X-Received: by 2002:a17:902:650b:: with SMTP id b11mr8450855plk.293.1551366054099; Thu, 28 Feb 2019 07:00:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551366054; cv=none; d=google.com; s=arc-20160816; b=0ZEHhjgk/H36bQCik4EpDmRcjZLPmGzq0OyZ5sxn4U0LKAOVMbm81mJ8NgspcFQigA e68WYnGfS0wf0L6pU+u1JPkpYiWQhcp9wryA6XpLH39tgA2dbvl+LDFNhfEpbPt2oYfW IfKrIaamX1mupqkfWC8ls1+ZtfQgFrYoM8+l161fukjJynuQaNiVbriE7gFUoyrhmTZc O25toxewrcaAD8QLXPWCu0GBBFpqhkHTvFduG7eaeOFQSSsEpMl3aVvS2+6GTTa0ZrSU wVW6oP/9XNgG51uhJwdQ430hX+TVoKKmUTydKWklCu4RB9UMeObtHrLbnjQoBr2nH/4Z vs8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=3p8RCMY2jzBWOZk4xynt0EJbupgQVz3ExEoi+PQn7KM=; b=KwlHgOBAiwjffsiP4ap1PAAX77rdZbB18UWWRVVFtWH2rDOR9tlAXUAyLI9owq3gmq 6iGFKWaV5NsCpeFCFl2brmub+0sVuZyNSssvkhkErPF018BUvpxYwoRaD3pfQ6v1oYbm vKebJoXVLpjZXHNR5Lr8kDNIxXkyfwmXUnRG7uUwCXBrD178Y3kTXrvtc8KZN78ZlEj8 vUfwqBFhtVFWXo8LrhzLfj84zdcgp8FWoCvnjY0KeMBHnqVK/sm5mDESvJKRDKejVcTt CKRoUhGpvqsqpYMSYn08gBlGFN1y0PG/MqyCWUjllpAivIBUwlsF8ALuAwu2d0JlBjYa bfyQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n20si18290032pgk.325.2019.02.28.07.00.37; Thu, 28 Feb 2019 07:00:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732774AbfB1OYb (ORCPT + 99 others); Thu, 28 Feb 2019 09:24:31 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:4744 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726027AbfB1OYb (ORCPT ); Thu, 28 Feb 2019 09:24:31 -0500 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 0DC0AF8584C9BB86314B; Thu, 28 Feb 2019 22:24:29 +0800 (CST) Received: from HSH1000045364.huawei.com (10.177.181.43) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.408.0; Thu, 28 Feb 2019 22:24:21 +0800 From: Pengcheng Li To: , , , , , , , , , , , CC: , , , , , , , , , Subject: [PATCH 3/3] arm64: dts: hi3660-hikey960: Add i2s & sound device Date: Thu, 28 Feb 2019 22:08:13 +0800 Message-ID: <1551362893-100023-1-git-send-email-lipengcheng8@huawei.com> X-Mailer: git-send-email 2.8.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.181.43] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Youlin Wang Signed-off-by: Youlin Wang Signed-off-by: Tanglei Han Signed-off-by: Guangke Ji Signed-off-by: Feng Chen Signed-off-by: Kaihua Zhong Signed-off-by: Jun Chen Signed-off-by: John Stultz Signed-off-by: Yiping Xu Signed-off-by: Pengcheng Li Cc: Wei Xu Cc: Rob Herring Cc: Mark Rutland --- 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