rk3188 i2s dts : set i2s drive default 8ma
authorqjb <qjb@rock-chips.com>
Tue, 25 Feb 2014 09:22:13 +0000 (17:22 +0800)
committerqjb <qjb@rock-chips.com>
Tue, 25 Feb 2014 09:22:13 +0000 (17:22 +0800)
arch/arm/boot/dts/rk3188-pinctrl.dtsi
sound/soc/rockchip/rk30_i2s.c

index c5e665b003daffe04c6463c496459eba5abcd250..81151a547629253566cbe0ba70941ed4b33aec2e 100755 (executable)
                                rockchip,pins = <I2S0_MCLK>;
                                rockchip,pull = <VALUE_PULL_DISABLE>;
                                //rockchip,voltage = <VALUE_VOL_DEFAULT>;
-                               rockchip,drive = <VALUE_DRV_DEFAULT>;
+                               rockchip,drive = <VALUE_DRV_8MA>;
                                //rockchip,tristate = <VALUE_TRI_DEFAULT>;
 
                        };
                                rockchip,pins = <I2S0_SCLK>;
                                rockchip,pull = <VALUE_PULL_DISABLE>;
                                //rockchip,voltage = <VALUE_VOL_DEFAULT>;
-                               rockchip,drive = <VALUE_DRV_DEFAULT>;
+                               rockchip,drive = <VALUE_DRV_8MA>;
                                //rockchip,tristate = <VALUE_TRI_DEFAULT>;
 
                        };
                                rockchip,pins = <I2S0_LRCKRX>;
                                rockchip,pull = <VALUE_PULL_DISABLE>;
                                //rockchip,voltage = <VALUE_VOL_DEFAULT>;
-                               rockchip,drive = <VALUE_DRV_DEFAULT>;
+                               rockchip,drive = <VALUE_DRV_8MA>;
                                //rockchip,tristate = <VALUE_TRI_DEFAULT>;
 
                        };
                                rockchip,pins = <I2S0_LRCKTX>;
                                rockchip,pull = <VALUE_PULL_DISABLE>;
                                //rockchip,voltage = <VALUE_VOL_DEFAULT>;
-                               rockchip,drive = <VALUE_DRV_DEFAULT>;
+                               rockchip,drive = <VALUE_DRV_8MA>;
                                //rockchip,tristate = <VALUE_TRI_DEFAULT>;
 
                        };
                                rockchip,pins = <I2S0_SDO>;
                                rockchip,pull = <VALUE_PULL_DISABLE>;
                                //rockchip,voltage = <VALUE_VOL_DEFAULT>;
-                               rockchip,drive = <VALUE_DRV_DEFAULT>;
+                               rockchip,drive = <VALUE_DRV_8MA>;
                                //rockchip,tristate = <VALUE_TRI_DEFAULT>;
 
                        };
                                rockchip,pins = <I2S0_SDI>;
                                rockchip,pull = <VALUE_PULL_DISABLE>;
                                //rockchip,voltage = <VALUE_VOL_DEFAULT>;
-                               rockchip,drive = <VALUE_DRV_DEFAULT>;
+                               rockchip,drive = <VALUE_DRV_8MA>;
                                //rockchip,tristate = <VALUE_TRI_DEFAULT>;
 
                        };
                                                <FUNC_TO_GPIO(I2S0_LRCKTX)>,
                                                <FUNC_TO_GPIO(I2S0_SDO)>,
                                                <FUNC_TO_GPIO(I2S0_SDI)>;
-                               rockchip,drive = <VALUE_DRV_DEFAULT>;
+                               rockchip,drive = <VALUE_DRV_8MA>;
                        };
                };
        
index e72d893505cad937c006787aa6b427f7f5268e90..c28d46b7563394d50a4be3951055f8c6ed6a9baf 100755 (executable)
@@ -192,11 +192,7 @@ static void rockchip_snd_rxctrl(struct rk30_i2s_info *i2s, int on)
        }
 
        spin_unlock_irqrestore(&lock, flags);
-#ifdef CONFIG_SND_SOC_RT5631
-//bard 7-16 s
-               schedule_delayed_work(&rt5631_delay_cap,HZ/4);
-//bard 7-16 e
-#endif
+
        if (is_need_delay){
                while(readl(&(pheadi2s->I2S_CLR)) && clr_error_count){
                        udelay(1);