summaryrefslogtreecommitdiffstats
path: root/src/soc/rockchip/rk3399/include/soc/tsadc.h
blob: 3f2cc7d1eafe81bc4ebdd1285f1394bc281e4c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __SOC_ROCKCHIP_RK3399_TSADC_H__
#define __SOC_ROCKCHIP_RK3399_TSADC_H__

#include <stdint.h>

enum {
	TSHUT_POL_HIGH = 1 << 8,
	TSHUT_POL_LOW = 0 << 8
};

void tsadc_init(uint32_t polarity);

#endif