aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTomi Valkeinen <[email protected]>2011-09-06 11:31:02 +0300
committerTomi Valkeinen <[email protected]>2011-09-30 16:17:37 +0300
commit12595d46bf0d361b7f96fb24c9dc7fe5ce82b3f7 (patch)
tree30a8015cb5607aa6fa70f02759391367a6285efc /tools/perf/util/scripting-engines/trace-event-python.c
parent4010c07c2307a8238ef4a742d4080de4a577575b (diff)
OMAP4: 4430SDP: Add panel support to board file
4430SDP has two Taal DSI panels, connected to DSI 1 and DSI 2 modules. The panels use a common PWM backlight, which will be implemented later when the PWM driver has been improved to support the backlight. Until the PWM driver has been improved, the following hack added to arch/arm/mach-omap2/board-4430sdp.c can be used to set the backlight to max: static int omap_4430sdp_hack_backlight(void) { twl_i2c_write_u8(TWL_MODULE_PWM, 0x7f, LED_PWM2OFF); twl_i2c_write_u8(TWL_MODULE_PWM, 0x7f, LED_PWM2ON); twl_i2c_write_u8(TWL6030_MODULE_ID1, 0x30, TWL6030_TOGGLE3); return 0; } late_initcall(omap_4430sdp_hack_backlight); Signed-off-by: Archit Taneja <[email protected]> Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions