summaryrefslogtreecommitdiff
path: root/src/drivers/generic/bayhub/chip.h
blob: 82fe67085ba4d0a2b2c0a03bcd607df06ac723d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __DRIVERS_GENERIC_BAYHUB_CHIP_H__
#define __DRIVERS_GENERIC_BAYHUB_CHIP_H__

#include <acpi/acpi_device.h>

/*
 * Bayhub BG720 PCI to eMMC bridge
 */
struct drivers_generic_bayhub_config {
	/* 1 to enable power-saving mode, 0 to disable */
	int power_saving;

	/* When set, disables programming HS200 mode */
	bool disable_hs200_mode;

	/* CLK and DAT tuning values */
	uint8_t vih_tuning_value;
};

#endif /* __DRIVERS_GENERIC_BAYHUB_CHIP_H__ */