1. 02 Jun, 2017 4 commits
  2. 29 May, 2017 1 commit
  3. 26 May, 2017 4 commits
    • Murali Karicheri's avatar
      ARM: dts: keystone-k2l: fix broken Ethernet due to disabled OSR · 791229f1
      Murali Karicheri authored
      Ethernet networking on K2L has been broken since v4.11-rc1. This was
      caused by commit 32a34441 ("ARM: keystone: dts: fix netcp clocks
      and add names"). This commit inadvertently moves on-chip static RAM
      clock to the end of list of clocks provided for netcp. Since keystone
      PM domain support does not have a list of recognized con_ids, only the
      first clock in the list comes under runtime PM management. This means
      the OSR (On-chip Static RAM) clock remains disabled and that broke
      networking on K2L.
      
      The OSR is used by QMSS on K2L as an external linking RAM. However this
      is a standalone RAM that can be used for non-QMSS usage (as well as from
      DSP side). So add a SRAM device node for the same and add the OSR clock
      to the node.
      
      Remove the now redundant OSR clock node from netcp.
      
      To manage all clocks defined for netCP's use by runtime PM needs keystone
      generic power domain (genpd) driver support which is under works.
      Meanwhile, this patch restores K2L networking and is correct irrespective
      of any future genpd work since OSR is an independent module and not part
      of NetCP anyway.
      Signed-off-by: default avatarMurali Karicheri <m-karicheri2@ti.com>
      Acked-by: default avatarTero Kristo <t-kristo@ti.com>
      [nsekhar@ti.com: commit message updates, port to latest mainline]
      Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
      Cc: stable@vger.kernel.org # for 4.11
      Acked-by: default avatarSantosh Shilimkar <ssantosh@kernel.org>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      791229f1
    • Olof Johansson's avatar
      Merge tag 'samsung-fixes-4.12' of... · 5612ac83
      Olof Johansson authored
      Merge tag 'samsung-fixes-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into fixes
      
      Update of maintainers entry for Samsung SoC.
      
      * tag 'samsung-fixes-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
        MAINTAINERS: Remove Javier Martinez Canillas as reviewer for Exynos
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      5612ac83
    • Olof Johansson's avatar
      Merge tag 'arm-soc/for-4.12/devicetree-fixes-2' of http://github.com/Broadcom/stblinux into fixes · 962ef410
      Olof Johansson authored
      This pull request contains Broadcom ARM-based SoCs Device Tree fixes for 4.12,
      please pull the following:
      
      - Phil provides a fix for the BCM283x (Raspberry Pi) by flagging the first
        4KiB of physical memory as a reserved region in order to let the secondary
        cores successfully spin until they are brought online
      
      * tag 'arm-soc/for-4.12/devicetree-fixes-2' of http://github.com/Broadcom/stblinux:
        ARM: dts: bcm283x: Reserve first page for firmware
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      962ef410
    • Heiko Stuebner's avatar
      arm64: defconfig: enable some core options for 64bit Rockchip socs · 5711ea1b
      Heiko Stuebner authored
      Enable some very core config options used on 64bit Rockchip socs.
      
      As built-in driver enable the Rockchip spi driver as well as the
      cros-ec-spi and cros-ec keyboard driver, as this may be helpful
      in case an initrd does not work as expected and drops the user
      into a shell. Another built-in is the fan53555 regulator driver,
      as it and its register-compatible cousins Silergy syr827 and syr828
      are often used on Rockchip socs as cpu-supply next to regular pmic.
      
      The rest can be enabled as modules and contains the pcie host
      controller and its phy, the sucessive approximation adc (saradc)
      that gets often used for additional buttons on Rockchip boards
      as well as the adc-keys Keyboard driver for these keys.
      
      The cros-ec-pwm also can be a module, as it is normally only used to
      drive display backlights as well as the Rockchip thermal controller
      that allows to read the cpu and gpu temperatures and affect frequency
      scaling if necessary.
      Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      5711ea1b
  4. 25 May, 2017 1 commit
  5. 24 May, 2017 1 commit
  6. 19 May, 2017 13 commits
  7. 17 May, 2017 3 commits
  8. 16 May, 2017 5 commits
  9. 15 May, 2017 5 commits
    • Phil Elwell's avatar
      ARM: dts: bcm283x: Reserve first page for firmware · b0804ed0
      Phil Elwell authored
      The Raspberry Pi startup stub files for multi-core BCM283X processors
      make the secondary CPUs spin until the corresponding mailbox is
      written. These stubs are loaded at physical address 0x00000xxx (as seen
      by the ARMs), but this page will be reused by the kernel unless it is
      explicitly reserved, causing the waiting cores to execute random code.
      
      Use the /memreserve/ Device Tree directive to mark the first page as
      off-limits to the kernel.
      
      See: https://github.com/raspberrypi/linux/issues/1989Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.org>
      Signed-off-by: default avatarEric Anholt <eric@anholt.net>
      Reviewed-by: default avatarEric Anholt <eric@anholt.net>
      b0804ed0
    • Arnd Bergmann's avatar
      memory: atmel-ebi: mark PM ops as __maybe_unused · 41b80bb1
      Arnd Bergmann authored
      We get a harmless warning without CONFIG_PM:
      
      drivers/memory/atmel-ebi.c:584:12: error: 'atmel_ebi_resume' defined but not used [-Werror=unused-function]
      
      Marking the function as __maybe_unused does the right thing here
      and drops it silently when unused.
      
      Fixes: a483fb10e5ea ("memory: atmel-ebi: Add PM ops")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
      41b80bb1
    • Arnd Bergmann's avatar
      soc: imx: add PM dependency for IMX7_PM_DOMAINS · e23c7f7d
      Arnd Bergmann authored
      The new pm domain driver causes a build failure when CONFIG_PM
      is not set:
      
      warning: (IMX7_PM_DOMAINS) selects PM_GENERIC_DOMAINS which has unmet direct dependencies (PM)
      drivers/base/power/domain_governor.c: In function 'default_suspend_ok':
      drivers/base/power/domain_governor.c:75:17: error: 'struct dev_pm_info' has no member named 'ignore_children'
      
      This adds a dependency to ensure that we don't attempt to build the
      driver without CONFIG_PM.
      
      Fixes: 03aa1262 ("soc: imx: Add GPCv2 power gating driver")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      e23c7f7d
    • Leonard Crestez's avatar
      ARM: dts: imx6sx-sdb: Remove OPP override · d8581c7c
      Leonard Crestez authored
      The board file for imx6sx-sdb overrides cpufreq operating points to use
      higher voltages. This is done because the board has a shared rail for
      VDD_ARM_IN and VDD_SOC_IN and when using LDO bypass the shared voltage
      needs to be a value suitable for both ARM and SOC.
      
      This only applies to LDO bypass mode, a feature not present in upstream.
      When LDOs are enabled the effect is to use higher voltages than necessary
      for no good reason.
      
      Setting these higher voltages can make some boards fail to boot with ugly
      semi-random crashes reminiscent of memory corruption. These failures only
      happen on board rev. C, rev. B is reported to still work.
      Signed-off-by: default avatarLeonard Crestez <leonard.crestez@nxp.com>
      Fixes: 54183bd7 ("ARM: imx6sx-sdb: add revb board and make it default")
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      d8581c7c
    • Fabio Estevam's avatar
      ARM: dts: imx53-qsrb: Pulldown PMIC IRQ pin · 2fe4bff3
      Fabio Estevam authored
      Currently the following errors are seen:
      
      [   14.015056] mc13xxx 0-0008: Failed to read IRQ status: -6
      [   27.321093] mc13xxx 0-0008: Failed to read IRQ status: -6
      [   27.411681] mc13xxx 0-0008: Failed to read IRQ status: -6
      [   27.456281] mc13xxx 0-0008: Failed to read IRQ status: -6
      [   30.527106] mc13xxx 0-0008: Failed to read IRQ status: -6
      [   36.596900] mc13xxx 0-0008: Failed to read IRQ status: -6
      
      Also when reading the interrupts via 'cat /proc/interrupts' the
      PMIC GPIO interrupt counter does not stop increasing.
      
      The reason for the storm of interrupts is that the PUS field of
      register IOMUXC_SW_PAD_CTL_PAD_CSI0_DAT5 is currently configured as:
      10 : 100k pullup
      
      and the PMIC interrupt is being registered as IRQ_TYPE_LEVEL_HIGH type,
      which is the correct type as per the MC34708 datasheet.
      
      Use the default power on value for the IOMUX, which sets PUS field as:
      00: 360k pull down
      
      This prevents the spurious PMIC interrupts from happening.
      
      Commit e1ffceb0 ("ARM: imx53: qsrb: fix PMIC interrupt level")
      correctly described the irq type as IRQ_TYPE_LEVEL_HIGH, but
      missed to update the IOMUX of the PMIC GPIO as pull down.
      
      Fixes: e1ffceb0 ("ARM: imx53: qsrb: fix PMIC interrupt level")
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      2fe4bff3
  10. 14 May, 2017 2 commits
  11. 13 May, 2017 1 commit