1. 28 6月, 2016 6 次提交
  2. 24 6月, 2016 2 次提交
    • K
      arm: use of_platform_default_populate() to populate · 435ebcbc
      Kefeng Wang 提交于
      Use helper of_platform_default_populate() in linux/of_platform
      when possible, instead of calling of_platform_populate() with
      the default match table.
      Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
      Acked-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Krzysztof Halasa <khalasa@piap.pl>
      Cc: Sekhar Nori <nsekhar@ti.com>
      Cc: Shawn Guo <shawnguo@kernel.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Roland Stigge <stigge@antcom.de>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Ray Jui <rjui@broadcom.com>
      Cc: Viresh Kumar <vireshk@kernel.org>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Michal Simek <michal.simek@xilinx.com>
      Signed-off-by: NKefeng Wang <wangkefeng.wang@huawei.com>
      Signed-off-by: NRob Herring <robh@kernel.org>
      435ebcbc
    • K
      arm: Remove unnecessary of_platform_populate with default match table · 850bea23
      Kefeng Wang 提交于
      After patch "of/platform: Add common method to populate default bus",
      it is possible for arch code to remove unnecessary callers of
      of_platform_populate with default match table.
      Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Ray Jui <rjui@broadcom.com>
      Cc: Lee Jones <lee@kernel.org>
      Cc: Krzysztof Halasa <khalasa@piap.pl>
      Cc: Kukjin Kim <kgene@kernel.org>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Shawn Guo <shawnguo@kernel.org>
      Cc: Santosh Shilimkar <ssantosh@kernel.org>
      Cc: Roland Stigge <stigge@antcom.de>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
      Cc: Heiko Stuebner <heiko@sntech.de>
      Cc: Viresh Kumar <vireshk@kernel.org>
      Cc: Shiraz Hashim <shiraz.linux.kernel@gmail.com>
      Cc: Tony Prisk <linux@prisktech.co.nz>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NKefeng Wang <wangkefeng.wang@huawei.com>
      Signed-off-by: NRob Herring <robh@kernel.org>
      850bea23
  3. 21 6月, 2016 5 次提交
  4. 12 6月, 2016 2 次提交
  5. 09 6月, 2016 1 次提交
  6. 04 6月, 2016 1 次提交
    • L
      ARM: do away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB · 5c34a4e8
      Linus Walleij 提交于
      This replaces:
      
      - "select ARCH_REQUIRE_GPIOLIB" with "select GPIOLIB" as this can
        now be selected directly.
      
      - "select ARCH_WANT_OPTIONAL_GPIOLIB" with no dependency: GPIOLIB
        is now selectable by everyone, so we need not declare our
        intent to select it.
      
      When ordering the symbols the following rationale was used:
      if the selects were in alphabetical order, I moved select GPIOLIB
      to be in alphabetical order, but if the selects were not
      maintained in alphabetical order, I just replaced
      "select ARCH_REQUIRE_GPIOLIB" with "select GPIOLIB".
      
      Cc: Michael Büsch <m@bues.ch>
      Cc: arm@kernel.org
      Cc: linux-arm-kernel@lists.infradead.org
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      5c34a4e8
  7. 25 4月, 2016 1 次提交
  8. 13 4月, 2016 1 次提交
  9. 12 4月, 2016 1 次提交
  10. 29 2月, 2016 1 次提交
  11. 28 2月, 2016 2 次提交
    • D
      ARM: imx: Do L2 errata only if the L2 cache isn't enabled · bc3d8ede
      Dirk Behme 提交于
      All the generic L2 cache handling code is encapsulated by a
      check if the L2 cache is enabled. If it's enabled already, the code
      is skipped. The write to the L2-Cache controller from non-secure
      world causes an imprecise external abort. This is needed in
      scenarios where one of the cores runs an other OS, e.g. an RTOS.
      
      For the i.MX6 specific L2 cache handling we missed this check.
      Add it.
      Signed-off-by: NMarcel Grosshans <MarcelViktor.Grosshans@de.bosch.com>
      Signed-off-by: NDirk Behme <dirk.behme@de.bosch.com>
      Signed-off-by: NShawn Guo <shawnguo@kernel.org>
      bc3d8ede
    • A
      ARM: imx: select ARM_CPU_SUSPEND only for imx6 · b4042a4c
      Arnd Bergmann 提交于
      i.MX only needs to select ARM_CPU_SUSPEND manually for the
      very specific case that CONFIG_PM_SLEEP is disabled and imx6
      is used with CONFIG_PM enabled for runtime PM.
      
      If we are building a kernel only for CPUs that are not using
      the cpu_suspend() helper, we otherwise get a harmless
      build warning:
      
      warning: (ARCH_MXC && SOC_IMX23 && SOC_IMX28 && ARCH_PXA && MACH_MVEBU_V7 && ARCH_OMAP3 && ARCH_OMAP4 && SOC_OMAP5 && SOC_AM33XX && SOC_DRA7XX && ARCH_EXYNOS3 && ARCH_EXYNOS4 && EXYNOS5420_MCPM &&
      EXYNOS_CPU_SUSPEND && ARCH_VEXPRESS_TC2_PM && ARM_BIG_LITTLE_CPUIDLE && ARM_HIGHBANK_CPUIDLE && QCOM_PM) selects ARM_CPU_SUSPEND which has unmet direct dependencies (ARCH_SUSPEND_POSSIBLE)
      
      This moves the option to the SOC_IMX6 option that actually
      requires it, in effect reverting commit f36b594f ("ARM:
      mach-imx: Select ARM_CPU_SUSPEND at ARCH_MXC level") that was
      meant as a cleanup and unintentionally caused this warning.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NShawn Guo <shawnguo@kernel.org>
      b4042a4c
  12. 19 2月, 2016 1 次提交
  13. 16 2月, 2016 1 次提交
  14. 14 2月, 2016 2 次提交
  15. 02 2月, 2016 2 次提交
    • J
      ARM: imx: enable big endian mode · 26e30c64
      Johannes Berg 提交于
      Enable ARM big-endian mode on mach-imx. This requires adding some
      byte swapping in the debug functions (which otherwise hang forever)
      and of course the secondary core bringup.
      
      Tested (on top of 4.4) on i.MX6 HummingBoard quad-core (IMX6Q).
      
      The patch is pretty much as suggested by Arnd Bergmann, thanks!
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NShawn Guo <shawnguo@kernel.org>
      26e30c64
    • J
      ARM: imx: use endian-safe readl/readw/writel/writew · c553138f
      Johannes Berg 提交于
      Instead of __raw_*, define imx_* to *_relaxed and use those.
      
      Using imx_* was requested by Arnd because *_relaxed tends to
      indicate that the code was carefully reviewed to not require
      any synchronisation and otherwise be safe, which isn't the
      case here with the automatic conversion.
      
      The conversion itself was done using the following spatch
      (since that automatically adjusts the coding style unlike
      a simple search&replace).
      
      @@
      expression E1, E2;
      @@
      -__raw_writel(E1, E2)
      +imx_writel(E1, E2)
      @@
      expression E1, E2;
      @@
      -__raw_writew(E1, E2)
      +imx_writew(E1, E2)
      @@
      expression E1;
      @@
      -__raw_readl(E1)
      +imx_readl(E1)
      @@
      expression E1;
      @@
      -__raw_readw(E1)
      +imx_readw(E1)
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NShawn Guo <shawnguo@kernel.org>
      c553138f
  16. 28 1月, 2016 3 次提交
  17. 05 1月, 2016 1 次提交
    • L
      gpio: generic: factor into gpio_chip struct · 0f4630f3
      Linus Walleij 提交于
      The separate struct bgpio_chip has been a pain to handle, both
      by being confusingly similar in name to struct gpio_chip and
      for being contained inside a struct so that struct gpio_chip
      is contained in a struct contained in a struct, making several
      steps of dereferencing necessary.
      
      Make things simpler: include the fields directly into
      <linux/gpio/driver.h>, #ifdef:ed for CONFIG_GENERIC_GPIO, and
      get rid of the <linux/basic_mmio_gpio.h> altogether. Prefix
      some of the member variables with bgpio_* and add proper
      kerneldoc while we're at it.
      
      Modify all users to handle the change and use a struct
      gpio_chip directly. And while we're at it: replace all
      container_of() dereferencing by gpiochip_get_data() and
      registering the gpio_chip with gpiochip_add_data().
      
      Cc: arm@kernel.org
      Cc: Alexander Shiyan <shc_work@mail.ru>
      Cc: Shawn Guo <shawnguo@kernel.org>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Kukjin Kim <kgene@kernel.org>
      Cc: Alexandre Courbot <gnurou@gmail.com>
      Cc: Brian Norris <computersforpeace@gmail.com>
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Cc: Sudeep Holla <sudeep.holla@arm.com>
      Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Cc: Nicolas Pitre <nicolas.pitre@linaro.org>
      Cc: Olof Johansson <olof@lixom.net>
      Cc: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
      Cc: Rabin Vincent <rabin@rab.in>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-omap@vger.kernel.org
      Cc: linux-samsung-soc@vger.kernel.org
      Cc: bcm-kernel-feedback-list@broadcom.com
      Acked-by: NGregory Fong <gregory.0xf0@gmail.com>
      Acked-by: NLiviu Dudau <Liviu.Dudau@arm.com>
      Acked-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Acked-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Acked-by: NLee Jones <lee.jones@linaro.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      0f4630f3
  18. 21 12月, 2015 1 次提交
  19. 08 12月, 2015 1 次提交
  20. 02 12月, 2015 4 次提交
  21. 25 11月, 2015 1 次提交