Skip to content
Snippets Groups Projects
  1. Jul 06, 2021
  2. Jul 01, 2021
    • Michal Simek's avatar
      watchdog: cadence: Add expire_now method · 76bf8f3e
      Michal Simek authored
      
      It is working in a way that only minimal timeout is setup to reach
      expiration just right after it is setup.
      Please make sure that PMUFW is compiled with ENABLE_EM flag.
      
      On U-Boot prompt you can test it like:
      ZynqMP> wdt dev watchdog@fd4d0000
      ZynqMP> wdt list
      watchdog@fd4d0000 (cdns_wdt)
      ZynqMP> wdt dev
      dev: watchdog@fd4d0000
      ZynqMP> wdt expire
      (And reset should happen here)
      
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      76bf8f3e
  3. Jun 30, 2021
    • Marek Vasut's avatar
      spi: Update speed/mode on change · e2e95e5e
      Marek Vasut authored and Tom Rini's avatar Tom Rini committed
      
      The spi_get_bus_and_cs() may be called on the same bus and chipselect
      with different frequency or mode. This is valid usecase, but the code
      fails to notify the controller of such a configuration change. Call
      spi_set_speed_mode() in case bus frequency or bus mode changed to let
      the controller update the configuration.
      
      The problem can easily be triggered using the sspi command:
      => sspi 0:0@1000
      => sspi 0:0@2000
      Without this patch, both transfers happen at 1000 Hz. With this patch,
      the later transfer happens correctly at 2000 Hz.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Jagan Teki <jagan@amarulasolutions.com>
      Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
      e2e95e5e
  4. Jun 29, 2021
  5. Jun 28, 2021
Loading