i.MX6Q Linux and new clock

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6Q Linux and new clock

578 Views
nwwinters
Contributor I

I have a custom audio board that requires its own clock based on the PLL4 clock with its own multiplier and divider. Is it necessary to add a new clock listed in /arch/arm/mach-imx/clk-imx6q.c or is it possible to add this information to the device tree? I know I can modify the registers directly in a driver but I am trying to determine the best practice based on the architecture that already exists.

Thanks,

Nick

Labels (1)
0 Kudos
Reply
1 Reply

503 Views
igorpadykov
NXP Employee
NXP Employee

HI Nick

if clock is not used in linux, one can program it in dcd header.

For usage in linux one can refer to documentation:

linux/imx6q-clock.txt at master · torvalds/linux · GitHub

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply