Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751359AbaLOC4q (ORCPT ); Sun, 14 Dec 2014 21:56:46 -0500 Received: from regular1.263xmail.com ([211.150.99.137]:57182 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750713AbaLOC4h (ORCPT ); Sun, 14 Dec 2014 21:56:37 -0500 X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-RL-SENDER: ykk@rock-chips.com X-FST-TO: ykk@rock-chips.com X-SENDER-IP: 104.167.231.7 X-LOGIN-NAME: ykk@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 From: Yakir Yang To: ykk@rock-chips.com Cc: Heiko Stuebner , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Philipp Zabel , Zubair.Kakakhel@imgtec.com, Fabio Estevam , Shawn Guo , dri-devel@lists.freedesktop.org, Daniel Kurtz , Sonny Rao , Dylan Reid , Xu Jianqun , =?UTF-8?q?St=A8=A6phane=20Marchesin?= , Lars-Peter Clausen , Brian Austin , Bard Liao , Max Filippov , Oder Chiou , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, alsa-devel@alsa-project.org, Arnd Bergmann , David Airlie , Sean Cross , Grant Likely , Greg Kroah-Hartman , Ben Zhang , Liam Girdwood , Jaroslav Kysela , Mark Brown , Takashi Iwai , Jyri Sarha Subject: [PATCH 6/6] ARM: dts: rockchip: add hdmi audio nodes Date: Mon, 15 Dec 2014 10:56:14 +0800 Message-Id: <1418612174-19784-1-git-send-email-ykk@rock-chips.com> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1418609494-15820-1-git-send-email-ykk@rock-chips.com> References: <1418609494-15820-1-git-send-email-ykk@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add hdmi_audio to rk3288.dtsi, enable hdmi_audio in rk3288-evb.dts Signed-off-by: Yakir Yang series-cc: Dominik Behr --- arch/arm/boot/dts/rk3288-evb.dtsi | 11 +++++++++++ arch/arm/boot/dts/rk3288.dtsi | 8 ++++++++ 2 files changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi index 3e067dd..53115d4 100644 --- a/arch/arm/boot/dts/rk3288-evb.dtsi +++ b/arch/arm/boot/dts/rk3288-evb.dtsi @@ -120,6 +120,17 @@ status = "okay"; }; +&i2s { + status = "okay"; + clock-names = "i2s_hclk", "i2s_clk", "i2s_clk_out"; + clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>, + <&cru SCLK_I2S0_OUT>; +}; + +&hdmi_audio { + status = "okay"; +}; + &wdt { status = "okay"; }; diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index fd19f00..3eeba16 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -588,6 +588,14 @@ interrupts = ; }; + hdmi_audio: hdmi_audio { + compatible = "rockchip,rk3288-hdmi-audio"; + cpu-of-node = <&i2s>; + codec-name = "dw-hdmi-audio"; + codec-dai-name = "dw-hdmi-hifi"; + status = "disable"; + }; + pinctrl: pinctrl { compatible = "rockchip,rk3288-pinctrl"; rockchip,grf = <&grf>; -- 2.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/