summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/tps65912-i2c.c
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-06-29 11:07:03 +0200
committerArchit Taneja <archit@ti.com>2012-06-29 12:57:42 +0200
commitf476ae9dab3234532d41d36beb4ba7be838fa786 (patch)
treeaee514d49e1ccbc1aabd1cf74f4ff603c35d00b2 /drivers/mfd/tps65912-i2c.c
parentOMAPDSS: SDI: Configure dss_lcd_mgr_config struct with lcd manager parameters (diff)
downloadlinux-f476ae9dab3234532d41d36beb4ba7be838fa786.tar.xz
linux-f476ae9dab3234532d41d36beb4ba7be838fa786.zip
OMAPDSS: APPLY: Remove DISPC writes to manager's lcd parameters in interface drivers
Replace the DISPC fuctions used to configure LCD channel related manager parameters with dss_mgr_set_lcd_config() in APPLY. This function ensures that the DISPC registers are written at the right time by using the shadow register programming model. The LCD manager configurations is stored as a private data of manager in APPLY. It is treated as an extra info as it's the panel drivers which trigger this apply via interface drivers, and not a DSS2 user like omapfb or omapdrm. Storing LCD manager related properties in APPLY also prevents the need to refer to the panel connected to the manager for information. This helps in making the DSS driver less dependent on panel. A helper function is added to check whether the manager is LCD or TV. The direct DISPC register writes are removed from the interface drivers. Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/mfd/tps65912-i2c.c')
0 files changed, 0 insertions, 0 deletions