summaryrefslogtreecommitdiff
path: root/src/mainboard/dell/e6400/blc.c
blob: b01d552850555c822cabc49b528b6e8adc4b2e37 (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
/* SPDX-License-Identifier: GPL-2.0-only */

#include <commonlib/helpers.h>
#include <northbridge/intel/gm45/gm45.h>

/*
 * This contains a list of panel IDs and a known well working
 * backlight PWM frequency.
 */
static const struct blc_pwm_t blc_entries[] = {
	/*
	 * Not sure if that's just a corrupt byte or just something
	 * weird about the EDID of the panel in my system. Also, the
	 * vendor firmware sets the pwm frequency to a rather high
	 * value compared to other GM45 systems in the tree.
	 */
	{"G022H\200141WX5", 12315},
};

int get_blc_values(const struct blc_pwm_t **entries)
{
	*entries = blc_entries;
	return ARRAY_SIZE(blc_entries);
}