| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-iio-thermocouple | 3 Contact: linux-iio@vger.kernel.org 14 Contact: linux-iio@vger.kernel.org 16 Open-circuit fault. The detection of open-circuit faults,
|
| H A D | sysfs-class-led-flash | 55 Flash faults are re-read after strobing the flash. Possible 58 * led-over-voltage 61 * flash-timeout-exceeded 65 * controller-over-temperature 68 * controller-short-circuit 69 the short circuit protection 71 * led-power-supply-over-current 75 * indicator-led-fault 77 a short or open circuit condition on the indicator LED 78 * led-under-voltage [all …]
|
| /linux/Documentation/devicetree/bindings/power/supply/ |
| H A D | battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 In smart batteries, these are typically stored in non-volatile memory 16 no appropriate non-volatile memory, or it is unprogrammed/incorrect. 27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle. 28 The phandle's property should be named "monitored-battery". 32 const: simple-battery 34 device-chemistry: [all …]
|
| /linux/Documentation/devicetree/bindings/gpio/ |
| H A D | gpio-delay.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/gpio-delay.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexander Stein <linux@ew.tq-group.com> 14 is delayed by some external setup, e.g. RC circuit. 16 +----------+ +-----------+ 23 | [IOx|-------| |--+-----|-----+ | 26 +----------+ --- C +-----------+ 27 --- [all …]
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | cirrus,madera.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 30 Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt 33 pin-settings: 40 '-pins$': 43 - $ref: pincfg-node.yaml# 44 - $ref: pinmux-node.yaml# 63 dmic6, io, dsp-gpio, irq1, irq2, fll1-clk, [all …]
|
| /linux/drivers/mfd/ |
| H A D | ti-lmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/mfd/ti-lmu.h> 17 #include <linux/mfd/ti-lmu-register.h> 30 if (lmu->en_gpio) in ti_lmu_enable_hw() 31 gpiod_set_value(lmu->en_gpio, 1); in ti_lmu_enable_hw() 36 /* LM3631 has additional power up sequence - enable LCD_EN bit. */ in ti_lmu_enable_hw() 38 return regmap_update_bits(lmu->regmap, LM3631_REG_DEVCTRL, in ti_lmu_enable_hw() 49 if (lmu->en_gpio) in ti_lmu_disable_hw() 50 gpiod_set_value(lmu->en_gpio, 0); in ti_lmu_disable_hw() 55 .name = "lm363x-regulator", \ [all …]
|
| /linux/Documentation/devicetree/bindings/iio/addac/ |
| H A D | adi,ad74115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 13 The AD74115H is a single-channel software configurable input/output 17 chip solution with an SPI interface. The device features a 16-bit ADC and a 18 14-bit DAC. 25 - adi,ad74115h 30 spi-max-frequency: 33 spi-cpol: true [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | cirrus,cs42l43.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 21 - $ref: dai-common.yaml# 26 - cirrus,cs42l43 31 vdd-p-supply: 35 vdd-a-supply: 39 vdd-d-supply: 43 vdd-io-supply: [all …]
|
| /linux/Documentation/devicetree/bindings/watchdog/ |
| H A D | linux,wdt-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/linux,wdt-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO-controlled Watchdog 10 - Guenter Roeck <linux@roeck-us.net> 11 - Robert Marko <robert.marko@sartura.hr> 15 const: linux,wdt-gpio 24 - description: 25 Either a high-to-low or a low-to-high transition clears the WDT counter. [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | ext-ctrls-flash.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _flash-controls: 17 .. _flash-controls-use-cases: 24 ------------------------------------------ 35 ---------------------------------------- 37 The synchronised LED flash is pre-programmed by the host (power and 46 ------------------ 52 .. _flash-control-id: 55 ----------------- 61 Defines the mode of the flash LED, the high-power white LED attached [all …]
|
| H A D | vidioc-enuminput.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_ENUMINPUT - Enumerate video inputs 26 File descriptor returned by :c:func:`open()`. 45 .. flat-table:: struct v4l2_input 46 :header-rows: 0 47 :stub-columns: 0 50 * - __u32 51 - ``index`` 52 - Identifies the input, set by the application. 53 * - __u8 [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | da9052_tsi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 30 da9052_reg_update(tsi->da9052, DA9052_TSI_CONT_A_REG, 1 << 0, on); in da9052_ts_adc_toggle() 31 tsi->adc_on = on; in da9052_ts_adc_toggle() 38 if (!tsi->stopped) { in da9052_ts_pendwn_irq() 40 da9052_disable_irq_nosync(tsi->da9052, DA9052_IRQ_PENDOWN); in da9052_ts_pendwn_irq() 41 da9052_enable_irq(tsi->da9052, DA9052_IRQ_TSIREADY); in da9052_ts_pendwn_irq() 45 schedule_delayed_work(&tsi->ts_pen_work, HZ / 50); in da9052_ts_pendwn_irq() 53 struct input_dev *input = tsi->dev; in da9052_ts_read() 58 ret = da9052_reg_read(tsi->da9052, DA9052_TSI_X_MSB_REG); in da9052_ts_read() 64 ret = da9052_reg_read(tsi->da9052, DA9052_TSI_Y_MSB_REG); in da9052_ts_read() [all …]
|
| /linux/Documentation/driver-api/serial/ |
| H A D | serial-iso7816.rst | 8 ISO/IEC7816 is a series of standards specifying integrated circuit cards (ICC) 11 2. Hardware-related considerations 14 Some CPUs/UARTs (e.g., Microchip AT91) contain a built-in mode capable of 19 available at user-level to allow switching from one mode to the other, and 35 4. Usage from user-level 38 From user-level, ISO7816 configuration can be get/set using the previous 46 /* Open your specific device (e.g., /dev/mydevice): */ 47 int fd = open ("/dev/mydevice", O_RDWR);
|
| /linux/Documentation/devicetree/bindings/leds/ |
| H A D | leds-aw2013.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-aw2013.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: AWINIC AW2013 3-channel LED Driver 10 - Nikita Travkin <nikitos.tr@gmail.com> 13 The AW2013 is a 3-channel LED driver with I2C interface. It can control 25 description: Open-drain, low active interrupt pin "INTN". 28 vcc-supply: 31 vio-supply: [all …]
|
| /linux/drivers/iio/temperature/ |
| H A D | max31856.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2018-2019 Rockwell Collins 20 #include <dt-bindings/iio/temperature/thermocouple.h> 90 return spi_write_then_read(data->spi, ®, 1, val, read_size); in max31856_read() 101 return spi_write(data->spi, buf, 2); in max31856_write() 128 reg_cr1_val |= data->thermocouple_type; in max31856_init() 131 reg_cr1_val |= data->averaging << MAX31856_AVERAGING_SHIFT; in max31856_init() 138 * Enable Open circuit fault detection in max31856_init() 149 if (data->filter_50hz) in max31856_init() 164 switch (chan->channel2) { in max31856_thermocouple_read() [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | rohm,bd71828-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71828-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ROHM BD71828 Power Management Integrated Circuit 10 - Matti Vaittinen <mazziesaccount@gmail.com> 13 BD71828GW is a single-chip power management IC for battery-powered portable 15 single-cell linear charger. Also included is a Coulomb counter, a real-time 21 - const: rohm,bd71828 23 - items: [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | mt6357.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/dma-mapping.h> 19 regmap_write(priv->regmap, MT6357_GPIO_MODE2_CLR, MT6357_GPIO_MODE2_CLEAR_ALL); in set_playback_gpio() 22 regmap_write(priv->regmap, MT6357_GPIO_MODE2_SET, in set_playback_gpio() 32 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_playback_gpio() 46 regmap_write(priv->regmap, MT6357_GPIO_MODE3_CLR, MT6357_GPIO_MODE3_CLEAR_ALL); in set_capture_gpio() 49 regmap_write(priv->regmap, MT6357_GPIO_MODE3_SET, in set_capture_gpio() 61 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_capture_gpio() 79 stage = up ? i : MT6357_HPLOUT_STG_CTRL_VAUDP15_MAX - i; in hp_main_output_ramp() 80 regmap_update_bits(priv->regmap, MT6357_AUDDEC_ANA_CON1, in hp_main_output_ramp() [all …]
|
| H A D | cs42l43-jack.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (C) 2022-2023 Cirrus Logic, Inc. and 15 #include <linux/mfd/cs42l43-regs.h> 26 #include <sound/soc-component.h> 27 #include <sound/soc-jack.h> 50 struct cs42l43 *cs42l43 = priv->core; in cs42l43_find_index() 53 ret = device_property_read_u32(cs42l43->dev, prop, &defval); in cs42l43_find_index() 54 if (ret != -EINVA in cs42l43_find_index() [all...] |
| /linux/Documentation/hwmon/ |
| H A D | adm9240.rst | 10 Addresses scanned: I2C 0x2c - 0x2f 20 Addresses scanned: I2C 0x2c - 0x2f 24 http://pdfserv.maxim-ic.com/en/ds/DS1780.pdf 30 Addresses scanned: I2C 0x2c - 0x2f 37 - Frodo Looijaard <frodol@dds.nl>, 38 - Philip Edelbrock <phil@netroedge.com>, 39 - Michiel Rook <michiel@grendelproject.nl>, 40 - Grant Coady <gcoady.lk@gmail.com> with guidance 44 --------- 46 chip MSB 5-bit address. Each chip reports a unique manufacturer [all …]
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | gpio.c | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 44 * ath5k_hw_set_ledstate() - Set led state 60 if (ah->ah_version != AR5K_AR5210) in ath5k_hw_set_ledstate() 94 if (ah->ah_version != AR5K_AR5210) in ath5k_hw_set_ledstate() 101 * ath5k_hw_set_gpio_input() - Set GPIO inputs 109 return -EINVAL; in ath5k_hw_set_gpio_input() 119 * ath5k_hw_set_gpio_output() - Set GPIO outputs 127 return -EINVAL; in ath5k_hw_set_gpio_output() 137 * ath5k_hw_get_gpio() - Get GPIO state [all …]
|
| /linux/Documentation/i2c/busses/ |
| H A D | i2c-parport.rst | 2 Kernel driver i2c-parport 7 This is a unified driver for several i2c-over-parallel-port adapters, 11 * i2c-philips-par 12 * i2c-elv 13 * i2c-velleman 14 * video/i2c-parport 25 * (type=6) Barco LPT->DVI (K5800236) adapter 27 * (type=8) VCT-jig 42 ------------------------- 44 If you want to build you own i2c-over-parallel-port adapter, here is [all …]
|
| /linux/drivers/watchdog/ |
| H A D | smsc37b787_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * any of this software. This material is provided "AS-IS" in 12 * (C) Copyright 2003-2006 Sven Anders <anders@anduras.de> 15 * 2003 - Created version 1.0 for Linux 2.4.x. 16 * 2006 - Ported to Linux 2.6, added nowayout and MAGICCLOSE 21 * A Watchdog Timer (WDT) is a hardware circuit that can 38 * For an example userspace keep-alive daemon, see: 86 /* -- Low level function ----------------------------------------*/ 124 /* -- Medium level functions ------------------------------------*/ 128 /* -- General Purpose I/O Bit 1.2 -- in gpio_bit12() [all …]
|
| /linux/Documentation/power/ |
| H A D | power_supply_class.rst | 8 properties to user-space. 60 +--------------------------------------------------------------------------+ 61 | **Charge/Energy/Capacity - how to not confuse** | 62 +--------------------------------------------------------------------------+ 66 | - `CHARGE_*` | 68 | - `ENERGY_*` | 70 | - `CAPACITY` | 72 +--------------------------------------------------------------------------+ 102 open circuit voltage of the battery. 142 relative, time-based measurements. [all …]
|
| /linux/drivers/net/ethernet/i825xx/ |
| H A D | sun3_82586.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 8 * copyrights (c) 1994 by Michael Hipp (hippm@informatik.uni-tuebingen.de) 11 * crynwr-packet-driver by Russ Nelson 12 * Garret A. Wollman's i82586-driver for BSD 53 char *iscp; /* pointer to the iscp-block */ 65 char *scb_base; /* base-address of all 16-bit offsets */ 79 unsigned short crc_errs; /* CRC-Error counter */ 89 #define RUC_NOP 0x0000 /* NOP-command */ 96 #define CUC_NOP 0x00 /* NOP-command */ 136 unsigned short rbd_offset; /* pointeroffset to RBD-buffer */ [all …]
|
| /linux/Documentation/sound/designs/ |
| H A D | compress-offload.rst | 2 ALSA Compress-Offload API 5 Pierre-Louis.Bossart <pierre-louis.bossart@linux.intel.com> 18 in system-on-chip designs, and DSPs are also integrated in audio 20 reduction of power consumption compared to host-based 27 provide a control and data-streaming interface for audio DSPs. 29 The design of this API was inspired by the 2-year experience with the 39 - separation between byte counts and time. Compressed formats may have 41 may vary from frame-to-frame. As a result, it is not possible to 44 reliable audio-video synchronization, which requires precise 47 - Handling of multiple formats. PCM data only requires a specification [all …]
|