/linux/include/linux/ |
H A D | sysfb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 * Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com> 16 M_I17, /* 17-Inch iMac */ 17 M_I20, /* 20-Inch iMac */ 18 M_I20_SR, /* 20-Inch iMac (Santa Rosa) */ 19 M_I24, /* 24-Inch iMac */ 20 M_I24_8_1, /* 24-Inch iMac, 8,1th gen */ 21 M_I24_10_1, /* 24-Inch iMac, 10,1th gen */ 22 M_I27_11_1, /* 27-Inch iMac, 11,1th gen */ 109 return ERR_PTR(-EINVAL); in sysfb_create_simplefb()
|
/linux/arch/arm64/boot/dts/apple/ |
H A D | t8103-j457.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Apple iMac (24-inch, 2x USB-C, M1, 2020) 5 * target-type: J457 10 /dts-v1/; 13 #include "t8103-jxxx.dtsi" 16 compatible = "apple,j457", "apple,t8103", "apple,arm-platform"; 17 model = "Apple iMac (24-inch, 2x USB-C, M1, 2021)"; 25 brcm,board-type = "apple,santorini"; 29 brcm,board-type = "apple,santorini"; 34 * on-board devices and properties that are populated by the bootloader [all …]
|
H A D | t8103-j456.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Apple iMac (24-inch, 4x USB-C, M1, 2020) 5 * target-type: J456 10 /dts-v1/; 13 #include "t8103-jxxx.dtsi" 16 compatible = "apple,j456", "apple,t8103", "apple,arm-platform"; 17 model = "Apple iMac (24-inch, 4x USB-C, M1, 2021)"; 25 brcm,board-type = "apple,capri"; 29 brcm,board-type = "apple,capri"; 33 hpm2: usb-pd@3b { [all …]
|
H A D | t8112-j413.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 * target-type: J413 10 /dts-v1/; 13 #include "t8112-jxxx.dtsi" 14 #include <dt-bindings/leds/common.h> 17 compatible = "apple,j413", "apple,t8112", "apple,arm-platform"; 18 model = "Apple MacBook Air (13-inch, M2, 2022)"; 25 led-controller { 26 compatible = "pwm-leds"; 27 led-0 { [all …]
|
H A D | t600x-j314-j316.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * MacBook Pro (14/16-inch, 2021) 7 * target-type: J314s / J314c / J316s / J316c 12 #include <dt-bindings/leds/common.h> 21 #address-cells = <2>; 22 #size-cells = <2>; 25 stdout-path = "serial0"; 28 compatible = "apple,simple-framebuffer", "simple-framebuffer"; 40 led-controller { 41 compatible = "pwm-leds"; [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | imx219.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Sony 1/4.0-Inch 8Mpixel CMOS Digital Image Sensor 10 - Dave Stevenson <dave.stevenson@raspberrypi.com> 12 description: |- 13 The Sony imx219 is a 1/4.0-inch CMOS active pixel digital image sensor 16 Image data is sent through MIPI CSI-2, which is configured as either 2 or 30 VDIG-supply: 34 VANA-supply: [all …]
|
H A D | ovti,ov8856.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Sakari Ailus <sakari.ailus@linux.intel.com> 13 description: |- 14 The Omnivision OV8856 is a high performance, 1/4-inch, 8 megapixel, CMOS 15 image sensor that delivers 3264x2448 at 30fps. It provides full-frame, 16 sub-sampled, and windowed 10-bit MIPI images in various formats via the 18 through I2C and two-wire SCCB. The sensor output is available via CSI-2 19 serial data output (up to 4-lane). [all …]
|
H A D | ovti,ov2680.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rui Miguel Silva <rmfrfs@gmail.com> 12 description: |- 13 The OV2680 color sensor is a low voltage, high performance 1/5 inch UXGA (2 14 megapixel) CMOS image sensor that provides a single-chip UXGA (1600 x 1200) 15 camera. It provides full-frame, sub-sampled, or windowed 10-bit images in 30 clock-names: 33 reset-gpios: [all …]
|
H A D | ovti,ov5675.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Quentin Schulz <quentin.schulz@theobroma-systems.com> 14 - $ref: /schemas/media/video-interface-devices.yaml# 17 The Omnivision OV5675 is a high performance, 1/5-inch, 5 megapixel, CMOS 18 image sensor that delivers 2592x1944 at 30fps. It provides full-frame, 19 sub-sampled, and windowed 10-bit MIPI images in various formats via the 22 This chip is programmable through I2C and two-wire SCCB. The sensor output 23 is available via CSI-2 serial data output (up to 2-lane). [all …]
|
H A D | ovti,ov5693.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Tommaso Merciai <tomm.merciai@gmail.com> 14 The Omnivision OV5693/OV5695 are high performance, 1/4-inch, 5 megapixel, CMOS 15 image sensors that deliver 2592x1944 at 30fps. It provides full-frame, 16 sub-sampled, and windowed 10-bit MIPI images in various formats via the 19 OV5693/OV5695 are controlled via I2C and two-wire Serial Camera Control Bus 20 (SCCB). The sensor output is available via CSI-2 serial data output (up to 21 2-lane). [all …]
|
/linux/drivers/hid/ |
H A D | hid-waltop.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include "hid-ids.h" 26 * mode tries to be HID-compatible (not very successfully), but cripples the 30 * represents the correct resolution, but is possibly HID-incompatible (i.e. 42 /* Size of the original report descriptor of Slim Tablet 5.8 inch */ 45 /* Fixed Slim Tablet 5.8 inch descriptor */ 74 0x65, 0x13, /* Unit (Inch), */ 75 0x55, 0xFD, /* Unit Exponent (-3), */ 93 /* Size of the original report descriptor of Slim Tablet 12.1 inch */ 96 /* Fixed Slim Tablet 12.1 inch descriptor */ [all …]
|
H A D | hid-uclogic-rdesc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * HID driver for UC-Logic devices not fully compliant with HID standard 4 * - original and fixed report descriptors 6 * Copyright (c) 2010-2017 Nikolai Kondrashov 17 #include "hid-uclogic-rdesc.h" 45 0x55, 0xFD, /* Unit Exponent (-3), */ 46 0x65, 0x13, /* Unit (Inch), */ 90 0x55, 0xFD, /* Unit Exponent (-3), */ 91 0x65, 0x13, /* Unit (Inch), */ 127 0x15, 0x81, /* Logical Minimum (-127), */ [all …]
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-arm-versatile.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * - The IB1 is a passive board where the display connector defines a 19 * - The IB2 is a more complex board intended for GSM phone development 52 #define SYS_CLCD_CLCDID_MASK (BIT(8)|BIT(9)|BIT(10)|BIT(11)|BIT(12)) 66 * struct versatile_panel_type - lookup struct for the supported panels 100 * struct versatile_panel - state container for the Versatile panels 127 * Sanyo TM38QV67A02A - 3.8 inch QVGA (320x240) Color TFT 173 * Epson L2F50113T00 - 2.2 inch QCIF 176x220 Color TFT 207 .hsync_start = 240 + 10, 208 .hsync_end = 240 + 10 + 10, [all …]
|
H A D | panel-boe-himax8279d.c | 1 // SPDX-License-Identifier: GPL-2.0 59 gpiod_set_value(pinfo->enable_gpio, 0); in disable_gpios() 60 gpiod_set_value(pinfo->pp33_gpio, 0); in disable_gpios() 61 gpiod_set_value(pinfo->pp18_gpio, 0); in disable_gpios() 70 for (i = 0; i < pinfo->desc->on_cmds_num; i++) { in send_mipi_cmds() 71 err = mipi_dsi_dcs_write_buffer(pinfo->link, &cmds[i], in send_mipi_cmds() 86 err = mipi_dsi_dcs_set_display_off(pinfo->link); in boe_panel_disable() 88 dev_err(panel->dev, "failed to set display off: %d\n", err); in boe_panel_disable() 100 err = mipi_dsi_dcs_set_display_off(pinfo->link); in boe_panel_unprepare() 102 dev_err(panel->dev, "failed to set display off: %d\n", err); in boe_panel_unprepare() [all …]
|
H A D | panel-samsung-s6e63j0x03.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MIPI-DSI based S6E63J0X03 AMOLED lcd 1.63 inch panel driver. 5 * Copyright (c) 2014-2017 Samsung Electronics Co., Ltd 58 { /* Gamma 10 */ 122 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in s6e63j0x03_dcs_write_seq() 151 ret = regulator_bulk_enable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in s6e63j0x03_power_on() 157 gpiod_set_value(ctx->reset_gpio, 1); in s6e63j0x03_power_on() 159 gpiod_set_value(ctx->reset_gpio, 0); in s6e63j0x03_power_on() 167 return regulator_bulk_disable(ARRAY_SIZE(ctx->supplies), ctx->supplies); in s6e63j0x03_power_off() 177 index = NUM_GAMMA_STEPS - 1; in s6e63j0x03_get_brightness_index() [all …]
|
/linux/drivers/hid/bpf/progs/ |
H A D | XPPen__ArtistPro16Gen2.bpf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 * - the device reports Eraser instead of using Secondary Barrel Switch 22 * - when the eraser button is pressed and the stylus is touching the tablet, 33 0xa1, 0x00, // Collection (Physical) 10 38 … // Usage (Eraser) 16 /* created over a padding bit at offset 29-33 */ 58 0x55, 0x0d, // Unit Exponent (-3) 61 72 0x15, 0x81, // Logical Minimum (-127) 93 78 0x15, 0x81, // Logical Minimum (-127) 105 98 if (hctx->hid->product == PID_ARTIST_PRO14_GEN2) { in SEC() 110 __u8 *data = hid_bpf_get_data(hctx, 0 /* offset */, 10 /* size */); in xppen_16_fix_eraser() [all …]
|
/linux/drivers/regulator/ |
H A D | rpi-panel-attiny-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 83 state->port_states[reg - REG_PORTA] = val; in attiny_set_port_state() 84 return regmap_write(state->regmap, reg, val); in attiny_set_port_state() 89 return state->port_states[reg - REG_PORTA]; in attiny_get_port_state() 96 mutex_lock(&state->lock); in attiny_lcd_power_enable() 117 mutex_unlock(&state->lock); in attiny_lcd_power_enable() 126 mutex_lock(&state->lock); in attiny_lcd_power_disable() 128 regmap_write(rdev->regmap, REG_PWM, 0); in attiny_lcd_power_disable() 138 mutex_unlock(&state->lock); in attiny_lcd_power_disable() 149 mutex_lock(&state->lock); in attiny_lcd_power_is_enabled() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 64 the netlink mechanism. User-space applications can subscribe to these events 65 for real-time updates on various regulator events. 75 They provide two I2C-controlled DC/DC step-down converters with 101 tristate "Active-semi act8865 voltage regulator" 106 This driver controls a active-semi act8865 voltage output 110 tristate "Active-semi ACT8945A voltage regulator" 113 This driver controls a active-semi ACT8945A voltage regulator 114 via I2C bus. The ACT8945A features three step-down DC/DC converters [all …]
|
/linux/Documentation/devicetree/bindings/thermal/ |
H A D | thermal-zones.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml# 6 $schema: http://devicetree.org/meta-schemas/base.yaml# 11 - Daniel Lezcano <daniel.lezcano@linaro.org> 20 - thermal-sensor: device that measures temperature, has SoC-specific bindings 21 - cooling-device: device used to dissipate heat either passively or actively 22 - thermal-zones: a container of the following node types used to describe all 25 This binding describes the thermal-zones. 27 The polling-delay properties of a thermal-zone are bound to the maximum dT/dt [all …]
|
/linux/arch/sh/boards/mach-migor/ |
H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Renesas System Solutions Asia Pte. Ltd - Migo-R 8 #include <linux/dma-map-ops.h> 30 #include <media/drv-intf/renesas-ceu.h> 78 .mode = SH_KEYSC_MODE_2, /* KEYOUT0->4, KEYIN1->5 */ 118 .mask_flags = MTD_WRITEABLE, /* Read-only */ 148 .name = "physmap-flash", 176 writeb(cmd, chip->legacy.IO_ADDR_W + 0x00400000); in migor_nand_flash_cmd_ctl() 178 writeb(cmd, chip->legacy.IO_ADDR_W + 0x00800000); in migor_nand_flash_cmd_ctl() 180 writeb(cmd, chip->legacy.IO_ADDR_W); in migor_nand_flash_cmd_ctl() [all …]
|
/linux/drivers/iio/adc/ |
H A D | axp288_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * axp288_adc.c - X-Powers AXP288 PMIC ADC Driver 24 * This mask enables all ADCs except for the battery temp-sensor (TS), that is 25 * left as-is to avoid breaking charging on devices without a temp-sensor. 107 IIO_MAP("TS_PIN", "axp288-batt", "axp288-batt-temp"), 108 IIO_MAP("PMIC_TEMP", "axp288-pmic", "axp288-pmic-temp"), 109 IIO_MAP("GPADC", "axp288-gpadc", "axp288-system-temp"), 110 IIO_MAP("BATT_CHG_I", "axp288-chrg", "axp288-chrg-curr"), 111 IIO_MAP("BATT_DISCHRG_I", "axp288-chrg", "axp288-chrg-d-curr"), 112 IIO_MAP("BATT_V", "axp288-batt", "axp288-batt-volt"), [all …]
|
/linux/drivers/iio/pressure/ |
H A D | dlhl60d.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Datasheet: https://www.allsensors.com/cad/DS-0355_Rev_B.PDF 42 unsigned int fss; /* full scale span (inch H2O) */ 59 .osdig = 10, 69 ret = i2c_smbus_write_byte(st->client, DLH_START_SINGLE); in dlh_cmd_start_single() 71 dev_err(&st->client->dev, in dlh_cmd_start_single() 81 ret = i2c_master_recv(st->client, st->rx_buf, DLH_NUM_READ_BYTES); in dlh_cmd_read_data() 83 dev_err(&st->client->dev, in dlh_cmd_read_data() 88 if (st->rx_buf[0] != DLH_STATUS_OK) { in dlh_cmd_read_data() 89 dev_err(&st->client->dev, in dlh_cmd_read_data() [all …]
|
/linux/include/drm/ |
H A D | drm_modes.h | 3 * Copyright © 2007-2008 Dave Airlie 4 * Copyright © 2007-2008 Intel Corporation 46 * enum drm_mode_status - hardware support status of a mode 129 MODE_STALE = -3, 130 MODE_BAD = -2, 131 MODE_ERROR = -1 142 * DRM_MODE_RES_MM - Calculates the display size from resolution and DPI 144 * @dpi: The number of dots per inch 147 (((res) * 254ul) / ((dpi) * 10ul)) 157 * DRM_MODE_INIT - Initialize display mode [all …]
|
/linux/Documentation/sound/hd-audio/ |
H A D | models.rst | 2 HD-Audio Codec-Specific Models 8 3-jack in back and a headphone out 9 3stack-digout 10 3-jack in back, a HP out and a SPDIF out 12 5-jack in back, 2-jack in front 13 5stack-digout 14 5-jack in back, 2-jack in front, a SPDIF out 16 6-jack in back, 2-jack in front 17 6stack-digout 18 6-jack with a SPDIF out [all …]
|
/linux/drivers/media/i2c/ |
H A D | mt9v011.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mt9v011 -Micron 1/4-Inch VGA Digital Image Sensor 13 #include <media/v4l2-device.h> 14 #include <media/v4l2-ctrls.h> 23 MODULE_PARM_DESC(debug, "Debug level (0-2)"); 79 msleep(10); in mt9v011_read() 180 exposure = core->exposure; in set_balance() 182 green_gain = calc_mt9v011_gain(core->global_gain); in set_balance() 184 bal = core->global_gain; in set_balance() 185 bal += (core->blue_bal * core->global_gain / (1 << 7)); in set_balance() [all …]
|