From: qjb Date: Mon, 3 Mar 2014 09:58:57 +0000 (+0800) Subject: dts : add rk610 core and rk610 codec X-Git-Tag: firefly_0821_release~6230 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8d31d96d4712e477654644f9da40e5cc922dcad9;p=firefly-linux-kernel-4.4.55.git dts : add rk610 core and rk610 codec --- diff --git a/arch/arm/boot/dts/rk3188-tb.dts b/arch/arm/boot/dts/rk3188-tb.dts index 09ca6848a36d..ac1bbace1801 100644 --- a/arch/arm/boot/dts/rk3188-tb.dts +++ b/arch/arm/boot/dts/rk3188-tb.dts @@ -80,6 +80,22 @@ }; }; + rockchip-rk610 { + compatible = "rockchip-rk610"; + dais { + dai0 { + codec-name = "rk610_codec.0-0060"; + cpu-dai-name = "rockchip-i2s.1"; + format = "i2s"; + //continuous-clock; + //bitclock-inversion; + //frame-inversion; + //bitclock-master; + //frame-master; + }; + }; + }; + rockchip-hdmi-i2s { compatible = "rockchip-hdmi-i2s"; dais { @@ -111,10 +127,27 @@ &i2c0 { status = "okay"; - codec@1a { + rt5631@1a { compatible = "rt5631"; reg = <0x1a>; }; + + rk610ctl@40 { + compatible = "rk610_ctl"; + reg = <0x40>; + rk610-reset-io = <&gpio3 GPIO_B2 GPIO_ACTIVE_HIGH>; + clocks = <&clk_i2s>; + clock-names = "i2s_clk"; + }; + + rk610codec@60 {//RK610_CODEC addr from 0x60 to 0x80 (0x60~0x80) + compatible = "rk610_codec"; + reg = <0x60>; + spk_ctl_io = <&gpio2 GPIO_D7 GPIO_ACTIVE_HIGH>; + boot_depop = <1>; + pa_enable_time = <1000>; + }; + }; &i2c1 {