Jump to content

How to change i2s0 master clock


Christos

Recommended Posts

 

When running this

 

sudo cat /sys/kernel/debug/clk/clk_summary

 

I get the list of clocks and the specific interest is in these

 

    pll-audio-base                    0        0        0    24576000      50000     0  50000
       pll-audio-8x                   0        0        0    49152000      50000     0  50000
          i2s1                        0        0        0    49152000      50000     0  50000
       pll-audio-4x                   0        0        0    24576000      50000     0  50000
          i2s0                        0        0        0    24576000      50000     0  50000
          i2s2                        0        0        0    24576000      50000     0  50000
       pll-audio-2x                   0        0        0    12288000      50000     0  50000
       pll-audio                      0        0        0    24576000      50000     0  50000
          ac-dig                      0        0        0    24576000      50000     0  50000
          spdif                       0        0        0    24576000      50000     0  50000

 

 

Now, the i2s0 (which interests me) is under pll-audio-4x and has 24576000Hz

So the is20 is clocked at 24576000Hz, but I want it to be clocked at 49152000Hz

The question is this, how can I move the i2s0 under pll-audio-8x with 49152000Hz ?

Can I simply instruct it via a DT overlay that its master clock will be 49152000Hz?

Should I need to re-parent it ? Is there an example on how this can be done via a DT overlay for i2s0 or does it need kernel source patching ? Is it even feasible ?

 

Christos

 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines