blob: 92192e4fa08625785af6b899059311e9cb222ad0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2025 Icenowy Zheng <uwu@icenowy.me>
*/
#ifndef _VS_HWDB_H_
#define _VS_HWDB_H_
#include <linux/regmap.h>
#include <linux/types.h>
struct vs_formats {
const u32 *array;
unsigned int num;
};
struct vs_chip_identity {
u32 model;
u32 revision;
u32 customer_id;
u32 display_count;
const struct vs_formats *formats;
};
int vs_fill_chip_identity(struct regmap *regs,
struct vs_chip_identity *ident);
#endif /* _VS_HWDB_H_ */
|