1. 09 May, 2016 3 commits
  2. 29 Apr, 2016 8 commits
  3. 28 Apr, 2016 3 commits
  4. 26 Apr, 2016 2 commits
    • Arnd Bergmann's avatar
      Merge tag 'renesas-rcar-sysc2-for-v4.7' of... · a183d7f8
      Arnd Bergmann authored
      Merge tag 'renesas-rcar-sysc2-for-v4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/drivers
      
      Merge "Second Round of Renesas ARM Based SoC R-Car SYSC Updates for v4.7" from Simon Horman:
      
      Introduce a DT-based driver for the R-Car System Controller, as found on
      Renesas R-Car H1, R-Car Gen2, and R-Car Gen3 SoCs.
      
      * tag 'renesas-rcar-sysc2-for-v4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (30 commits)
        soc: renesas: rcar-sysc: Add support for R-Car H3 power areas
        soc: renesas: rcar-sysc: Add support for R-Car E2 power areas
        soc: renesas: rcar-sysc: Add support for R-Car M2-N power areas
        soc: renesas: rcar-sysc: Add support for R-Car M2-W power areas
        soc: renesas: rcar-sysc: Add support for R-Car H2 power areas
        soc: renesas: rcar-sysc: Add support for R-Car H1 power areas
        soc: renesas: rcar-sysc: Enable Clock Domain for I/O devices
        soc: renesas: rcar-sysc: Make rcar_sysc_power_is_off() static
        soc: renesas: rcar-sysc: Add DT support for SYSC PM domains
        soc: renesas: rcar-sysc: Improve rcar_sysc_power() debug info
        soc: renesas: Move pm-rcar to drivers/soc/renesas/rcar-sysc
        clk: renesas: cpg-mssr: Export cpg_mssr_{at,de}tach_dev()
        clk: renesas: mstp: Provide dummy attach/detach_dev callbacks
        clk: renesas: Provide Kconfig symbols for CPG/MSSR and CPG/MSTP support
        soc: renesas: Add r8a7795 SYSC PM Domain Binding Definitions
        soc: renesas: Add r8a7794 SYSC PM Domain Binding Definitions
        soc: renesas: Add r8a7793 SYSC PM Domain Binding Definitions
        soc: renesas: Add r8a7791 SYSC PM Domain Binding Definitions
        soc: renesas: Add r8a7790 SYSC PM Domain Binding Definitions
        soc: renesas: Add r8a7779 SYSC PM Domain Binding Definitions
        ...
      a183d7f8
    • Arnd Bergmann's avatar
      drivers: firmware: psci: make two helper functions inline · 2b9cf189
      Arnd Bergmann authored
      The previous patch marked these two as 'static' which showed that they
      are sometimes unused:
      
      drivers/firmware/psci.c:103:13: error: 'psci_power_state_is_valid' defined but not used [-Werror=unused-function]
       static bool psci_power_state_is_valid(u32 state)
      drivers/firmware/psci.c:94:13: error: 'psci_power_state_loses_context' defined but not used [-Werror=unused-function]
       static bool psci_power_state_loses_context(u32 state)
      
      This also marks the functions 'inline', which has the main effect of
      silently ignoring them when they are unused. The compiler will typically
      inline small static functions anyway, so this seems more appropriate
      than using __maybe_unused, which would have the same result otherwise.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Fixes: 21e8868e ("drivers: firmware: psci: make two helper functions static")
      2b9cf189
  5. 25 Apr, 2016 16 commits
  6. 22 Apr, 2016 5 commits
  7. 21 Apr, 2016 1 commit
  8. 20 Apr, 2016 2 commits
    • Elaine Zhang's avatar
      dt-bindings: modify document of Rockchip power domains · 71daabca
      Elaine Zhang authored
      Rockchip Socs contain quality of service (qos) blocks managing priority,
      bandwidth, etc of the connection of each domain to the interconnect.
      These blocks loose state when their domain gets disabled and therefore
      need to be saved when disabling and restored when enabling a power-domain.
      
      These qos blocks also are similar over all currently available Rockchip
      SoCs.
      Signed-off-by: default avatarElaine Zhang <zhangqing@rock-chips.com>
      Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
      71daabca
    • Geert Uytterhoeven's avatar
      clk: renesas: cpg-mssr: Export cpg_mssr_{at,de}tach_dev() · 2066390a
      Geert Uytterhoeven authored
      The R-Car SYSC PM Domain driver has to power manage devices in power
      areas using clocks. To reuse code and to share knowledge of clocks
      suitable for power management, this is ideally done through the existing
      cpg_mssr_attach_dev() and cpg_mssr_detach_dev() callbacks.
      
      Hence these callbacks can no longer rely on their "domain" parameter
      pointing to the CPG/MSSR Clock Domain. To handle this, keep a pointer to
      the clock domain in a static variable. cpg_mssr_attach_dev() has to
      support probe deferral, as the R-Car SYSC PM Domain may be initialized,
      and devices may be added to it, before the CPG/MSSR Clock Domain is
      initialized.
      
      Dummy callbacks are provided for the case where CPG/MSTP support is not
      included, so the rcar-sysc driver won't have to care about this.
      Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      2066390a