summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/max98390/chip.h
blob: c60b44cc0cc4df967815dcd16fd429245baf2fea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0-or-later */

/*
 * MAXIM MAX98390 audio codec devicetree bindings
 */

struct drivers_i2c_max98390_config {
	const char *name; /* ACPI Device Name */
	const char *desc; /* Device Description */
	unsigned int uid; /* ACPI _UID */

	/* The VPD key of calibrated speaker resistance. */
	const char *r0_calib_key;
	/* The VPD key of temperature during speaker calibration. */
	const char *temperature_calib_key;
	const char *dsm_param_file_name;
	/* slot number where voltage feedback will be received */
	uint32_t vmon_slot_no;
	/* slot number where current feedback will be received */
	uint32_t imon_slot_no;
};