1. Nov 28, 2020
  2. Nov 27, 2020
  3. Nov 24, 2020
    • Maxime Ripard's avatar
      soc: sunxi: Fix compilation of sunxi_mbus · e24f7fac
      Maxime Ripard authored
      dma_direct_set_offset has been moved from dma-mapping.h to
      dma-map-ops.h, but our driver hasn't been updated resulting in a build
      breakage. Let's change the header to fix the build.
      
      Fixes: 16fee29b
      
       ("dma-mapping: remove the dma_direct_set_offset export")
      Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
      Link: https://lore.kernel.org/r/20201124103546.839711-1-maxime@cerno.tech
      
      '
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      e24f7fac
    • Biwen Li's avatar
      soc: fsl: handle RCPM errata A-008646 on SoC LS1021A · e95f287d
      Biwen Li authored
      
      
      Hardware issue:
      - Reading register RCPM_IPPDEXPCR1 always return zero, this causes
        system firmware could not get correct information and wrongly do
        clock gating for all wakeup source IP during system suspend. Then
        those IPs will never get chance to wake system.
      
      Workaround:
      - Copy register RCPM_IPPDEXPCR1's setting to register SCFG_SPARECR8
        to allow system firmware's psci method read it and do things accordingly.
      
      Signed-off-by: default avatarBiwen Li <biwen.li@nxp.com>
      Signed-off-by: default avatarRan Wang <ran.wang_1@nxp.com>
      Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
      e95f287d
    • Lee Jones's avatar
      soc: fsl: qbman: qman: Remove unused variable 'dequeue_wq' · 3d1d8f29
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/soc/fsl/qbman/qman.c: In function ‘qman_shutdown_fq’:
       drivers/soc/fsl/qbman/qman.c:2700:8: warning: variable ‘dequeue_wq’ set but not used [-Wunused-but-set-variable]
      
      Cc: Li Yang <leoyang.li@nxp.com>
      Cc: YueHaibing <yuehaibing@huawei.com>
      Cc: linuxppc-dev@lists.ozlabs.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
      3d1d8f29
    • Lee Jones's avatar
      soc: fsl: qe: qe_common: Fix misnamed function attribute 'addr' · 0d0807bc
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/soc/fsl/qe/qe_common.c:237: warning: Function parameter or member 'addr' not described in 'cpm_muram_dma'
       drivers/soc/fsl/qe/qe_common.c:237: warning: Excess function parameter 'offset' description in 'cpm_muram_dma'
      
      Cc: Qiang Zhao <qiang.zhao@nxp.com>
      Cc: Li Yang <leoyang.li@nxp.com>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: act <dmalek@jlc.net>
      Cc: Dan Malek <dan@embeddedalley.com>
      Cc: "Software, Inc" <source@mvista.com>
      Cc: Vitaly Bordug <vbordug@ru.mvista.com>
      Cc: linuxppc-dev@lists.ozlabs.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
      0d0807bc
    • Lee Jones's avatar
      soc: fsl: dpio: qbman-portal: Fix a bunch of kernel-doc misdemeanours · b636d36e
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/soc/fsl/dpio/qbman-portal.c:430: warning: Function parameter or member 'inhibit' not described in 'qbman_swp_interrupt_set_inhibit'
       drivers/soc/fsl/dpio/qbman-portal.c:430: warning: Excess function parameter 'mask' description in 'qbman_swp_interrupt_set_inhibit'
       drivers/soc/fsl/dpio/qbman-portal.c:518: warning: Function parameter or member 'd' not described in 'qbman_eq_desc_clear'
       drivers/soc/fsl/dpio/qbman-portal.c:529: warning: Function parameter or member 'respond_success' not described in 'qbman_eq_desc_set_no_orp'
       drivers/soc/fsl/dpio/qbman-portal.c:529: warning: Excess function parameter 'response_success' description in 'qbman_eq_desc_set_no_orp'
       drivers/soc/fsl/dpio/qbman-portal.c:941: warning: Function parameter or member 's' not described in 'qbman_swp_push_get'
       drivers/soc/fsl/dpio/qbman-portal.c:941: warning: Excess function parameter 'p' description in 'qbman_swp_push_get'
       drivers/soc/fsl/dpio/qbman-portal.c:955: warning: Function parameter or member 's' not described in 'qbman_swp_push_set'
       drivers/soc/fsl/dpio/qbman-portal.c:955: warning: Excess function parameter 'p' description in 'qbman_swp_push_set'
       drivers/soc/fsl/dpio/qbman-portal.c:1052: warning: Function parameter or member 'd' not described in 'qbman_pull_desc_set_fq'
       drivers/soc/fsl/dpio/qbman-portal.c:1065: warning: Function parameter or member 'd' not described in 'qbman_pull_desc_set_wq'
       drivers/soc/fsl/dpio/qbman-portal.c:1079: warning: Function parameter or member 'd' not described in 'qbman_pull_desc_set_channel'
       drivers/soc/fsl/dpio/qbman-portal.c:1403: warning: Function parameter or member 'd' not described in 'qbman_release_desc_clear'
       drivers/soc/fsl/dpio/qbman-portal.c:1412: warning: Function parameter or member 'd' not described in 'qbman_release_desc_set_bpid'
       drivers/soc/fsl/dpio/qbman-portal.c:1412: warning: Function parameter or member 'bpid' not described in 'qbman_release_desc_set_bpid'
       drivers/soc/fsl/dpio/qbman-portal.c:1421: warning: Function parameter or member 'd' not described in 'qbman_release_desc_set_rcdi'
       drivers/soc/fsl/dpio/qbman-portal.c:1421: warning: Function parameter or member 'enable' not described in 'qbman_release_desc_set_rcdi'
      
      Cc: Roy Pledge <Roy.Pledge@nxp.com>
      Cc: Li Yang <leoyang.li@nxp.com>
      Cc: linuxppc-dev@lists.ozlabs.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
      b636d36e
    • Arnd Bergmann's avatar
      Merge tag 'samsung-drivers-5.11' of... · 4ce4be5d
      Arnd Bergmann authored
      Merge tag 'samsung-drivers-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into arm/drivers
      
      Samsung SoC drivers changes for v5.11
      
      1. Limit the big.LITTLE cpuidle driver to Peach-Pit/Pi Chromebooks only
         because these are the only platforms were the driver works properly.
      2. Convert the Exynos CLKOUT driver to a full module which solves
         boot-probe ordering issues (e.g. if device nodes in DTS are moved).
         This also brings modularization and compile testing.
      3. Few minor cleanups in documentation and code.
      
      * tag 'samsung-drivers-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
        clk: samsung: allow building the clkout driver as module
        soc: samsung: s3c-pm-check: Fix incorrectly named variable 'val'
        soc: samsung: exynos5422-asv: remove unneeded semicolon
        serial: s3c: Update path of Samsung S3C machine file
        Documentation: Update paths of Samsung S3C machine files
        clk: samsung: exynos-clkout: convert to module driver
        soc: samsung: exynos-pmu: instantiate clkout driver as MFD
        cpuidle: big.LITTLE: enable driver only on Peach-Pit/Pi Chromebooks
      
      Link: https://lore.kernel.org/r/20201113162211.10020-1-krzk@kernel.org
      
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      4ce4be5d
    • Arnd Bergmann's avatar
      Merge tag 'sunxi-rework-mbus' of... · d4f97711
      Arnd Bergmann authored
      Merge tag 'sunxi-rework-mbus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mripard/linux into arm/drivers
      
      Allwinner MBUS and DMA-ops rework
      
      The Allwinner SoCs have a number of high-bandwidth devices connected to
      a memory bus with a different RAM mapping than the CPU.
      
      This was addressed before through drivers setting the DMA offsets
      directly, and subsequently changed to calls to dma_direct_set_offset.
      However that wasn't really meant to be exported to modules (and thus
      drivers). The duplicated code also led to small inconsistencies across
      drivers in how we dealt with DT backward compatibility.
      
      Move all that DMA setup code into a platform bus notifier to share that
      code and remove the export on dma_direct_set_offset.
      
      * tag 'sunxi-rework-mbus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mripard/linux
      
      :
        dma-mapping: remove the dma_direct_set_offset export
        media: sun8i-di: Remove the call to of_dma_configure
        media: cedrus: Remove the MBUS quirks
        media: sun6i: Remove the MBUS quirks
        media: sun4i: Remove the MBUS quirks
        drm/sun4i: backend: Remove the MBUS quirks
        soc: sunxi: Deal with the MBUS DMA offsets in a central place
        drm/sun4i: backend: Fix probe failure with multiple backends
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      d4f97711
    • Arnd Bergmann's avatar
      Merge tag 'renesas-drivers-for-v5.11-tag1' of... · ec565b0e
      Arnd Bergmann authored
      Merge tag 'renesas-drivers-for-v5.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into arm/drivers
      
      Renesas driver updates for v5.11
      
        - Fix a mapping leak in the failure path of the R-Mobile System
          Controller driver.
      
      * tag 'renesas-drivers-for-v5.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
        soc: renesas: rmobile-sysc: Fix some leaks in rmobile_init_pm_domains()
      
      Link: https://lore.kernel.org/r/20201113150854.3923885-4-geert+renesas@glider.be
      
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      ec565b0e
  4. Nov 19, 2020
  5. Nov 18, 2020