1. 20 9月, 2022 8 次提交
  2. 27 7月, 2022 2 次提交
  3. 24 5月, 2022 1 次提交
  4. 21 4月, 2022 1 次提交
  5. 16 6月, 2021 1 次提交
  6. 15 6月, 2021 1 次提交
  7. 23 7月, 2020 1 次提交
  8. 23 5月, 2020 1 次提交
  9. 16 3月, 2020 6 次提交
  10. 27 2月, 2020 2 次提交
  11. 17 1月, 2020 3 次提交
  12. 24 5月, 2019 1 次提交
  13. 07 5月, 2019 1 次提交
  14. 16 4月, 2019 1 次提交
    • N
      clocksource/drivers/timer-ti-dm: Remove omap_dm_timer_set_load_start · 4d86c9f7
      Nathan Chancellor 提交于
      Commit 008258d9 ("clocksource/drivers/timer-ti-dm: Make
      omap_dm_timer_set_load_start() static") made omap_dm_time_set_load_start
      static because its prototype was not defined in a header. Unfortunately,
      this causes a build warning on multi_v7_defconfig because this function
      is not used anywhere in this translation unit:
      
      drivers/clocksource/timer-ti-dm.c:589:12: error: unused function
      'omap_dm_timer_set_load_start' [-Werror,-Wunused-function]
      
      In fact, omap_dm_timer_set_load_start hasn't been used anywhere since
      commit f190be7f ("staging: tidspbridge: remove driver") and the
      prototype was removed in commit 592ea6bd ("clocksource: timer-ti-dm:
      Make unexported functions static"), which is probably where this should
      have happened.
      
      Fixes: 592ea6bd ("clocksource: timer-ti-dm: Make unexported functions static")
      Fixes: 008258d9 ("clocksource/drivers/timer-ti-dm: Make omap_dm_timer_set_load_start() static")
      Signed-off-by: NNathan Chancellor <natechancellor@gmail.com>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      4d86c9f7
  15. 23 3月, 2019 1 次提交
  16. 29 1月, 2019 1 次提交
    • T
      bus: ti-sysc: Fix timer handling with drop pm_runtime_irq_safe() · 9bd34c63
      Tony Lindgren 提交于
      Commit 84badc5e ("ARM: dts: omap4: Move l4 child devices to probe
      them with ti-sysc") started producing a warning for pwm-omap-dmtimer:
      
      WARNING: CPU: 0 PID: 77 at drivers/bus/omap_l3_noc.c:147
      l3_interrupt_handler+0x2f8/0x388
      44000000.ocp:L3 Custom Error: MASTER MPU TARGET L4PER2 (Idle):
      Data Access in Supervisor mode during Functional access
      ...
      __pm_runtime_idle
      omap_dm_timer_disable
      pwm_omap_dmtimer_start
      pwm_omap_dmtimer_enable
      pwm_apply_state
      pwm_vibrator_start
      pwm_vibrator_play_work
      
      This is because the timer that pwm-omap-dmtimer is using is now being
      probed with ti-sysc interconnect target module instead of omap_device
      and the ti-sysc quirk for SYSC_QUIRK_LEGACY_IDLE is not fully
      compatible with what omap_device has been doing.
      
      We could fix this by reverting the timer changes and have the timer
      probe again with omap_device. Or we could add more quirk handling to
      ti-sysc driver. But as these options don't work nicely as longer term
      solutions, let's just make timers probe with ti-sysc without any
      quirks.
      
      To do this, all we need to do is remove quirks for timers for ti-sysc,
      and drop the bogus pm_runtime_irq_safe() flag for timer-ti-dm.
      
      We should not use pm_runtime_irq_safe() anyways for drivers as it will
      take a permanent use count on the parent device blocking the parent
      devices from idling and has been forcing ti-sysc driver to use a
      quirk flag.
      
      Note that we will move the timer data to DEBUG section later on in
      clean-up patches.
      
      Fixes: 84badc5e ("ARM: dts: omap4: Move l4 child devices to probe them with ti-sysc")
      Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
      Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
      Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
      Cc: H. Nikolaus Schaller <hns@goldelico.com>
      Cc: Keerthy <j-keerthy@ti.com>
      Cc: Ladislav Michl <ladis@linux-mips.org>
      Cc: Pavel Machek <pavel@ucw.cz>
      Cc: Sebastian Reichel <sre@kernel.org>
      Cc: Tero Kristo <t-kristo@ti.com>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Reported-by: NH. Nikolaus Schaller <hns@goldelico.com>
      Tested-By: NAndreas Kemnade <andreas@kemnade.info>
      Tested-By: NH. Nikolaus Schaller <hns@goldelico.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      9bd34c63
  17. 23 1月, 2019 1 次提交
    • T
      clocksource: timer-ti-dm: Fix pwm dmtimer usage of fck reparenting · 983a5a43
      Tony Lindgren 提交于
      Commit 84badc5e ("ARM: dts: omap4: Move l4 child devices to probe
      them with ti-sysc") moved some omap4 timers to probe with ti-sysc
      interconnect target module. Turns out this broke pwm-omap-dmtimer
      where we now try to reparent the clock to itself with the following:
      
      omap_dm_timer_of_set_source: failed to set parent
      
      With ti-sysc, we can now configure the clock sources in the dts
      with assigned-clocks and assigned-clock-parents. So we should be able
      to remove omap_dm_timer_of_set_source with clean-up patches later on.
      But for now, let's just fix it first by checking if parent and fck
      are the same and bail out of so.
      
      Fixes: 84badc5e ("ARM: dts: omap4: Move l4 child devices to probe them with ti-sysc")
      Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
      Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
      Cc: H. Nikolaus Schaller <hns@goldelico.com>
      Cc: Keerthy <j-keerthy@ti.com>
      Cc: Ladislav Michl <ladis@linux-mips.org>
      Cc: Pavel Machek <pavel@ucw.cz>
      Cc: Sebastian Reichel <sre@kernel.org>
      Cc: Tero Kristo <t-kristo@ti.com>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Reported-by: NH. Nikolaus Schaller <hns@goldelico.com>
      Tested-By: NAndreas Kemnade <andreas@kemnade.info>
      Tested-By: NH. Nikolaus Schaller <hns@goldelico.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      983a5a43
  18. 19 12月, 2018 1 次提交
  19. 01 3月, 2018 3 次提交
  20. 23 2月, 2018 3 次提交