/linux/sound/pci/hda/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "HD-Audio" 23 This option enables the HD-audio controller. Don't forget 27 will be called snd-hda-intel. 43 will be called snd-hda-tegra. 48 bool "Build hwdep interface for HD-audio driver" 51 Say Y here to build a hwdep interface for HD-audio driver. 52 This interface can be used for out-of-band communication 58 Say Y here to enable the HD-audio codec re-configuration feature. 60 codec setup, add extra verbs, and re-configure the codec dynamically. [all …]
|
/linux/Documentation/devicetree/bindings/i2c/ |
H A D | brcm,brcmstb-i2c.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/brcm,brcmstb-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kamal Dasu <kdasu.kdev@gmail.com> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 18 - brcm,bcm2711-hdmi-i2c 19 - brcm,brcmstb-i2c 20 - brcm,brcmper-i2c 25 - description: BSC register range [all …]
|
H A D | marvell,mv64xxx-i2c.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/marvell,mv64xxx-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Marvell MV64XXX I2C Controller 10 - Gregory CLEMENT <gregory.clement@bootlin.com> 15 - const: allwinner,sun4i-a10-i2c 16 - items: 17 - const: allwinner,sun7i-a20-i2c 18 - const: allwinner,sun4i-a10-i2c [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | sp2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * DVB-S2 CI card (cimax2) with following copyrights: 20 struct i2c_client *client = s->client; in sp2_read_i2c() 21 struct i2c_adapter *adap = client->adapter; in sp2_read_i2c() 24 .addr = client->addr, in sp2_read_i2c() 29 .addr = client->addr, in sp2_read_i2c() 39 dev_err(&client->dev, "i2c read error, reg = 0x%02x, status = %d\n", in sp2_read_i2c() 44 return -EIO; in sp2_read_i2c() 47 dev_dbg(&s->client->dev, "addr=0x%04x, reg = 0x%02x, data = %02x\n", in sp2_read_i2c() 48 client->addr, reg, buf[0]); in sp2_read_i2c() [all …]
|
H A D | dib3000mb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Frontend driver for mobile DVB-T demodulator DiBcom 3000M-B 6 * Copyright (C) 2004-5 Patrick Boettcher (patrick.boettcher@posteo.de) 15 * sources, on which this driver (and the dvb-dibusb) are based. 17 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information 36 #define DRIVER_DESC "DiBcom 3000M-B DVB-T demodulator" 41 MODULE_PARM_DESC(debug, "set debugging level (1=info,2=xfer,4=setfe,8=getfe (|-able))."); 56 { .addr = state->config.demod_address, .flags = 0, .buf = wb, .len = 2 }, in dib3000_read_reg() 57 { .addr = state->config.demod_address, .flags = I2C_M_RD, .buf = rb, .len = 2 }, in dib3000_read_reg() 60 if (i2c_transfer(state->i2c, msg, 2) != 2) in dib3000_read_reg() [all …]
|
H A D | stv6110.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 /* Max transfer size done by I2C transfer functions */ 26 struct i2c_adapter *i2c; member 43 return a - b; in abssub() 45 return b - a; in abssub() 50 kfree(fe->tuner_priv); in stv6110_release() 51 fe->tuner_priv = NULL; in stv6110_release() 57 struct stv6110_priv *priv = fe->tuner_priv; in stv6110_write_regs() 61 .addr = priv->i2c_address, in stv6110_write_regs() 71 "%s: i2c wr: len=%d is too big!\n", in stv6110_write_regs() [all …]
|
H A D | ascot2e.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Sony Ascot3E DVB-T/T2/C/C2 tuner driver 31 struct i2c_adapter *i2c; member 76 ASCOT2E_OFFSET(-8), ASCOT2E_OFFSET(-6), ASCOT2E_BW_6, 0x0B, 0x00 }, 78 ASCOT2E_OFFSET(-8), ASCOT2E_OFFSET(-6), ASCOT2E_BW_6, 0x0B, 0x00 }, 80 ASCOT2E_OFFSET(-6), ASCOT2E_OFFSET(-4), ASCOT2E_BW_7, 0x0B, 0x00 }, 82 ASCOT2E_OFFSET(-4), ASCOT2E_OFFSET(-2), ASCOT2E_BW_8, 0x0B, 0x00 }, 84 ASCOT2E_OFFSET(-10), ASCOT2E_OFFSET(-16), ASCOT2E_BW_1_7, 0x0B, 0x00 }, 86 ASCOT2E_OFFSET(-8), ASCOT2E_OFFSET(-6), ASCOT2E_BW_6, 0x0B, 0x00 }, 88 ASCOT2E_OFFSET(-8), ASCOT2E_OFFSET(-6), ASCOT2E_BW_6, 0x0B, 0x00 }, [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | ams,as3711.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> 13 AS3711 is an I2C PMIC from Austria MicroSystems with multiple DC/DC and LDO 15 two step-up DC/DC converters are defined. 26 Step-up converter configuration, to be used as a backlight source 31 const: ams,as3711-bl 33 su1-dev: 34 description: Framebuffer phandle for the first step-up converter [all …]
|
/linux/drivers/media/pci/cx23885/ |
H A D | cimax2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * CIMax2(R) SP2 driver in conjunction with NetUp Dual DVB-S2 CI card 16 /* Max transfer size done by I2C transfer functions */ 20 bits 31-16 21 +-----------+ 23 +-----------+ 25 +-------+-------+-------+-------+-------+-------+-------+-------+ 27 +-------+-------+-------+-------+-------+-------+-------+-------+ 29 +-------+-------+-------+-------+-------+-------+-------+-------+ 31 +-------+-------+-------+-------+-------+-------+-------+-------+ [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 --------- 45 The I2C addresses listed above assume BIOS has not changed the [all …]
|
H A D | max31760.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 19 ----------- 23 temperature of a discrete diode-connected transistor, such as a 2N3906, 27 I2C-compatible interface. Fan speed is controlled based on the temperature 28 reading as an index to a 48-byte lookup table (LUT) containing 29 user-programmed PWM values. The flexible LUT-based architecture enables 35 remote high-temperature threshold has been exceeded. 37 Temperature measurement range: from -55°C to 125°C 41 Please refer how to instantiate this driver: Documentation/i2c/instantiating-devices.rst 43 Lookup table for auto fan control [all …]
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | adi,ltc4282.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: Analog Devices LTC4282 I2C High Current Hot Swap Controller over I2C 10 - Nuno Sa <nuno.sa@analog.com> 13 Analog Devices LTC4282 I2C High Current Hot Swap Controller over I2C. 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4282.pdf 20 - adi,ltc4282 25 vdd-supply: true 30 '#clock-cells': [all …]
|
/linux/drivers/media/tuners/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 # Analog TV tuners, auto-loaded via tuner.ko 5 …A_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT) && I2C 18 comment "Tuner drivers auto-selected by 'Autoselect ancillary drivers'" 28 depends on MEDIA_SUPPORT && I2C && VIDEO_DEV 36 depends on MEDIA_SUPPORT && I2C 43 depends on MEDIA_SUPPORT && I2C 50 depends on MEDIA_SUPPORT && I2C 57 depends on MEDIA_SUPPORT && I2C && VIDEO_DEV 65 depends on MEDIA_SUPPORT && I2C [all …]
|
/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra30-asus-tf700t.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra30-asus-transformer-common.dtsi" 20 remote-endpoint = <&bridge_input>; 21 bus-width = <24>; 36 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 44 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 52 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 60 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 68 nvidia,enable-input = <TEGRA_PIN_DISABLE>; [all …]
|
H A D | tegra30-asus-tf201.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra30-asus-transformer-common.dtsi" 5 #include "tegra30-asus-lvds-display.dtsi" 19 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 27 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 35 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 43 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 51 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 57 /* Azurewave AW-NH615 BCM4329B1 */ [all …]
|
/linux/Documentation/devicetree/bindings/extcon/ |
H A D | extcon-rt8973a.txt | 2 * Richtek RT8973A - Micro USB Switch device 4 The Richtek RT8973A is Micro USB Switch with OVP and I2C interface. The RT8973A 7 speed USB operation. Also, RT8973A support 'auto-configuration' mode. 8 If auto-configuration mode is enabled, RT8973A would control internal h/w patch 9 for USB D-/D+ switching. 12 - compatible: Should be "richtek,rt8973a-muic" 13 - reg: Specifies the I2C slave address of the MUIC block. It should be 0x14 14 - interrupts: Interrupt specifiers for detection interrupt sources. 19 compatible = "richtek,rt8973a-muic"; 20 interrupt-parent = <&gpx1>;
|
/linux/Documentation/i2c/ |
H A D | i2c-topology.rst | 2 I2C muxes and complex topologies 5 There are a couple of reasons for building more complex I2C topologies 6 than a straight-forward I2C bus with one adapter and one or more devices. 16 from the I2C bus, at least most of the time, and sits behind a gate 19 Several types of hardware components such as I2C muxes, I2C gates and I2C 22 These components are represented as I2C adapter trees by Linux, where 25 I2C transfers, and all adapters with a parent are part of an "i2c-mux" 29 an I2C transfer on one of its child adapters. The mux driver can 39 There are two variants of locking available to I2C muxes, they can be 40 mux-locked or parent-locked muxes. [all …]
|
/linux/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drx_driver.h | 2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. 36 #include <linux/i2c.h> 39 * This structure contains the I2C address, the device ID and a user_data pointer. 43 u16 i2c_addr; /* The I2C address of the device. */ 50 * \brief Determine if I2C address 'addr' is a 10 bits address or not. 51 * \param addr The I2C address. 53 * \retval 0 if address is not a 10 bits I2C address. 54 * \retval 1 if address is a 10 bits I2C address. 59 /*------------------------------------------------------------------------------ 61 ------------------------------------------------------------------------------*/ [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | galaxycore,gc0308.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/i2c/galaxycore,gc0308.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 programmable through an I2C interface and connected via parallel bus. 15 They include an ISP capable of auto exposure and auto white balance. 18 - $ref: /schemas/media/video-interface-devices.yaml# 23 - const: galaxycore,gc0308 24 - items: [all …]
|
/linux/sound/soc/intel/boards/ |
H A D | sof_realtek_common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 #include <sound/soc-acpi-intel-ssp-common.h> 20 #define RT1011_CODEC_DAI "rt1011-aif" 21 #define RT1011_DEV0_NAME "i2c-" RT1011_ACPI_HID ":00" 22 #define RT1011_DEV1_NAME "i2c-" RT1011_ACPI_HID ":01" 23 #define RT1011_DEV2_NAME "i2c-" RT1011_ACPI_HID ":02" 24 #define RT1011_DEV3_NAME "i2c-" RT1011_ACPI_HID ":03" 30 * Realtek ALC1015 (AUTO) 39 * Realtek ALC1015 (I2C) 41 #define RT1015_CODEC_DAI "rt1015-aif" [all …]
|
/linux/sound/soc/codecs/ |
H A D | max98396.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <linux/i2c.h> 349 struct snd_soc_component *component = codec_dai->component; in max98396_dai_set_fmt() 360 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98396_dai_set_fmt() 377 dev_err(component->dev, "DAI invert mode %d unsupported\n", in max98396_dai_set_fmt() 379 return -EINVAL; in max98396_dai_set_fmt() 397 dev_err(component->dev, "DAI format %d unsupported\n", in max98396_dai_set_fmt() 399 return -EINVAL; in max98396_dai_set_fmt() 402 ret = regmap_read(max98396->regmap, MAX98396_R210F_GLOBAL_EN, &status); in max98396_dai_set_fmt() 404 return -EINVAL; in max98396_dai_set_fmt() [all …]
|
H A D | pcm512x-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/i2c.h> 16 static int pcm512x_i2c_probe(struct i2c_client *i2c) in pcm512x_i2c_probe() argument 21 /* msb needs to be set to enable auto-increment of addresses */ in pcm512x_i2c_probe() 25 regmap = devm_regmap_init_i2c(i2c, &config); in pcm512x_i2c_probe() 29 return pcm512x_probe(&i2c->dev, regmap); in pcm512x_i2c_probe() 32 static void pcm512x_i2c_remove(struct i2c_client *i2c) in pcm512x_i2c_remove() argument 34 pcm512x_remove(&i2c->dev); in pcm512x_i2c_remove() 47 MODULE_DEVICE_TABLE(i2c, pcm512x_i2c_id); 88 MODULE_DESCRIPTION("ASoC PCM512x codec driver - I2C");
|
/linux/drivers/rtc/ |
H A D | rtc-s5m.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Copyright (c) 2013-2014 Samsung Electronics Co., Ltd 11 #include <linux/i2c.h> 26 * in S5M_RTC_UDR_CON register. UDR is auto-cleared when data have 48 * specific fields in UDR register. These fields usually are auto-cleared 74 * auto-cleared after successful update. 77 /* Auto-cleared mask in UDR field for writing time and alarm */ 131 * Register map for S2MPS15 - in comparison to S2MPS14 the WUDR and AUDR bits 149 struct i2c_client *i2c; member 176 tm->tm_sec = data[RTC_SEC] & 0x7f; in s5m8767_data_to_tm() [all …]
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_phy.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 31 * igb_check_reset_block - Check if PHY reset is blocked 48 * igb_get_phy_id - Retrieve the PHY ID and revision 56 struct e1000_phy_info *phy = &hw->phy; in igb_get_phy_id() 61 if ((hw->mac.type == e1000_i210) || (hw->mac.type == e1000_i211)) in igb_get_phy_id() 62 phy->ops.write_reg(hw, I347AT4_PAGE_SELECT, 0); in igb_get_phy_id() 64 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igb_get_phy_id() 68 phy->id = (u32)(phy_id << 16); in igb_get_phy_id() 70 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in igb_get_phy_id() [all …]
|
/linux/drivers/extcon/ |
H A D | extcon-rt8973a.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * extcon-rt8973a.c - Richtek RT8973A extcon driver to support USB switches 10 #include <linux/i2c.h> 19 #include <linux/extcon-provider.h> 21 #include "extcon-rt8973a.h" 42 struct i2c_client *i2c; member 145 /* |---------|--ADC| */ 152 { RT8973A_INT1_ATTACH, "muic-attach" }, 153 { RT8973A_INT1_DETACH, "muic-detach" }, 154 { RT8973A_INT1_CHGDET, "muic-chgdet" }, [all …]
|