4ee9d9d2c294c175b78f8350bf6231d448597a65 |
27-Oct-2014 |
Marek Belisko <marek@goldelico.com> |
omap: dss: connector-analog-tv: Add missing module device table Without that fix connector-analog-tv driver isn't probed when compiled as module. Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
isplays-new/connector-analog-tv.c
|
a7f91edfdd009f1a282b9359cf6cd1ef797ced9f |
22-Oct-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: DSI: Fix PLL_SELFEQDCO field width PLL_SELFREQDCO bitfield is from bit 3 to 1, but the driver writes bits from 4 to 1. The bit 4 is 'reserved', so this probably should not cause any issues, but it's better to fix it. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dsi.c
|
aba837a280ce9b9be70b172fa8bda3e40a679051 |
29-Sep-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: fix dispc register dump for preload & mflag Preload register is dumped twice for video overlays and mflag register is not dumped for GFX. Fix the register dump. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dispc.c
|
26450d452bef641d4863fcc9f905779844fc3353 |
29-Sep-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: DISPC: fix mflag offset The register offset for DISPC_OVL_MFLAG_THRESHOLD is wrong, fix it. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dispc.h
|
0856eba75cc65080997601aa6e5d02b46c8314d9 |
15-Sep-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI: fix regsd write HDMI PLL's REGSD field is only set by the driver if the PLL's output clock is over 1GHz. This is clearly an error, as REGSD should be set always. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi_pll.c
|
88e3c76a8ac1f0a8e334742df0a3f5b4d27e6c44 |
16-Oct-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI: fix PLL GO bit handling The PLL settings are committed by setting GO bit, which is then cleared by the HW when the settings have been taken into use. The current PLL code handles this wrong: instead of waiting for the bit to be cleared, it waits for the bit to be set. Usually, the bit is always set, as the CPU has just set it before. However, if the CPU takes enough time between setting the GO bit and checking it, the HW may already have cleared the bit and this leads to timeout error. Fix the wait to check the bit properly. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi_pll.c
|
13a0c40a49380752d8fbe1ff27009df2b5c71fcf |
15-Oct-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPFB: fix releasing overlays omapfb disables all the overlays when freeing resources, but it should also remove those overlays from overlay managers. Not doing so causes a crash if omapfb is unbound and bound, or omapfb module is removed and loaded, while keeping omapdss around. Fix this by calling unset_manager() for all overlays. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
mapfb/omapfb-main.c
|
63cec5a22c13a80d80cb38acdb5b555eafb74ddc |
15-Oct-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPFB: fix overlay disable when freeing resources. When omapfb is shutting down, it will disable all the overlays. However, instead of actually disabling all the overlays, it disables only all the overlays that are currently attached to framebuffers. On OMAP4+, this leaves the fourth overlay left enabled. Fix the loop so that we actually go through all the overlays. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
mapfb/omapfb-main.c
|
22500c19e6dc1a7c897323eff040364289bce0b7 |
15-Oct-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: apply: wait pending updates on manager disable We should wait for any pending updates when an overlay manager is about to be disabled, because the updates will never be finished if the manager is disabled too early. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/apply.c
|
b1836719cafe018601642f26c2b7b406bde2e4cf |
14-Oct-2014 |
Felipe Balbi <balbi@ti.com> |
OMAPFB: remove __exit annotation If we leave __exit annotation, driver can't be unbound through sysfs. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
mapfb/omapfb-main.c
|
422ccbd57170d18cfd9d4c0cdbdd4603929fc51b |
16-Oct-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: set suppress_bind_attrs omapdss drivers cannot handle devices being unbound while the devices are part of a connected display pipeline. Module refcounts are used to prevent unloading the modules, but one can still manually unbind the devices via sysfs, causing crash. Set suppress_bind_attrs to disable the bind/unbind support via sysfs. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
isplays-new/connector-analog-tv.c
isplays-new/connector-dvi.c
isplays-new/connector-hdmi.c
isplays-new/encoder-tfp410.c
isplays-new/encoder-tpd12s015.c
isplays-new/panel-dpi.c
isplays-new/panel-dsi-cm.c
isplays-new/panel-lgphilips-lb035q02.c
isplays-new/panel-nec-nl8048hl11.c
isplays-new/panel-sharp-ls037v7dw01.c
isplays-new/panel-sony-acx565akm.c
isplays-new/panel-tpo-td028ttec1.c
isplays-new/panel-tpo-td043mtea1.c
ss/dispc.c
ss/dpi.c
ss/dsi.c
ss/dss.c
ss/hdmi4.c
ss/hdmi5.c
ss/rfbi.c
ss/sdi.c
ss/venc.c
|
51b5cb3f4fe3e0ad9993942e95d179bdf2345f1b |
14-Oct-2014 |
Felipe Balbi <balbi@ti.com> |
OMAPFB: add missing MODULE_ALIAS() without MODULE_ALIAS(), omapfb won't get loaded automatically. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
mapfb/omapfb-main.c
|
c8b8888f097c7df260cf5beaf2e3a325660a16a4 |
27-Sep-2014 |
Behan Webster <behanw@converseincode.com> |
arm, fbdev, omap2, LLVMLinux: Remove nested function from omapfb Replace the use of nested functions where a normal function will suffice. Nested functions are not liked by upstream kernel developers in general. Their use breaks the use of clang as a compiler, and doesn't make the code any better. This code now works for both gcc and clang. Signed-off-by: Behan Webster <behanw@converseincode.com> Suggested-by: Arnd Bergmann <arnd@arndb.de> Cc: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
mapfb/omapfb-main.c
|
032e57f01b7524ad9aec39788b38f523583ab58e |
27-Sep-2014 |
Behan Webster <behanw@converseincode.com> |
arm, fbdev, omap2, LLVMLinux: Remove nested function from omap2 dss Replace the use of nested functions where a normal function will suffice. Nested functions are not liked by upstream kernel developers in general. Their use breaks the use of clang as a compiler, and doesn't make the code any better. This code now works for both gcc and clang. Signed-off-by: Behan Webster <behanw@converseincode.com> Suggested-by: Arnd Bergmann <arnd@arndb.de> Cc: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dispc-compat.c
ss/manager-sysfs.c
|
39917f08721b2f04d06407777ce7ae5913533674 |
23-Aug-2014 |
Julia Lawall <Julia.Lawall@lip6.fr> |
OMAPDSS: DSI: use c99 initializers in structures Use c99 initializers for structures. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @decl@ identifier i1,fld; type T; field list[n] fs; @@ struct i1 { fs T fld; ...}; @bad@ identifier decl.i1,i2; expression e; initializer list[decl.n] is; @@ struct i1 i2 = { is, + .fld = e - e ,...}; // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dsi.c
|
9e9ac896667a55ae9a3df119611ee5322abe2890 |
09-Aug-2014 |
Linus Torvalds <torvalds@linux-foundation.org> |
Merge tag 'fbdev-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux Pull fbdev updates from Tomi Valkeinen: - much better HDMI infoframe support for OMAP - Cirrus Logic CLPS711X framebuffer driver - DT support for PL11x CLCD driver - various small fixes * tag 'fbdev-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (35 commits) OMAPDSS: DSI: fix depopulating dsi peripherals video: hyperv: hyperv_fb: refresh the VM screen by force on VM panic video: ARM CLCD: Fix DT-related build problems drivers: video: fbdev: atmel_lcdfb.c: Add ability to inverted backlight PWM. video: ARM CLCD: Add DT support drm/omap: Add infoframe & dvi/hdmi mode support OMAPDSS: HDMI: remove the unused code OMAPDSS: HDMI5: add support to set infoframe & HDMI mode OMAPDSS: HDMI4: add support to set infoframe & HDMI mode OMAPDSS: HDMI: add infoframe and hdmi_dvi_mode fields OMAPDSS: add hdmi ops to hdmi-connector and tpd12s015 OMAPDSS: add hdmi ops to hdmi_ops and omap_dss_driver OMAPDSS: HDMI: remove custom avi infoframe OMAPDSS: HDMI5: use common AVI infoframe support OMAPDSS: HDMI4: use common AVI infoframe support OMAPDSS: Kconfig: select HDMI OMAPDSS: HDMI: fix name conflict OMAPDSS: DISPC: clean up dispc_mgr_timings_ok OMAPDSS: DISPC: reject interlace for lcd out OMAPDSS: DISPC: fix debugfs reg dump ...
|
e4e42b8ad24cabf4d6d3c20a63f18dd6b954d9c2 |
31-Jul-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: DSI: fix depopulating dsi peripherals After v3.16-rc1, devices populated with of_platform_populate() should be depopulated using of_platform_depopulate(). Failure to do so prevents the devices from being populated again (e.g. when loading a module). This patch fixes the problem for the OMAP DSI driver. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dsi.c
|
3ddd605e8d51dbee991c45c262c0ee8016fc84e6 |
18-Jun-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI: remove the unused code We no longer need the horrible driver internal videmode tables, which were used to decide if a given videomode is a HDMI or DVI mode. So remove all related code. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi.h
ss/hdmi_common.c
|
769dcb114e1ff71af08b9cb2f30656744df8437b |
18-Jun-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI5: add support to set infoframe & HDMI mode Instead of using hardcoded AVI infoframe, and a custom HDMI/DVI mode selection based in internal videomode tables, add support to set the infoframe and HDMI/DVI mode. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi5.c
ss/hdmi5_core.c
|
ab0aee9526988a5f254ce58b59dbcb6a2ae42fd6 |
18-Jun-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI4: add support to set infoframe & HDMI mode Instead of using hardcoded AVI infoframe, and a custom HDMI/DVI mode selection based in internal videomode tables, add support to set the infoframe and HDMI/DVI mode. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi4.c
ss/hdmi4_core.c
|
c9d2c799447c2f51866fb1e7e88eb5061d11ac43 |
18-Jun-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI: add infoframe and hdmi_dvi_mode fields Add infoframe and hdmi_dvi_mode fields to 'struct hdmi_config' which will be used in the following patches for OMAP4 and OMAP5 HDMI. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi.h
|
9fb1737dffa542d61b2e708eee109d3783849dc3 |
17-Jun-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: add hdmi ops to hdmi-connector and tpd12s015 Add pass-through functions for set_infoframe and set_hdmi_mode to hdmi-connector and tpd12s015 drivers. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
isplays-new/connector-hdmi.c
isplays-new/encoder-tpd12s015.c
|
bbcc14ebf913be0f11c08b346d070067f3fea332 |
09-Jun-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI: remove custom avi infoframe We now use the common AVI infoframe support, so the OMAP specific AVI infoframe code can be removed. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi.h
|
d0678c303fb70415da429ebcafebc1655c793055 |
09-Jun-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI5: use common AVI infoframe support Instead of using OMAP specific AVI infoframe structs, use the common one from include/linux/hdmi.h. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi5_core.c
|
db85ca7ca51ca886e8cd127368e09a7955bb041c |
09-Jun-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI4: use common AVI infoframe support Instead of using OMAP specific AVI infoframe structs, use the common one from include/linux/hdmi.h. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi.h
ss/hdmi4_core.c
ss/hdmi4_core.h
|
89a2d6183bbd87431fccf9f57a7fec7ae38843e1 |
09-Jun-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: Kconfig: select HDMI Select HDMI support to be able to use HDMI infoframe helpers. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/Kconfig
|
d27d20c88da7d78b389e5e824aff0cdfc9ce203f |
09-Jun-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI: fix name conflict OMAP HDMI driver has an 'enum hdmi_audio_sample_size', which conflicts with the common include/linux/hdmi.h. Change the name of the OMAP specific enum with '_omap" postfix. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi.h
|
eadd33bb95e0ab5e3f443bcd9ca45af4010110c8 |
05-Jun-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: DISPC: clean up dispc_mgr_timings_ok dispc_mgr_timings_ok() is a bit confusing how it handles the return value. Change the function to just return immediately when a timing is deemed not valid, making the code much easier to follow. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dispc.c
|
beb8384d4a67179e8c207f00e9035ab121ed5940 |
05-Jun-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: DISPC: reject interlace for lcd out OMAP2/3 does not support interlace for LCD out. OMAP4+ does, but is not supported by the driver at the moment. The driver still accepts interlaced mode for LCD out, causing broken display output. This patch makes dispc reject interlace for LCD out. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dispc.c
|
21d9ca906370e5b3cbd7f507fd7116bbe8edb877 |
05-Jun-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: DISPC: fix debugfs reg dump DISPC reg dump prints a few registers twice. Remove the extra prints. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dispc.c
|
06f7d7931752ee1bd0903a38b1086c7ea5e10cdf |
30-May-2014 |
Sachin Kamat <sachin.kamat@linaro.org> |
video: omapdss: Fix potential null pointer dereference kmalloc can return null. Add a check to avoid potential null pointer dereference error when the pointer is accessed later. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/omapdss-boot-init.c
|
cb6ec182c13fc87a6562d47f18721dbd702adb52 |
21-Jun-2014 |
Himangi Saraogi <himangi774@gmail.com> |
drivers/video/fbdev : dereference without an error test After a variable is assigned the result of backlight_device_register, an error test should be performed before a dereference. A simplified version of the semantic match that finds this problem is as follows: // <smpl> @def0@ expression x; position p0; @@ x@p0 = backlight_device_register(...) @protected@ expression def0.x,E; position def0.p0; position p; statement S; @@ x@p0 ... when != x = E if (!IS_ERR(x) && ...) {<... x@p ...>} else S @unprotected@ expression def0.x,E; identifier fld; position def0.p0; position p != protected.p; @@ x@p0 ... when != x = E * x@p->fld // </smpl> Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
isplays-new/panel-sony-acx565akm.c
|
f2dd36ac9974cc2353bcbb8e6b643fb96030564c |
15-May-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: move 'compatible' converter to omapdss driver Move the panel/encoder driver compatible-string converter from arch/arm/mach-omap2/display.c to omapdss driver. That is a more logical place for it, as it's really an omapdss internal hack. The code is rewritten to follow the video node graph, starting from omapdss. This removes the need to have the device compatible-string database. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
akefile
ss/Kconfig
ss/Makefile
ss/omapdss-boot-init.c
|
2b22df835ba42ad6c5f09a52baf68cfb60650f56 |
23-May-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI: fix devm_ioremap_resource error checks devm_ioremap_resource returns ERR_PTR on error, not NULL. Fix the error checks in the driver. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi4_core.c
ss/hdmi5_core.c
ss/hdmi_phy.c
ss/hdmi_pll.c
ss/hdmi_wp.c
|
2dcfdc3066e51a2143ed99f2a17ba2f1f32d42b7 |
23-May-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI: remove unused defines Remove some unused defines from the HDMI driver. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi4_core.c
ss/hdmi_phy.c
ss/hdmi_pll.c
ss/hdmi_wp.c
|
fc2daf3b1df0fd751df7dd16652f45fa407bd1cb |
23-May-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI: cleanup WP ioremaps Commit 59b3d38a3691396783df108e6afbba30656edccb missed cleaning up the hdmi_wp.c file. Clean up hdmi_wp.c the same way as the others. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi_wp.c
|
b36250d8b5a390ffc395c9c2cd5c39f722a276f4 |
15-May-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: panel NEC-NL8048HL11 DT support We don't have any working boards using this panel right now, and the panel driver looks odd compared to the panel specs. For example, the panel spec does not mention any QVGA pin. So, while this patch adds DT support to the driver, it's not really supported and there are not bindings documentation for the panel until someone can verify how the panel actually works. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: Erik Gilling <konkers@android.com>
isplays-new/panel-nec-nl8048hl11.c
|
597cc1e451cb984653b484be1da47bdc3c63ff0e |
15-May-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: Panel TPO-TD043MTEA1 DT support Add DT support for panel TPO-TD043MTEA1. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: Grazvydas Ignotas <notasas@gmail.com>
isplays-new/panel-tpo-td043mtea1.c
|
be88c16a22ed92e8d7b6dc27f578eb3b43f696dc |
16-May-2014 |
Tony Lindgren <tony@atomide.com> |
OMAPDSS: panel sharp-ls037v7dw01 DT support Add DT support for sharp-ls037v7dw01. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
isplays-new/panel-sharp-ls037v7dw01.c
|
9522f9fe86f9df7203ca0b649bf5eda912e899c1 |
29-Apr-2014 |
Tony Lindgren <tony@atomide.com> |
OMAPDSS: panel-sharp-ls037v7dw01: update to use gpiod Using gpiod will make it easier to add device tree support for this panel in the following patches. Note that all the GPIOs for this panel are optional, any of the the GPIOs could be configured with external pulls instead of GPIOs, so let's not error out if GPIOs are not found to make the panel more generic. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
isplays-new/panel-sharp-ls037v7dw01.c
|
1b71f1047ee17f4ba48097f134f894d7289fa7a1 |
14-May-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: panel-lgphilips-lb035q02: Add DT support Add DT support for panel-lgphilips-lb035q02. We disable the use of the backlight_gpio as it should be handled via backlight framework with DT boots. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Tested-by: Florian Vaussard <florian.vaussard@epfl.ch>
isplays-new/panel-lgphilips-lb035q02.c
|
fbf7309823a15da2b96e8e15781b8ac9074b44c0 |
14-May-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: panel-lgphilips-lb035q02: use gpiod for enable gpio The new gpiod API supports automatic handling of active-high/active-low with DT. To make it possible to use that when booting with DT, change the driver's handling of the enable GPIO to use gpiod. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
isplays-new/panel-lgphilips-lb035q02.c
|
e2ccb0eee57b2fc267444e504ed872720ae10ee6 |
11-May-2014 |
Jyri Sarha <jsarha@ti.com> |
OMAPDSS: hdmi5_core: Fix compilation with OMAP5_DSS_HDMI_AUDIO Use correct variable name for base address. Signed-off-by: Jyri Sarha <jsarha@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi5_core.c
|
c6e29d26df52224182560e10acefad4e4d6fd1ed |
15-May-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: panel-dpi: enable-gpio The enable gpio should be optional, but the driver returns an error if it doesn't get the gpio. So change the driver to accept -ENOENT error. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Tested-by: Joachim Eastwood <manabian@gmail.com>
isplays-new/panel-dpi.c
|
d80e02ef343379cfcef211ab4f042fc4a5b26100 |
25-Apr-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: Fix writes to DISPC_POL_FREQ When omapdss writes to DISPC_POL_FREQ register, it always ORs the bits with the current contents of the register, never clearing the old ones, causing wrong signal polarity settings. As we write all the bits in DISPC_POL_FREQ, we don't need to care about the current contents of the register. So fix the issue by constructing new register value from scratch. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dispc.c
|
59b3d38a3691396783df108e6afbba30656edccb |
28-Apr-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI: cleanup ioremaps Now that all the boards using OMAP HDMI are using DT boot, we can remove the hacks for getting the ioresources with non-DT boot. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi4_core.c
ss/hdmi5_core.c
ss/hdmi_phy.c
ss/hdmi_pll.c
|
f5bab22291908dc395c018f12c8485ef5fc9b90a |
12-Mar-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI: Add OMAP5 HDMI support This adds a new driver to omapdss for OMAP5 HDMI. However, the new driver uses common HDMI files which are shared with OMAP4 HDMI driver. OMAP5 HDMI has a different HDMI core IP compared to OMAP4, but has very similar PLL and PHY IPs which can be handled with common code. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/Kconfig
ss/Makefile
ss/core.c
ss/dss.h
ss/hdmi.h
ss/hdmi5.c
ss/hdmi5_core.c
ss/hdmi5_core.h
ss/hdmi_wp.c
|
2d64b1b314bb52463b444e9c5aa1a2d399e694d2 |
23-Sep-2013 |
Archit Taneja <archit@ti.com> |
OMAPDSS: HDMI: PLL changes for OMAP5 Add a features struct to differentiate between the HDMI PLLs on OMAP4 and OMAP5. The OMAP5 PLL is more sensitive when it comes to locking. We need to ensure that the DCO freq isn't too low for lower pixel clocks. Modify the PLL computation slightly to ensure the HDMI PLL locks for lower frequencies. This will be later replaced by a more complex computation which makes sure all the PLL constraints are met. Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi_pll.c
|
19289fdcbef8dae72f5c0f9f274490620feac222 |
22-Sep-2013 |
Archit Taneja <archit@ti.com> |
OMAPDSS: HDMI: PHY changes for OMAP5 OMAP5 HDMI PHY has some differences compared to OMAP4 HDMI PHY. This patch creates a features struct which help the driver configure the PHY based on what SoC it is. Some of the features aren't currenlty used, but will come in use later. Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi.h
ss/hdmi_phy.c
|
8955b727afb472125152508af2d4ec1d41442b0b |
10-Sep-2013 |
Archit Taneja <archit@ti.com> |
OMAPDSS: HDMI: support larger register offsets for OMAP5 HDMI core The HDMI core IP on OMAP5 has a wider address range for registers. The offsets for the later registers can't fit into the u16 type currently used for hdmi register read and write functions. Use u32 for offsets instead. Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi.h
|
dcf5f7299e94d113aa49b4e099c4b9f289d17ed2 |
28-Oct-2013 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI: move irq & phy pwr handling HDMI IRQ handling was moved into hdmi_phy.c when restructuring the HDMI driver. While this worked fine, it's not correct. The HDMI IRQ handling should be either in the hdmi_wp, or in the main hdmi driver. This patch moves the handling to the main hdmi driver, as I feel it's a more appropriate choice. This move also requires changing the handling of the PHY power, as that was partly handled in the IRQ handler. The PHY power is handled via the WP module. An option would be to give HDMI PHY driver function pointers that it could use to manage the PHY power, but as the PHY power is not needed to access the PHY registers, the handling was also moved to the main HDMI driver. This could be changed later if need be. Note that there's slightly similar power issue with the PLL: the HDMI PLLs power is also handled via the WP module. For now, the PLL power handling is still done inside the PLL driver. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi.h
ss/hdmi4.c
ss/hdmi_phy.c
|
543e761fb9c128d9065f45697cd96d04a566d2ce |
13-Mar-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI: improve Makefile We'll soon add support for OMAP5 HDMI, which uses some of the same files as OMAP4 HDMI does. This patch adds a new config entry "OMAP2_DSS_HDMI_COMMON", which both OMAP4 and OMAP5 HDMI config entries can select. OMAP2_DSS_HDMI_COMMON will cause the common HDMI files to be compiled. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/Kconfig
ss/Makefile
|
bd3ad6a4fcc9090fc7a493d5864d331d63d5c27a |
06-Mar-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: DSI: Add OMAP5 DSI module IDs Add OMAP5 DSI module ID support to the OMAP DSI driver. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dsi.c
|
35fd32d600a1d760af66e6daebfda6fa7fc4fc28 |
17-Apr-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: DPI: fix LCD3 DSI source At the moment the dpi driver does not handle LCD3 clock source at all. LCD3 channel gets the DSI PLL clock from DSI2 instance. Add support for LCD3's clock source in the dpi driver. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dpi.c
|
5b3075ced13714d602176db709ae63574d369422 |
25-Oct-2013 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: features: fix OMAP5 features OMAP5 has LCD3 overlay manager, and total 4 overlay managers. These are not correctly defined in the dss features. Fix them. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dss_features.c
|
2e7e6b68924b3ab48e40b197ba72d9dc6d8e4a65 |
16-Apr-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: DSS & DISPC DT support for OMAP5 Add omap5 entries to dispc's and dss's of_device_id tables. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dispc.c
ss/dss.c
|
d6279d4ae18d4248c90dfcf02fa8c579b81ce43b |
24-Mar-2014 |
Sathya Prakash M R <sathyap@ti.com> |
OMAPDSS: Add DSS features for AM43xx Add DSS features for AM43xx. Signed-off-by: Sathya Prakash M R <sathyap@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dispc.c
ss/dpi.c
ss/dsi.c
ss/dss.c
ss/dss_features.c
|
246def36e21dec8b9a9368883a9dd4e0a8240749 |
09-May-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: remove venc_panel.c The use of venc_panel.c was removed in 09d2e7cdebd53b7572380a215008b334ff6321a5 (OMAPDSS: VENC: remove code related to old panel model), but the file itself was left behind. Remove the unused file. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/venc_panel.c
|
0059277276bdbbcfeaed454017ec70628414d3fe |
08-May-2014 |
Archit Taneja <archit@ti.com> |
omapdss: remove check for simpler port/endpoint binding The support for simpler port/endpoint binding was removed in the merged version of omapdss DT. But dss_init_ports still tries to get to an endpoint even if no port exists. Remove this as this doesn't work. Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dss.c
|
a41ca72e5733097c8e54784d42b3d340d5b504ad |
23-Apr-2014 |
Fabian Frederick <fabf@skynet.be> |
OMAPDSS: add __exit to dss_uninit_ports dss_uninit_ports is only called by __exit omap_dsshw_remove Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: linux-omap@vger.kernel.org Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dss.c
|
24f13a6679c9b75687f3ae48994e42071d4e9fce |
24-Apr-2014 |
Arnd Bergmann <arnd@arndb.de> |
video: omap2dss: fix LPAE warnings If LPAE is enabled, dma_addr_t is 64 bit, so we have to change a few type for everything in this driver to match again. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: linux-fbdev@vger.kernel.org Cc: linux-omap@vger.kernel.org Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dispc.c
|
c84d95058a41445f8d8e6c23965f97a8445df978 |
08-May-2014 |
Marek Belisko <marek@goldelico.com> |
omapdss: panel-tpo-td028ec1: Add module alias Add module alias string to make it working when panel is compiled as module. Without this change panel module is not probed thus display is not working. Signed-off-by: Marek Belisko <marek@goldelico.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
isplays-new/panel-tpo-td028ttec1.c
|
1f32450911dfa243b8ff79cef62d2ddaeeb3e033 |
08-May-2014 |
Marek Belisko <marek@goldelico.com> |
omapdss: panel-tpo-td028ec1: Add DT support. Signed-off-by: Marek Belisko <marek@goldelico.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
isplays-new/panel-tpo-td028ttec1.c
|
02b7a32083b9930543663720758de249b4f6a2a3 |
13-Mar-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: DSI: set regulator voltage to 1.8V Set the DSI vdd regulator voltage to the required 1.8V. This is required for the case when the regulator in the DT data defines a range of allowed voltages. In this case it's required to set the voltage, as otherwise enabling the voltage fails. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/dsi.c
|
818a053c54a3d98e4ec9b49ef9d123121e70e9eb |
23-Sep-2013 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI4: set regulator voltage to 1.8V Set the HDMI vdda regulator voltage to the required 1.8V. This is required for the case when the regulator in the DT data defines a range of allowed voltages. In this case it's required to set the voltage, as otherwise enabling the voltage fails. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi4.c
|
2f5dc676bf19f2e9601421924f2de67fa7a599b0 |
16-Apr-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: HDMI: lane config support Add support to configure the pins used for the HDMI lanes. The order and polarity of the lanes can be defined in the DT data. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
ss/hdmi.h
ss/hdmi4.c
ss/hdmi_common.c
ss/hdmi_phy.c
|
2c75e3cb6e01b4b6f9090a06abb621b7ba49a236 |
17-Apr-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: connector-hdmi: hpd support Add support to handle HPD GPIO in the HDMI connector driver. For the time being, the driver only uses HPD GPIO to report is the cable is connected via detect() calll. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
isplays-new/connector-hdmi.c
|
4843a0582bb1cef4536b2e44f4c9aca667e0bbf2 |
16-May-2013 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: panel-dpi: Add DT support Add DT support for panel-dpi. We disable the use of the backlight_gpio as it should be handled via backlight framework with DT boots. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Archit Taneja <archit@ti.com>
isplays-new/panel-dpi.c
|
56610d9c11b4798d72e2cca4189392c21dc77265 |
23-Apr-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
OMAPDSS: panel-dpi: use gpiod for enable gpio The new gpiod API supports automatic handling of active-high/active-low with DT. To make it possible to use that when booting with DT, change the panel-dpi's handling of the enable GPIO to use gpiod. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
isplays-new/panel-dpi.c
|
f7018c21350204c4cf628462f229d44d03545254 |
13-Feb-2014 |
Tomi Valkeinen <tomi.valkeinen@ti.com> |
video: move fbdev to drivers/video/fbdev The drivers/video directory is a mess. It contains generic video related files, directories for backlight, console, linux logo, lots of fbdev device drivers, fbdev framework files. Make some order into the chaos by creating drivers/video/fbdev directory, and move all fbdev related files there. No functionality is changed, although I guess it is possible that some subtle Makefile build order related issue could be created by this patch. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Rob Clark <robdclark@gmail.com> Acked-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
config
akefile
isplays-new/Kconfig
isplays-new/Makefile
isplays-new/connector-analog-tv.c
isplays-new/connector-dvi.c
isplays-new/connector-hdmi.c
isplays-new/encoder-tfp410.c
isplays-new/encoder-tpd12s015.c
isplays-new/panel-dpi.c
isplays-new/panel-dsi-cm.c
isplays-new/panel-lgphilips-lb035q02.c
isplays-new/panel-nec-nl8048hl11.c
isplays-new/panel-sharp-ls037v7dw01.c
isplays-new/panel-sony-acx565akm.c
isplays-new/panel-tpo-td028ttec1.c
isplays-new/panel-tpo-td043mtea1.c
ss/Kconfig
ss/Makefile
ss/apply.c
ss/core.c
ss/dispc-compat.c
ss/dispc-compat.h
ss/dispc.c
ss/dispc.h
ss/dispc_coefs.c
ss/display-sysfs.c
ss/display.c
ss/dpi.c
ss/dsi.c
ss/dss-of.c
ss/dss.c
ss/dss.h
ss/dss_features.c
ss/dss_features.h
ss/hdmi.h
ss/hdmi4.c
ss/hdmi4_core.c
ss/hdmi4_core.h
ss/hdmi_common.c
ss/hdmi_phy.c
ss/hdmi_pll.c
ss/hdmi_wp.c
ss/manager-sysfs.c
ss/manager.c
ss/output.c
ss/overlay-sysfs.c
ss/overlay.c
ss/rfbi.c
ss/sdi.c
ss/venc.c
ss/venc_panel.c
mapfb/Kconfig
mapfb/Makefile
mapfb/omapfb-ioctl.c
mapfb/omapfb-main.c
mapfb/omapfb-sysfs.c
mapfb/omapfb.h
rfb.c
|