• S
    msm: clock: Invert debugfs directory layout · 6e6d9b5b
    Stephen Boyd 提交于
    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: NSaravana Kannan <skannan@codeaurora.org>
    Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
    Signed-off-by: NDavid Brown <davidb@codeaurora.org>
    6e6d9b5b
clock-debug.c 3.0 KB