| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| D | ibm,op-panel.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/ibm,op-panel.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: IBM Operation Panel 10 - Eddie James <eajames@linux.ibm.com> 13 - $ref: input.yaml# 16 The IBM Operation Panel provides a simple interface to control the connected 22 const: ibm,op-panel 32 - compatible [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
| D | panel-samsung-atna33xc20.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Panel driver for the Samsung ATNA33XC20 panel. This panel can't be handled 6 * by the DRM_PANEL_SIMPLE driver because its power sequencing is non-standard. 46 static inline struct atana33xc20_panel *to_atana33xc20(struct drm_panel *panel) in to_atana33xc20() argument 48 return container_of(panel, struct atana33xc20_panel, base); in to_atana33xc20() 72 if (p->el3_was_on) in atana33xc20_suspend() 73 atana33xc20_wait(p->el_on3_off_time, 150); in atana33xc20_suspend() 75 drm_dp_dpcd_set_powered(p->aux, false); in atana33xc20_suspend() 76 ret = regulator_disable(p->supply); in atana33xc20_suspend() 79 p->powered_off_time = ktime_get_boottime(); in atana33xc20_suspend() [all …]
|
| D | panel-ilitek-ili9881c.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2017-2018, Bootlin 29 enum ili9881c_op op; member 48 struct drm_panel panel; member 60 .op = ILI9881C_SWITCH_PAGE, \ 68 .op = ILI9881C_COMMAND, \ 398 ILI9881C_COMMAND_INSTR(0x6F, 0x33), /* pumping ratio VGH=5x VGL=-3x */ 399 ILI9881C_COMMAND_INSTR(0x8D, 0x1B), /* VGL clamp -10V */ 833 static inline struct ili9881c *panel_to_ili9881c(struct drm_panel *panel) in panel_to_ili9881c() argument 835 return container_of(panel, struct ili9881c, panel); in panel_to_ili9881c() [all …]
|
| D | panel-leadtek-ltk050h3146w.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/media-bus-format.h> 33 struct drm_panel panel; member 47 { 0x51, 0x85 }, /* VREG2OUT=-5V */ 230 { 0x85, 0x0D }, /* VGL clamp level (-10V) */ 234 { 0xB5, 0x07 }, /* GAMMA OP */ 235 { 0x31, 0x45 }, /* SOURCE OP */ 241 struct ltk050h3146w *panel_to_ltk050h3146w(struct drm_panel *panel) in panel_to_ltk050h3146w() argument 243 return container_of(panel, struct ltk050h3146w, panel); in panel_to_ltk050h3146w() 248 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in ltk050h3146w_init_sequence() [all …]
|
| D | panel-edp.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 46 * struct panel_delay - Describes delays for a simple panel. 52 * The time (in milliseconds) that it takes after powering the panel 56 * NOTE: on some old panel data this number appears to be much too big. 59 * hpd_absent. While that works, it's non-ideal. 68 * This is T3-max on eDP timing diagrams or the delay from power on 108 * @enable: Time for the panel to display a valid frame. 110 * The time (in milliseconds) that it takes for the panel to 114 * This is (T6-min + max(T7-max, T8-min)) on eDP timing diagrams or 121 * @disable: Time for the panel to turn the display off. [all …]
|
| /kernel/linux/linux-5.10/drivers/char/ |
| D | powernv-op-panel.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * OPAL Operator Panel Display Driver 26 * operator panel (character LCD display) on IBM Power Systems machines 29 * operator panel. 57 if (token != -ERESTARTSYS) in __op_panel_update_display() 81 pr_debug("OPAL write op-panel call failed [rc=%d]\n", rc); in __op_panel_update_display() 98 return -EFBIG; in oppanel_write() 105 pr_err_ratelimited("OPAL call failed to write to op panel display [rc=%d]\n", in oppanel_write() 108 return -EIO; in oppanel_write() 118 return -EBUSY; in oppanel_open() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 obj-y += mem.o random.o 7 obj-$(CONFIG_TTY_PRINTK) += ttyprintk.o 8 obj-y += misc.o 9 obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o 10 obj-$(CONFIG_VIRTIO_CONSOLE) += virtio_console.o 11 obj-$(CONFIG_RAW_DRIVER) += raw.o 12 obj-$(CONFIG_MSPEC) += mspec.o 13 obj-$(CONFIG_UV_MMTIMER) += uv_mmtimer.o 14 obj-$(CONFIG_IBM_BSR) += bsr.o [all …]
|
| /kernel/linux/linux-6.6/drivers/char/ |
| D | powernv-op-panel.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * OPAL Operator Panel Display Driver 26 * operator panel (character LCD display) on IBM Power Systems machines 29 * operator panel. 57 if (token != -ERESTARTSYS) in __op_panel_update_display() 82 pr_debug("OPAL write op-panel call failed [rc=%d]\n", rc); in __op_panel_update_display() 99 return -EFBIG; in oppanel_write() 106 pr_err_ratelimited("OPAL call failed to write to op panel display [rc=%d]\n", in oppanel_write() 109 return -EIO; in oppanel_write() 119 return -EBUSY; in oppanel_open() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 obj-y += mem.o random.o 7 obj-$(CONFIG_TTY_PRINTK) += ttyprintk.o 8 obj-y += misc.o 9 obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o 10 obj-$(CONFIG_VIRTIO_CONSOLE) += virtio_console.o 11 obj-$(CONFIG_MSPEC) += mspec.o 12 obj-$(CONFIG_UV_MMTIMER) += uv_mmtimer.o 13 obj-$(CONFIG_IBM_BSR) += bsr.o 15 obj-$(CONFIG_PRINTER) += lp.o [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
| D | panel-sitronix-st7701.c | 1 // SPDX-License-Identifier: GPL-2.0+ 64 #define DSI_CMD2_BK0_PORCTRL_B0(m) ((m)->vtotal - (m)->vsync_end) 65 #define DSI_CMD2_BK0_PORCTRL_B1(m) ((m)->vsync_start - (m)->vdisplay) 75 #define DSI_PWCTLR1_AP BIT(7) /* Gamma OP bias, max */ 76 #define DSI_PWCTLR1_APIS BIT(2) /* Source OP input bias, min */ 77 #define DSI_PWCTLR1_APOS BIT(0) /* Source OP output bias, min */ 81 #define DSI_PWCTLR2_AVCL 0x0 /* AVCL -4.4v */ 100 struct drm_panel panel; member 109 static inline struct st7701 *panel_to_st7701(struct drm_panel *panel) in panel_to_st7701() argument 111 return container_of(panel, struct st7701, panel); in panel_to_st7701() [all …]
|
| D | panel-ilitek-ili9881c.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2017-2018, Bootlin 30 enum ili9881c_op op; member 48 struct drm_panel panel; member 58 .op = ILI9881C_SWITCH_PAGE, \ 66 .op = ILI9881C_COMMAND, \ 396 ILI9881C_COMMAND_INSTR(0x6F, 0x33), /* pumping ratio VGH=5x VGL=-3x */ 397 ILI9881C_COMMAND_INSTR(0x8D, 0x1B), /* VGL clamp -10V */ 456 static inline struct ili9881c *panel_to_ili9881c(struct drm_panel *panel) in panel_to_ili9881c() argument 458 return container_of(panel, struct ili9881c, panel); in panel_to_ili9881c() [all …]
|
| D | panel-leadtek-ltk050h3146w.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/media-bus-format.h> 34 struct drm_panel panel; member 48 { 0x51, 0x85 }, /* VREG2OUT=-5V */ 231 { 0x85, 0x0D }, /* VGL clamp level (-10V) */ 235 { 0xB5, 0x07 }, /* GAMMA OP */ 236 { 0x31, 0x45 }, /* SOURCE OP */ 242 struct ltk050h3146w *panel_to_ltk050h3146w(struct drm_panel *panel) in panel_to_ltk050h3146w() argument 244 return container_of(panel, struct ltk050h3146w, panel); in panel_to_ltk050h3146w() 257 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in ltk050h3146w_init_sequence() [all …]
|
| /kernel/linux/linux-6.6/drivers/input/misc/ |
| D | ibm-panel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #define DEVICE_NAME "ibm-panel" 26 static u8 ibm_panel_calculate_checksum(struct ibm_panel *panel) in ibm_panel_calculate_checksum() argument 32 for (i = 0; i < sizeof(panel->command) - 1; ++i) { in ibm_panel_calculate_checksum() 33 sum += panel->command[i]; in ibm_panel_calculate_checksum() 47 static void ibm_panel_process_command(struct ibm_panel *panel) in ibm_panel_process_command() argument 52 if (panel->command[0] != 0xff && panel->command[1] != 0xf0) { in ibm_panel_process_command() 53 dev_dbg(&panel->input->dev, "command invalid: %02x %02x\n", in ibm_panel_process_command() 54 panel->command[0], panel->command[1]); in ibm_panel_process_command() 58 chksum = ibm_panel_calculate_checksum(panel); in ibm_panel_process_command() [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/mmp/ |
| D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/dma-mapping.h> 19 if (path && overlay_id < path->overlay_num) in path_get_overlay() 20 return &path->overlays[overlay_id]; in path_get_overlay() 27 for (i = 0; i < path->overlay_num; i++) in path_check_status() 28 if (path->overlays[i].status) in path_check_status() 37 * this function fetches modelist from phy/panel: 39 * or get from panel 46 if (path->panel && path->panel->get_modelist) in path_get_modelist() 47 return path->panel->get_modelist(path->panel, modelist); in path_get_modelist() [all …]
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/mmp/ |
| D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/dma-mapping.h> 19 if (path && overlay_id < path->overlay_num) in path_get_overlay() 20 return &path->overlays[overlay_id]; in path_get_overlay() 27 for (i = 0; i < path->overlay_num; i++) in path_check_status() 28 if (path->overlays[i].status) in path_check_status() 37 * this function fetches modelist from phy/panel: 39 * or get from panel 46 if (path->panel && path->panel->get_modelist) in path_get_modelist() 47 return path->panel->get_modelist(path->panel, modelist); in path_get_modelist() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/shmobile/ |
| D | shmob_drm_crtc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * shmob_drm_crtc.c -- SH Mobile DRM CRTCs 31 * TODO: panel support 34 /* ----------------------------------------------------------------------------- 42 if (sdev->clock) { in shmob_drm_clk_on() 43 ret = clk_prepare_enable(sdev->clock); in shmob_drm_clk_on() 53 if (sdev->clock) in shmob_drm_clk_off() 54 clk_disable_unprepare(sdev->clock); in shmob_drm_clk_off() 57 /* ----------------------------------------------------------------------------- 63 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_setup_geometry() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/renesas/shmobile/ |
| D | shmob_drm_crtc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * shmob_drm_crtc.c -- SH Mobile DRM CRTCs 34 * TODO: panel support 37 /* ----------------------------------------------------------------------------- 45 if (sdev->clock) { in shmob_drm_clk_on() 46 ret = clk_prepare_enable(sdev->clock); in shmob_drm_clk_on() 56 if (sdev->clock) in shmob_drm_clk_off() 57 clk_disable_unprepare(sdev->clock); in shmob_drm_clk_off() 60 /* ----------------------------------------------------------------------------- 66 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_setup_geometry() [all …]
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/ |
| D | sm501fb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #include <linux/dma-mapping.h> 39 #include <linux/sm501-regs.h> 43 static char *fb_mode = "640x480-16@60"; 100 /* per-framebuffer private data */ 119 return var->xres + var->left_margin + in h_total() 120 var->right_margin + var->hsync_len; in h_total() 125 return var->yres + var->upper_margin + in v_total() 126 var->lower_margin + var->vsync_len; in v_total() 138 smc501_readl(info->regs); in sm501fb_sync_regs() [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/ |
| D | sm501fb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #include <linux/dma-mapping.h> 39 #include <linux/sm501-regs.h> 43 static char *fb_mode = "640x480-16@60"; 100 /* per-framebuffer private data */ 119 return var->xres + var->left_margin + in h_total() 120 var->right_margin + var->hsync_len; in h_total() 125 return var->yres + var->upper_margin + in v_total() 126 var->lower_margin + var->vsync_len; in v_total() 138 smc501_readl(info->regs); in sm501fb_sync_regs() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/pl111/ |
| D | pl111_drv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * (C) COPYRIGHT 2012-2013 ARM Limited. All rights reserved. 7 * Copyright (c) 2006-2008 Intel Corporation 29 * - Fix race between setting plane base address and getting IRQ for 32 * - Read back hardware state at boot to skip reprogramming the 33 * hardware when doing a no-op modeset. 35 * - Use the CLKSEL bit to support switching between the two external 40 #include <linux/dma-buf.h> 76 struct pl111_drm_dev_private *priv = dev->dev_private; in pl111_modeset_init() 77 struct device_node *np = dev->dev->of_node; in pl111_modeset_init() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/pl111/ |
| D | pl111_drv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * (C) COPYRIGHT 2012-2013 ARM Limited. All rights reserved. 7 * Copyright (c) 2006-2008 Intel Corporation 29 * - Fix race between setting plane base address and getting IRQ for 32 * - Read back hardware state at boot to skip reprogramming the 33 * hardware when doing a no-op modeset. 35 * - Use the CLKSEL bit to support switching between the two external 40 #include <linux/dma-buf.h> 75 struct pl111_drm_dev_private *priv = dev->dev_private; in pl111_modeset_init() 76 struct device_node *np = dev->dev->of_node; in pl111_modeset_init() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
| D | intel_acpi.c | 1 // SPDX-License-Identifier: GPL-2.0 94 if (!pkg->package.count) { in intel_dsm_platform_mux_info() 99 connector_count = &pkg->package.elements[0]; in intel_dsm_platform_mux_info() 101 (unsigned long long)connector_count->integer.value); in intel_dsm_platform_mux_info() 102 for (i = 1; i < pkg->package.count; i++) { in intel_dsm_platform_mux_info() 103 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info() 107 if (obj->type != ACPI_TYPE_PACKAGE || obj->package.count < 2) { in intel_dsm_platform_mux_info() 112 connector_id = &obj->package.elements[0]; in intel_dsm_platform_mux_info() 113 info = &obj->package.elements[1]; in intel_dsm_platform_mux_info() 114 if (info->type != ACPI_TYPE_BUFFER || info->buffer.length < 4) { in intel_dsm_platform_mux_info() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/touchscreen/ |
| D | cyttsp4_core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 295 size_t btn_diff_ofs;/* btn data loc ,diff counts, (Op-Mode byte ofs) */ 429 /* x-axis resolution of panel in pixels */ 432 /* y-axis resolution of panel in pixels */ 435 /* x-axis, 0:origin is on left side of panel, 1: right */ 438 /* y-axis, 0:origin is on top side of panel, 1: bottom */ 444 return ts->bus_ops->read(ts->dev, ts->xfer_buf, addr, size, buf); in cyttsp4_adap_read() 450 return ts->bus_ops->write(ts->dev, ts->xfer_buf, addr, size, buf); in cyttsp4_adap_write()
|
| /kernel/linux/linux-6.6/drivers/input/touchscreen/ |
| D | cyttsp4_core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 281 size_t btn_diff_ofs;/* btn data loc ,diff counts, (Op-Mode byte ofs) */ 415 /* x-axis resolution of panel in pixels */ 418 /* y-axis resolution of panel in pixels */ 421 /* x-axis, 0:origin is on left side of panel, 1: right */ 424 /* y-axis, 0:origin is on top side of panel, 1: bottom */ 430 return ts->bus_ops->read(ts->dev, ts->xfer_buf, addr, size, buf); in cyttsp4_adap_read() 436 return ts->bus_ops->write(ts->dev, ts->xfer_buf, addr, size, buf); in cyttsp4_adap_write()
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/ti/davinci/ |
| D | da850-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 12 compatible = "ti,da850-evm", "ti,da850"; 13 model = "DA850/AM1808/OMAP-L138 EVM"; 16 stdout-path = &serial2; 27 backlight: backlight-pwm { 28 pinctrl-names = "default"; 29 pinctrl-0 = <&ecap2_pins>; [all …]
|