dm: Add a demonstration/example driver
[platform/kernel/u-boot.git] / include / ds1722.h
1 /*
2  * SPDX-License-Identifier:     GPL-2.0+
3  */
4
5 #ifndef _DS1722_H_
6 #define _DS1722_H_
7
8 #define DS1722_RESOLUTION_8BIT  0x0
9 #define DS1722_RESOLUTION_9BIT  0x1
10 #define DS1722_RESOLUTION_10BIT 0x2
11 #define DS1722_RESOLUTION_11BIT 0x3
12 #define DS1722_RESOLUTION_12BIT 0x4
13
14 int ds1722_probe(int dev);
15
16 #endif /* _DS1722_H_ */