1. 06 Feb, 2017 4 commits
  2. 15 Nov, 2016 2 commits
    • Bjorn Andersson's avatar
      remoteproc: qcom_wcnss: Fix circular module dependency · 6de1a507
      Bjorn Andersson authored
      The tie between the main WCNSS driver and the IRIS driver causes a
      circular dependency between the two modules. Neither part makes sense to
      have on their own so lets merge them into one module.
      
      For the sake of picking up the clock and regulator resources described
      in the iris of_node we need an associated struct device. But, to keep
      the size of the patch down we continue to represent the IRIS part as its
      own platform_driver, within the same module, rather than setting up a
      dummy device.
      
      Fixes: aed361ad ("remoteproc: qcom: Introduce WCNSS peripheral image loader")
      Reported-by: default avatarAndreas Färber <afaerber@suse.de>
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      6de1a507
    • Bjorn Andersson's avatar
      remoteproc: wcnss: Bond SMD edge to remoteproc · 5a856bc6
      Bjorn Andersson authored
      Allow the wcnss smd edge to be described as a child of the wcnss
      remoteproc node and make the edge life cycle follow the running state of
      the remoteproc.
      
      This bond is necessary to clean up the smd state when the remote
      processor is suddenly removed, and in some cases even when it shut down
      in a controlled fasion.
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      5a856bc6
  3. 18 Oct, 2016 1 commit
    • Javier Martinez Canillas's avatar
      remoteproc: qcom: wcnss: Fix module autoload · 4958aabb
      Javier Martinez Canillas authored
      If the driver is built as a module, autoload won't work because the module
      alias information is not filled. So user-space can't match the registered
      device with the corresponding module.
      
      Export the module alias information using the MODULE_DEVICE_TABLE() macro.
      
      Before this patch:
      
      $ modinfo drivers/remoteproc/qcom_wcnss.ko | grep alias
      $
      
      After this patch:
      
      $ modinfo drivers/remoteproc/qcom_wcnss.ko | grep alias
      alias:          of:N*T*Cqcom,pronto-v2-pilC*
      alias:          of:N*T*Cqcom,pronto-v2-pil
      alias:          of:N*T*Cqcom,pronto-v1-pilC*
      alias:          of:N*T*Cqcom,pronto-v1-pil
      alias:          of:N*T*Cqcom,riva-pilC*
      alias:          of:N*T*Cqcom,riva-pil
      Signed-off-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      4958aabb
  4. 03 Oct, 2016 1 commit
  5. 23 Aug, 2016 1 commit
  6. 18 Aug, 2016 1 commit