1. 05 Oct, 2021 1 commit
  2. 30 Jan, 2021 1 commit
    • Lee Jones's avatar
      clk: imx: Move 'imx6sl_set_wait_clk()'s prototype out to accessible header · de5774d1
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/clk/imx/clk-imx6sl.c:156:6: warning: no previous prototype for ‘imx6sl_set_wait_clk’ [-Wmissing-prototypes]
      
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: Shawn Guo <shawnguo@kernel.org>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: NXP Linux Team <linux-imx@nxp.com>
      Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
      Cc: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      de5774d1
  3. 24 Jun, 2020 1 commit
  4. 18 Feb, 2020 1 commit
  5. 30 May, 2019 1 commit
  6. 09 Apr, 2019 1 commit
    • Sakari Ailus's avatar
      treewide: Switch printk users from %pf and %pF to %ps and %pS, respectively · d75f773c
      Sakari Ailus authored
      %pF and %pf are functionally equivalent to %pS and %ps conversion
      specifiers. The former are deprecated, therefore switch the current users
      to use the preferred variant.
      
      The changes have been produced by the following command:
      
      	git grep -l '%p[fF]' | grep -v '^\(tools\|Documentation\)/' | \
      	while read i; do perl -i -pe 's/%pf/%ps/g; s/%pF/%pS/g;' $i; done
      
      And verifying the result.
      
      Link: http://lkml.kernel.org/r/20190325193229.23390-1-sakari.ailus@linux.intel.com
      
      
      Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: sparclinux@vger.kernel.org
      Cc: linux-um@lists.infradead.org
      Cc: xen-devel@lists.xenproject.org
      Cc: linux-acpi@vger.kernel.org
      Cc: linux-pm@vger.kernel.org
      Cc: drbd-dev@lists.linbit.com
      Cc: linux-block@vger.kernel.org
      Cc: linux-mmc@vger.kernel.org
      Cc: linux-nvdimm@lists.01.org
      Cc: linux-pci@vger.kernel.org
      Cc: linux-scsi@vger.kernel.org
      Cc: linux-btrfs@vger.kernel.org
      Cc: linux-f2fs-devel@lists.sourceforge.net
      Cc: linux-mm@kvack.org
      Cc: ceph-devel@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
      Acked-by: David Sterba <dsterba@suse.com> (for btrfs)
      Acked-by: Mike Rapoport <rppt@linux.ibm.com> (for mm/memblock.c)
      Acked-by: Bjorn Helgaas <bhelgaas@google.com> (for drivers/pci)
      Acked-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Signed-off-by: default avatarPetr Mladek <pmladek@suse.com>
      d75f773c
  7. 20 Mar, 2019 1 commit
  8. 30 Sep, 2018 1 commit
    • Anson Huang's avatar
      ARM: imx: add i.mx6ulz msl support · c90dec00
      Anson Huang authored
      
      
      The i.MX 6ULZ processor is a high-performance, ultra
      cost-efficient consumer Linux processor featuring an
      advanced implementation of a single Arm® Cortex®-A7 core,
      which operates at speeds up to 900 MHz.
      
      This patch adds basic MSL support for i.MX6ULZ, the
      i.MX6ULZ has same soc_id as i.MX6ULL, and SRC_SBMR2 bit[6]
      is to differentiate i.MX6ULZ from i.MX6ULL, 1'b1 means
      i.MX6ULZ and 1'b0 means i.MX6ULL.
      
      Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      c90dec00
  9. 12 Sep, 2018 1 commit
  10. 03 Jul, 2018 1 commit
  11. 19 Jun, 2018 2 commits
  12. 28 Feb, 2018 1 commit
  13. 07 Jun, 2017 1 commit
  14. 28 Feb, 2017 1 commit
  15. 30 Aug, 2016 1 commit
  16. 29 Aug, 2016 1 commit
  17. 15 Aug, 2016 1 commit
  18. 28 Jan, 2016 1 commit
  19. 17 Sep, 2015 1 commit
    • Anson Huang's avatar
      ARM: imx: add suspend/resume support for i.mx6ul · ee4a5f83
      Anson Huang authored
      
      
      This patch adds suspend function for i.MX6UL, it supports
      "standby" and "mem" mode, for "standby" mode, SoC will
      enter STOP mode only, while for "mem" mode, SoC will
      enter STOP mode and DDR IO will be set to low power
      mode.
      
      As i.MX6UL contains a "Cortex-A7" ARM core which has no
      PL310, so we need to avoid any PL310 operations during
      suspend/resume, also, we need to flush Cortex-A7's inernal
      L2 cache before suspend.
      
      Signed-off-by: default avatarAnson Huang <b20788@freescale.com>
      ee4a5f83
  20. 04 Sep, 2015 1 commit
    • Vladimir Zapolskiy's avatar
      genalloc: add name arg to gen_pool_get() and devm_gen_pool_create() · 73858173
      Vladimir Zapolskiy authored
      
      
      This change modifies gen_pool_get() and devm_gen_pool_create() client
      interfaces adding one more argument "name" of a gen_pool object.
      
      Due to implementation gen_pool_get() is capable to retrieve only one
      gen_pool associated with a device even if multiple gen_pools are created,
      fortunately right at the moment it is sufficient for the clients, hence
      provide NULL as a valid argument on both producer devm_gen_pool_create()
      and consumer gen_pool_get() sides.
      
      Because only one created gen_pool per device is addressable, explicitly
      add a restriction to devm_gen_pool_create() to create only one gen_pool
      per device, this implies two possible error codes returned by the
      function, account it on client side (only misc/sram).  This completes
      client side changes related to genalloc updates.
      
      [akpm@linux-foundation.org: gen_pool_get() cleanup]
      Signed-off-by: default avatarVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
      Cc: Philipp Zabel <p.zabel@pengutronix.de>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Shawn Guo <shawnguo@kernel.org>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      73858173
  21. 01 Jul, 2015 1 commit
    • Vladimir Zapolskiy's avatar
      genalloc: rename dev_get_gen_pool() to gen_pool_get() · 0030edf2
      Vladimir Zapolskiy authored
      
      
      To be consistent with other genalloc interface namings, rename
      dev_get_gen_pool() to gen_pool_get().  The original omitted "dev_" prefix
      is removed, since it points to argument type of the function, and so it
      does not bring any useful information.
      
      [akpm@linux-foundation.org: update arch/arm/mach-socfpga/pm.c]
      Signed-off-by: default avatarVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
      Acked-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Philipp Zabel <p.zabel@pengutronix.de>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
      Cc: Vinod Koul <vinod.koul@intel.com>
      Cc: Takashi Iwai <tiwai@suse.de>
      Cc: Jaroslav Kysela <perex@perex.cz>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Alan Tull <atull@opensource.altera.com>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Kevin Hilman <khilman@linaro.org>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      0030edf2
  22. 03 Jun, 2015 3 commits
    • Shawn Guo's avatar
      ARM: imx6: initialize CCM_CLPCR_LPM into RUN mode earlier · 35e2916f
      Shawn Guo authored
      
      
      Commit 4631960d26da ("ARM: imx6: set initial power mode in pm function")
      moves imx6_set_lpm() from clock init function into
      imx6_pm_common_init().  This causes a hang when cpuidle support is
      enabled.  The reason for that is ARM core clock is shut down
      unexpectedly by WAIT mode.  It happens with the following call stack:
      
          cpuidle_register_governor()
              cpuidle_switch_governor()
                  cpuidle_uninstall_idle_handler()
                      synchronize_sched()
                          wait_rcu_gp()
                              wait_for_completion()
      
      When wait_for_completion() is called as above, all cores are idle/WFI.
      Hence, the reset value of CCM_CLPCR_LPM - WAIT mode, will trigger a
      hardware shutdown of the ARM core clock.
      
      To fix the regression, we need to ensure that CCM_CLPCR_LPM is
      initialized into RUN mode earlier than cpuidle governor registration,
      which is a postcore_initcall.  This patch creates function
      imx6_pm_ccm_init() to map CCM block and initialize CCM_CLPCR_LPM into
      RUN mode, and have the function called from machine .init_irq hook,
      which should be early enough.
      
      Reported-by: default avatarKevin Hilman <khilman@kernel.org>
      Fixes: 8fb76a07
      
       ("ARM: imx6: set initial power mode in pm function")
      Tested-by: default avatarKevin Hilman <khilman@linaro.org>
      Tested-by: default avatarTyler Baker <tyler.baker@linaro.org>
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      35e2916f
    • Shawn Guo's avatar
      ARM: imx6: let pm code map CCM block on its own · f0b478b5
      Shawn Guo authored
      
      
      We are about to move imx6 clock driver into drivers/clk, so let's get
      imx6 pm code map CCM block on its own rather than relying on clock
      driver to do the mapping.
      
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      f0b478b5
    • Shawn Guo's avatar
      ARM: imx6: set initial power mode in pm function · 8fb76a07
      Shawn Guo authored
      
      
      Rather than setting initial low-power mode in every single i.MX6 clock
      initialization function, we should really do that in pm code.  Let's
      move imx6q_set_lpm(WAIT_CLOCKED) call into imx6_pm_common_init().
      
      While at it, let's rename the function to imx6_set_lpm() since it's
      actually common for all i.MX6 SoCs.
      
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      8fb76a07
  23. 30 Mar, 2015 1 commit
  24. 05 Jan, 2015 2 commits
  25. 05 Dec, 2014 1 commit
  26. 23 Nov, 2014 1 commit
  27. 18 Jul, 2014 3 commits
  28. 05 Mar, 2014 7 commits