1. 21 Oct, 2019 4 commits
  2. 14 Oct, 2019 8 commits
  3. 11 Oct, 2019 2 commits
  4. 10 Oct, 2019 3 commits
  5. 09 Oct, 2019 2 commits
    • Tony Lindgren's avatar
      ARM: dts: Use level interrupt for omap4 & 5 wlcore · 087a2b7e
      Tony Lindgren authored
      Commit 572cf7d7 ("ARM: dts: Improve omap l4per idling with wlcore edge
      sensitive interrupt") changed wlcore interrupts to use edge interrupt based
      on what's specified in the wl1835mod.pdf data sheet.
      
      However, there are still cases where we can have lost interrupts as
      described in omap_gpio_unidle(). And using a level interrupt instead of edge
      interrupt helps as we avoid the check for untriggered GPIO interrupts in
      omap_gpio_unidle().
      
      And with commit e6818d29 ("gpio: gpio-omap: configure edge detection
      for level IRQs for idle wakeup") GPIOs idle just fine with level interrupts.
      
      Let's change omap4 and 5 wlcore users back to using level interrupt
      instead of edge interrupt. Let's not change the others as I've only seen
      this on omap4 and 5, probably because the other SoCs don't have l4per idle
      independent of the CPUs.
      
      Fixes: 572cf7d7 ("ARM: dts: Improve omap l4per idling with wlcore edge sensitive interrupt")
      Depends-on: e6818d29 ("gpio: gpio-omap: configure edge detection for level IRQs for idle wakeup")
      Cc: Anders Roxell <anders.roxell@linaro.org>
      Cc: Eyal Reizer <eyalr@ti.com>
      Cc: Guy Mishol <guym@ti.com>
      Cc: John Stultz <john.stultz@linaro.org>
      Cc: Ulf Hansson <ulf.hansson@linaro.org>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      087a2b7e
    • Marek Behún's avatar
      arm64: dts: armada-3720-turris-mox: convert usb-phy to phy-supply · 187c195a
      Marek Behún authored
      Update Turris Mox device tree to use the phy-supply property of the
      generic PHY framework instead of the legacy usb-phy property.
      
      This is needed since it caused a regression on Turris Mox since "usb:
      host: xhci-plat: Prevent an abnormally restrictive PHY init skipping".
      Signed-off-by: default avatarMarek Behún <marek.behun@nic.cz>
      Fixes: eb6c2eb6 ("usb: host: xhci-plat: Prevent an abnormally restrictive PHY init skipping")
      Reviewed-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
      Cc: Andrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
      187c195a
  6. 08 Oct, 2019 2 commits
  7. 06 Oct, 2019 2 commits
  8. 04 Oct, 2019 5 commits
  9. 03 Oct, 2019 4 commits
    • Heiko Stuebner's avatar
      dt-bindings: arm: rockchip: fix Theobroma-System board bindings · cb11a90e
      Heiko Stuebner authored
      The naming convention for the existing Theobroma boards is
      soc-q7module-baseboard, so rk3399-puma-haikou and the in-kernel
      devicetrees also follow that scheme.
      
      For some reason in the binding a wrong or outdated naming slipped
      in which does not match the used devicetrees and makes the dt-schema
      complain now.
      
      Fix this by using the names used in the wild by actual boards.
      
      Fixes: a323a513 ("dt-bindings: arm: Convert Rockchip board/soc bindings to json-schema")
      [although the issue was also present in the old txt file]
      Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Link: https://lore.kernel.org/r/20190917083453.25744-1-heiko@sntech.de
      cb11a90e
    • Hugh Cole-Baker's avatar
      arm64: dts: rockchip: fix Rockpro64 RK808 interrupt line · deea9f5f
      Hugh Cole-Baker authored
      Fix the pinctrl and interrupt specifier for RK808 to use GPIO3_B2. On the
      Rockpro64 schematic [1] page 16, it shows GPIO3_B2 used for the interrupt
      line PMIC_INT_L from the RK808, and there's a note which translates as:
      "PMU termination GPIO1_C5 changed to this".
      
      Tested by setting an RTC wakealarm and checking /proc/interrupts counters.
      Without this patch, neither the rockchip_gpio_irq counter for the RK808,
      nor the RTC alarm counter increment when the alarm time is reached.
      With this patch, both interrupt counters increment by 1 as expected.
      
      [1] http://files.pine64.org/doc/rockpro64/rockpro64_v21-SCH.pdf
      
      Fixes: e4f3fb49 ("arm64: dts: rockchip: add initial dts support for Rockpro64")
      Signed-off-by: default avatarHugh Cole-Baker <sigmaris@gmail.com>
      Link: https://lore.kernel.org/r/20190921131457.36258-1-sigmaris@gmail.comSigned-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
      deea9f5f
    • Tony Lindgren's avatar
      ARM: omap2plus_defconfig: Fix selected panels after generic panel changes · 96d49bbf
      Tony Lindgren authored
      The old omapdrm panels got removed for v5.4 in favor of generic panels,
      and the Kconfig options changed. Let's update omap2plus_defconfig
      accordingly so the same panels are still enabled.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      96d49bbf
    • Olof Johansson's avatar
      Merge tag 'omap-for-v5.4/fixes-rc1-signed' of... · bcec1221
      Olof Johansson authored
      Merge tag 'omap-for-v5.4/fixes-rc1-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/fixes
      
      Fixes for omaps for v5.4-rc cycle
      
      Here are fixes for omaps to deal with few regressions, and to fix
      more boot time errors and warnings:
      
      - The recent ti-sysc interconnect target module driver changes had
        incorrect clock bits for both clocks and dts that cause warnings
      
      - For omap3-gta04, gpio changes caused the LCD to break a while back,
        and after discussing things the right fix is to set spi-cs-high
      
      - Recent omapdrm changes to use generic panels caused tfp410 to be
        disabled as we now must enable the generic support for it in
        defconfig
      
      - Recent omapdrm and backlight changes also finally made droid4 LCD
        to work, so let's enable it in the defconfig it can be used out
        of the box. This is not strictly a fix, but we still also have the
        older CONFIG_MFD_TI_LMU options available so this cuts down the
        confusion for trying to guess which display and which backlight
        is needed
      
      - Recent ti-sysc interconnect target module changes need the gpio
        module disabled on some boards, but this now needs to happen at
        the module level, not at the gpio driver level
      
      - Recent changes to probe system timers with ti-sysc caused warnings
        about mismatch in syconfig registers, so let's configure the option
        for RESET_STATUS as available in the TRMs
      
      - Recent changes to probe LCDC with ti-sysc caused warnings about
        mismatch in sysconfig registers, so let's configure the missing
        idlemodes for both platform data and dts as documented in TRMs
      
      - Since we moved mach-omap2 to probe with device tree, we've been
        getting voltage controller warnings. Turns out this code is no
        longer needed, so let's just remove omap2_set_init_voltage() to
        get rid of the pointless warnings
      
      - Configure am4372 dispc memory bandwidth to avoid underflow errors
      
      * tag 'omap-for-v5.4/fixes-rc1-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: dts: am4372: Set memory bandwidth limit for DISPC
        ARM: OMAP2+: Fix warnings with broken omap2_set_init_voltage()
        ARM: OMAP2+: Add missing LCDC midlemode for am335x
        ARM: OMAP2+: Fix missing reset done flag for am3 and am43
        ARM: dts: Fix gpio0 flags for am335x-icev2
        ARM: omap2plus_defconfig: Enable more droid4 devices as loadable modules
        ARM: omap2plus_defconfig: Enable DRM_TI_TFP410
        DTS: ARM: gta04: introduce legacy spi-cs-high to make display work again
        ARM: dts: Fix wrong clocks for dra7 mcasp
        clk: ti: dra7: Fix mcasp8 clock bits
      
      Link: https://lore.kernel.org/r/pull-1570040410-308159@atomide.comSigned-off-by: default avatarOlof Johansson <olof@lixom.net>
      bcec1221
  10. 01 Oct, 2019 1 commit
  11. 30 Sep, 2019 7 commits
    • Rayagonda Kokatanur's avatar
      arm64: dts: Fix gpio to pinmux mapping · 965f6603
      Rayagonda Kokatanur authored
      There are total of 151 non-secure gpio (0-150) and four
      pins of pinmux (91, 92, 93 and 94) are not mapped to any
      gpio pin, hence update same in DT.
      
      Fixes: 8aa428cc ("arm64: dts: Add pinctrl DT nodes for Stingray SOC")
      Signed-off-by: default avatarRayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
      Reviewed-by: default avatarRay Jui <ray.jui@broadcom.com>
      Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      965f6603
    • Keerthy's avatar
      arm64/ARM: configs: Change CONFIG_REMOTEPROC from m to y · a304c0a6
      Keerthy authored
      Commit 6334150e ("remoteproc: don't allow modular build")
      changes CONFIG_REMOTEPROC to a boolean from a tristate config
      option which inhibits all defconfigs marking CONFIG_REMOTEPROC as
      a module in compiling the remoteproc and dependent config options.
      
      So fix the configs to have CONFIG_REMOTEPROC built in.
      
      Link: https://lore.kernel.org/r/20190920075946.13282-5-j-keerthy@ti.com
      Fixes: 6334150e ("remoteproc: don't allow modular build")
      Signed-off-by: default avatarKeerthy <j-keerthy@ti.com>
      Acked-by: default avatarWill Deacon <will@kernel.org>
      [olof: Fixed up all 4 occurrances in this one commit]
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      a304c0a6
    • Linus Torvalds's avatar
      Linux 5.4-rc1 · 54ecb8f7
      Linus Torvalds authored
      54ecb8f7
    • Linus Torvalds's avatar
      Merge tag 'for-5.4-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · bb48a591
      Linus Torvalds authored
      Pull btrfs fixes from David Sterba:
       "A bunch of fixes that accumulated in recent weeks, mostly material for
        stable.
      
        Summary:
      
         - fix for regression from 5.3 that prevents to use balance convert
           with single profile
      
         - qgroup fixes: rescan race, accounting leak with multiple writers,
           potential leak after io failure recovery
      
         - fix for use after free in relocation (reported by KASAN)
      
         - other error handling fixups"
      
      * tag 'for-5.4-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: qgroup: Fix reserved data space leak if we have multiple reserve calls
        btrfs: qgroup: Fix the wrong target io_tree when freeing reserved data space
        btrfs: Fix a regression which we can't convert to SINGLE profile
        btrfs: relocation: fix use-after-free on dead relocation roots
        Btrfs: fix race setting up and completing qgroup rescan workers
        Btrfs: fix missing error return if writeback for extent buffer never started
        btrfs: adjust dirty_metadata_bytes after writeback failure of extent buffer
        Btrfs: fix selftests failure due to uninitialized i_mode in test inodes
      bb48a591
    • Linus Torvalds's avatar
      Merge tag 'csky-for-linus-5.4-rc1' of git://github.com/c-sky/csky-linux · 80b29b6b
      Linus Torvalds authored
      Pull csky updates from Guo Ren:
       "This round of csky subsystem just some fixups:
      
         - Fix mb() synchronization problem
      
         - Fix dma_alloc_coherent with PAGE_SO attribute
      
         - Fix cache_op failed when cross memory ZONEs
      
         - Optimize arch_sync_dma_for_cpu/device with dma_inv_range
      
         - Fix ioremap function losing
      
         - Fix arch_get_unmapped_area() implementation
      
         - Fix defer cache flush for 610
      
         - Support kernel non-aligned access
      
         - Fix 610 vipt cache flush mechanism
      
         - Fix add zero_fp fixup perf backtrace panic
      
         - Move static keyword to the front of declaration
      
         - Fix csky_pmu.max_period assignment
      
         - Use generic free_initrd_mem()
      
         - entry: Remove unneeded need_resched() loop"
      
      * tag 'csky-for-linus-5.4-rc1' of git://github.com/c-sky/csky-linux:
        csky: Move static keyword to the front of declaration
        csky: entry: Remove unneeded need_resched() loop
        csky: Fixup csky_pmu.max_period assignment
        csky: Fixup add zero_fp fixup perf backtrace panic
        csky: Use generic free_initrd_mem()
        csky: Fixup 610 vipt cache flush mechanism
        csky: Support kernel non-aligned access
        csky: Fixup defer cache flush for 610
        csky: Fixup arch_get_unmapped_area() implementation
        csky: Fixup ioremap function losing
        csky: Optimize arch_sync_dma_for_cpu/device with dma_inv_range
        csky/dma: Fixup cache_op failed when cross memory ZONEs
        csky: Fixup dma_alloc_coherent with PAGE_SO attribute
        csky: Fixup mb() synchronization problem
      80b29b6b
    • Linus Torvalds's avatar
      Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · cef0aa0c
      Linus Torvalds authored
      Pull ARM SoC fixes from Olof Johansson:
       "A few fixes that have trickled in through the merge window:
      
         - Video fixes for OMAP due to panel-dpi driver removal
      
         - Clock fixes for OMAP that broke no-idle quirks + nfsroot on DRA7
      
         - Fixing arch version on ASpeed ast2500
      
         - Two fixes for reset handling on ARM SCMI"
      
      * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        ARM: aspeed: ast2500 is ARMv6K
        reset: reset-scmi: add missing handle initialisation
        firmware: arm_scmi: reset: fix reset_state assignment in scmi_domain_reset
        bus: ti-sysc: Remove unpaired sysc_clkdm_deny_idle()
        ARM: dts: logicpd-som-lv: Fix i2c2 and i2c3 Pin mux
        ARM: dts: am3517-evm: Fix missing video
        ARM: dts: logicpd-torpedo-baseboard: Fix missing video
        ARM: omap2plus_defconfig: Fix missing video
        bus: ti-sysc: Fix handling of invalid clocks
        bus: ti-sysc: Fix clock handling for no-idle quirks
      cef0aa0c
    • Peter Ujfalusi's avatar
      ARM: dts: am4372: Set memory bandwidth limit for DISPC · f90ec6cd
      Peter Ujfalusi authored
      Set memory bandwidth limit to filter out resolutions above 720p@60Hz to
      avoid underflow errors due to the bandwidth needs of higher resolutions.
      
      am43xx can not provide enough bandwidth to DISPC to correctly handle
      'high' resolutions.
      Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      f90ec6cd