1. 26 1月, 2017 1 次提交
  2. 05 11月, 2016 1 次提交
  3. 22 9月, 2016 2 次提交
  4. 30 8月, 2016 1 次提交
    • J
      ARM: EXYNOS: Clear OF_POPULATED flag from PMU node in IRQ init callback · b0304852
      Javier Martinez Canillas 提交于
      The Exynos PMU node is an interrupt, clock and PMU (Power Management Unit)
      controller, and these functionalities are supported by different drivers
      that matches the same compatible strings.
      
      Since commit 15cc2ed6 ("of/irq: Mark initialised interrupt controllers
      as populated") the OF core flags interrupt controllers registered with the
      IRQCHIP_DECLARE() macro as OF_POPULATED, so platform devices with the same
      compatible string as the interrupt controller will not be registered.
      
      This prevents the PMU platform device to be registered so the Exynos PMU
      driver is never probed. This breaks (among other things) Suspend-to-RAM.
      
      Fix this by clearing the OF_POPULATED flag in the PMU IRQ init callback,
      to allow the Exynos PMU platform driver to be probed. The patch is based
      on Philipp Zabel's "ARM: imx6: mark GPC node as not populated after irq
      init to probe pm domain driver".
      
      Fixes: 15cc2ed6 ("of/irq: Mark initialised interrupt controllers as populated")
      Signed-off-by: NJavier Martinez Canillas <javier@osg.samsung.com>
      Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org>
      b0304852
  5. 24 8月, 2016 1 次提交
  6. 10 8月, 2016 1 次提交
  7. 24 6月, 2016 1 次提交
    • 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
  8. 22 6月, 2016 1 次提交
  9. 21 6月, 2016 3 次提交
  10. 06 6月, 2016 1 次提交
  11. 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
  12. 30 5月, 2016 2 次提交
  13. 18 5月, 2016 1 次提交
    • A
      ARM: exynos: don't select keyboard driver · 8a6f71cc
      Arnd Bergmann 提交于
      The samsung-keypad driver is implicitly selected by ARCH_EXYNOS4 (why?),
      but this fails if CONFIG_INPUT is a loadable module:
      
      drivers/input/built-in.o: In function `samsung_keypad_remove':
      drivers/input/keyboard/samsung-keypad.c:461: undefined reference to `input_unregister_device'
      drivers/input/built-in.o: In function `samsung_keypad_irq':
      drivers/input/keyboard/samsung-keypad.c:137: undefined reference to `input_event'
      drivers/input/built-in.o: In function `samsung_keypad_irq':
      include/linux/input.h:389: undefined reference to `input_event'
      drivers/input/built-in.o: In function `samsung_keypad_probe':
      drivers/input/keyboard/samsung-keypad.c:358: undefined reference to `devm_input_allocate_device'
      drivers/input/built-in.o:(.debug_addr+0x34): undefined reference to `input_set_capability'
      
      This removes the 'select' as suggested by Krzysztof Kozlowski and
      instead enables the driver from the defconfig files.
      
      The problem does not happen on mainline kernels, as we don't normally
      build built-in input drivers when CONFIG_INPUT=m, but I am experimenting
      with a patch to change this, and the samsung keypad driver showed up
      as one example that was silently broken before.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Link: https://lkml.org/lkml/2016/2/14/55Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      8a6f71cc
  14. 25 4月, 2016 1 次提交
    • K
      ARM: EXYNOS: Properly skip unitialized parent clock in power domain on · a0a966b8
      Krzysztof Kozlowski 提交于
      We want to skip reparenting a clock on turning on power domain, if we
      do not have the parent yet. The parent is obtained when turning the
      domain off. However due to a typo, the loop is continued on IS_ERR() of
      clock being reparented, not on the IS_ERR() of the parent.
      
      Theoretically this could lead to OOPS on first turn on of a power
      domain, if there was no turn off before. Practically that should never
      happen because all power domains are turned on by default (reset value,
      bootloader does not turn off them usually) so the first action will be
      always turn off.
      
      Fixes: 29e5eea0 ("ARM: EXYNOS: Get current parent clock for power domain on/off")
      Reported-by: NVladimir Zapolskiy <vz@mleia.com>
      Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      a0a966b8
  15. 18 4月, 2016 2 次提交
  16. 09 4月, 2016 2 次提交
  17. 25 2月, 2016 13 次提交
  18. 09 2月, 2016 1 次提交
  19. 01 2月, 2016 1 次提交
    • A
      ARM: EXYNOS: select THERMAL_OF · dc7eb9d5
      Arnd Bergmann 提交于
      We cannot select a symbol that has disabled dependencies, so
      we get a warning if we ever enable EXYNOS_THERMAL without
      also turning on THERMAL_OF:
      
      warning: (ARCH_EXYNOS) selects EXYNOS_THERMAL which has unmet direct dependencies (THERMAL && (ARCH_EXYNOS || COMPILE_TEST) && THERMAL_OF)
      
      This adds another 'select' in the platform code to avoid that
      case. Alternatively, we could decide to not select EXYNOS_THERMAL
      here and instead make it a user option.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: f87e6bd3 ("thermal: exynos: Add the dependency of CONFIG_THERMAL_OF instead of CONFIG_OF")
      Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      dc7eb9d5
  20. 15 12月, 2015 1 次提交
  21. 02 12月, 2015 2 次提交