Skip to content
  1. Oct 11, 2018
    • Arnd Bergmann's avatar
      Merge tag 'tegra-for-4.20-firmware-2' of... · c1a92909
      Arnd Bergmann authored
      
      Merge tag 'tegra-for-4.20-firmware-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into next/drivers
      
      firmware: tegra: Changes for v4.20-rc1
      
      This contains a fix for suspend/resume support for the BPMP found on
      Tegra186 and Tegra194.
      
      * tag 'tegra-for-4.20-firmware-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
        firmware: tegra: bpmp: Implement suspend/resume support
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      c1a92909
  2. Oct 10, 2018
    • Thierry Reding's avatar
      firmware: tegra: bpmp: Implement suspend/resume support · 00cba11f
      Thierry Reding authored
      
      
      When returning from a system sleep state, the BPMP driver needs to
      reinitialize the IVC channels used to communicate with the BPMP to
      restore proper functionality.
      
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      00cba11f
    • Arnd Bergmann's avatar
      Merge tag 'zynqmp-soc-clk-for-v4.20' of https://github.com/Xilinx/linux-xlnx into next/drivers · e4c080a1
      Arnd Bergmann authored
      
      
      arm64: zynqmp: SoC CLK changes for v4.20
      
      This patchset adds CCF compliant clock driver for ZynqMP.
      Clock driver queries supported clock information from firmware
      and regiters pll and output clocks with CCF.
      
      * tag 'zynqmp-soc-clk-for-v4.20' of https://github.com/Xilinx/linux-xlnx:
        drivers: clk: Add ZynqMP clock driver
        dt-bindings: clock: Add bindings for ZynqMP clock driver
        firmware: xilinx: Add zynqmp IOCTL API for device control
        Documentation: xilinx: Add documentation for eemi APIs
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      e4c080a1
    • Arnd Bergmann's avatar
      Merge tag 'reset-for-4.20' of git://git.pengutronix.de/git/pza/linux into next/drivers · f7d87826
      Arnd Bergmann authored
      
      
      Reset controller changes for v4.20
      
      This adds a new driver for the PDC Global (Power Domain Controller)
      reset controller found on Qualcomm SDM845 SoCs, fixes a potential
      use-after-free issue in reset_controller_dev.of_xlate() callbacks
      from __of_reset_control_get(), and trivially fixes a documentation
      grammar issue.
      
      * tag 'reset-for-4.20' of git://git.pengutronix.de/git/pza/linux:
        reset: Fix potential use-after-free in __of_reset_control_get()
        reset: qcom: PDC Global (Power Domain Controller) reset controller
        dt-bindings: reset: Add PDC Global binding for SDM845 SoCs
        reset: Grammar s/more then once/more than once/
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      f7d87826
    • Arnd Bergmann's avatar
      Merge tag 'imx-drivers-4.20-2' of... · b0a2cea5
      Arnd Bergmann authored
      
      Merge tag 'imx-drivers-4.20-2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/drivers
      
      i.MX drivers change for 4.20, round 2:
       - A series from Aisheng Dong to add SCU firmware driver for i.MX8
         SoCs.  It implements IPC mechanism based on mailbox for message
         exchange between AP and SCU firmware, and a set of SCU IPC
         service APIs used by clients like i.MX8 power domain and clock
         drivers.
      
      * tag 'imx-drivers-4.20-2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
        MAINTAINERS: imx: include drivers/firmware/imx path
        firmware: imx: add misc svc support
        firmware: imx: add SCU firmware driver support
        dt-bindings: arm: fsl: add scu binding doc
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      b0a2cea5
  3. Oct 09, 2018
  4. Oct 08, 2018
  5. Oct 06, 2018
  6. Oct 05, 2018
  7. Oct 04, 2018
    • Arnd Bergmann's avatar
      Merge tag 'omap-for-v4.20/ti-sysc-take2-signed' of... · e51e8d5d
      Arnd Bergmann authored
      
      Merge tag 'omap-for-v4.20/ti-sysc-take2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/drivers
      
      TI sysc driver changes for v4.20 merge window
      
      This series gets rid of the SYSC_QUIRK_RESOURCE_PROVIDER to make device
      detection happen mostly only if #define DEBUG is set. Few core devices still
      need to be detected to set legacy quirks.
      
      We also add support for booting am335x, am437x and dra7 SoCs with L4 devices
      defined in device tree instead of legacy platform data.
      
      And finally we simplify suspend with just SET_NOIRQ_SYSTEM_SLEEP_PM_OPS
      and dropping the custom functions that were attempting to work around
      issues that really turned out to be child device driver related issues.
      
      Apologies for a late pull request, debugging the suspend issues took a while
      and I did not want to send these changes until that got sorted out.
      
      * tag 'omap-for-v4.20/ti-sysc-take2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        bus: ti-sysc: Just use SET_NOIRQ_SYSTEM_SLEEP_PM_OPS
        bus: ti-sysc: Make some warnings debug only
        bus: ti-sysc: Detect devices for debug on dra7
        bus: ti-sysc: Detect timer and gpio on dra7
        bus: ti-sysc: Detect devices on am335x when DEBUG is enabled
        bus: ti-sysc: Detect more devices on am473x for debugging
        bus: ti-sysc: Update revision masks to support am437x
        bus: ti-sysc: Defer suspend as needed
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      e51e8d5d
    • Geert Uytterhoeven's avatar
      reset: Grammar s/more then once/more than once/ · 34845c93
      Geert Uytterhoeven authored
      
      
      Fix grammar in reset_control_get_exclusive() documentation comment.
      
      Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
      34845c93
  8. Oct 02, 2018
    • Arnd Bergmann's avatar
      Merge tag 'imx-drivers-4.20' of... · 9620135f
      Arnd Bergmann authored
      
      Merge tag 'imx-drivers-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/drivers
      
      i.MX drivers update for 4.20:
       - A couple of patches from Anson to update variable and macro naming
         in GPCv2 driver, as a preparation of reusing the driver on i.MX8.
       - Switch GPC/GPCv2 drivers to use SPDX identifier for licence claiming.
       - Clean up the unnecessary DT node name NULL pointer checking from
         imx-weim driver, since it can never be NULL at all.
       - A couple of improvements on GPC driver from Sven Schmitt to correct
         PDN register and use GPC_PGC_DOMAIN_* indexes for consistency.
      
      * tag 'imx-drivers-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
        soc: imx: gpcv2: Switch to SPDX identifier
        soc: imx: gpc: Switch to SPDX identifier
        bus: imx-weim: drop unnecessary DT node name NULL check
        soc: imx: gpcv2: make pgc driver more generic for other i.MX platforms
        soc: imx: gpcv2: use A_CORE instread of A7 for more i.MX platforms
        soc: imx: gpc: use GPC_PGC_DOMAIN_* indexes
        soc: imx: gpc: fix PDN delay
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      9620135f
    • Arnd Bergmann's avatar
      Merge tag 'qcom-drivers-for-4.20' of... · 64d20b77
      Arnd Bergmann authored
      
      Merge tag 'qcom-drivers-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/drivers
      
      Qualcomm ARM Based Driver Updates for v4.20
      
      * Refactor of SCM compatibles and clock requirements
      * SMEM cleanup
      * Add LLCC EDAC driver
      * Fixes for GENI clocks and macros
      * Fix includes for llcc-slice and smem
      * String overflow fixes for APR and wcnss_ctrl
      * Fixup for COMPILE_TEST of qcom driver Kconfigs
      * Cleanup of Kconfig depends of rpmh, smd_rpm, smsm, and smp2p
      * Add SCM dependencies to SPM and rmtfs-mem
      
      * tag 'qcom-drivers-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux: (38 commits)
        soc: qcom: geni: geni_se_clk_freq_match() should always accept multiples
        soc: qcom: geni: Don't ignore clk_round_rate() errors in geni_se_clk_tbl_get()
        soc: qcom: geni: Make version macros simpler
        dt-bindings: firmware: scm: Add MSM8998 and SDM845
        firmware: qcom: scm: Refactor clock handling
        dt-bindings: firmware: scm: Refactor compatibles and clocks
        soc: qcom: smem: a few last cleanups
        soc: qcom: smem: verify partition host ids match
        soc: qcom: smem: small change in global entry loop
        soc: qcom: smem: verify partition offset_free_uncached
        soc: qcom: smem: verify partition header size
        soc: qcom: smem: introduce qcom_smem_partition_header()
        soc: qcom: smem: require order of host ids to match
        soc: qcom: smem: verify both host ids in partition header
        soc: qcom: smem: small refactor in qcom_smem_enumerate_partitions()
        soc: qcom: smem: always ignore partitions with 0 offset or size
        soc: qcom: smem: initialize region struct only when successful
        soc: qcom: smem: rename variable in qcom_smem_get_global()
        drivers: qcom: rpmh-rsc: clear wait_for_compl after use
        soc: qcom: rmtfs-mem: Validate that scm is available
        ...
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      64d20b77
    • Arnd Bergmann's avatar
      Merge tag 'actions-drivers+s900-sps-for-4.20' of... · 68b679b3
      Arnd Bergmann authored
      
      Merge tag 'actions-drivers+s900-sps-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions into next/drivers
      
      Actions Semi SoC drivers for v4.20 #2
      
      The SPS power domain driver is extended for S900 SoC.
      This required merging a topic branch for the new bindings header.
      
      * tag 'actions-drivers+s900-sps-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions:
        soc: actions: sps: Add S900 power domains
        dt-bindings: power: Add Actions Semi S900 SPS
        soc: actions: Update SPS help text for S700
        soc: actions: Convert to SPDX license identifiers
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      68b679b3
    • Arnd Bergmann's avatar
      Merge tag 'v4.19-next-soc' of... · d69f0d53
      Arnd Bergmann authored
      
      Merge tag 'v4.19-next-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux into next/drivers
      
      PMIC wrapper:
      - sort SoCs and PMICs ascending
      - add capabilities
      - add support for mt8183 SoC + mt6358 PMIC
      - return false instead of 0
      - add support for mt6765 SoC + mt6357 PMIC
      
      * tag 'v4.19-next-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux:
        soc: mediatek: pwrap: add mt6357 driver for mt6765 SoCs
        soc: mediatek: pwrap: add pwrap driver for mt6765 SoCs
        dt-bindings: pwrap: mediatek: add pwrap support for MT6765
        soc: mediatek: pwrap: use true and false for boolean values
        soc: mediatek: add mt8183 pwrap support
        soc: mediatek: pwrap: use group of bits for pwrap capability
        soc: mediatek: pwrap: order SoCs and PMICs ascending
        dt-bindings: mediatek: add compatible for mt8183 pwrap
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      d69f0d53
    • Arnd Bergmann's avatar
      Merge tag 'sunxi-drivers-for-4.20' of... · 227db588
      Arnd Bergmann authored
      
      Merge tag 'sunxi-drivers-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into next/drivers
      
      Allwinner drivers changes for 4.20
      
      The H6 is now supported in our SRAM driver bindings, and we have a small
      Makefile change for the SRAM driver to build it without building the
      ARCH_SUNXI architecture, especially relevant for the COMPILE_TEST case.
      
      * tag 'sunxi-drivers-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
        dt-bindings: sunxi-sram: add binding for Allwinner H6 SRAM C
        drivers: soc: Allow building the sunxi driver without ARCH_SUNXI
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      227db588
    • Laurentiu Tudor's avatar
      soc: fsl: qman_portals: defer probe after qman's probe · 5a1eb8b9
      Laurentiu Tudor authored
      
      
      Defer probe of qman portals after qman probing. This fixes the crash
      below, seen on NXP LS1043A SoCs:
      
      Unable to handle kernel NULL pointer dereference at virtual address
      0000000000000004
      Mem abort info:
        ESR = 0x96000004
        Exception class = DABT (current EL), IL = 32 bits
        SET = 0, FnV = 0
        EA = 0, S1PTW = 0
      Data abort info:
        ISV = 0, ISS = 0x00000004
        CM = 0, WnR = 0
      [0000000000000004] user address but active_mm is swapper
      Internal error: Oops: 96000004 [#1] PREEMPT SMP
      Modules linked in:
      CPU: 0 PID: 1 Comm: swapper/0 Not tainted
      4.18.0-rc1-next-20180622-00200-g986f5c179185 #9
      Hardware name: LS1043A RDB Board (DT)
      pstate: 80000005 (Nzcv daif -PAN -UAO)
      pc : qman_set_sdest+0x74/0xa0
      lr : qman_portal_probe+0x22c/0x470
      sp : ffff00000803bbc0
      x29: ffff00000803bbc0 x28: 0000000000000000
      x27: ffff0000090c1b88 x26: ffff00000927cb68
      x25: ffff00000927c000 x24: ffff00000927cb60
      x23: 0000000000000000 x22: 0000000000000000
      x21: ffff0000090e9000 x20: ffff800073b5c810
      x19: ffff800027401298 x18: ffffffffffffffff
      x17: 0000000000000001 x16: 0000000000000000
      x15: ffff0000090e96c8 x14: ffff80002740138a
      x13: ffff0000090f2000 x12: 0000000000000030
      x11: ffff000008f25000 x10: 0000000000000000
      x9 : ffff80007bdfd2c0 x8 : 0000000000004000
      x7 : ffff80007393cc18 x6 : 0040000000000001
      x5 : 0000000000000000 x4 : ffffffffffffffff
      x3 : 0000000000000004 x2 : ffff00000927c900
      x1 : 0000000000000000 x0 : 0000000000000004
      Process swapper/0 (pid: 1, stack limit = 0x(____ptrval____))
      Call trace:
       qman_set_sdest+0x74/0xa0
       platform_drv_probe+0x50/0xa8
       driver_probe_device+0x214/0x2f8
       __driver_attach+0xd8/0xe0
       bus_for_each_dev+0x68/0xc8
       driver_attach+0x20/0x28
       bus_add_driver+0x108/0x228
       driver_register+0x60/0x110
       __platform_driver_register+0x40/0x48
       qman_portal_driver_init+0x20/0x84
       do_one_initcall+0x58/0x168
       kernel_init_freeable+0x184/0x22c
       kernel_init+0x10/0x108
       ret_from_fork+0x10/0x18
      Code: f9400443 11001000 927e4800 8b000063 (b9400063)
      ---[ end trace 4f6d50489ecfb930 ]---
      Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
      
      Signed-off-by: default avatarLaurentiu Tudor <laurentiu.tudor@nxp.com>
      Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
      5a1eb8b9
    • Tony Lindgren's avatar
      bus: ti-sysc: Just use SET_NOIRQ_SYSTEM_SLEEP_PM_OPS · f5e80203
      Tony Lindgren authored
      
      
      As Grygorii Strashko pointed out, the runtime PM use count of the
      children can be whatever at suspend and we should not use it. So
      let's just suspend ti-sysc at noirq level and get rid of some code.
      
      Let's also remove the PM_SLEEP ifdef and use __maybe_unused as the
      PM code already deals with the ifdefs.
      
      Suggested-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      f5e80203
  9. Oct 01, 2018