/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A D | panel-simple.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 27 #include <linux/media-bus-format.h> 45 * struct panel_desc - Describes a simple panel. 49 * @modes: Pointer to array of fixed modes appropriate for this panel. 74 /** @size: Structure containing the physical size of this panel. */ 87 /** @delay: Structure containing various delay values for this panel. */ 90 * @delay.prepare: Time for the panel to become ready. 92 * The time (in milliseconds) that it takes for the panel to 98 * @delay.enable: Time for the panel to display a valid frame. 100 * The time (in milliseconds) that it takes for the panel to [all …]
|
/openbmc/linux/drivers/char/ |
H A 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 …]
|
H A 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 …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 28 int "ttyprintk log level (1-7)" 42 Also read the Printing-HOWTO, available from 50 <file:Documentation/admin-guide/parport.rst>. The module will be called lp. 79 tristate "Support for user-space parallel port device drivers" 84 port, for instance deviceid (which displays Plug-and-Play device 88 It is safe to say N to this -- it is not needed for normal printing 89 or parallel port CD-ROM/disk support. 104 Also serves as a general-purpose serial device for data 122 tristate "IBM POWERNV Operator Panel Display support" [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A 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 …]
|
/openbmc/linux/drivers/video/fbdev/mmp/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/renesas/shmobile/ |
H A 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 …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A 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 …]
|
/openbmc/phosphor-dbus-interfaces/yaml/com/ibm/ipzvpd/ |
H A D | VSBP.interface.yaml | 4 - name: RT 8 - name: DR 12 - name: PA 15 Is op-panel installed. 16 - name: IM
|
/openbmc/linux/drivers/gpu/drm/pl111/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A 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 …]
|
H A D | intel_bios.c | 55 * blocks have a 1-byte Block ID, 2-byte Block Size, and Block Size bytes of 88 return _get_blocksize(block_data - 3); in get_blocksize() 101 index += bdb->header_size; in find_raw_section() 102 total = bdb->bdb_size; in find_raw_section() 134 return block - bdb; in raw_block_offset() 149 list_for_each_entry(entry, &i915->display.vbt.bdb_blocks, node) { in bdb_find_section() 150 if (entry->section_id == section_id) in bdb_find_section() 151 return entry->data + 3; in bdb_find_section() 209 if (ptrs->panel_name.table_size) in lfp_data_min_size() 210 size = max(size, ptrs->panel_name.offset + in lfp_data_min_size() [all …]
|
/openbmc/u-boot/include/dm/ |
H A D | uclass-id.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 12 /* TODO(sjg@chromium.org): this could be compile-time generated */ 29 /* U-Boot uclasses start here - in alphabetical order */ 30 UCLASS_ADC, /* Analog-to-digital converter */ 46 UCLASS_GPIO, /* Bank of general-purpose I/O pins */ 56 UCLASS_LED, /* Light-emitting diode (LED) */ 65 UCLASS_NOP, /* No-op devices */ 68 UCLASS_PANEL, /* Display panel, such as an LCD */ 69 UCLASS_PANEL_BACKLIGHT, /* Backlight controller for panel */ 78 UCLASS_PWM, /* Pulse-width modulator */ [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A 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()
|
/openbmc/linux/arch/arm/boot/dts/ti/davinci/ |
H A 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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | da850-evm.dts | 4 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ 10 /dts-v1/; 12 #include <dt-bindings/gpio/gpio.h> 15 compatible = "ti,da850-evm", "ti,da850"; 16 model = "DA850/AM1808/OMAP-L138 EVM"; 19 stdout-path = &serial2; 30 backlight: backlight-pwm { 31 pinctrl-names = "default"; 32 pinctrl-0 = <&ecap2_pins>; 33 power-supply = <&backlight_lcd>; [all …]
|
/openbmc/docs/designs/ |
H A D | bmc-boot-ready.md | 33 `multi-user.target` has successfully started all if its services. 37 1. D-Bus objects don't exist until the backend is prepared to handle them. 43 Option 1 is challenging because D-Bus interfaces provided by OpenBMC state 44 applications have a mix of read-only properties (like current state) and 51 the op-panel code now need to properly handle error codes like this. You can 60 [1]: https://lists.ozlabs.org/pipermail/openbmc/2022-April/030175.html 62 https://github.com/openbmc/phosphor-dbus-interfaces/tree/master/yaml/xyz/openbmc_project/State 64 …https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/State/BMC… 68 - Queue up chassis and host requested state changes until the BMC is in the 70 - What the "proper state" is will be implementation specific but by default [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_connector.c | 51 * Hence they are reference-counted using drm_connector_get() and 67 * For connectors which are not fixed (like built-in panels) the driver needs to 76 * Note drm_connector_[un]register() first take connector->lock and then 94 { DRM_MODE_CONNECTOR_DVII, "DVI-I" }, 95 { DRM_MODE_CONNECTOR_DVID, "DVI-D" }, 96 { DRM_MODE_CONNECTOR_DVIA, "DVI-A" }, 103 { DRM_MODE_CONNECTOR_HDMIA, "HDMI-A" }, 104 { DRM_MODE_CONNECTOR_HDMIB, "HDMI-B" }, 132 * drm_get_connector_type_name - return a string for connector type 147 * drm_connector_get_cmdline_mode - reads the user's cmdline mode [all …]
|
/openbmc/linux/sound/pci/oxygen/ |
H A D | xonar_dg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * ------------ 18 * SPI 0 -> CS4245 21 * I²S 1 -> CS4245 22 * I²S 2 -> CS4361 (center/LFE) 23 * I²S 3 -> CS4361 (surround) 24 * I²S 4 -> CS4361 (front) 26 * I²S ADC 1 <- CS4245 28 * GPIO 3 <- ? 29 * GPIO 4 <- headphone detect [all …]
|
/openbmc/linux/drivers/gpu/drm/display/ |
H A D | drm_dp_helper.c | 75 return link_status[r - DP_LANE0_1_STATUS]; in dp_link_status() 229 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_clock_recovery_delay_us() 230 aux->name, rd_interval); in __8b10b_clock_recovery_delay_us() 241 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_channel_eq_delay_us() 242 aux->name, rd_interval); in __8b10b_channel_eq_delay_us() 254 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x\n", in __128b132b_channel_eq_delay_us() 255 aux->name, rd_interval); in __128b132b_channel_eq_delay_us() 277 * - Clock recovery vs. channel equalization 278 * - DPRX vs. LTTPR 279 * - 128b/132b vs. 8b/10b [all …]
|