History

Merge tag 'timers-core-2022-01-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull timer updates from Thomas Gleixner: "Updates for the time(r) subsystem: Core: - Make the clocksource watchdog more robust by better validation checks of the measurement. Drivers: - New drivers for MStar and SSD20xd SOCs - The usual cleanups and improvements all over the place" * tag 'timers-core-2022-01-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: dt-bindings: timer: Add Mstar MSC313e timer devicetree bindings documentation clocksource/drivers/msc313e: Add support for ssd20xd-based platforms clocksource/drivers: Add MStar MSC313e timer support clocksource/drivers/pistachio: Fix -Wunused-but-set-variable warning clocksource/drivers/timer-imx-sysctr: Set cpumask to cpu_possible_mask clocksource/drivers/imx-sysctr: Mark two variable with __ro_after_init clocksource/drivers/renesas,ostm: Make RENESAS_OSTM symbol visible clocksource/drivers/renesas-ostm: Add RZ/G2L OSTM support dt-bindings: timer: renesas: ostm: Document Renesas RZ/G2L OSTM clocksource/drivers/exynos_mct: Fix silly typo resulting in checkpatch warning clocksource: Reduce the default clocksource_watchdog() retries to 2 clocksource: Avoid accidental unstable marking of clocksources dt-bindings: timer: tpm-timer: Add imx8ulp compatible string reset: Add of_reset_control_get_optional_exclusive() clocksource/drivers/exynos_mct: Refactor resources allocation dt-bindings: timer: remove rockchip,rk3066-timer compatible string from rockchip,rk-timer.yaml dt-bindings: timer: cadence_ttc: Add power-domains

Linus Torvalds committed 4 years ago

Commit fd048992 parents 147cc58 35e13e916 files · +475 −44Browse files

Showing the changes to include (1 of 16 files). Show all

Unified · Split

include/linux/reset.h+20−0
@@ -454,6 +454,26 @@ static inline struct reset_control *of_reset_control_get_exclusive( · 453 unmodified lines
454 return __of_reset_control_get(node, id, 0, false, false, true);454 return __of_reset_control_get(node, id, 0, false, false, true);
455}455}
456 456
457/**
458 * of_reset_control_get_optional_exclusive - Lookup and obtain an optional exclusive
459 * reference to a reset controller.
460 * @node: device to be reset by the controller
461 * @id: reset line name
462 *
463 * Optional variant of of_reset_control_get_exclusive(). If the requested reset
464 * is not specified in the device tree, this function returns NULL instead of
465 * an error.
466 *
467 * Returns a struct reset_control or IS_ERR() condition containing errno.
468 *
469 * Use of id names is optional.
470 */
471static inline struct reset_control *of_reset_control_get_optional_exclusive(
472 struct device_node *node, const char *id)
473{
474 return __of_reset_control_get(node, id, 0, false, true, true);
475}
476
457/**477/**
458 * of_reset_control_get_shared - Lookup and obtain a shared reference478 * of_reset_control_get_shared - Lookup and obtain a shared reference
459 * to a reset controller.479 * to a reset controller.