Home
last modified time | relevance | path

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

12345678910>>...16

/linux-5.10/Documentation/devicetree/bindings/i2c/
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
26 - description: BSC register range
[all …]
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 Device Tree Bindings
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-5.10/Documentation/devicetree/bindings/mfd/
Das3711.txt1 AS3711 is an I2C PMIC from Austria MicroSystems with multiple DCDC and LDO power
4 standard regulator properties, they must belong to a sub-node, called
9 - compatible : must be "ams,as3711"
10 - reg : specifies the I2C address
14 - su1-dev : framebuffer phandle
15 - su1-max-uA : maximum current
19 - su2-dev : framebuffer phandle
20 - su1-max-uA : maximum current
24 - su2-feedback-voltage : voltage feedback is used
25 - su2-feedback-curr1 : CURR1 input used for current feedback
[all …]
/linux-5.10/drivers/media/dvb-frontends/
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 …]
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 …]
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 …]
/linux-5.10/Documentation/hwmon/
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 …]
Dpmbus-core.rst9 power-management protocol with a fully defined command language that facilitates
11 protocol is implemented over the industry-standard SMBus serial interface and
12 enables programming, control, and real-time monitoring of compliant power
18 promoted by the PMBus Implementers Forum (PMBus-IF), comprising 30+ adopters
22 commands, and manufacturers can add as many non-standard commands as they like.
23 Also, different PMBUs devices act differently if non-supported commands are
43 PMBus device capabilities auto-detection
46 For generic PMBus devices, code in pmbus.c attempts to auto-detect all supported
47 PMBus commands. Auto-detection is somewhat limited, since there are simply too
50 pages (see the PMBus specification for details on multi-page PMBus devices).
[all …]
/linux-5.10/drivers/media/pci/cx23885/
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-5.10/Documentation/devicetree/bindings/extcon/
Dextcon-rt8973a.txt2 * 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-5.10/drivers/media/tuners/
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
36 depends on MEDIA_SUPPORT && I2C
43 depends on MEDIA_SUPPORT && I2C
52 depends on MEDIA_SUPPORT && I2C
55 A DVB-T silicon tuner module. Say Y when you want to support this tuner.
59 depends on MEDIA_SUPPORT && I2C
[all …]
/linux-5.10/drivers/media/i2c/m5mols/
Dm5mols.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Header for M-5MOLS 8M Pixel camera sensor with ISP
16 #include <media/v4l2-subdev.h>
35 * struct m5mols_resolution - structure for the resolution
49 * struct m5mols_exif - structure for the EXIF information of M-5MOLS
72 * struct m5mols_capture - Structure for the capture capability
88 * struct m5mols_scenemode - structure for the scenemode capability
91 * @wb_mode: mode which means the WhiteBalance is Auto or Manual
97 * @af_range: Auto Focus's range
99 * @mcc: Multi-axis Color Conversion which means emotion color
[all …]
/linux-5.10/Documentation/i2c/
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.
14 from the I2C bus, at least most of the time, and sits behind a gate
20 These constructs are represented as I2C adapter trees by Linux, where
23 I2C transfers, and all adapters with a parent are part of an "i2c-mux"
27 an I2C transfer on one of its child adapters. The mux driver can
37 There are two variants of locking available to I2C muxes, they can be
38 mux-locked or parent-locked muxes. As is evident from below, it can be
39 useful to know if a mux is mux-locked or if it is parent-locked. The
[all …]
Dwriting-clients.rst2 Implementing I2C device drivers
5 This is a small guide for those who want to write kernel drivers for I2C
19 it for non-exported symbols too. We will use the prefix ``foo_`` in this
28 routines, and should be zero-initialized except for fields with data you
29 provide. A client structure holds device-specific information like the
30 driver model device node, and its I2C address.
40 MODULE_DEVICE_TABLE(i2c, foo_idtable);
66 All other fields are for call-back functions which will be explained
74 structure at all. You should use this to keep device-specific data.
85 to NULL in remove() or if probe() failed anymore. The i2c-core does this
[all …]
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-5.10/drivers/media/dvb-frontends/drx39xyj/
Ddrx_driver.h2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc.
37 #include <linux/i2c.h>
40 * This structure contains the I2C address, the device ID and a user_data pointer.
44 u16 i2c_addr; /* The I2C address of the device. */
51 * \brief Determine if I2C address 'addr' is a 10 bits address or not.
52 * \param addr The I2C address.
54 * \retval 0 if address is not a 10 bits I2C address.
55 * \retval 1 if address is a 10 bits I2C address.
60 /*------------------------------------------------------------------------------
62 ------------------------------------------------------------------------------*/
[all …]
/linux-5.10/include/linux/platform_data/
Di2c-mux-gpio.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * i2c-mux-gpio interface to platform code
12 #define I2C_MUX_GPIO_NO_IDLE ((unsigned)-1)
15 * struct i2c_mux_gpio_platform_data - Platform-dependent data for i2c-mux-gpio
16 * @parent: Parent I2C bus adapter number
17 * @base_nr: Base I2C bus number to number adapters from or zero for dynamic
21 * @classes: Optional I2C auto-detection classes
Di2c-mux-reg.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * I2C multiplexer using a single register
13 * struct i2c_mux_reg_platform_data - Platform-dependent data for i2c-mux-reg
14 * @parent: Parent I2C bus adapter number
15 * @base_nr: Base I2C bus number to number adapters from or zero for dynamic
20 * @classes: Optional I2C auto-detection classes
/linux-5.10/sound/soc/codecs/
Dpcm512x-i2c.c1 // 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
22 /* msb needs to be set to enable auto-increment of addresses */ in pcm512x_i2c_probe()
26 regmap = devm_regmap_init_i2c(i2c, &config); in pcm512x_i2c_probe()
30 return pcm512x_probe(&i2c->dev, regmap); in pcm512x_i2c_probe()
33 static int pcm512x_i2c_remove(struct i2c_client *i2c) in pcm512x_i2c_remove() argument
35 pcm512x_remove(&i2c->dev); in pcm512x_i2c_remove()
46 MODULE_DEVICE_TABLE(i2c, pcm512x_i2c_id);
84 MODULE_DESCRIPTION("ASoC PCM512x codec driver - I2C");
/linux-5.10/Documentation/devicetree/bindings/media/i2c/
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.
21 description: I2C device address
30 reset-gpios:
[all …]
/linux-5.10/sound/soc/amd/
Dacp-da7219-max98357a.c30 #include <sound/soc-dapm.h>
37 #include <linux/i2c.h>
43 #include "../codecs/da7219-aad.h"
56 struct snd_soc_card *card = rtd->card; in cz_da7219_init()
58 struct snd_soc_component *component = codec_dai->component; in cz_da7219_init()
60 dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name); in cz_da7219_init()
65 dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); in cz_da7219_init()
72 dev_err(rtd->dev, "can't set codec pll: %d\n", ret); in cz_da7219_init()
76 da7219_dai_wclk = clk_get(component->dev, "da7219-dai-wclk"); in cz_da7219_init()
77 da7219_dai_bclk = clk_get(component->dev, "da7219-dai-bclk"); in cz_da7219_init()
[all …]
Dacp-rt5645.c33 #include <sound/soc-dapm.h>
37 #include <linux/i2c.h>
56 dev_err(rtd->dev, "can't set codec pll: %d\n", ret); in cz_aif1_hw_params()
63 dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); in cz_aif1_hw_params()
76 codec = asoc_rtd_to_codec(rtd, 0)->component; in cz_init()
77 card = rtd->card; in cz_init()
85 dev_err(card->dev, "HP jack creation failed %d\n", ret); in cz_init()
99 DAILINK_COMP_ARRAY(COMP_CPU("designware-i2s.1.auto")));
101 DAILINK_COMP_ARRAY(COMP_CPU("designware-i2s.2.auto")));
104 DAILINK_COMP_ARRAY(COMP_CODEC("i2c-10EC5650:00", "rt5645-aif1")));
[all …]
/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_phy.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 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-5.10/drivers/net/ethernet/intel/igb/
De1000_phy.c1 // 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-5.10/drivers/extcon/
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>>...16