05 Dec, 2015

1 commit

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

    A simplified version of the semantic patch that fixes this problem is as
    follows (http://coccinelle.lip6.fr):

    //
    @@
    expression e,e1;
    local idexpression np;
    @@

    for_each_matching_node(np, e1) {
    ... when != of_node_put(np)
    when != e = np
    (
    return np;
    |
    + of_node_put(np);
    ? return ...;
    )
    ...
    }
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Sebastian Reichel

    Julia Lawall
     

22 Sep, 2015

4 commits


21 Jul, 2015

1 commit

  • This patch introduces a new compatible string: "atmel,sama5d3-rstc" and
    new reset function for sama5d3 and later chips.

    As in sama5d3 or later chips, we don't have to shutdown the DDR
    controller before reset. Shutdown the DDR controller before reset is a
    workaround to avoid DDR signal driving the bus, but since sama5d3 and
    later chips there is no such a conflict.

    So in this patch:
    1. the sama5d3 reset function only need to write the rstc register
    and return.
    2. we can remove the code related with sama5d3 DDR controller as
    we don't use it at all.

    Signed-off-by: Josh Wu
    Acked-by: Nicolas Ferre
    Acked-by: Alexandre Belloni
    Reviewed-by: Guenter Roeck
    Signed-off-by: Sebastian Reichel

    Josh Wu
     

24 May, 2015

1 commit


30 Apr, 2015

1 commit


26 Mar, 2015

1 commit


20 Mar, 2015

1 commit


26 Jan, 2015

1 commit


13 Nov, 2014

1 commit


22 Oct, 2014

1 commit


15 Jul, 2014

1 commit

  • Implement the reset behaviour of the various AT91 SoCS in drivers/power/reset.

    It used to be (and still is) located in arch/arm/mach-at91, and in order to
    preserve bisectability is not removed yet, but every board should be converted
    to use this driver instead.

    Signed-off-by: Maxime Ripard
    Acked-by: Nicolas Ferre
    Acked-by: Alexandre Belloni

    Maxime Ripard