• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <commonlib/helpers.h>
4 #include <northbridge/intel/gm45/gm45.h>
5 
6 /*
7  * This contains a list of panel IDs and a known well working
8  * backlight PWM frequency.
9  */
10 static const struct blc_pwm_t blc_entries[] = {
11 	/*
12 	 * Not sure if that's just a corrupt byte or just something
13 	 * weird about the EDID of the panel in my system. Also, the
14 	 * vendor firmware sets the pwm frequency to a rather high
15 	 * value compared to other GM45 systems in the tree.
16 	 */
17 	{"G022H\200141WX5", 12315},
18 };
19 
get_blc_values(const struct blc_pwm_t ** entries)20 int get_blc_values(const struct blc_pwm_t **entries)
21 {
22 	*entries = blc_entries;
23 	return ARRAY_SIZE(blc_entries);
24 }
25