mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
clk: ux500: Convert ABx500 clocks to use OF probing
These clocks have been broken for a long time unfortunately, a hurdle of misc problems made them stop working at some point breaking USB and audio on Ux500. The platform as such and all "regular" clocks are migrated to OF/device tree, so let's migrate also this driver. With this patch and the corresponding DTS fixes, and a bunch of probe deferral fixes, audio starts working again on Ux500. Cc: Ulf Hansson <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
This commit is contained in:
parent
839a72af88
commit
55921ce276
2 changed files with 37 additions and 10 deletions
11
include/dt-bindings/clock/ste-ab8500.h
Normal file
11
include/dt-bindings/clock/ste-ab8500.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#ifndef __STE_CLK_AB8500_H__
|
||||
#define __STE_CLK_AB8500_H__
|
||||
|
||||
#define AB8500_SYSCLK_BUF2 0
|
||||
#define AB8500_SYSCLK_BUF3 1
|
||||
#define AB8500_SYSCLK_BUF4 2
|
||||
#define AB8500_SYSCLK_ULP 3
|
||||
#define AB8500_SYSCLK_INT 4
|
||||
#define AB8500_SYSCLK_AUDIO 5
|
||||
|
||||
#endif
|
||||
Loading…
Reference in a new issue