summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2022-08-03 13:28:52 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-08-16 00:29:58 +0300
commitcb6e097d9340e037ced6c580019e823b702c6bb9 (patch)
treed49b7d7fb49880a9ccbc8ac30d1e5f758b196cae
parenta0f96db4ca1279d2c5150ed306e32a589f66070b (diff)
downloadlinux-cb6e097d9340e037ced6c580019e823b702c6bb9.tar.xz
dt-bindings: iio: adc: at91-sama5d2_adc: add id for temperature channel
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>
-rw-r--r--include/dt-bindings/iio/adc/at91-sama5d2_adc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dt-bindings/iio/adc/at91-sama5d2_adc.h b/include/dt-bindings/iio/adc/at91-sama5d2_adc.h
index 70f99dbdbb42..866d36530583 100644
--- a/include/dt-bindings/iio/adc/at91-sama5d2_adc.h
+++ b/include/dt-bindings/iio/adc/at91-sama5d2_adc.h
@@ -13,4 +13,7 @@
/* pressure channel index */
#define AT91_SAMA5D2_ADC_P_CHANNEL 26
+/* SAMA7G5 Temperature sensor channel index. */
+#define AT91_SAMA7G5_ADC_TEMP_CHANNEL 31
+
#endif