1. 12 Dec, 2018 11 commits
    • Olof Johansson's avatar
      Merge tag 'omap-for-v4.21/omap1-signed' of... · 4238973b
      Olof Johansson authored
      Merge tag 'omap-for-v4.21/omap1-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/soc
      
      Changes for omap1 variants for v4.21 merge window
      
      In this set of changes Aaro Koskinen revives Palm Tungsten E for the
      MMC and USB making it usable again. And Janusz Krzysztofik follows up
      on the clean-up of  ams-delta GPIO handling. The other changes are
      clean-up for DEFINE_SHOW_ATTRIBUTE by Yangtao Li.
      
      * tag 'omap-for-v4.21/omap1-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: OMAP1: fix USB configuration for device-only setups
        ARM: OMAP1: add MMC configuration for Palm Tungsten E
        ARM: OMAP1: devices: configure omap1_spi100k only on OMAP7xx
        ARM: OMAP1/2: fix SoC name printing
        ARM: OMAP1: ams-delta: Move AMS_DELTA_LATCH2_NGPIO to the board file
        ARM: OMAP1: ams-delta: Drop unused symbols from the board header
        ARM: OMAP1: ams-delta: Drop board specific global GPIO numbers
        ARM: OMAP: PM: Change to use DEFINE_SHOW_ATTRIBUTE macro
        ARM: OMAP1: clock: Change to use DEFINE_SHOW_ATTRIBUTE macro
        ARM: OMAP1: ams-delta: Provide GPIO lookup table for LED device
        ARM: OMAP1: ams-delta: make board header file local to mach-omap1
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      4238973b
    • Arnd Bergmann's avatar
      ARM: tegra: avoid section mismatch warning · 4dd201be
      Arnd Bergmann authored
      WARNING: vmlinux.o(.text+0x39ecc): Section mismatch in reference from the function tegra114_gic_cpu_pm_registration() to the (unknown reference) .init.rodata:(unknown)
      The function tegra114_gic_cpu_pm_registration() references
      the (unknown reference) __initconst (unknown).
      This is often because tegra114_gic_cpu_pm_registration lacks a __initconst
      annotation or the annotation of (unknown) is wrong.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarThierry Reding <treding@nvidia.com>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      4dd201be
    • Arnd Bergmann's avatar
      ARM: ks8695: fix section mismatch warning · 4aa64677
      Arnd Bergmann authored
      WARNING: vmlinux.o(.text+0x13250): Section mismatch in reference from the function acs5k_i2c_init() to the (unknown reference) .init.data:(unknown)
      The function acs5k_i2c_init() references
      the (unknown reference) __initdata (unknown).
      This is often because acs5k_i2c_init lacks a __initdata
      annotation or the annotation of (unknown) is wrong.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      4aa64677
    • Arnd Bergmann's avatar
      ARM: pxa: avoid section mismatch warning · 88af3209
      Arnd Bergmann authored
      WARNING: vmlinux.o(.text+0x19f90): Section mismatch in reference from the function littleton_init_lcd() to the function .init.text:pxa_set_fb_info()
      The function littleton_init_lcd() references
      the function __init pxa_set_fb_info().
      This is often because littleton_init_lcd lacks a __init
      annotation or the annotation of pxa_set_fb_info is wrong.
      
      WARNING: vmlinux.o(.text+0xf824): Section mismatch in reference from the function zeus_register_ohci() to the function .init.text:pxa_set_ohci_info()
      The function zeus_register_ohci() references
      the function __init pxa_set_ohci_info().
      This is often because zeus_register_ohci lacks a __init
      annotation or the annotation of pxa_set_ohci_info is wrong.
      
      WARNING: vmlinux.o(.text+0xf95c): Section mismatch in reference from the function cm_x300_init_u2d() to the function .init.text:pxa3xx_set_u2d_info()
      The function cm_x300_init_u2d() references
      the function __init pxa3xx_set_u2d_info().
      This is often because cm_x300_init_u2d lacks a __init
      annotation or the annotation of pxa3xx_set_u2d_info is wrong.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      88af3209
    • Arnd Bergmann's avatar
      ARM: mmp: fix pxa168_device_usb_phy use on aspenite · 5d3e11c4
      Arnd Bergmann authored
      This one ended up in the wrong header file, causing a build failure
      on at least one platform:
      
      arch/arm/mach-mmp/aspenite.c: In function 'common_init':
      arch/arm/mach-mmp/aspenite.c:260:28: error: 'pxa168_device_usb_phy' undeclared (first use in this function); did you mean 'pxa168_device_ssp5'?
      
      We can just include both the pxa168.h and pxa910.h headers to make
      that work, which gets us to the next failure:
      
      arch/arm/mach-mmp/aspenite.o: In function `common_init':
      aspenite.c:(.init.text+0x1c0): undefined reference to `pxa168_device_usb_phy'
      
      This is solved by using the matching ifdef check around the
      USB device registration, enabling them only when either USB
      host or gadget mode are enabled.
      
      Fixes: a225daf7 ("ARM: mmp: add a pxa-usb-phy device")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      5d3e11c4
    • Arnd Bergmann's avatar
      ARM: mmp: fix timer_init calls · 12d3a30d
      Arnd Bergmann authored
      The change to passing the timer frequency as a function argument
      was a good idea, but caused a build failure for one user that
      was missed in the update:
      
      arch/arm/mach-mmp/time.c: In function 'mmp_dt_init_timer':
      arch/arm/mach-mmp/time.c:242:2: error: implicit declaration of function 'timer_init'; did you mean 'hrtimer_init'? [-Werror=implicit-function-declaration]
      
      Change that as well to fix the build error, and rename the
      function to put it into a proper namespace and make it clearer
      what is actually going on.
      
      I saw that the high 6500000 HZ frequency was previously only
      set with CONFIG_MMP2, but is now also used with MMP (pxa910),
      so I'm changing that back here. Please make sure that the
      frequencies are all correct now.
      
      Fixes: f36797ee ("ARM: mmp/mmp2: dt: enable the clock")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      12d3a30d
    • Olof Johansson's avatar
      Merge tag 'imx-soc-4.21' of... · c8730395
      Olof Johansson authored
      Merge tag 'imx-soc-4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/soc
      
      i.MX SoC changes for 4.21:
       - An improvement on i.MX debugging options that only defines
         DEBUG_IMX_UART_PORT if needed, so that the option will not be present
         in the kernel config when DEBUG_LL is disabled.
       - Adds the necessary platform support for i.MX7ULP SoC and configures
         power mode to Partial Stop mode 3 with system/bus clock enabled.
         Otherwise the default STOP mode will gate off system/bus clock when
         WFI gets executed on i.MX7ULP.
       - A fix from Arnd on SOC_IMX7ULP option dependency.
      
      * tag 'imx-soc-4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
        ARM: imx: fix dependencies on imx7ulp
        ARM: imx: add initial support for imx7ulp
        ARM: debug-imx: only define DEBUG_IMX_UART_PORT if needed
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      c8730395
    • Olof Johansson's avatar
      Merge tag 'samsung-soc-4.21' of... · 3aab5403
      Olof Johansson authored
      Merge tag 'samsung-soc-4.21' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/soc
      
      Samsung mach/soc changes for v4.21
      
      Just cleanups of: legacy way of setting external wakeup interrupts, old
      power management debugging functions and duplicated secondary startup
      initialization.
      
      * tag 'samsung-soc-4.21' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
        ARM: exynos: Remove secondary startup initialization from smp_prepare_cpus
        ARM: samsung: Limit SAMSUNG_PM_DEBUG config option to non-Exynos platforms
        ARM: exynos: Remove no longer needed s3c_pm_check_*() calls
        ARM: exynos: Remove legacy setting of external wakeup interrupts
        ARM: s5pv210: Remove legacy setting of external wakeup interrupts
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      3aab5403
    • Olof Johansson's avatar
      Merge tag 'sunxi-core-for-4.21' of... · abd488c0
      Olof Johansson authored
      Merge tag 'sunxi-core-for-4.21' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into next/soc
      
      Allwinner core changes for 4.21
      
      A few patches to enable a new Allwinner SoC based on an armv5 CPU.
      
      * tag 'sunxi-core-for-4.21' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
        dt-bindings: watchdog: Add Allwinner ARMv5 F1C100s wdt
        ARM: sunxi: add Allwinner ARMv5 SoCs
        dt-bindings: arm: Add new Allwinner ARMv5 F1C100s SoC
        ARM: Check ARCH_MULTI_V7 to differentiate ARMv5/v7 Allwinner SoCs
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      abd488c0
    • Olof Johansson's avatar
      Merge tag 'davinci-for-v4.21/soc' of... · 767ae017
      Olof Johansson authored
      Merge tag 'davinci-for-v4.21/soc' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into next/soc
      
      DaVinci SoC updates for v4.21
      -----------------------------
      
      This set of patches moves DaVinci one step closer to
      not relying on at24 platform data by relying on nvmem
      cell lookups instead.
      
      Once other dependencies are merged, for v4.22, plan is
      to merge another series of patches removing at24
      platform data.
      
      * tag 'davinci-for-v4.21/soc' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
        ARM: davinci: da850-evm: remove unnecessary include
        ARM: davinci: dm850-evm: use cell nvmem lookup for mac address
        ARM: davinci: mityomapl138: use cell nvmem lookup for mac address
        ARM: davinci: da830-evm: use cell nvmem lookup for mac address
        ARM: davinci: dm646x-evm: use cell nvmem lookup for mac address
        ARM: davinci: dm644x-evm: use cell nvmem lookup for mac address
        ARM: davinci: dm365-evm: use cell nvmem lookup for mac address
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      767ae017
    • Olof Johansson's avatar
      Merge tag 'renesas-soc-for-v4.21' of... · 50ba3700
      Olof Johansson authored
      Merge tag 'renesas-soc-for-v4.21' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc
      
      Renesas ARM Based SoC Updates for v4.21
      
      * pm-rmobile driver
        - Move to drivers/soc/renesas/
        - Clean up struct rmobile_pm_domain
      * Renesas SoC Kconfig Symbols
        - Move symbols for ARM and SoCs to drivers/soc/renesas/
        - Hide ARCH_RZN1 to improve consistency
      * SH-Mobile AG5 (sh73a0) SoC: Remove obsolete inclusion of <asm/smp_twd.h>
      * Restrict TWD and SCU to Renesas ARM based SoCs where they are present
      * Enable GPIOLIB on Renesas arm64 based SoCs to allow GPIO driver selection
      
      * tag 'renesas-soc-for-v4.21' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
        ARM: shmobile: R-Mobile: Move pm-rmobile to drivers/soc/renesas/
        ARM: shmobile: R-Mobile: Clean up struct rmobile_pm_domain
        ARM: shmobile: Move SoC Kconfig symbols to drivers/soc/renesas/
        arm64: renesas: Move SoC Kconfig symbols to drivers/soc/renesas/
        ARM: shmobile: Hide ARCH_RZN1 to improve consistency
        ARM: shmobile: sh73a0: Remove obsolete inclusion of <asm/smp_twd.h>
        ARM: shmobile: Restrict TWD support to SoCs that have it
        ARM: shmobile: Restrict SCU support to SoCs that have it
        arm64: renesas: Enable GPIOLIB to allow GPIO driver selection
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      50ba3700
  2. 11 Dec, 2018 4 commits
  3. 10 Dec, 2018 2 commits
    • A.s. Dong's avatar
      ARM: imx: add initial support for imx7ulp · de70d0e9
      A.s. Dong authored
      The i.MX 7ULP family of processors features NXP's advanced implementation
      of the Arm Cortex-A7 core, the Arm Cortex-M4 core, as well as a 3D and 2D
      Graphics Processing Units (GPUs).
      
      This patch aims to add an initial support for imx7ulp. Note that we need
      configure power mode to Partial Stop mode 3 with system/bus clock enabled
      first as the default enabled STOP mode will gate off system/bus clock when
      execute WFI in MX7ULP SoC.
      
      And there's still no MXC_CPU_IMX7ULP IDs read from register as ULP has no
      anatop as before. So we encode one with 0xff in reverse order in case new
      ones will be in the future.
      
      Cc: Shawn Guo <shawnguo@kernel.org>
      Signed-off-by: default avatarDong Aisheng <aisheng.dong@nxp.com>
      Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      de70d0e9
    • Uwe Kleine-König's avatar
      ARM: debug-imx: only define DEBUG_IMX_UART_PORT if needed · 7c41ea57
      Uwe Kleine-König authored
      If debugging on i.MX is enabled DEBUG_IMX_UART_PORT defines which UART
      is used for the debug output. If however debugging is off don't only
      hide the then unused config item but drop it completely by using a
      dependency instead of a conditional prompt.
      
      This fixes DEBUG_IMX_UART_PORT being present in the kernel config even
      if DEBUG_LL is disabled.
      Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      7c41ea57
  4. 06 Dec, 2018 7 commits
  5. 05 Dec, 2018 1 commit
  6. 03 Dec, 2018 4 commits
  7. 30 Nov, 2018 8 commits
  8. 29 Nov, 2018 3 commits