• Stephen Boyd's avatar
    msm: clock: Invert debugfs directory layout · 6e6d9b5b
    Stephen Boyd authored
    There are currently 3 separate directories for clock debugging in
    debugfs: clk_enable, clk_rate, and clk_local. Each of these
    directories contains a list of clocks. This is rather annoying
    when you are focusing on one clock and want to enable/disable it
    and then check its rate. You either have to cd to the other
    directory or cat ../clk_rate/<clk>.
    
    Invert the layout so that there is one clock directory containing
    a directory for each clock. Inside each respective clock
    directory place an enable, rate, and is_local file relating to
    the clk_enable, clk_disable, and clk_local directories that exist
    today.
    Reviewed-by: default avatarSaravana Kannan <skannan@codeaurora.org>
    Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
    Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
    6e6d9b5b
clock-debug.c 2.99 KB