- 05 Dec, 2017 1 commit
-
-
Jonathan Liu authored
commit f3621a8e upstream. During panel removal or system shutdown panel_simple_disable() is called which disables the panel backlight but the panel is still powered due to missing calls to panel_simple_unprepare(). Fixes: d02fd93e ("drm/panel: simple - Disable panel on shutdown") Signed-off-by:
Jonathan Liu <net147@gmail.com> Signed-off-by:
Thierry Reding <treding@nvidia.com> Link: https://patchwork.freedesktop.org/patch/msgid/20170807115545.27747-1-net147@gmail.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 10 Sep, 2014 1 commit
-
-
Rob Clark authored
LVDS panel, make/model described as: AU Optronics Corporation - B101XTN01.0 (H/W:0A) See: http://www.encore-electronic.com/media/B101XTN01.0.pdf Tested with panel attached to an Inforce IFC6410 board. Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
- 07 Aug, 2014 1 commit
-
-
Alexandre Courbot authored
Use the new devm_gpiod_get_optional() to simplify the probe code. Signed-off-by:
Alexandre Courbot <acourbot@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
- 06 Aug, 2014 11 commits
-
-
Thierry Reding authored
Using a function instead of a macro provides proper type checking. Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Ajay Kumar authored
The AUO B133HTN01 is a 13.6" FHD TFT LCD panel connecting to an eDP interface and with an integrated LED backlight unit. This panel is used on the Samsung Chromebook 2 (XE503C32). Signed-off-by:
Ajay Kumar <ajaykumar.rs@samsung.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Ajay Kumar authored
For most of the panels, we need to provide delays during various stages of panel power up and power down. Add a structure to hold those delay values and use them in corresponding functions. Signed-off-by:
Ajay Kumar <ajaykumar.rs@samsung.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Ajay Kumar authored
Move out code from enable and disable routines to prepare and unprepare routines, so that functionality is properly distributed across all the panel functions. Signed-off-by:
Ajay Kumar <ajaykumar.rs@samsung.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Ajay Kumar authored
Move out code from enable and disable routines to prepare and unprepare routines, so that functionality is properly distributed across all the panel functions. Signed-off-by:
Ajay Kumar <ajaykumar.rs@samsung.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Ajay Kumar authored
Move out code from enable and disable routines to prepare and unprepare routines, so that functionality is properly distributed across all the panel functions. Signed-off-by:
Ajay Kumar <ajaykumar.rs@samsung.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Ajay Kumar authored
This patch adds dummy definition for prepare and unprepare routines to simple panel driver. Signed-off-by:
Ajay Kumar <ajaykumar.rs@samsung.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Ajay Kumar authored
This patch adds dummy definition for prepare and unprepare routines to s6e8aa0 panel driver. Signed-off-by:
Ajay Kumar <ajaykumar.rs@samsung.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Ajay Kumar authored
This patch adds dummy definition for prepare and unprepare routines to ld9040 panel driver. Signed-off-by:
Ajay Kumar <ajaykumar.rs@samsung.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
simple-panel is not a valid panel model, so there is no data (video timings, etc.) associated with it. Therefore drivers can't do anything useful with it, so it should not appear in the table of OF matches. Device trees will always need to specify the exact model of the panel. Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
The Innolux N116BGE is an 11.6" WXGA TFT LCD panel connecting to an eDP interface and with an integrated LED backlight unit. It is used in the Tegra132 Norrin reference design. Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
- 01 Aug, 2014 1 commit
-
-
Stéphane Marchesin authored
The bits-per-color is provided by the EDID normally, but if we're using panels, we need to store it somewhere. So we add a field to the panel descriptor for it. Signed-off-by:
Stéphane Marchesin <marcheu@chromium.org> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
- 22 Jul, 2014 4 commits
-
-
Alban Bedel authored
This panel is used by the Medcom Wide and supported by the simple-panel driver. Signed-off-by:
Alban Bedel <alban.bedel@avionic-design.de> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
Use a static inline function for upcasting a struct drm_panel to the driver-specific structure. The advantage over using a macro is that it gives us additional type checking. Acked-by:
Andrzej Hajda <a.hajda@samsung.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
When executing DCS commands, use the channel associated with the DSI peripheral rather than one explicitly specified in the function call. Devices shouldn't be able to step on each others' toes like this. Acked-by:
Andrzej Hajda <a.hajda@samsung.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
This function returns the value of the struct mipi_dsi_host_ops' .transfer() so make sure the return types are consistent. Acked-by:
Andrzej Hajda <a.hajda@samsung.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
- 15 Jul, 2014 1 commit
-
-
Boris BREZILLON authored
This panel is used by Atmel's SAMA5D3 Evaluation Kits (sama5d3xek) and supported by the simple-panel driver. Signed-off-by:
Boris BREZILLON <boris.brezillon@free-electrons.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
- 14 Jul, 2014 3 commits
-
-
Alexandre Courbot authored
The LG LD070WX3-SL01 and Panasonic VVX10F004B00 are DSI support non-continuous clock mode. Set the MIPI_DSI_CLOCK_NON_CONTINUOUS to their definition so host drivers become aware of this capability. Signed-off-by:
Alexandre Courbot <acourbot@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Russell King authored
Rather than DRM_PANEL_LD9040 selecting SPI, which then results in an increase in the probability of Kconf reporting circular dependencies (we're one "select" away from that right now), make this depend on SPI instead. This is akin to having some driver select DRM. Having some drivers depend on a subsystem, and other drivers select a subsystem is a recipe for circular dependencies, and there's really no need for it. The potential circular dependency (which can be caused today by the addition of selecting DRM_PANEL from DRM_IMX_LDB) is: symbol DMADEVICES is selected by SAMSUNG_DMADEV symbol SAMSUNG_DMADEV is selected by S3C64XX_PL080 symbol S3C64XX_PL080 is selected by SPI_S3C64XX symbol SPI_S3C64XX depends on SPI symbol SPI is selected by DRM_PANEL_LD9040 symbol DRM_PANEL_LD9040 depends on DRM_PANEL symbol DRM_PANEL is selected by DRM_IMX_LDB symbol DRM_IMX_LDB depends on MFD_SYSCON symbol MFD_SYSCON is selected by POWER_RESET_KEYSTONE symbol POWER_RESET_KEYSTONE depends on POWER_SUPPLY symbol POWER_SUPPLY is selected by HID_SONY symbol HID_SONY depends on NEW_LEDS symbol NEW_LEDS is selected by BACKLIGHT_ADP8860 symbol BACKLIGHT_ADP8860 depends on BACKLIGHT_CLASS_DEVICE symbol BACKLIGHT_CLASS_DEVICE is selected by FB_MX3 symbol FB_MX3 depends on MX3_IPU symbol MX3_IPU depends on DMADEVICES Acked-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Russell King authored
DRM_PANEL_LD9040 and DRM_PANEL_S6E8AA0 both explicitly depended on DRM_PANEL && DRM, whereas DRM_PANEL_SIMPLE relies upon the dependency on the menu. We do not need to use explicit dependencies if we make the menu depend on DRM_PANEL && DRM - this will implicitly make each entry in the menu depend on DRM_PANEL && DRM without this needing to be explicitly stated against every entry. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk> Acked-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
- 09 Jun, 2014 1 commit
-
-
Stéphane Marchesin authored
This panel is used by nyan-big and can be supported by the simple-panel driver. Signed-off-by:
Stéphane Marchesin <marcheu@chromium.org> [treding@nvidia.com: add device tree binding document] Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
- 05 Jun, 2014 5 commits
-
-
Thierry Reding authored
When a device is shut down, disable the panel to make sure the display backlight doesn't stay lit. Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Stefan Agner authored
This panel is sold by Toradex for Colibri T20/T30 and Apalis T30 evaluation kits. Signed-off-by:
Stefan Agner <stefan@agner.ch> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Philipp Zabel authored
The EDT ETM0700G0DH6 and ET070080DH6 are 7" 800x480 panels, which can be supported by the simple panel driver. Signed-off-by:
Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Andrzej Hajda authored
Some ld9040 panels do not start without providing power control sequence during initialization. The patch fixes the driver by providing such sequence for all panels. Signed-off-by:
Andrzej Hajda <a.hajda@samsung.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Dan Carpenter authored
Smatch complains that we are reading beyond the end of the array here: drivers/gpu/drm/panel/panel-s6e8aa0.c:852 s6e8aa0_read_mtp_id() warn: buffer overflow 's6e8aa0_variants' 4 <= 4 We set the error code, so it's not harmful but it looks like a return was intended here so lets add that and silence the warning. Signed-off-by:
Dan Carpenter <dan.carpenter@oracle.com> Acked-by:
Andrzej Hajda <a.hajda@samsung.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
- 04 Apr, 2014 9 commits
-
-
Andrzej Hajda authored
The patch adds MIPI-DSI based S6E8AA0 AMOLED LCD panel driver. Driver uses mipi_dsi bus to communicate with panel and exposes drm_panel interface. v2 - added bus error handling, - set maxmimum DSI packet size on init, - removed unsupported brightness drm_panel callbacks, - minor improvements v3 - switched to gpiod framework, - minor fixes in error handling Signed-off-by:
Andrzej Hajda <a.hajda@samsung.com> Signed-off-by:
Inki Dae <inki.dae@samsung.com>
-
Andrzej Hajda authored
The patch adds LD9040 parallel RGB panel driver with SPI control interface. The driver uses drm_panel framework. Signed-off-by:
Andrzej Hajda <a.hajda@samsung.com> Signed-off-by:
Inki Dae <inki.dae@samsung.com>
-
Alexandre Courbot authored
This panel is used by Tegra Note 7 and supported by the simple-panel driver. Signed-off-by:
Alexandre Courbot <acourbot@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Alexandre Courbot authored
This panel is used by the NVIDIA SHIELD and supported by the simple-panel driver. Signed-off-by:
Alexandre Courbot <acourbot@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
In order to differentiate between the different video modes (burst vs. non-burst, sync pulses vs. sync events) supported by peripherals, pass the flags that specify this mode in the panel description to the DSI peripheral device when probed. Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
The enable GPIO for panels may be provided by GPIO expanders on slow busses (such as I2C), and therefore toggling the GPIO may sleep. Since these accesses don't happen in interrupt context, use the *_cansleep() variants of the GPIO API. Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Alexandre Courbot authored
regulator_disable() is already performed by panel_simple_disable(), which is called by panel_simple_remove(). Signed-off-by:
Alexandre Courbot <acourbot@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Alexandre Courbot authored
Use the new GPIO descriptor interface to handle the panel's enable GPIO. This considerably simplifies the code. Signed-off-by:
Alexandre Courbot <acourbot@nvidia.com> [treding@nvidia.com: rework to improve readability] Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
The LP129QE LCD has an LED backlight and a display resolution of 2560x1700 pixels. Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
- 14 Jan, 2014 1 commit
-
-
Stephen Warren authored
This stashes away the EDID data so that the sysfs per-connector file "edid" can display it. Without this change, the "edid" file is always empty. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
- 08 Jan, 2014 1 commit
-
-
Stephen Warren authored
The Chunghwa CLAA101WA01A is a 10.1" 1366x768 panel, which can be supported by the simple panel driver. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-