Home
last modified time | relevance | path

Searched +full:panel +full:- +full:mipi +full:- +full:dbi +full:- +full:spi (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/tiny/
Dpanel-mipi-dbi.c1 // SPDX-License-Identifier: GPL-2.0
3 * DRM driver for MIPI DBI compatible display panels
15 #include <linux/spi/spi.h>
45 * MIPI commands to execute when the display pipeline is enabled.
53 * parameter: delay in miliseconds (the No Operation command is part of the MIPI Display
79 const struct panel_mipi_dbi_config *config = (struct panel_mipi_dbi_config *)fw->data; in panel_mipi_dbi_check_commands()
81 size_t size = fw->size, commands_len; in panel_mipi_dbi_check_commands()
86 return ERR_PTR(-EINVAL); in panel_mipi_dbi_check_commands()
89 if (memcmp(config->magic, panel_mipi_dbi_magic, sizeof(config->magic))) { in panel_mipi_dbi_check_commands()
90 dev_err(dev, "config: Bad magic: %15ph\n", config->magic); in panel_mipi_dbi_check_commands()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
38 https://www.kraxel.org/blog/2014/10/qemu-using-cirrus-considered-harmful/
41 - stdvga (DRM_BOCHS, qemu -vga std, default in qemu 2.2+)
42 - qxl (DRM_QXL, qemu -vga qxl, works best with spice)
43 - virtio (DRM_VIRTIO_GPU), qemu -vga virtio)
55 tristate "DRM support for MIPI DBI compatible panels"
56 depends on DRM && SPI
63 Say Y here if you want to enable support for MIPI DBI compatible
66 https://github.com/notro/panel-mipi-dbi/wiki.
76 DRM driver for simple platform-provided framebuffers.
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/display/panel/
Dpanel-mipi-dbi-spi.yaml1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/panel/panel-mipi-dbi-spi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MIPI DBI SPI Panel
10 - Noralf Trønnes <noralf@tronnes.org>
13 This binding is for display panels using a MIPI DBI compatible controller
14 in SPI mode.
16 The MIPI Alliance Standard for Display Bus Interface defines the electrical
23 - Power:
[all …]
/Linux-v6.1/drivers/gpu/drm/panel/
Dpanel-samsung-s6e63m0-spi.c1 // SPDX-License-Identifier: GPL-2.0
5 #include <linux/spi/spi.h>
11 #include "panel-samsung-s6e63m0.h"
23 struct mipi_dbi *dbi = trsp; in s6e63m0_spi_dcs_read() local
26 ret = mipi_dbi_command_read(dbi, cmd, data); in s6e63m0_spi_dcs_read()
28 dev_err(dev, "error on DBI read command %02x\n", cmd); in s6e63m0_spi_dcs_read()
36 struct mipi_dbi *dbi = trsp; in s6e63m0_spi_dcs_write() local
39 ret = mipi_dbi_command_stackbuf(dbi, data[0], (data + 1), (len - 1)); in s6e63m0_spi_dcs_write()
45 static int s6e63m0_spi_probe(struct spi_device *spi) in s6e63m0_spi_probe() argument
47 struct device *dev = &spi->dev; in s6e63m0_spi_probe()
[all …]
Dpanel-samsung-s6d27a1.c1 // SPDX-License-Identifier: GPL-2.0
3 * Panel driver for the Samsung S6D27A1 480x800 DPI RGB panel.
4 * Found in the Samsung Galaxy Ace 2 GT-I8160 mobile phone.
15 #include <linux/media-bus-format.h>
19 #include <linux/spi/spi.h>
26 #define S6D27A1_READID1 0xDA /* Read panel ID 1 */
27 #define S6D27A1_READID2 0xDB /* Read panel ID 2 */
28 #define S6D27A1_READID3 0xDC /* Read panel ID 3 */
33 #define S6D27A1_PANELCTL 0xF7 /* Panel Control*/
44 struct mipi_dbi dbi; member
[all …]
Dpanel-samsung-db7430.c1 // SPDX-License-Identifier: GPL-2.0
3 * Panel driver for the Samsung LMS397KF04 480x800 DPI RGB panel.
5 * Found in the Samsung Galaxy Beam GT-I8350 mobile phone.
16 #include <linux/media-bus-format.h>
20 #include <linux/spi/spi.h>
49 * struct db7430 - state container for a panel controlled by the DB7430
55 /** @dbi: the DBI bus abstraction handle */
56 struct mipi_dbi dbi; member
57 /** @panel: the DRM panel instance for this device */
58 struct drm_panel panel; member
[all …]
Dpanel-widechips-ws2401.c1 // SPDX-License-Identifier: GPL-2.0
3 * Panel driver for the WideChips WS2401 480x800 DPI RGB panel, used in
5 * Found in the Samsung Galaxy Ace 2 GT-I8160 mobile phone.
7 * Inspired by code and know-how in the vendor driver by Gareth Phillips.
18 #include <linux/media-bus-format.h>
21 #include <linux/spi/spi.h>
34 #define WS2401_READ_ID1 0xda /* Read panel ID 1 */
35 #define WS2401_READ_ID2 0xdb /* Read panel ID 2 */
36 #define WS2401_READ_ID3 0xdc /* Read panel ID 3 */
48 #define WS2401_PANELCTL 0xf6 /* Panel control */
[all …]
Dpanel-newvision-nv3052c.c1 // SPDX-License-Identifier: GPL-2.0
3 * NewVision NV3052C IPS LCD panel driver
12 #include <linux/media-bus-format.h>
16 #include <linux/spi/spi.h>
31 struct drm_panel panel; member
32 struct mipi_dbi dbi; member
235 static inline struct nv3052c *to_nv3052c(struct drm_panel *panel) in to_nv3052c() argument
237 return container_of(panel, struct nv3052c, panel); in to_nv3052c()
240 static int nv3052c_prepare(struct drm_panel *panel) in nv3052c_prepare() argument
242 struct nv3052c *priv = to_nv3052c(panel); in nv3052c_prepare()
[all …]
Dpanel-ilitek-ili9341.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * This panel can be configured to support:
6 * - 16-bit parallel RGB interface
7 * - 18-bit parallel RGB interface
8 * - 4-line serial spi interface
12 * For dbi+dpi part:
13 * Derived from drivers/drm/gpu/panel/panel-ilitek-ili9322.c
14 * the reuse of DBI abstraction part referred from Linus's patch
15 * "drm/panel: s6e63m0: Switch to DBI abstraction for SPI"
17 * For only-dbi part, copy from David's code (drm/tiny/ili9341.c)
[all …]
/Linux-v6.1/drivers/video/fbdev/omap/
Dlcd_mipid.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * LCD driver for MIPI DBI-C / DCS compatible LCDs
12 #include <linux/spi/spi.h>
15 #include <linux/platform_data/lcd-mipid.h>
35 panel)
46 struct spi_device *spi; member
48 struct lcd_panel panel; member
62 BUG_ON(md->spi == NULL); in mipid_transfer()
70 x->tx_buf = &cmd; in mipid_transfer()
71 x->bits_per_word = 9; in mipid_transfer()
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_dsi_vbt.c136 if (hweight8(intel_dsi->ports) == 1) in intel_dsi_seq_port_to_port()
137 return ffs(intel_dsi->ports) - 1; in intel_dsi_seq_port_to_port()
140 if (intel_dsi->ports & PORT_B) in intel_dsi_seq_port_to_port()
142 else if (intel_dsi->ports & PORT_C) in intel_dsi_seq_port_to_port()
152 struct drm_i915_private *dev_priv = to_i915(intel_dsi->base.base.dev); in mipi_exec_send_packet()
158 drm_dbg_kms(&dev_priv->drm, "\n"); in mipi_exec_send_packet()
170 if (drm_WARN_ON(&dev_priv->drm, !intel_dsi->dsi_hosts[port])) in mipi_exec_send_packet()
173 dsi_device = intel_dsi->dsi_hosts[port]->device; in mipi_exec_send_packet()
175 drm_dbg_kms(&dev_priv->drm, "no dsi device for port %c\n", in mipi_exec_send_packet()
181 dsi_device->mode_flags &= ~MIPI_DSI_MODE_LPM; in mipi_exec_send_packet()
[all …]
/Linux-v6.1/
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]