mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Add ID for temperature channel of AT91 SAMA5D2 ADC. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220803102855.2191070-17-claudiu.beznea@microchip.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
19 lines
540 B
C
19 lines
540 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* This header provides constants for configuring the AT91 SAMA5D2 ADC
|
|
*/
|
|
|
|
#ifndef _DT_BINDINGS_IIO_ADC_AT91_SAMA5D2_ADC_H
|
|
#define _DT_BINDINGS_IIO_ADC_AT91_SAMA5D2_ADC_H
|
|
|
|
/* X relative position channel index */
|
|
#define AT91_SAMA5D2_ADC_X_CHANNEL 24
|
|
/* Y relative position channel index */
|
|
#define AT91_SAMA5D2_ADC_Y_CHANNEL 25
|
|
/* pressure channel index */
|
|
#define AT91_SAMA5D2_ADC_P_CHANNEL 26
|
|
|
|
/* SAMA7G5 Temperature sensor channel index. */
|
|
#define AT91_SAMA7G5_ADC_TEMP_CHANNEL 31
|
|
|
|
#endif
|