hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/linux/platform_data/ntc_thermistor.h
....@@ -1,22 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * ntc_thermistor.h - NTC Thermistors
34 *
45 * Copyright (C) 2010 Samsung Electronics
56 * 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
207 */
218 #ifndef _LINUX_NTC_H
229 #define _LINUX_NTC_H
....@@ -24,10 +11,11 @@
2411 struct iio_channel;
2512
2613 enum ntc_thermistor_type {
27
- TYPE_NCPXXWB473,
28
- TYPE_NCPXXWL333,
2914 TYPE_B57330V2103,
15
+ TYPE_B57891S0103,
16
+ TYPE_NCPXXWB473,
3017 TYPE_NCPXXWF104,
18
+ TYPE_NCPXXWL333,
3119 TYPE_NCPXXXH103,
3220 };
3321
....@@ -41,7 +29,7 @@
4129 * read_uV()
4230 *
4331 * 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
4533 *
4634 * pullup/down_ohm: 0 for infinite / not-connected
4735 *