1. 19 Nov, 2016 3 commits
    • Olof Johansson's avatar
      Merge tag 'tegra-for-4.10-firmware' of... · e40719dd
      Olof Johansson authored
      Merge tag 'tegra-for-4.10-firmware' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into next/drivers
      
      firmware: Add Tegra IVC and BPMP support
      
      IVC is an inter-processor communication protocol that uses shared memory
      to exchange data between processors. The BPMP driver makes use of this
      to communicate with the Boot and Power Management Processor (BPMP) and
      uses an additional hardware synchronization primitive from the HSP block
      to signal availability of new data (doorbell).
      
      Firmware running on the BPMP implements a number of services such as the
      control of clocks and resets within the system, or the ability to ungate
      or gate power partitions.
      
      * tag 'tegra-for-4.10-firmware' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
        dt-bindings: firmware: Allow child nodes inside the Tegra BPMP
        dt-bindings: Add power domains to Tegra BPMP firmware
        firmware: tegra: Add BPMP support
        firmware: tegra: Add IVC library
        dt-bindings: firmware: Add bindings for Tegra BPMP
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      e40719dd
    • Olof Johansson's avatar
      Merge tag 'tegra-for-4.10-mailbox' of... · dd3eedd3
      Olof Johansson authored
      Merge tag 'tegra-for-4.10-mailbox' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into next/drivers
      
      mailbox: Add Tegra HSP driver
      
      This contains the device tree bindings and a driver for the Tegra HSP, a
      hardware block that provides hardware synchronization primitives and is
      the foundation for inter-processor communication between CPU and BPMP.
      
      * tag 'tegra-for-4.10-mailbox' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
        mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells()
        mailbox: Add Tegra HSP driver
        dt-bindings: mailbox: Add Tegra HSP binding
        soc/tegra: Add Tegra186 support
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      dd3eedd3
    • Olof Johansson's avatar
      Merge tag 'reset-for-4.10' of git://git.pengutronix.de/git/pza/linux into next/drivers · 78d375b9
      Olof Johansson authored
      Reset controller changes for v4.10
      
      - remove obsolete STiH41[56] platform support
      - add Oxford Semiconductor OX820 support
      - add reset index include files for OX810SE and OX820
      - make drivers with boolean Kconfig options explicitly
        non-modular
      - allow shared pulsed resets via reset_control_reset, which
        in this case means that the reset must have been triggered
        once, but possibly earlier, after the function returns, and
        is never triggered again for the lifetime of the reset
        control
      
      * tag 'reset-for-4.10' of git://git.pengutronix.de/git/pza/linux:
        reset: allow using reset_control_reset with shared reset
        reset: lpc18xx: make it explicitly non-modular
        reset: zynq: make it explicitly non-modular
        reset: sunxi: make it explicitly non-modular
        reset: socfpga: make it explicitly non-modular
        reset: berlin: make it explicitly non-modular
        dt-bindings: reset: oxnas: Update for OX820
        dt-bindings: reset: oxnas: Add include file with reset indexes
        reset: oxnas: Add OX820 support
        reset: sti: softreset: Remove obsolete platforms from dt binding doc.
        reset: sti: Remove STiH415/6 reset support
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      78d375b9
  2. 18 Nov, 2016 13 commits
  3. 15 Nov, 2016 3 commits
  4. 14 Nov, 2016 3 commits
  5. 13 Nov, 2016 2 commits
  6. 11 Nov, 2016 2 commits
  7. 08 Nov, 2016 1 commit
  8. 07 Nov, 2016 4 commits
  9. 01 Nov, 2016 1 commit
    • Caesar Wang's avatar
      soc: rockchip: power-domain: avoid infinite loop · e4c8cd82
      Caesar Wang authored
      In some cases, we have met the infinite loop in
      rockchip_pmu_set_idle_request() or rockchip_do_pmu_set_power_domain().
      
      As the crosbug.com/p/57351 reported, the boot hangs right after this
      [1.629163] bootconsole [uart8250] disabled
      [1.639286] [drm:drm_core_init] Initialized drm 1.1.0 20060810
      [1.645926] [drm:drm_get_platform_dev] Initialized vgem 1.0.0 20120112..
      [1.654558] iommu: Adding device ff8f0000.vop to group 0
      [1.660569] iommu: Adding device ff900000.vop to group 1
      <hang>
      
      This patch adds the error message and timeout to avoid infinite loop if
      it fails to get the ack.
      Signed-off-by: default avatarCaesar Wang <wxt@rock-chips.com>
      Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
      e4c8cd82
  10. 30 Oct, 2016 2 commits
  11. 24 Oct, 2016 6 commits
    • Srinivas Kandagatla's avatar
      pinctrl: pm8994: add pad voltage regulator defines · 636959fc
      Srinivas Kandagatla authored
      This patch adds defines for internal voltage regulators used
      to switch voltage levels on gpio/mpp pads.
      Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
      636959fc
    • Bjorn Andersson's avatar
      soc: qcom: wcnss_ctrl: Stub wcnss_ctrl API · daa6e41c
      Bjorn Andersson authored
      Stub the wcnss_ctrl API to allow compile testing wcnss function drivers.
      
      Cc: Marcel Holtmann <marcel@holtmann.org>
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      Acked-by: default avatarAndy Gross <andy.gross@linaro.org>
      Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
      daa6e41c
    • Paul Gortmaker's avatar
      reset: lpc18xx: make it explicitly non-modular · cdd24f76
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/reset/Kconfig:config RESET_LPC18XX
      drivers/reset/Kconfig:  bool "LPC18xx/43xx Reset Driver" if COMPILE_TEST
      drivers/reset/Kconfig:  default ARCH_LPC18XX
      
      or
      
      arch/arm/Kconfig:config ARCH_LPC18XX
      arch/arm/Kconfig:       bool "NXP LPC18xx/LPC43xx"
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the modular code that is essentially orphaned, so that
      when reading the driver there is no doubt it is builtin-only.
      
      We explicitly disallow a driver unbind, since that doesn't have a
      sensible use case anyway, and it allows us to drop the ".remove"
      code for non-modular drivers.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      is already contained at the top of the file in the comments.
      
      Cc: Joachim Eastwood <manabian@gmail.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
      cdd24f76
    • Paul Gortmaker's avatar
      reset: zynq: make it explicitly non-modular · fadb03cd
      Paul Gortmaker authored
      The Makefile/Kconfig currently controlling compilation of this code is:
      
      drivers/reset/Kconfig:config RESET_ZYNQ
      drivers/reset/Kconfig:  bool "ZYNQ Reset Driver" if COMPILE_TEST
      drivers/reset/Kconfig:  default ARCH_ZYNQ
      
      or
      
      drivers/reset/Makefile:obj-$(CONFIG_ARCH_ZYNQ) += reset-zynq.o
      arch/arm/mach-zynq/Kconfig:config ARCH_ZYNQ
      arch/arm/mach-zynq/Kconfig:     bool "Xilinx Zynq ARM Cortex A9 Platform" if ARCH_MULTI_V7
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the few remaining traces of modular macro usage, so that
      when reading the driver there is no doubt it is builtin-only.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      was (or is now) contained at the top of the file in the comments.
      
      Cc: "Sören Brinkmann" <soren.brinkmann@xilinx.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
      Acked-by: default avatarMoritz Fischer <moritz.fischer@ettus.com>
      Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
      fadb03cd
    • Paul Gortmaker's avatar
      reset: sunxi: make it explicitly non-modular · c4742ed3
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/reset/Kconfig:config RESET_SUNXI
      drivers/reset/Kconfig:  bool "Allwinner SoCs Reset Driver" if COMPILE_TEST && !ARCH_SUNXI
      drivers/reset/Kconfig:  default ARCH_SUNXI
      
      or
      
      arch/arm/mach-sunxi/Kconfig:menuconfig ARCH_SUNXI
      arch/arm/mach-sunxi/Kconfig:    bool "Allwinner SoCs" if ARCH_MULTI_V7
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the few remaining traces of modular macro usage, so that
      when reading the driver there is no doubt it is builtin-only.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      is already contained at the top of the file in the comments.
      
      Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
      c4742ed3
    • Paul Gortmaker's avatar
      reset: socfpga: make it explicitly non-modular · 02163199
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/reset/Kconfig:config RESET_SOCFPGA
      drivers/reset/Kconfig:  bool "SoCFPGA Reset Driver" if COMPILE_TEST
      drivers/reset/Kconfig:  default ARCH_SOCFPGA
      
      or
      
      arch/arm/mach-socfpga/Kconfig:menuconfig ARCH_SOCFPGA
      arch/arm/mach-socfpga/Kconfig:  bool "Altera SOCFPGA family" if ARCH_MULTI_V7
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the small amount of modular evidence that remains, so that
      when reading the driver there is no doubt it is builtin-only.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      was (or is now) contained at the top of the file in the comments.
      
      Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
      02163199