dc68054305
- Restore 29 recipe symlinks (libdrm, qtbase, dbus, sddm, pipewire, etc.) - Restore 33 patches (KDE, libdrm, mesa, pipewire, sddm, wireplumber) - Restore 20+ local/scripts (audit, lint, test, build helpers) - Restore src/cook/scheduler.rs, status.rs, gnu-config/ - Restore scripts/patch-inclusion-gate.sh, run_mini1.sh, validate-collision-log.sh - Recover TLC source from HEAD (was overwritten by 0.2.3 checkout) - Recover 11 local/docs plans from HEAD (were overwritten) - Recover qt6-wayland-smoke symlink from HEAD - Fix MOTD: remove garbled ASCII art, use clean text - Update version: 0.2.0 -> 0.2.4 in os-release, motd, config - Reduce filesystem_size: 1536 -> 512 MiB - Add ABSOLUTE RULE to AGENTS.md: never delete/ignore packages - Reduce pcid scheme log verbosity: info -> debug
39 lines
949 B
C
39 lines
949 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) STMicroelectronics 2017
|
|
*
|
|
* Author: Fabrice Gasnier <fabrice.gasnier@st.com>
|
|
*/
|
|
|
|
#ifndef _STM32_LPTIM_TRIGGER_H_
|
|
#define _STM32_LPTIM_TRIGGER_H_
|
|
|
|
#include <linux/iio/iio.h>
|
|
#include <linux/iio/trigger.h>
|
|
|
|
#define LPTIM1_OUT "lptim1_out"
|
|
#define LPTIM2_OUT "lptim2_out"
|
|
#define LPTIM3_OUT "lptim3_out"
|
|
#define LPTIM4_OUT "lptim4_out"
|
|
#define LPTIM5_OUT "lptim5_out"
|
|
|
|
#define LPTIM1_CH1 "lptim1_ch1"
|
|
#define LPTIM1_CH2 "lptim1_ch2"
|
|
#define LPTIM2_CH1 "lptim2_ch1"
|
|
#define LPTIM2_CH2 "lptim2_ch2"
|
|
#define LPTIM3_CH1 "lptim3_ch1"
|
|
#define LPTIM4_CH1 "lptim4_ch1"
|
|
|
|
#if IS_REACHABLE(CONFIG_IIO_STM32_LPTIMER_TRIGGER)
|
|
bool is_stm32_lptim_trigger(struct iio_trigger *trig);
|
|
#else
|
|
static inline bool is_stm32_lptim_trigger(struct iio_trigger *trig)
|
|
{
|
|
#if IS_ENABLED(CONFIG_IIO_STM32_LPTIMER_TRIGGER)
|
|
pr_warn_once("stm32 lptim_trigger not linked in\n");
|
|
#endif
|
|
return false;
|
|
}
|
|
#endif
|
|
#endif
|