1. 11 Jan, 2020 3 commits
  2. 09 Jan, 2020 6 commits
  3. 08 Jan, 2020 9 commits
  4. 07 Jan, 2020 1 commit
  5. 06 Jan, 2020 4 commits
  6. 03 Jan, 2020 1 commit
  7. 23 Dec, 2019 6 commits
  8. 18 Dec, 2019 1 commit
  9. 17 Dec, 2019 6 commits
    • Dave Gerlach's avatar
      soc: ti: wkup_m3_ipc: Fix race condition with rproc_boot · 03729cfa
      Dave Gerlach authored
      Any user of wkup_m3_ipc calls wkup_m3_ipc_get to get a handle and this
      checks the value of the static variable m3_ipc_state to see if the
      wkup_m3 is ready. Currently this is populated during probe before
      rproc_boot has been called, meaning there is a window of time that
      wkup_m3_ipc_get can return a valid handle but the wkup_m3 itself is not
      ready, leading to invalid IPC calls to the wkup_m3 and system
      instability.
      
      To avoid this, move the population of the m3_ipc_state variable until
      after rproc_boot has succeeded to guarantee a valid and usable handle
      is always returned.
      Reported-by: default avatarSuman Anna <s-anna@ti.com>
      Signed-off-by: default avatarDave Gerlach <d-gerlach@ti.com>
      Acked-by: default avatarSantosh Shilimkar <ssantosh@kernel.org>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      03729cfa
    • Kishon Vijay Abraham I's avatar
      ARM: dts: beagle-x15-common: Model 5V0 regulator · e17e7c49
      Kishon Vijay Abraham I authored
      On am57xx-beagle-x15, 5V0 is connected to P16, P17, P18 and P19
      connectors. On am57xx-evm, 5V0 regulator is used to get 3V6 regulator
      which is connected to the COMQ port. Model 5V0 regulator here in order
      for it to be used in am57xx-evm to model 3V6 regulator.
      Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      e17e7c49
    • Kishon Vijay Abraham I's avatar
      ARM: dts: am571x-idk: Fix gpios property to have the correct gpio number · 0c4eb2a6
      Kishon Vijay Abraham I authored
      commit d23f3839 ("ARM: dts: DRA7: Add pcie1 dt node for
      EP mode") while adding the dt node for EP mode for DRA7 platform,
      added rc node for am571x-idk and populated gpios property with
      "gpio3 23". However the GPIO_PCIE_SWRST line is actually connected
      to "gpio5 18". Fix it here. (The patch adding "gpio3 23" was tested
      with another am57x board in EP mode which doesn't rely on reset from
      host).
      
      Cc: stable <stable@vger.kernel.org> # 4.14+
      Fixes: d23f3839 ("ARM: dts: DRA7: Add pcie1 dt node for EP mode")
      Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      0c4eb2a6
    • Kishon Vijay Abraham I's avatar
      ARM: dts: am57xx-beagle-x15/am57xx-idk: Remove "gpios" for endpoint dt nodes · 81cc0877
      Kishon Vijay Abraham I authored
      PERST# line in the PCIE connector is driven by the host mode and not
      EP mode. The gpios property here is used for driving the PERST# line.
      Remove gpios property from all endpoint device tree nodes.
      Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      81cc0877
    • Marek Szyprowski's avatar
      ARM: dts: sun8i: a83t: Correct USB3503 GPIOs polarity · 1c226017
      Marek Szyprowski authored
      Current USB3503 driver ignores GPIO polarity and always operates as if the
      GPIO lines were flagged as ACTIVE_HIGH. Fix the polarity for the existing
      USB3503 chip applications to match the chip specification and common
      convention for naming the pins. The only pin, which has to be ACTIVE_LOW
      is the reset pin. The remaining are ACTIVE_HIGH. This change allows later
      to fix the USB3503 driver to properly use generic GPIO bindings and read
      polarity from DT.
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
      1c226017
    • Linus Torvalds's avatar
      Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · ea200dec
      Linus Torvalds authored
      Pull ARM SoC fixes from Olof Johansson:
       "I didn't get a batch in this weekend, so here's what we queued up last
        week and today.
      
         - A couple of defconfigs add back debugfs -- it used to be implicitly
           enabled through CONFIG_TRACING, but 0e4a459f ("tracing:
           Remove unnecessary DEBUG_FS dependency") removed that.
      
         - The rest are mostly minor fixlets of the usual kind; some DT
           tweaks, a headerfile refactor that needs a build fix now, etc"
      
      * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (30 commits)
        ARM: bcm: Add missing sentinel to bcm2711_compat[]
        ARM: shmobile: defconfig: Restore debugfs support
        bus: ti-sysc: Fix missing reset delay handling
        ARM: imx: Fix boot crash if ocotp is not found
        ARM: imx_v6_v7_defconfig: Explicitly restore CONFIG_DEBUG_FS
        ARM: dts: imx6ul-evk: Fix peripheral regulator
        arm64: dts: ls1028a: fix reboot node
        ARM: mmp: include the correct cputype.h
        ARM: dts: am437x-gp/epos-evm: fix panel compatible
        arm64: dts: ls1028a: fix typo in TMU calibration data
        ARM: imx: Correct ocotp id for serial number support of i.MX6ULL/ULZ SoCs
        ARM: dts: bcm283x: Fix critical trip point
        ARM: omap2plus_defconfig: Add back DEBUG_FS
        ARM: omap2plus_defconfig: enable NET_SWITCHDEV
        ARM: dts: am335x-sancloud-bbe: fix phy mode
        bus: ti-sysc: Fix missing force mstandby quirk handling
        reset: Do not register resource data for missing resets
        reset: Fix {of,devm}_reset_control_array_get kerneldoc return types
        reset: brcmstb: Remove resource checks
        dt-bindings: reset: Fix brcmstb-reset example
        ...
      ea200dec
  10. 16 Dec, 2019 3 commits
    • Tony Lindgren's avatar
      bus: ti-sysc: Fix iterating over clocks · 2c81f0f6
      Tony Lindgren authored
      Commit d878970f ("bus: ti-sysc: Add separate functions for handling
      clocks") separated handling of optional clocks from the main clocks, but
      introduced an issue where we do not necessarily allocate a slot for both
      fck and ick clocks, but still assume fixed slots for enumerating over the
      clocks.
      
      Let's fix the issue by ensuring we always have slots for both fck and ick
      even if we don't use ick, and don't attempt to enumerate optional clocks
      if not allocated.
      
      In the long run we might want to simplify things a bit by only allocating
      space only for the optional clocks as we have only few devices with
      optional clocks.
      
      Fixes: d878970f ("bus: ti-sysc: Add separate functions for handling clocks")
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      2c81f0f6
    • Tony Lindgren's avatar
      ARM: OMAP2+: Fix ti_sysc_find_one_clockdomain to check for to_clk_hw_omap · 90bdfa0b
      Tony Lindgren authored
      We must bail out early if the clock is not hw_omap. Otherwise we will
      try to access invalid address with hwclk->clkdm_name:
      
      Unable to handle kernel paging request at virtual address ffffffff
      Internal error: Oops: 27 [#1] ARM
      ...
      (strcmp) from [<c011b348>] (clkdm_lookup+0x40/0x60)
      [<c011b348>] (clkdm_lookup) from [<c011cb84>] (ti_sysc_clkdm_init+0x5c/0x64)
      [<c011cb84>] (ti_sysc_clkdm_init) from [<c03680a8>] (sysc_probe+0x948/0x117c)
      [<c03680a8>] (sysc_probe) from [<c03d0af4>] (platform_drv_probe+0x48/0x98)
      ...
      
      Fixes: 2b2f7def ("bus: ti-sysc: Add support for missing clockdomain handling")
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      90bdfa0b
    • Dinh Nguyen's avatar
      arm64: dts: agilex/stratix10: fix pmu interrupt numbers · 210de0e9
      Dinh Nguyen authored
      Fix up the correct interrupt numbers for the PMU unit on Agilex
      and Stratix10.
      
      Fixes: 78cd6a9d ("arm64: dts: Add base stratix 10 dtsi")
      Cc: linux-stable <stable@vger.kernel.org>
      Reported-by: default avatarMeng Li <Meng.Li@windriver.com>
      Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
      210de0e9