/openbmc/linux/drivers/iio/accel/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer" 15 Say Y here to build support for Analog Devices adis16201 dual-axis 22 tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer" 27 Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer 37 tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer I2C Driver" 43 ADXL313 3-axis digital accelerometer. 50 tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer SPI Driver" 56 ADXL313 3-axis digital accelerometer. 66 tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer I2C Driver" [all …]
|
H A D | adis16209.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer 27 /* Output, +/- 90 degrees X-axis inclination */ 30 /* Output, +/-180 vertical rotational position */ 60 /* Data-ready polarity: 1 = active high, 0 = active low */ 114 return -EINVAL; in adis16209_write_raw() 116 switch (chan->type) { in adis16209_write_raw() 122 return -EINVAL; in adis16209_write_raw() 125 return adis_write_reg_16(st, adis16209_addresses[chan->scan_index][0], in adis16209_write_raw() 145 switch (chan->type) { in adis16209_read_raw() [all …]
|
H A D | adis16201.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer 55 /* Data-ready enable: 1 = enabled, 0 = disabled */ 57 /* Data-ready polarity: 1 = active high, 0 = active low */ 59 /* Data-ready line selection: 1 = DIO1, 0 = DIO0 */ 113 switch (chan->type) { in adis16201_read_raw() 115 if (chan->channel == 0) { in adis16201_read_raw() 126 *val = -470; in adis16201_read_raw() 143 return -EINVAL; in adis16201_read_raw() 150 * degree celcius is -470. in adis16201_read_raw() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/ |
H A D | trivial-devices.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/trivial-devices.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 27 spi-max-frequency: true 31 - enum: 33 - acbel,fsg032 34 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin 35 - ad,ad7414 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/gyroscope/ |
H A D | adi,adxrs290.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Analog Devices ADXRS290 Dual-Axis MEMS Gyroscope 11 - Nishant Malpani <nish.malpani25@gmail.com> 14 Bindings for the Analog Devices ADXRS290 dual-axis MEMS gyroscope device. 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ADXRS290.pdf 24 spi-max-frequency: 27 spi-cpol: true 29 spi-cpha: true [all …]
|
/openbmc/linux/drivers/iio/gyro/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 45 tristate "Analog Devices ADXRS290 Dual-Axis MEMS Gyroscope SPI driver" 74 Say yes here to build support for BOSCH BMG160 Tri-axis Gyro Sensor 97 Say yes here to build support for NXP FXAS21002C Tri-axis Gyro 136 inv-mpu3050-i2c. 139 tristate "STMicroelectronics gyroscopes 3-Axis Driver" 151 tristate "STMicroelectronics gyroscopes 3-Axis I2C Interface" 163 tristate "STMicroelectronics gyroscopes 3-Axis SPI Interface" 175 tristate "InvenSense ITG3200 Digital 3-Axis Gyroscope I2C driver" 180 3-axis gyroscope sensor.
|
/openbmc/linux/arch/arm/boot/dts/axis/ |
H A D | artpec6.dtsi | 2 * Device Tree Source for the Axis ARTPEC-6 SoC 4 * This file is dual-licensed: you can use it either under the terms 5 * of the GPL or the X11 license, at your option. Note that this dual 43 #include <dt-bindings/interrupt-controller/arm-gic.h> 44 #include <dt-bindings/dma/nbpfaxi.h> 45 #include <dt-bindings/clock/axis,artpec6-clkctrl.h> 48 #address-cells = <1>; 49 #size-cells = <1>; 50 compatible = "axis,artpec6"; 51 interrupt-parent = <&intc>; [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-xinmo.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * HID driver for Xin-Mo devices, currently only the Dual Arcade controller. 4 * Fixes the negative axis event values (the devices sends -2) to match the 5 * logical axis minimum of the HID report descriptor (the report announces 6 * -1). It is needed because hid-input discards out of bounds values. 7 * (This module is based on "hid-saitek" and "hid-lg".) 20 #include "hid-ids.h" 28 switch (usage->code) { in xinmo_event() 33 if (value < -1) { in xinmo_event() 34 input_event(field->hidinput->input, usage->type, in xinmo_event() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 22 most commonly used to refer to the USB-HID specification, but other 27 removed from the HID bus by the transport-layer drivers, such as 58 to work on raw hid events when they want to, and avoid using transport-specific 64 tristate "User-space I/O driver support for HID subsystem" 67 Say Y here if you want to provide HID I/O Drivers from user-space. 68 This allows to write I/O drivers in user-space and feed the data from 71 user-space device. 73 This driver cannot be used to parse HID-reports in user-space and write 74 special HID-drivers. You should use hidraw for that. [all …]
|
H A D | hid-multitouch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2010-2012 Stephane Chatty <chatty@enac.fr> 6 * Copyright (c) 2010-2013 Benjamin Tissoires <benjamin.tissoires@gmail.com> 7 * Copyright (c) 2010-2012 Ecole Nationale de l'Aviation Civile, France 8 * Copyright (c) 2012-2013 Red Hat, Inc 10 * This code is partly based on hid-egalax.c: 16 * This code is partly based on hid-3m-pct.c: 18 * Copyright (c) 2009-2010 Stephane Chatty <chatty@enac.fr> 27 * This driver is regularly tested thanks to the test suite in hid-tools[1]. 31 * [1] https://gitlab.freedesktop.org/libevdev/hid-tools [all …]
|
/openbmc/linux/arch/powerpc/sysdev/ge/ |
H A D | ge_pic.c | 78 * 3 RO AXIS Message FIFO A Interrupt Status 79 * 2 RO AXIS Message FIFO B Interrupt Status 80 * 1 RO AXIS Message FIFO C Interrupt Status 81 * 0 RO AXIS Message FIFO D Interrupt Status 87 * The dual lines are there to allow the chained interrupts to be easily 110 chip->irq_eoi(&desc->irq_data); in gef_pic_cascade() 228 * chip - check, returning the highest interrupt generated or return 0. 243 for (hwirq = GEF_PIC_NUM_IRQS - 1; hwirq > -1; hwirq--) { in gef_pic_get_irq()
|
/openbmc/linux/Documentation/devicetree/bindings/iio/accel/ |
H A D | adi,adis16201.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: ADIS16201 Dual Axis Inclinometer and similar 10 - Jonathan Cameron <Jonathan.Cameron@huawei.com> 21 - adi,adis16201 22 - adi,adis16209 30 vdd-supply: true 33 - compatible 34 - reg [all …]
|
/openbmc/linux/drivers/input/joystick/ |
H A D | db9.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 1999-2001 Vojtech Pavlik 112 { "Multisystem (0.8.0.2-dual) joystick", db9_multi_btn, 1, 2, 2, 1, 1 }, 113 { "Amiga CD-32 pad", db9_cd32_btn, 7, 1, 2, 1, 1 }, 115 { "Saturn dpp dual", db9_cd32_btn, 9, 12, 7, 0, 0 }, 265 case 0x16: /* multi controller (analog 4 axis) */ in db9_saturn_report() 268 case 0x15: /* mission stick (analog 3 axis) */ in db9_saturn_report() 272 case 0x13: /* racing controller (analog 1 axis) */ in db9_saturn_report() 276 case 0x02: /* digital pad (digital 2 axis + buttons) */ in db9_saturn_report() 277 input_report_abs(dev, db9_abs[0], !(data[j + 1] & 128) - !(data[j + 1] & 64)); in db9_saturn_report() [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am335x-icev2.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ 11 /dts-v1/; 16 model = "TI AM3359 ICE-V2"; 17 compatible = "ti,am3359-icev2", "ti,am33xx"; 25 stdout-path = &uart3; 29 compatible = "regulator-fixed"; 30 regulator-name = "vbat"; 31 regulator-min-microvolt = <5000000>; 32 regulator-max-microvolt = <5000000>; [all …]
|
/openbmc/linux/drivers/misc/echo/ |
H A D | echo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * SpanDSP - a series of DSP components for telephony 5 * echo.c - A line echo canceller. This code is being developed 30 especially for double talk - there were always cases where my DTD 50 on 4 real-world samples. 54 on the real-world samples. I have no idea why, perhaps a scaling 59 dot product) compared to the current sample-by-sample update. 66 Path Models", IEEE Transactions on communications, COM-25, 87 Thanks to Steve Underwood, Jean-Marc Valin, and Ramakrishnan 118 factor = clean >> -shift; in lms_adapt_bg() [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | da9121-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // DA9121 Single-channel dual-phase 10A buck converter 5 // Copyright (C) 2020 Axis Communications AB 7 // DA9130 Single-channel dual-phase 10A buck converter (Automotive) 8 // DA9217 Single-channel dual-phase 6A buck converter 9 // DA9122 Dual-channel single-phase 5A buck converter 10 // DA9131 Dual-channel single-phase 5A buck converter (Automotive) 11 // DA9220 Dual-channel single-phase 3A buck converter 12 // DA9132 Dual-channel single-phase 3A buck converter (Automotive) 30 #include "da9121-regulator.h" [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | rohm_bu21023.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ROHM BU21023/24 Dual touch support resistive touch screen driver 37 * BU21023GUL/BU21023MUV/BU21024FV-M registers map 270 * rohm_i2c_burst_read - execute combined I2C message for ROHM BU21023/24 285 struct i2c_adapter *adap = client->adapter; in rohm_i2c_burst_read() 289 msg[0].addr = client->addr; in rohm_i2c_burst_read() 294 msg[1].addr = client->addr; in rohm_i2c_burst_read() 303 ret = -EIO; in rohm_i2c_burst_read() 315 struct i2c_client *client = ts->client; in rohm_ts_manual_calibration() 316 struct device *dev = &client->dev; in rohm_ts_manual_calibration() [all …]
|
H A D | usbtouchscreen.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * - eGalax Touchkit 6 * includes eTurboTouch CT-410/510/700 7 * - 3M/Microtouch EX II series 8 * - ITM 9 * - PanJit TouchSet 10 * - eTurboTouch 11 * - Gunze AHL61 12 * - DMC TSC-10/25 13 * - IRTOUCHSYSTEMS/UNITOP [all …]
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | hil_kbd.c | 2 * Generic linux-input device driver for keyboard devices 30 * HP-HIL Technical Reference Manual. Hewlett Packard Product No. 45918A 47 MODULE_LICENSE("Dual BSD/GPL"); 108 idx = dev->idx4 / 4; in hil_dev_handle_command_response() 109 p = dev->data[idx - 1]; in hil_dev_handle_command_response() 113 buf = dev->idd; in hil_dev_handle_command_response() 117 buf = dev->rsc; in hil_dev_handle_command_response() 121 buf = dev->exd; in hil_dev_handle_command_response() 125 dev->rnm[HIL_PACKET_MAX_LENGTH] = 0; in hil_dev_handle_command_response() 126 buf = dev->rnm; in hil_dev_handle_command_response() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | azoteq,iqs7222.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d 29 irq-gpios: 32 Specifies the GPIO connected to the device's active-low RDY output. [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A D | phy.c | 2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com> 5 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org> 42 * Here we handle the low-level functions related to baseband 48 * - Channel setting/switching 50 * - Automatic Gain Control (AGC) calibration 52 * - Noise Floor calibration 54 * - I/Q imbalance calibration (QAM correction) 56 * - Calibration due to thermal changes (gain_F) [all …]
|
/openbmc/linux/include/drm/ |
H A D | drm_connector.h | 54 DRM_FORCE_ON_DIGITAL, /* for DVI-I use digital connector */ 58 * enum drm_connector_status - status for a &drm_connector 73 * nothing there. It is driver-dependent whether a connector with this 80 * flicker (like load-detection when the connector is in use), or when a 81 * hardware resource isn't available (like when load-detection needs a 91 * enum drm_connector_registration_state - userspace registration status for 124 * - An unregistered connector may only have its DPMS changed from 125 * On->Off. Once DPMS is changed to Off, it may not be switched back 127 * - Modesets are not allowed on unregistered connectors, unless they 131 * - Removing a CRTC from an unregistered connector is OK, but new [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | mv_xor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/dma-mapping.h> 21 #include <linux/platform_data/dma-mv_xor.h> 46 ((chan)->dmadev.dev) 52 struct mv_xor_desc *hw_desc = desc->hw_desc; in mv_desc_init() 54 hw_desc->status = XOR_DESC_DMA_OWNED; in mv_desc_init() 55 hw_desc->phy_next_desc = 0; in mv_desc_init() 56 /* Enable end-of-descriptor interrupts only for DMA_PREP_INTERRUPT */ in mv_desc_init() 57 hw_desc->desc_command = (flags & DMA_PREP_INTERRUPT) ? in mv_desc_init() 59 hw_desc->phy_dest_addr = addr; in mv_desc_init() [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | iqs7222.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 116 [IQS7222_REG_GRP_CYCLE] = "cycle-%d", 117 [IQS7222_REG_GRP_CHAN] = "channel-%d", 118 [IQS7222_REG_GRP_SLDR] = "slider-%d", 120 [IQS7222_REG_GRP_GPIO] = "gpio-%d", 150 .name = "event-prox", 155 .name = "event-touch", 162 { .name = "event-press", }, 164 .name = "event-tap", 171 .name = "event-swipe-pos", [all …]
|
/openbmc/linux/drivers/usb/serial/ |
H A D | cp210x.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2010-2021 Johan Hovold (johan@kernel.org) 10 * control thanks to Munir Nassar nassarmu@real-time.com 55 { USB_DEVICE(0x045B, 0x0053) }, /* Renesas RX610 RX-Stick */ 56 { USB_DEVICE(0x0471, 0x066A) }, /* AKTAKOM ACE-1001 cable */ 57 { USB_DEVICE(0x0489, 0xE000) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */ 58 { USB_DEVICE(0x0489, 0xE003) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */ 59 { USB_DEVICE(0x04BF, 0x1301) }, /* TDK Corporation NC0110013M - Network Controller */ 60 { USB_DEVICE(0x04BF, 0x1303) }, /* TDK Corporation MM0110113M - i3 Micro Module */ 63 { USB_DEVICE(0x08e6, 0x5501) }, /* Gemalto Prox-PU/CU contactless smartcard reader */ [all …]
|