• Tony Lindgren's avatar
    clk: ti: Fix missing omap5 mcbsp functional clock and aliases · 0b9a4a67
    Tony Lindgren authored
    We are using a wrong mcbsp functional clock. The interconnect target module
    driver provided clock for mcbsp is not same as the mcbsp functional clock
    known as the gfclk main_clk. The mcbsp functional clocks for mcbsp should
    have been added before we dropped the legacy platform data.
    
    Additionally we are also missing the clock aliases for the clocks used by
    the audio driver if reparenting is needed. This causes audio driver errors
    like "CLKS: could not clk_get() prcm_fck" for mcbsp as reported by Andreas.
    The mcbsp clock aliases too should have been added before we dropped the
    legacy platform data.
    
    Let's add the clocks and aliases with a single patch to fix the issue
    similar to omap4. On omap5, there is no mcbsp4 instance on the l4_per
    interconnect.
    
    Fixes: b1da0fa2 ("ARM: OMAP2+: Drop legacy platform data for omap5 mcbsp")
    Cc: H. Nikolaus Schaller <hns@goldelico.com>
    Reported-by: default avatarAndreas Kemnade <andreas@kemnade.info>
    Reported-by: default avatarPéter Ujfalusi <peter.ujfalusi@gmail.com>
    Acked-by: default avatarStephen Boyd <sboyd@kernel.org>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    0b9a4a67
omap5-l4-abe.dtsi 14.5 KB