1. 31 Dec, 2018 1 commit
    • Olof Johansson's avatar
      Merge branch 'fixes' into next/soc · cac1fc8f
      Olof Johansson authored
      Merge in fixes here, since the last batch didn't make it in before the
      release of 4.20, and we might as well group them with this set of
      patches.
      
      * fixes: (822 commits)
        arm64: dts: renesas: draak: Fix CVBS input
        ARM: dts: Fix OMAP4430 SDP Ethernet startup
        ARM: dts: am335x-pdu001: Fix polarity of card detection input
        ARM: OMAP1: ams-delta: Fix audio permanently muted
        ARM: dts: omap5: Fix dual-role mode on Super-Speed port
        arm64: dts: rockchip: fix rk3399-rockpro64 regulator gpios
        ARM: dts: imx7d-nitrogen7: Fix the description of the Wifi clock
        ARM: imx: update the cpu power up timing setting on i.mx6sx
        Revert "arm64: dts: marvell: add CPU Idle power state support on Armada 7K/8K"
        ARM: dts: imx7d-pico: Describe the Wifi clock
        ARM: dts: realview: Fix some more duplicate regulator nodes
        MAINTAINERS: update entry for MMP platform
        ARM: mmp/mmp2: fix cpu_is_mmp2() on mmp2-dt
        MAINTAINERS: mediatek: Update SoC entry
        ARM: dts: bcm2837: Fix polarity of wifi reset GPIOs
        + Linux 4.20-rc5
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      cac1fc8f
  2. 20 Dec, 2018 1 commit
  3. 13 Dec, 2018 1 commit
  4. 12 Dec, 2018 15 commits
    • Olof Johansson's avatar
      Merge tag 'v4.20-rockchip-dts64fixes-2' of... · 8e22bce9
      Olof Johansson authored
      Merge tag 'v4.20-rockchip-dts64fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into fixes
      
      rockpro64 regulator fixes that cause stability issues
      
      * tag 'v4.20-rockchip-dts64fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
        arm64: dts: rockchip: fix rk3399-rockpro64 regulator gpios
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      8e22bce9
    • Olof Johansson's avatar
      Merge tag 'omap-for-v4.20/fixes-rc6' of... · 24161e72
      Olof Johansson authored
      Merge tag 'omap-for-v4.20/fixes-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes
      
      Few device fixes for omaps
      
      Here's a collection of minor fixes for annoying usability issues
      people have noticed using various devices.
      
      There are two regression fixes:
      
      - A regression fix for omap5 usb3 dual role mode
      
      - A regression fix to ams-delta audio being muted permanently
      
      And two one-liners:
      
      - Fix polarity for am335x-pdu001 SD card detection
      
      - Fix non-working omap4-sdp Ethernet startup for rebind
      
      It would be nice to get these merged during the -rc cycle if
      possible. Naturally these can all wait for the merge window too
      if we start running out of time.
      
      * tag 'omap-for-v4.20/fixes-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: dts: Fix OMAP4430 SDP Ethernet startup
        ARM: dts: am335x-pdu001: Fix polarity of card detection input
        ARM: OMAP1: ams-delta: Fix audio permanently muted
        ARM: dts: omap5: Fix dual-role mode on Super-Speed port
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      24161e72
    • Arnd Bergmann's avatar
      ARM: omap2: avoid section mismatch warning · bd3fde38
      Arnd Bergmann authored
      WARNING: vmlinux.o(.text+0x27530): Section mismatch in reference from the function am43xx_suspend_init() to the function .init.text:am43xx_map_scu()
      The function am43xx_suspend_init() references
      the function __init am43xx_map_scu().
      This is often because am43xx_suspend_init lacks a __init
      annotation or the annotation of am43xx_map_scu is wrong.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarTony Lindgren <tony@atomide.com>
      Acked-by: default avatarSantosh Shilimkar <ssantosh@kernel.org>
      Reviewed-by: default avatarKevin Hilman <khilman@baylibre.com>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      bd3fde38
    • Olof Johansson's avatar
      Merge tag 'amlogic-soc' of... · 6dc7e876
      Olof Johansson authored
      Merge tag 'amlogic-soc' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into next/soc
      
      soc: Amlogic updates for v4.21
      - ARM: meson: Kconfig: select HAVE_ARM_TWD and ARM_GLOBAL_TIMER
      - misc MAINTAINERS updates
      
      * tag 'amlogic-soc' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic:
        ARM: meson: select HAVE_ARM_TWD and ARM_GLOBAL_TIMER
        MAINTAINERS: add drivers/soc/amlogic/ to amlogic list
        MAINTAINERS: Remove myself from the list
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      6dc7e876
    • 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
  5. 11 Dec, 2018 4 commits
  6. 10 Dec, 2018 4 commits
  7. 09 Dec, 2018 3 commits
  8. 07 Dec, 2018 5 commits
    • Russell King - ARM Linux's avatar
      ARM: dts: Fix OMAP4430 SDP Ethernet startup · 84fb6c7f
      Russell King - ARM Linux authored
      It was noticed that unbinding and rebinding the KSZ8851 ethernet
      resulted in the driver reporting "failed to read device ID" at probe.
      Probing the reset line with a 'scope while repeatedly attempting to
      bind the driver in a shell loop revealed that the KSZ8851 RSTN pin is
      constantly held at zero, meaning the device is held in reset, and
      does not respond on the SPI bus.
      
      Experimentation with the startup delay on the regulator set to 50ms
      shows that the reset is positively released after 20ms.
      
      Schematics for this board are not available, and the traces are buried
      in the inner layers of the board which makes tracing where the RSTN pin
      extremely difficult.  We can only guess that the RSTN pin is wired to a
      reset generator chip driven off the ethernet supply, which fits the
      observed behaviour.
      
      Include this delay in the regulator startup delay - effectively
      treating the reset as a "supply stable" indicator.
      
      This can not be modelled as a delay in the KSZ8851 driver since the
      reset generation is board specific - if the RSTN pin had been wired to
      a GPIO, reset could be released earlier via the already provided support
      in the KSZ8851 driver.
      
      This also got confirmed by Peter Ujfalusi <peter.ujfalusi@ti.com> based
      on Blaze schematics that should be very close to SDP4430:
      
      TPS22902YFPR is used as the regulator switch (gpio48 controlled):
      Convert arm boot_lock to raw The VOUT is routed to TPS3808G01DBV.
      (SCH Note: Threshold set at 90%. Vsense: 0.405V).
      
      According to the TPS3808 data sheet the RESET delay time when Ct is
      open (this is the case in the schema): MIN/TYP/MAX: 12/20/28 ms.
      Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
      Reviewed-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
      [tony@atomide.com: updated with notes from schematics from Peter]
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      84fb6c7f
    • Felix Brack's avatar
      ARM: dts: am335x-pdu001: Fix polarity of card detection input · 57603672
      Felix Brack authored
      When a micro SD card is inserted in the PDU001 card cage, the card
      detection switch is opened and the corresponding GPIO input is driven
      by a pull-up. Hence change the active level of the card detection
      input from low to high.
      Signed-off-by: default avatarFelix Brack <fb@ltec.ch>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      57603672
    • Tony Lindgren's avatar
      2531b3be
    • Janusz Krzysztofik's avatar
      ARM: OMAP1: ams-delta: Fix audio permanently muted · 2afdb4c4
      Janusz Krzysztofik authored
      Since commit 1137ceee ("ARM: OMAP1: ams-delta: Don't request unused
      GPIOs"), on-board audio has appeared muted.  Believed to be unused GPIO
      pin "hookflash1", apparently set high regardless of the corresponding
      bit of "latch2" port attempted to be set low during .init_machine(),
      has been identified as the reason.
      
      According to Amstrad E3 wiki, the purpose of the pin hasn't been
      clearly identified.  Original Amstrad software used to produce a high
      pulse on it when the phone was taken off hook or recall was pressed.
      With the current finding, we can assume the pin provides a kind of
      audio mute function.
      
      Proper resolution of the issue should be done in two steps:
      - resolution of an issue with the pin state not reflecting the value
        the corresponding bit of the port was attempted to be initialized
        with,
      - extension of on-board audio driver with a new control.
      
      For now, rename the pin to "audio_mute" to reflect its function and,
      as a quick fix, hogg it as output low so on-board audio can produce
      audible sound again.
      
      Fixes: 1137ceee ("ARM: OMAP1: ams-delta: Don't request unused GPIOs")
      Signed-off-by: default avatarJanusz Krzysztofik <jmkrzyszt@gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      2afdb4c4
    • Roger Quadros's avatar
      ARM: dts: omap5: Fix dual-role mode on Super-Speed port · a763ecc1
      Roger Quadros authored
      OMAP5's Super-Speed USB port has a software mailbox register
      that needs to be fed with VBUS and ID events from an external
      VBUS/ID comparator.
      
      Without this, Host role will not work correctly.
      
      Fixes: 656c1a65 ("ARM: dts: omap5: enable OTG role for DWC3 controller")
      Reported-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
      Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      a763ecc1
  9. 06 Dec, 2018 6 commits