->support for simple panels--包含一个regulator和gpio上电,以及一个backlight的DRM panel模板驱动。->Display Interface Bridges--->->Frame buffer Devices--Framebuffer驱动。 ->Support for frame buffer devices ->ARM PrimeCell PL110 support ->Backlight& LCD device support ->Lowlevel Backlight controls...
* Parent device of the panel. */ structdevice*dev; /** * @backlight: * * Backlight device, used to turn on backlight after the call * to enable(), and to turn off backlight before the call to * disable(). * backlight is set by drm_panel_of_backlight() and drivers * shall...
"simple-panel"; "simple-panel-dsi"; - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing - enable-gpios: GPIO pin to enable or disable the panel - backlight: phandle of the backlight device attached to the panel Required properties when compatible is "simple-panel" or...
WUXGA (1920x1200) Novatek NT1397-based DSI panel as found in some Xperia Z2 tablets config DRM_PANEL_RADXA_DISPLAY_8HD tristate "Radxa Display 8HD panel" depends on OF depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE help Say Y here if you want to enable support for Radxa ...
429 + tristate "Radxa Display 8HD panel" 430 + depends on OF 431 + depends on DRM_MIPI_DSI 432 + depends on BACKLIGHT_CLASS_DEVICE 433 + help 434 + Say Y here if you want to enable support for Radxa Display 8HD panel. 435 + The panel support TFT dot matrix LCD with 80...
panel: panel { compatible = "urt,umsh-8596md-t", "simple-panel"; #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; /* TODO: lcd panel uses axp gpio0 as enable pin */ backlight = <&backlight>; #address-cells = <1>; ...
1. 遍历所有VOP设备并添加到match列表;2. 遍历所有display设备并添加到match列表;3. 将backlight设备...
1.1.4 配置panel驱动 panel驱动位于drivers/gpu/drm/panel/panel-simple.c,如果需要使该文件生效,需要配置CONFIG_PWM_ROCKCHIP,具体参考drivers/gpu/drm/panel/Makefile; obj-$(CONFIG_DRM_PANEL_SIMPLE) += panel-simple.o 因此,我们需要配置内核:
* See the LICENSE file in the root of this repository for complete details.*/ #include "hdf_drm_panel_simple.h" #include <drm/drm_device.h> #include <drm/drm_atomic_helper.h> #include <linux/backlight.h> #include <linux/module.h> ...
在Linux display 驱动开发时,通常关注 FBDEV(Framebuffer Device),DRM/KMS 子系统。在 FrameBuffer Device 驱动框架下,我们能够快速开发出可供简单使用的显示驱动。 但是随着芯片显示外设的性能逐渐增强、3D 渲染及GPU的引入,FrameBuffer 框架就落伍了,显示覆盖 (菜单层级)、GPU 加速、硬件光标等功能并不能得到很好得...