25 Aug, 2016

1 commit


03 Mar, 2016

1 commit


30 Jan, 2016

1 commit


01 Dec, 2015

1 commit

  • for_each_available_child_of_node performs an of_node_get on each iteration,
    so a break out of the loop requires an of_node_put.

    The semantic patch that fixes this problem is as follows
    (http://coccinelle.lip6.fr):

    //
    @@
    expression root,e;
    local idexpression child;
    @@

    for_each_available_child_of_node(root, child) {
    ... when != of_node_put(child)
    when != e = child
    (
    return child;
    |
    + of_node_put(child);
    ? return ...;
    )
    ...
    }
    //

    Signed-off-by: Julia Lawall
    Acked-by: Sudeep Holla
    Signed-off-by: Stephen Boyd

    Julia Lawall
     

28 Sep, 2015

2 commits

  • The clocks for the CPUs are provided by SCP and are managed by this
    clock driver. So the cpufreq device needs to be added only after the
    clock get registered and removed when this driver is unloaded.

    This patch manages the cpufreq virtual device based on the clock
    availability.

    Signed-off-by: Sudeep Holla
    Acked-by: Stephen Boyd
    Cc: Mike Turquette
    Cc: Liviu Dudau
    Cc: Lorenzo Pieralisi
    Cc: Jon Medhurst (Tixy)
    Cc: linux-clk@vger.kernel.org

    Sudeep Holla
     
  • On some ARM based systems, a separate Cortex-M based System Control
    Processor(SCP) provides the overall power, clock, reset and system
    control. System Control and Power Interface(SCPI) Message Protocol
    is defined for the communication between the Application Cores(AP)
    and the SCP.

    This patch adds support for the clocks provided by SCP using SCPI
    protocol.

    Signed-off-by: Sudeep Holla
    Reviewed-by: Stephen Boyd
    Cc: Mike Turquette
    Cc: Liviu Dudau
    Cc: Lorenzo Pieralisi
    Cc: Jon Medhurst (Tixy)
    Cc: linux-clk@vger.kernel.org

    Sudeep Holla