Firefly Open Source Community

   Login   |   Register   |
New_Topic
12
New Topic
Print Previous Topic Next Topic

Enable The I2S MCLK

2442

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
2442
Posted at 2/16/2016 17:01:11        Only Author  11#
jonsmirl Posted at 10/27/2015 05:07
The I2S section is also missing support for enabling an external I2S clock.

[size=13.63636302948px]try to add the following codec to enable I2s0 clk in rk30_i2s.c :

   i2s->clk_i2s_2ch_out = clk_get(&pdev->dev, "clk_i2s_2ch_out");
  if (IS_ERR(i2s->clk_i2s_2ch_out)) {
    dev_err(&pdev->dev, "Can't retrieve clk_i2s_2ch_out\n");
    ret = PTR_ERR(i2s->clk_i2s_2ch_out);
    goto err;
  }
    clk_prepare_enable(i2s->clk_i2s_2ch_out);

Reply

Use props Report

4

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
4
Posted at 2/27/2017 04:51:48        Only Author  12#
Is 8 channel i2S accessible on external pins in RK3128 like RK3066 and RK3288 ?
Reply

Use props Report

Return to List
12
You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list