| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/ |
| D | i2c.txt | 1 Generic device tree bindings for I2C busses 4 This document describes generic bindings which can be used to describe I2C 8 ----------------------------- 10 - #address-cells - should be <1>. Read more about addresses below. 11 - #size-cells - should be <0>. 12 - compatible - name of I2C bus controller 17 The cells properties above define that an address of children of an I2C bus 21 ----------------------------- 26 - clock-frequency 29 - i2c-bus [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/ |
| D | i2c.txt | 1 Generic device tree bindings for I2C busses 4 This document describes generic bindings which can be used to describe I2C 8 ----------------------------- 10 - #address-cells - should be <1>. Read more about addresses below. 11 - #size-cells - should be <0>. 12 - compatible - name of I2C bus controller 17 The cells properties above define that an address of children of an I2C bus 21 ----------------------------- 26 - clock-frequency 29 - i2c-bus [all …]
|
| /kernel/linux/linux-6.6/drivers/media/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 26 bool "Filter media drivers" 37 If not selected, all non-optional media core functionality 42 bool "Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends)" 44 select I2C 48 By default, a media driver auto-selects all possible ancillary 66 # Multimedia support - automatically enable V4L2 and DVB core 85 hybrid analog/digital TV chipset. 88 support both analog and digital TV. Disabling this option 93 prompt "Digital TV" if MEDIA_SUPPORT_FILTER [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/microchip/ |
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| 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 …]
|
| 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 …]
|
| 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>; 38 compatible = "simple-bus"; 39 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| 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> 10 #include <linux/i2c.h> 40 "Butterworth/8-24" 53 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max9867_adc_dac_event() 57 if (!strcmp(w->name, "ADCL")) in max9867_adc_dac_event() 59 else if (!strcmp(w->name, "ADCR")) in max9867_adc_dac_event() 61 else if (!strcmp(w->name, "DACL")) in max9867_adc_dac_event() 63 else if (!strcmp(w->name, "DACR")) in max9867_adc_dac_event() [all …]
|
| D | da732x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * da732x.c --- Dialog DA732X ALSA SoC Audio Driver 15 #include <linux/i2c.h> 24 #include <sound/soc-dapm.h> 41 * da732x register cache - default settings 189 return -EINVAL; in da732x_get_input_div() 254 /* High Pass Filter */ 332 struct soc_enum *enum_ctrl = (struct soc_enum *)kcontrol->private_value; in da732x_hpf_set() 333 unsigned int reg = enum_ctrl->reg; in da732x_hpf_set() 334 unsigned int sel = ucontrol->value.enumerated.item[0]; in da732x_hpf_set() [all …]
|
| 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> 41 "ti,gpo-config-1", 42 "ti,gpo-config-2", 43 "ti,gpo-config-3", 44 "ti,gpo-config-4", 163 /* Digital Volume control. From -100 to 27 dB in 0.5 dB steps */ 164 static DECLARE_TLV_DB_SCALE(dig_vol_tlv, -10050, 50, 0); 169 /* DRE Level. From -12 dB to -66 dB in 1 dB steps */ [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| 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() 59 if (!strcmp(w->name, "ADCL")) in max9867_adc_dac_event() 61 else if (!strcmp(w->name, "ADCR")) in max9867_adc_dac_event() 63 else if (!strcmp(w->name, "DACL")) in max9867_adc_dac_event() 65 else if (!strcmp(w->name, "DACR")) in max9867_adc_dac_event() [all …]
|
| D | ak4375.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #include <linux/i2c.h> 23 #define PMCP2 BIT(1) /* Charge Pump 2: Class-G HP Amp */ 117 * Output Digital volume control: 118 * from -12.5 to 3 dB in 0.5 dB steps (mute instead of -12.5 dB) 120 static DECLARE_TLV_DB_SCALE(dac_tlv, -1250, 50, 0); 123 * HP-Amp Analog volume control: 124 * from -4.2 to 6 dB in 2 dB steps (mute instead of -4.2 dB) 126 static DECLARE_TLV_DB_SCALE(hpg_tlv, -4200, 20, 0); 132 "+-VDD Operation", [all …]
|
| D | da732x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * da732x.c --- Dialog DA732X ALSA SoC Audio Driver 15 #include <linux/i2c.h> 24 #include <sound/soc-dapm.h> 41 * da732x register cache - default settings 184 return -EINVAL; in da732x_get_input_div() 249 /* High Pass Filter */ 327 struct soc_enum *enum_ctrl = (struct soc_enum *)kcontrol->private_value; in da732x_hpf_set() 328 unsigned int reg = enum_ctrl->reg; in da732x_hpf_set() 329 unsigned int sel = ucontrol->value.enumerated.item[0]; in da732x_hpf_set() [all …]
|
| 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> 41 "ti,gpo-config-1", 42 "ti,gpo-config-2", 43 "ti,gpo-config-3", 44 "ti,gpo-config-4", 163 /* Digital Volume control. From -100 to 27 dB in 0.5 dB steps */ 164 static DECLARE_TLV_DB_SCALE(dig_vol_tlv, -10050, 50, 0); 169 /* DRE Level. From -12 dB to -66 dB in 1 dB steps */ [all …]
|
| D | ak4458.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/i2c.h> 21 #include <sound/soc-dapm.h> 86 * from -127 to 0 dB in 0.5 dB steps (mute instead of -127.5 dB) 88 static DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 1); 102 * SSLOW, SD, SLOW bits Digital Filter Setting 103 * 0, 0, 0 : Sharp Roll-Off Filter 104 * 0, 0, 1 : Slow Roll-Off Filter 105 * 0, 1, 0 : Short delay Sharp Roll-Off Filter 106 * 0, 1, 1 : Short delay Slow Roll-Off Filter [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/gyro/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/iio/gyro/ |
| 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> 36 return i2c_smbus_write_byte_data(st->i2c, 0x80 | reg_address, val); in itg3200_write_reg_8() 45 ret = i2c_smbus_read_byte_data(st->i2c, reg_address); in itg3200_read_reg_8() 56 struct i2c_client *client = st->i2c; in itg3200_read_reg_s16() 62 .addr = client->addr, in itg3200_read_reg_s16() [all …]
|