Home
last modified time | relevance | path

Searched +full:auto +full:- +full:i2c (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/linux/Documentation/devicetree/bindings/i2c/
H A Dbrcm,brcmstb-i2c.yaml1 # 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 Dmarvell,mv64xxx-i2c.yaml1 # 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/sound/hda/codecs/side-codecs/
H A DKconfig5 tristate "KUnit test for Cirrus side-codec library" if !KUNIT_ALL_TESTS
9 This builds KUnit tests for the cirrus side-codec library.
12 Documentation/dev-tools/kunit/.
25 tristate "Build CS35L41 HD-audio side codec support for I2C Bus"
26 depends on I2C
34 Say Y or M here to include CS35L41 I2C HD-audio side codec support
35 in snd-hda-intel driver, such as ALC287.
37 comment "Set to Y if you want auto-loading the side codec driver"
41 tristate "Build CS35L41 HD-audio codec support for SPI Bus"
50 Say Y or M here to include CS35L41 SPI HD-audio side codec support
[all …]
/linux/drivers/media/dvb-frontends/
H A Dsp2.c1 // 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 Ddib3000mb.c1 // 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 Dstv6110.c1 // 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 Dascot2e.c1 // 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 Dams,as3711.yaml1 # 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/Documentation/hwmon/
H A Dadm9240.rst10 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 Dmax31760.rst1 .. 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/drivers/media/pci/cx23885/
H A Dcimax2.c1 // 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/devicetree/bindings/hwmon/
H A Dadi,ltc4282.yaml1 # 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 DKconfig1 # 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 Dtegra30-asus-tf700t.dts1 // 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 Dtegra30-asus-tf201.dts1 // 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/i2c/
H A Di2c-topology.rst2 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 …]
H A Di2c-stub.rst2 i2c-stub
8 This module is a very simple fake I2C/SMBus driver. It implements six
10 word data, (r/w) I2C block data, and (r/w) SMBus block data.
21 A pointer register with auto-increment is implemented for all byte
33 The typical use-case is like this:
36 2. use i2cset (from the i2c-tools project) to pre-load some data
40 There's a script named i2c-stub-from-dump in the i2c-tools package which
51 constants in <linux/i2c.h> for the suitable values. For example,
/linux/drivers/media/dvb-frontends/drx39xyj/
H A Ddrx_driver.h2 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 Dgalaxycore,gc0308.yaml1 # 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 …]
H A Dchrontel,ch7322.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/i2c/chrontel,ch7322.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Chrontel HDMI-CEC Controller
10 - Jeff Chase <jnchase@google.com>
13 The Chrontel CH7322 is a discrete HDMI-CEC controller. It is
14 programmable through I2C and drives a single CEC line.
17 - $ref: /schemas/media/cec/cec-common.yaml#
24 description: I2C device address
[all …]
/linux/sound/soc/intel/boards/
H A Dsof_realtek_common.h1 /* 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 Dmax98396.c1 // 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 …]
/linux/drivers/mfd/
H A Dtps6594-i2c.c1 // SPDX-License-Identifier: GPL-2.0
3 * I2C access driver for the following TI PMICs:
4 * - LP8764
5 * - TPS65224
6 * - TPS652G1
7 * - TPS6593
8 * - TPS6594
10 * Copyright (C) 2023 BayLibre Incorporated - https://www.baylibre.com/
14 #include <linux/i2c.h>
24 MODULE_PARM_DESC(enable_crc, "Enable CRC feature for I2C interface");
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_phy.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2024 Intel Corporation. */
29 * ixgbe_out_i2c_byte_ack - Send I2C byte with ack
46 * ixgbe_in_i2c_byte_ack - Receive an I2C byte and send ack
64 * ixgbe_ones_comp_byte_add - Perform one's complement addition
68 * Returns one's complement 8-bit sum.
79 * ixgbe_read_i2c_combined_generic_int - Perform I2C read combined operation
81 * @addr: I2C bus address to read from
82 * @reg: I2C device register to read from
91 u32 swfw_mask = hw->phy.phy_semaphore_mask; in ixgbe_read_i2c_combined_generic_int()
[all …]
/linux/drivers/extcon/
H A Dextcon-rt8973a.c1 // 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 …]

12345678910>>...14