| /linux/Documentation/devicetree/bindings/i2c/ |
| H A D | hisilicon,ascend910-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/hisilicon,ascend910-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: HiSilicon common I2C controller 10 - Yicong Yang <yangyicong@hisilicon.com> 13 The HiSilicon common I2C controller can be used for many different 17 - $ref: /schemas/i2c/i2c-controller.yaml# 21 const: hisilicon,ascend910-i2c 32 clock-frequency: [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | ak4619.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ak4619.c -- Asahi Kasei ALSA SoC Audio driver 15 #include <linux/i2c.h> 35 #define LADC1 0x06 /* ADC1 Lch Digital Volume */ 36 #define RADC1 0x07 /* ADC1 Rch Digital Volume */ 37 #define LADC2 0x08 /* ADC2 Lch Digital Volume */ 38 #define RADC2 0x09 /* ADC2 Rch Digital Volum 870 ak4619_i2c_probe(struct i2c_client * i2c) ak4619_i2c_probe() argument [all...] |
| H A D | max9867.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright 2013-2015 Maxim Integrated Products 6 // Copyright 2018 Ladislav Michl <ladis@linux-mips.org> 11 #include <linux/i2c.h> 42 "Butterworth/8-24" 55 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max9867_adc_dac_event() 71 max9867->adc_dac_active |= BIT(adc_dac); in max9867_adc_dac_event() 73 max9867->adc_dac_activ in max9867_adc_dac_event() 650 max9867_i2c_probe(struct i2c_client * i2c) max9867_i2c_probe() argument [all...] |
| H A D | ak4458.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/i2c.h> 20 #include <sound/soc-dapm.h> 84 * from -127 to 0 dB in 0.5 dB steps (mute instead of -127.5 dB) 86 static DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 1); 100 * SSLOW, SD, SLOW bits Digital Filter Settin 728 ak4458_i2c_probe(struct i2c_client * i2c) ak4458_i2c_probe() argument 783 ak4458_i2c_remove(struct i2c_client * i2c) ak4458_i2c_remove() argument [all...] |
| H A D | tlv320adcx140.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ 10 #include <linux/i2c.h> 40 "ti,gpo-config-1", 41 "ti,gpo-config-2", 42 "ti,gpo-confi 1146 adcx140_i2c_probe(struct i2c_client * i2c) adcx140_i2c_probe() argument [all...] |
| H A D | ml26124.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/i2c.h> 22 #define DVOL_CTL_DVMUTE_ON BIT(4) /* Digital volume MUTE On */ 23 #define DVOL_CTL_DVMUTE_OFF 0 /* Digital volume MUTE Off */ 53 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7150, 50, 0); 55 static const DECLARE_TLV_DB_SCALE(alclvl, -2250, 150, 0); 56 static const DECLARE_TLV_DB_SCALE(mingain, -120 552 ml26124_i2c_probe(struct i2c_client * i2c) ml26124_i2c_probe() argument [all...] |
| H A D | wm8940.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8940.c -- WM8940 ALSA Soc Audio driver 12 * Notch filter control 19 * Digital Sidetone not supported 27 #include <linux/i2c.h> 120 { 0x10, 0x0000 }, /* Notch Filter 829 wm8940_i2c_probe(struct i2c_client * i2c) wm8940_i2c_probe() argument [all...] |
| H A D | rt5660.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5660.c -- RT5660 ALSA SoC audio codec driver 14 #include <linux/i2c.h> 24 #include <sound/soc-dapm.h> 296 static const DECLARE_TLV_DB_SCALE(rt5660_out_vol_tlv, -4650, 150, 0); 297 static const DECLARE_TLV_DB_SCALE(rt5660_dac_vol_tlv, -652 1263 rt5660_i2c_probe(struct i2c_client * i2c) rt5660_i2c_probe() argument [all...] |
| /linux/drivers/media/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 26 bool "Filter media drivers" 36 If not selected, all non-optional media core functionality 41 bool "Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends)" 43 select I2C 47 By default, a media driver auto-selects all possible ancillary 65 # Multimedia support - automatically enable V4L2 and DVB core 84 hybrid analog/digital TV chipset. 87 support both analog and digital TV. Disabling this option 92 prompt "Digital TV" if MEDIA_SUPPORT_FILTER [all …]
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | at91-sama5d2_xplained.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d2_xplained.dts - Device Tree file for SAMA5D2 Xplained board 8 /dts-v1/; 10 #include "sama5d2-pinfunc.h" 11 #include <dt-bindings/mfd/atmel-flexcom.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/regulator/active-semi,8945a-regulator.h> 18 compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5"; 28 stdout-path = "serial0:115200n8"; [all …]
|
| H A D | at91-sama5d27_som1_ek.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d27_som1_ek.dts - Device Tree file for SAMA5D27-SOM1-EK board 10 /dts-v1/; 11 #include "at91-sama5d27_som1.dtsi" 12 #include <dt-bindings/mfd/atmel-flexcom.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 18 …compatible = "atmel,sama5d27-som1-ek", "atmel,sama5d27-som1", "atmel,sama5d27", "atmel,sama5d2", "… 29 stdout-path = "serial0:115200n8"; 34 atmel,vbus-gpio = <&pioA PIN_PD20 GPIO_ACTIVE_HIGH>; [all …]
|
| H A D | at91-sama7g5ek.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama7g5ek.dts - Device Tree file for SAMA7G5-EK board 11 /dts-v1/; 12 #include "sama7g5-pinfunc.h" 14 #include <dt-bindings/mfd/atmel-flexcom.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/pinctrl/at91.h> 17 #include <dt-bindings/sound/microchip,pdmc.h> 20 model = "Microchip SAMA7G5-EK"; 25 stdout-path = "serial0:115200n8"; [all …]
|
| H A D | lan966x-pcb8309.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * lan966x_pcb8309.dts - Device Tree file for PCB8309 5 /dts-v1/; 7 #include "dt-bindings/phy/phy-lan966x-serdes.h" 10 model = "Microchip EVB - LAN9662"; 11 compatible = "microchip,lan9662-pcb8309", "microchip,lan9662", "microchip,lan966"; 20 stdout-path = "serial0:115200n8"; 23 gpio-restart { 24 compatible = "gpio-restart"; 29 i2c-mux { [all …]
|
| H A D | at91-sam9x60_curiosity.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sam9x60_curiosity.dts - Device Tree file for Microchip SAM9X60 Curiosity board 9 /dts-v1/; 11 #include <dt-bindings/input/input.h> 15 compatible = "microchip,sam9x60-curiosity", "microchip,sam9x60", "atmel,at91sam9"; 24 stdout-path = "serial0:115200n8"; 33 clock-frequency = <32768>; 37 clock-frequency = <24000000>; 41 gpio-keys { 42 compatible = "gpio-keys"; [all …]
|
| H A D | at91-sama5d2_icp.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d2_icp.dts - Device Tree file for SAMA5D2-ICP board 11 /dts-v1/; 13 #include "sama5d2-pinfunc.h" 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/mfd/atmel-flexcom.h> 19 model = "Microchip SAMA5D2-ICP"; 20 compatible = "microchip,sama5d2-icp", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5"; 32 stdout-path = "serial0:115200n8"; [all …]
|
| H A D | at91-sam9x60ek.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sam9x60ek.dts - Device Tree file for Microchip SAM9X60-EK board 9 /dts-v1/; 11 #include <dt-bindings/input/input.h> 14 model = "Microchip SAM9X60-EK"; 24 stdout-path = "serial0:115200n8"; 29 clock-frequency = <32768>; 33 clock-frequency = <24000000>; 37 gpio-keys { 38 compatible = "gpio-keys"; [all …]
|
| H A D | at91-sama7d65_curiosity.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama7d65_curiosity.dts - Device Tree file for SAMA7D65 Curiosity board 10 /dts-v1/; 11 #include "sama7d65-pinfunc.h" 13 #include <dt-bindings/mfd/atmel-flexcom.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/leds/common.h> 16 #include <dt-bindings/pinctrl/at91.h> 20 compatible = "microchip,sama7d65-curiosity", "microchip,sama7d65", 28 stdout-path = "serial0:115200n8"; [all …]
|
| /linux/Documentation/devicetree/bindings/iio/gyroscope/ |
| H A D | invensense,itg3200.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Invensense ITG-3200 Gyroscope 10 - Jonathan Cameron <jic23@kernel.org> 13 Triple-axis, digital output gyroscope with a three 16-bit analog-to-digital 14 converters (ADCs) for digitizing the gyro outputs, a user-selectable internal 15 low-pass filter bandwidth, and a Fast-Mode I2C. 24 vdd-supply: true 26 vlogic-supply: true [all …]
|
| /linux/drivers/iio/gyro/ |
| H A D | itg3200_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * itg3200_core.c -- support InvenSense ITG3200 4 * Digital 3-Axis Gyroscope driver 11 * - Support digital low pass filter 12 * - Support power management 17 #include <linux/i2c.h> 37 return i2c_smbus_write_byte_data(st->i2c, 0x80 | reg_address, val); in itg3200_write_reg_8() 46 ret = i2c_smbus_read_byte_data(st->i2c, reg_address); in itg3200_read_reg_8() 57 struct i2c_client *client = st->i2c; in itg3200_read_reg_s16() 63 .addr = client->addr, in itg3200_read_reg_s16() [all …]
|
| H A D | mpu3050.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include <linux/i2c.h> 9 * enum mpu3050_fullscale - indicates the full range of the sensor in deg/sec 19 * enum mpu3050_lpf - indicates the low pass filter width 42 * struct mpu3050 - instance state container for the device 50 * @lpf: digital low pass filter setting for the device 52 * @calibration: the three signed 16-bit calibration settings that 55 * @trig: trigger for the MPU-3050 interrupt, if present 64 * @i2cmux: an I2C mux reflecting the fact that this sensor is a hub with 65 * a pass-through I2C interface coming out of it: this device needs to be
|
| /linux/include/linux/iio/gyro/ |
| H A D | itg3200.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * itg3200.h -- support InvenSense ITG3200 4 * Digital 3-Axis Gyroscope driver 16 /* Register with I2C address (34h) */ 24 /* Digital low pass filter settings */ 59 /* Determine the status of ITG-3200 interrupts */ 61 /* Status of 'device is ready'-interrupt */ 63 /* Status of 'data is available'-interrupt */ 79 * power-up-default settings */ 97 * struct itg3200 - device instance specific data [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 menu "Analog to digital converters" 23 called 88pm886-gpadc. 26 bool "ST-Ericsson AB8500 GPADC driver" 31 (General Purpose Analog to Digital Converter) driver used to monitor 51 SPI analog to digital converters (ADC). If intended to use with 68 SPI analog to digital converters (ADC). 80 high speed, low noise, low distortion, 20-bit, Easy Drive, 81 successive approximation register (SAR) analog-to-digital 96 Say yes here to build support for Analog Devices AD4130-8 SPI analog [all …]
|
| /linux/drivers/media/tuners/ |
| H A D | xc4000.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 18 /* if non-zero, power management is enabled by default */ 20 /* value to be written to XREG_AMPLITUDE in DVB-T mode (0: no write) */ 22 /* if non-zero, register 0x0E is set to filter analog TV video output */ 24 /* IF for DVB-T */ 31 /* For each bridge framework, when it attaches either analog or digital, 41 struct i2c_adapter *i2c, 45 struct i2c_adapter *i2c, in xc4000_attach() argument
|
| H A D | tda18271.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 tda18271.h - header for the Philips / NXP TDA18271 silicon tuner 12 #include <linux/i2c.h> 84 /* use i2c gate provided by analog or digital demod */ 90 /* some i2c providers can't write all 39 registers at once */ 93 /* force rf tracking filter calibration on startup */ 114 struct i2c_adapter *i2c, 119 struct i2c_adapter *i2c, in tda18271_attach() argument
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-at91-master.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * i2c Support for Atmel's AT91 Two-Wire Interface (TWI) 18 #include <linux/dma-mapping.h> 22 #include <linux/i2c.h> 31 #include "i2c-at91.h" 35 struct at91_twi_pdata *pdata = dev->pdata; in at91_init_twi_bus_master() 39 if (dev->fifo_size) in at91_init_twi_bus_master() 43 at91_twi_write(dev, AT91_TWI_CWGR, dev->twi_cwgr_reg); in at91_init_twi_bus_master() 45 /* enable digital filter */ in at91_init_twi_bus_master() 46 if (pdata->has_dig_filtr && dev->enable_dig_filt) in at91_init_twi_bus_master() [all …]
|