| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * ntc_thermistor.h - NTC Thermistors |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2010 Samsung Electronics |
|---|
| 5 | 6 | * MyungJoo Ham <myungjoo.ham@samsung.com> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 9 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 10 | | - * (at your option) any later version. |
|---|
| 11 | | - * |
|---|
| 12 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 13 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 14 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 15 | | - * GNU General Public License for more details. |
|---|
| 16 | | - * |
|---|
| 17 | | - * You should have received a copy of the GNU General Public License |
|---|
| 18 | | - * along with this program; if not, write to the Free Software |
|---|
| 19 | | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|---|
| 20 | 7 | */ |
|---|
| 21 | 8 | #ifndef _LINUX_NTC_H |
|---|
| 22 | 9 | #define _LINUX_NTC_H |
|---|
| .. | .. |
|---|
| 24 | 11 | struct iio_channel; |
|---|
| 25 | 12 | |
|---|
| 26 | 13 | enum ntc_thermistor_type { |
|---|
| 27 | | - TYPE_NCPXXWB473, |
|---|
| 28 | | - TYPE_NCPXXWL333, |
|---|
| 29 | 14 | TYPE_B57330V2103, |
|---|
| 15 | + TYPE_B57891S0103, |
|---|
| 16 | + TYPE_NCPXXWB473, |
|---|
| 30 | 17 | TYPE_NCPXXWF104, |
|---|
| 18 | + TYPE_NCPXXWL333, |
|---|
| 31 | 19 | TYPE_NCPXXXH103, |
|---|
| 32 | 20 | }; |
|---|
| 33 | 21 | |
|---|
| .. | .. |
|---|
| 41 | 29 | * read_uV() |
|---|
| 42 | 30 | * |
|---|
| 43 | 31 | * How to setup pullup_ohm, pulldown_ohm, and connect is |
|---|
| 44 | | - * described at Documentation/hwmon/ntc_thermistor |
|---|
| 32 | + * described at Documentation/hwmon/ntc_thermistor.rst |
|---|
| 45 | 33 | * |
|---|
| 46 | 34 | * pullup/down_ohm: 0 for infinite / not-connected |
|---|
| 47 | 35 | * |
|---|