mb/google/fatcat: config GPP_F23 as ISH gpio pin
[coreboot2.git] / src / drivers / i2c / rtd2132 / chip.h
blob50ea7d53149afddfdc23efd69c3318aa4160e7f3
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __DRIVERS_I2C_RTD2132_CHIP_H__
4 #define __DRIVERS_I2C_RTD2132_CHIP_H__
6 struct drivers_i2c_rtd2132_config {
7 /* Panel Power Sequencing. All units in ms. */
8 u16 t1; /* Delay from panel Vcc enable to LVDS output enable. */
9 u16 t2; /* Delay from LVDS output enable to PWM output enable. */
10 u16 t3; /* Delay from PWM output enable to backlight output enable. */
11 u16 t4; /* Delay from backlight output disable to PWM output disable. */
12 u16 t5; /* Delay from PWM output disable to LVDS output disable. */
13 u16 t6; /* Delay from LVDS output disable to panel Vcc disable. */
14 u16 t7; /* Delay between two panel power on/off sequence. */
17 * LVDS swap.
18 * 0x00 - Normal
19 * 0x01 - Mirror
20 * 0x02 - P/N
21 * 0x03 - Mirror + P/N
22 * 0x04 - R/L
24 * Dual Support or in bit 7:
25 * 0x80 - Dual Swap
27 u8 lvds_swap;
30 * LVDS Spread Spectrum Clock
31 * 0x00 = DISABLED
32 * 0x05 = 0.5%
33 * 0x10 = 1.0%
34 * 0x15 = 1.5%
36 u8 sscg_percent;
39 #endif /* __DRIVERS_I2C_RTD2132_CHIP_H__ */