kernel-brax3-ubuntu-touch/drivers/input/touchscreen/hxchipset/himax_ic_HX83108.h
erascape f319b992b1 kernel-5.15: Initial import brax3 UT kernel
* halium configs enabled

Signed-off-by: erascape <erascape@proton.me>
2025-09-23 15:17:10 +00:00

40 lines
1.3 KiB
C
Executable file

/* SPDX-License-Identifier: GPL-2.0 */
/* Himax Android Driver Sample Code for HX83108 chipset
*
* Copyright (C) 2022 Himax Corporation.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* 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.
*/
#include "himax_platform.h"
#include "himax_common.h"
#include "himax_ic_core.h"
#include <linux/slab.h>
#define HX_83108_SERIES_PWON "HX83108"
#define HX83108_DATA_ADC_NUM 48
#define HX83108_ADDR_RAWOUT_SEL 0x100072ec
#define HX83108_REG_ICID 0x900000d0
#define HX83108_ISRAM_SZ 65536
#define HX83108_DSRAM_SZ 49152
#define HX83108_FLASH_SIZE 131072
#define hx83108_addr_crc_s1 0x800B0048
#define hx83108_addr_crc_s2 0x800B005C
#define hx83108_addr_crc_s3 0x800B0008
#define hx83108_addr_crc_s4 0x800B0044
#define hx83108_data_crc_s1 0x00000030
#define hx83108_data_crc_s2 0x0000CAAC
#define hx83108_data_crc_s3 0x00000001
#define hx83108_data_crc_s4 0x00000000