| /* |
| * include/dt-bindings/iio/adc/amlogic-saradc.h |
| * |
| * Copyright (C) 2017 Amlogic, Inc. All rights reserved. |
| * |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License as published by |
| * the Free Software Foundation; either version 2 of the License, or |
| * (at your option) any later version. |
| * |
| * This program is distributed in the hope that it will be useful, but WITHOUT |
| * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| * more details. |
| * |
| */ |
| |
| #ifndef _DT_BINDINGS_IIO_ADC_AMLOGIC_H |
| #define _DT_BINDINGS_IIO_ADC_AMLOGIC_H |
| |
| #define SARADC_CH0 0 |
| #define SARADC_CH1 1 |
| #define SARADC_CH2 2 |
| #define SARADC_CH3 3 |
| #define SARADC_CH4 4 |
| #define SARADC_CH5 5 |
| #define SARADC_CH6 6 |
| #define SARADC_CH7 7 |
| |
| #define SARADC_CH_NUM 8 |
| |
| #endif |