| /kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 Panel registration and lookup framework. 12 tristate "ABT Y030XX067A 320x480 LCD panel" 17 Y030XX067A 320x480 3.0" panel as found in the YLM RG-280M, RG-300 18 and RG-99 handheld gaming consoles. 21 tristate "ARM Versatile panel driver" 27 reference designs. The panel is detected using special registers 31 tristate "ASUS Z00T TM5P5 NT35596 panel" 37 NT35596 1080x1920 video mode panel as found in some Asus 45 Say Y here to enable support for the AUO A030JTN01 320x480 3.0" panel [all …]
|
| D | panel-elida-kd35t133.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Elida kd35t133 5.5" MIPI-DSI panel driver 8 * Rockteck jh057n00900 5.5" MIPI-DSI panel driver 14 #include <linux/media-bus-format.h> 26 /* Manufacturer specific Commands send via DSI */ 41 struct drm_panel panel; member 49 static inline struct kd35t133 *panel_to_kd35t133(struct drm_panel *panel) in panel_to_kd35t133() argument 51 return container_of(panel, struct kd35t133, panel); in panel_to_kd35t133() 56 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in kd35t133_init_sequence() local 57 struct device *dev = ctx->dev; in kd35t133_init_sequence() [all …]
|
| D | panel-visionox-rm69299.c | 1 // SPDX-License-Identifier: GPL-2.0 19 struct drm_panel panel; member 22 struct mipi_dsi_device *dsi; member 27 static inline struct visionox_rm69299 *panel_to_ctx(struct drm_panel *panel) in panel_to_ctx() argument 29 return container_of(panel, struct visionox_rm69299, panel); in panel_to_ctx() 36 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in visionox_rm69299_power_on() 41 * Reset sequence of visionox panel requires the panel to be in visionox_rm69299_power_on() 45 gpiod_set_value(ctx->reset_gpio, 1); in visionox_rm69299_power_on() 47 gpiod_set_value(ctx->reset_gpio, 0); in visionox_rm69299_power_on() 49 gpiod_set_value(ctx->reset_gpio, 1); in visionox_rm69299_power_on() [all …]
|
| D | panel-asus-z00t-tm5p5-n35596.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 struct drm_panel panel; member 16 struct mipi_dsi_device *dsi; member 22 static inline struct tm5p5_nt35596 *to_tm5p5_nt35596(struct drm_panel *panel) in to_tm5p5_nt35596() argument 24 return container_of(panel, struct tm5p5_nt35596, panel); in to_tm5p5_nt35596() 29 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in tm5p5_nt35596_reset() 31 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in tm5p5_nt35596_reset() 33 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in tm5p5_nt35596_reset() 39 struct mipi_dsi_device *dsi = ctx->dsi; in tm5p5_nt35596_on() local 41 mipi_dsi_generic_write_seq(dsi, 0xff, 0x05); in tm5p5_nt35596_on() [all …]
|
| D | panel-sony-td4353-jdi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Generated with linux-mdss-dsi-panel-driver-generator with a 9 * - "JDI ID3" for Akari (XZ2) 10 * - "JDI ID4" for Apollo (XZ2 Compact) 28 * Leaving room for expansion - SONY very often uses 34 struct drm_panel panel; member 35 struct mipi_dsi_device *dsi; member 43 static inline struct sony_td4353_jdi *to_sony_td4353_jdi(struct drm_panel *panel) in to_sony_td4353_jdi() argument 45 return container_of(panel, struct sony_td4353_jdi, panel); in to_sony_td4353_jdi() 50 struct mipi_dsi_device *dsi = ctx->dsi; in sony_td4353_jdi_on() local [all …]
|
| D | panel-samsung-s6d7aa0.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung S6D7AA0 MIPI-DSI TFT LCD controller drm_panel driver. 28 struct drm_panel panel; member 29 struct mipi_dsi_device *dsi; member 52 static inline struct s6d7aa0 *panel_to_s6d7aa0(struct drm_panel *panel) in panel_to_s6d7aa0() argument 54 return container_of(panel, struct s6d7aa0, panel); in panel_to_s6d7aa0() 59 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in s6d7aa0_reset() 61 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in s6d7aa0_reset() 67 struct mipi_dsi_device *dsi = ctx->dsi; in s6d7aa0_lock() local 70 mipi_dsi_dcs_write_seq(dsi, MCS_PASSWD1, 0xa5, 0xa5); in s6d7aa0_lock() [all …]
|
| D | panel-samsung-sofef00.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Generated with linux-mdss-dsi-panel-driver-generator from vendor device tree: 21 struct drm_panel panel; member 22 struct mipi_dsi_device *dsi; member 30 struct sofef00_panel *to_sofef00_panel(struct drm_panel *panel) in to_sofef00_panel() argument 32 return container_of(panel, struct sofef00_panel, panel); in to_sofef00_panel() 37 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in sofef00_panel_reset() 39 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in sofef00_panel_reset() 41 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in sofef00_panel_reset() 47 struct mipi_dsi_device *dsi = ctx->dsi; in sofef00_panel_on() local [all …]
|
| D | panel-feiyang-fy07024di26a30d.c | 1 // SPDX-License-Identifier: GPL-2.0+ 20 struct drm_panel panel; member 21 struct mipi_dsi_device *dsi; member 28 static inline struct feiyang *panel_to_feiyang(struct drm_panel *panel) in panel_to_feiyang() argument 30 return container_of(panel, struct feiyang, panel); in panel_to_feiyang() 47 static int feiyang_prepare(struct drm_panel *panel) in feiyang_prepare() argument 49 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_prepare() 50 struct mipi_dsi_device *dsi = ctx->dsi; in feiyang_prepare() local 54 ret = regulator_enable(ctx->dvdd); in feiyang_prepare() 61 ret = regulator_enable(ctx->avdd); in feiyang_prepare() [all …]
|
| D | panel-newvision-nv3051d.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * NV3051D MIPI-DSI panel driver for Anbernic RG353x 8 * Elida kd35t133 3.5" MIPI-DSI panel driver 14 #include <linux/media-bus-format.h> 35 struct drm_panel panel; member 41 static inline struct panel_nv3051d *panel_to_panelnv3051d(struct drm_panel *panel) in panel_to_panelnv3051d() argument 43 return container_of(panel, struct panel_nv3051d, panel); in panel_to_panelnv3051d() 48 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in panel_nv3051d_init_sequence() local 55 mipi_dsi_dcs_write_seq(dsi, 0xFF, 0x30); in panel_nv3051d_init_sequence() 56 mipi_dsi_dcs_write_seq(dsi, 0xFF, 0x52); in panel_nv3051d_init_sequence() [all …]
|
| D | panel-visionox-r66451.c | 1 //SPDX-License-Identifier: GPL-2.0-only 21 struct drm_panel panel; member 22 struct mipi_dsi_device *dsi; member 28 static inline struct visionox_r66451 *to_visionox_r66451(struct drm_panel *panel) in to_visionox_r66451() argument 30 return container_of(panel, struct visionox_r66451, panel); in to_visionox_r66451() 35 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in visionox_r66451_reset() 37 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in visionox_r66451_reset() 39 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in visionox_r66451_reset() 45 struct mipi_dsi_device *dsi = ctx->dsi; in visionox_r66451_on() local 47 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in visionox_r66451_on() [all …]
|
| D | panel-ebbg-ft8719.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Generated with linux-mdss-dsi-panel-driver-generator from vendor device tree: 33 struct drm_panel panel; member 34 struct mipi_dsi_device *dsi; member 42 struct ebbg_ft8719 *to_ebbg_ft8719(struct drm_panel *panel) in to_ebbg_ft8719() argument 44 return container_of(panel, struct ebbg_ft8719, panel); in to_ebbg_ft8719() 49 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in ebbg_ft8719_reset() 51 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in ebbg_ft8719_reset() 53 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in ebbg_ft8719_reset() 59 struct mipi_dsi_device *dsi = ctx->dsi; in ebbg_ft8719_on() local [all …]
|
| D | panel-mantix-mlaf057we51.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Mantix MLAF057WE51 5.7" MIPI-DSI panel driver 11 #include <linux/media-bus-format.h> 22 #define DRV_NAME "panel-mantix-mlaf057we51" 24 /* Manufacturer specific Commands send via DSI */ 31 struct drm_panel panel; member 43 static inline struct mantix *panel_to_mantix(struct drm_panel *panel) in panel_to_mantix() argument 45 return container_of(panel, struct mantix, panel); in panel_to_mantix() 50 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in mantix_init_sequence() local 51 struct device *dev = ctx->dev; in mantix_init_sequence() [all …]
|
| D | panel-jdi-fhd-r63452.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Generated using linux-mdss-dsi-panel-driver-generator from Lineage OS device tree: 6 …com/LineageOS/android_kernel_xiaomi_msm8996/blob/lineage-18.1/arch/arm/boot/dts/qcom/a1-msm8996-mt… 21 struct drm_panel panel; member 22 struct mipi_dsi_device *dsi; member 27 static inline struct jdi_fhd_r63452 *to_jdi_fhd_r63452(struct drm_panel *panel) in to_jdi_fhd_r63452() argument 29 return container_of(panel, struct jdi_fhd_r63452, panel); in to_jdi_fhd_r63452() 34 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in jdi_fhd_r63452_reset() 36 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in jdi_fhd_r63452_reset() 38 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in jdi_fhd_r63452_reset() [all …]
|
| D | panel-ronbo-rb070d30.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2018-2019, Bridge Systems BV 4 * Copyright (C) 2018-2019, Bootlin 7 * This file based on panel-ilitek-ili9881c.c 15 #include <linux/media-bus-format.h> 28 struct drm_panel panel; member 29 struct mipi_dsi_device *dsi; member 40 static inline struct rb070d30_panel *panel_to_rb070d30_panel(struct drm_panel *panel) in panel_to_rb070d30_panel() argument 42 return container_of(panel, struct rb070d30_panel, panel); in panel_to_rb070d30_panel() 45 static int rb070d30_panel_prepare(struct drm_panel *panel) in rb070d30_panel_prepare() argument [all …]
|
| D | panel-samsung-s6d16d0.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * MIPI-DSI Samsung s6d16d0 panel driver. This is a 864x480 4 * AMOLED panel with a command-only DSI interface. 19 struct drm_panel panel; member 43 static inline struct s6d16d0 *panel_to_s6d16d0(struct drm_panel *panel) in panel_to_s6d16d0() argument 45 return container_of(panel, struct s6d16d0, panel); in panel_to_s6d16d0() 48 static int s6d16d0_unprepare(struct drm_panel *panel) in s6d16d0_unprepare() argument 50 struct s6d16d0 *s6 = panel_to_s6d16d0(panel); in s6d16d0_unprepare() 51 struct mipi_dsi_device *dsi = to_mipi_dsi_device(s6->dev); in s6d16d0_unprepare() local 55 ret = mipi_dsi_dcs_enter_sleep_mode(dsi); in s6d16d0_unprepare() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 Panel registration and lookup framework. 12 tristate "ARM Versatile panel driver" 18 reference designs. The panel is detected using special registers 22 tristate "ASUS Z00T TM5P5 NT35596 panel" 28 NT35596 1080x1920 video mode panel as found in some Asus 32 tristate "Boe Himax8279d panel" 38 TFT-LCD modules. The panel has a 1200x1920 resolution and uses 39 24 bit RGB per pixel. It provides a MIPI DSI interface to 40 the host and has a built-in LED backlight. [all …]
|
| D | panel-elida-kd35t133.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Elida kd35t133 5.5" MIPI-DSI panel driver 8 * Rockteck jh057n00900 5.5" MIPI-DSI panel driver 14 #include <linux/media-bus-format.h> 26 /* Manufacturer specific Commands send via DSI */ 41 struct drm_panel panel; member 48 static inline struct kd35t133 *panel_to_kd35t133(struct drm_panel *panel) in panel_to_kd35t133() argument 50 return container_of(panel, struct kd35t133, panel); in panel_to_kd35t133() 53 #define dsi_dcs_write_seq(dsi, cmd, seq...) do { \ argument 56 ret = mipi_dsi_dcs_write_buffer(dsi, b, ARRAY_SIZE(b)); \ [all …]
|
| D | panel-visionox-rm69299.c | 1 // SPDX-License-Identifier: GPL-2.0 19 struct drm_panel panel; member 22 struct mipi_dsi_device *dsi; member 27 static inline struct visionox_rm69299 *panel_to_ctx(struct drm_panel *panel) in panel_to_ctx() argument 29 return container_of(panel, struct visionox_rm69299, panel); in panel_to_ctx() 36 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in visionox_rm69299_power_on() 41 * Reset sequence of visionox panel requires the panel to be in visionox_rm69299_power_on() 45 gpiod_set_value(ctx->reset_gpio, 1); in visionox_rm69299_power_on() 47 gpiod_set_value(ctx->reset_gpio, 0); in visionox_rm69299_power_on() 49 gpiod_set_value(ctx->reset_gpio, 1); in visionox_rm69299_power_on() [all …]
|
| D | panel-mantix-mlaf057we51.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Mantix MLAF057WE51 5.7" MIPI-DSI panel driver 20 #define DRV_NAME "panel-mantix-mlaf057we51" 22 /* Manufacturer specific Commands send via DSI */ 29 struct drm_panel panel; member 39 static inline struct mantix *panel_to_mantix(struct drm_panel *panel) in panel_to_mantix() argument 41 return container_of(panel, struct mantix, panel); in panel_to_mantix() 44 #define dsi_generic_write_seq(dsi, seq...) do { \ argument 47 ret = mipi_dsi_generic_write(dsi, d, ARRAY_SIZE(d)); \ 54 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in mantix_init_sequence() local [all …]
|
| D | panel-asus-z00t-tm5p5-n35596.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 struct drm_panel panel; member 16 struct mipi_dsi_device *dsi; member 22 static inline struct tm5p5_nt35596 *to_tm5p5_nt35596(struct drm_panel *panel) in to_tm5p5_nt35596() argument 24 return container_of(panel, struct tm5p5_nt35596, panel); in to_tm5p5_nt35596() 27 #define dsi_generic_write_seq(dsi, seq...) do { \ argument 30 ret = mipi_dsi_generic_write(dsi, d, ARRAY_SIZE(d)); \ 35 #define dsi_dcs_write_seq(dsi, seq...) do { \ argument 38 ret = mipi_dsi_dcs_write_buffer(dsi, d, ARRAY_SIZE(d)); \ 45 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in tm5p5_nt35596_reset() [all …]
|
| D | panel-ronbo-rb070d30.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2018-2019, Bridge Systems BV 4 * Copyright (C) 2018-2019, Bootlin 7 * This file based on panel-ilitek-ili9881c.c 16 #include <linux/media-bus-format.h> 28 struct drm_panel panel; member 29 struct mipi_dsi_device *dsi; member 40 static inline struct rb070d30_panel *panel_to_rb070d30_panel(struct drm_panel *panel) in panel_to_rb070d30_panel() argument 42 return container_of(panel, struct rb070d30_panel, panel); in panel_to_rb070d30_panel() 45 static int rb070d30_panel_prepare(struct drm_panel *panel) in rb070d30_panel_prepare() argument [all …]
|
| D | panel-sharp-ls043t1le01.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Based on AUO panel driver by Rob Clark <robdclark@gmail.com> 25 struct mipi_dsi_device *dsi; member 36 static inline struct sharp_nt_panel *to_sharp_nt_panel(struct drm_panel *panel) in to_sharp_nt_panel() argument 38 return container_of(panel, struct sharp_nt_panel, base); in to_sharp_nt_panel() 43 struct mipi_dsi_device *dsi = sharp_nt->dsi; in sharp_nt_panel_init() local 46 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sharp_nt_panel_init() 48 ret = mipi_dsi_dcs_exit_sleep_mode(dsi); in sharp_nt_panel_init() 54 /* Novatek two-lane operation */ in sharp_nt_panel_init() 55 ret = mipi_dsi_dcs_write(dsi, 0xae, (u8[]){ 0x03 }, 1); in sharp_nt_panel_init() [all …]
|
| D | panel-feiyang-fy07024di26a30d.c | 1 // SPDX-License-Identifier: GPL-2.0+ 20 struct drm_panel panel; member 21 struct mipi_dsi_device *dsi; member 28 static inline struct feiyang *panel_to_feiyang(struct drm_panel *panel) in panel_to_feiyang() argument 30 return container_of(panel, struct feiyang, panel); in panel_to_feiyang() 47 static int feiyang_prepare(struct drm_panel *panel) in feiyang_prepare() argument 49 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_prepare() 50 struct mipi_dsi_device *dsi = ctx->dsi; in feiyang_prepare() local 54 ret = regulator_enable(ctx->dvdd); in feiyang_prepare() 61 ret = regulator_enable(ctx->avdd); in feiyang_prepare() [all …]
|
| D | panel-samsung-s6d16d0.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * MIPI-DSI Samsung s6d16d0 panel driver. This is a 864x480 4 * AMOLED panel with a command-only DSI interface. 19 struct drm_panel panel; member 43 static inline struct s6d16d0 *panel_to_s6d16d0(struct drm_panel *panel) in panel_to_s6d16d0() argument 45 return container_of(panel, struct s6d16d0, panel); in panel_to_s6d16d0() 48 static int s6d16d0_unprepare(struct drm_panel *panel) in s6d16d0_unprepare() argument 50 struct s6d16d0 *s6 = panel_to_s6d16d0(panel); in s6d16d0_unprepare() 51 struct mipi_dsi_device *dsi = to_mipi_dsi_device(s6->dev); in s6d16d0_unprepare() local 55 ret = mipi_dsi_dcs_enter_sleep_mode(dsi); in s6d16d0_unprepare() [all …]
|
| D | panel-xinpeng-xpp055c272.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Xinpeng xpp055c272 5.5" MIPI-DSI panel driver 8 * Rockteck jh057n00900 5.5" MIPI-DSI panel driver 21 #include <linux/media-bus-format.h> 26 /* Manufacturer specific Commands send via DSI */ 51 struct drm_panel panel; member 58 static inline struct xpp055c272 *panel_to_xpp055c272(struct drm_panel *panel) in panel_to_xpp055c272() argument 60 return container_of(panel, struct xpp055c272, panel); in panel_to_xpp055c272() 63 #define dsi_generic_write_seq(dsi, cmd, seq...) do { \ argument 66 ret = mipi_dsi_dcs_write_buffer(dsi, b, ARRAY_SIZE(b)); \ [all …]
|