Home
last modified time | relevance | path

Searched +full:i2c +full:- +full:lt +full:- +full:enable (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Ddp.c32 #include <subdev/i2c.h>
46 nvkm_dp_train_sense(struct lt_state *lt, bool pc, u32 delay) in nvkm_dp_train_sense() argument
48 struct nvkm_dp *dp = lt->dp; in nvkm_dp_train_sense()
51 if (dp->dpcd[DPCD_RC0E_AUX_RD_INTERVAL]) in nvkm_dp_train_sense()
52 mdelay(dp->dpcd[DPCD_RC0E_AUX_RD_INTERVAL] * 4); in nvkm_dp_train_sense()
56 ret = nvkm_rdaux(dp->aux, DPCD_LS02, lt->stat, 6); in nvkm_dp_train_sense()
61 ret = nvkm_rdaux(dp->aux, DPCD_LS0C, &lt->pc2stat, 1); in nvkm_dp_train_sense()
63 lt->pc2stat = 0x00; in nvkm_dp_train_sense()
64 OUTP_TRACE(&dp->outp, "status %6ph pc2 %02x", in nvkm_dp_train_sense()
65 lt->stat, lt->pc2stat); in nvkm_dp_train_sense()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/
Dlontium-lt8912b.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/i2c.h>
10 #include <linux/media-bus-format.h>
50 static int lt8912_write_init_config(struct lt8912 *lt) in lt8912_write_init_config() argument
87 return regmap_multi_reg_write(lt->regmap[I2C_MAIN], seq, ARRAY_SIZE(seq)); in lt8912_write_init_config()
90 static int lt8912_write_mipi_basic_config(struct lt8912 *lt) in lt8912_write_mipi_basic_config() argument
100 return regmap_multi_reg_write(lt->regmap[I2C_CEC_DSI], seq, ARRAY_SIZE(seq)); in lt8912_write_mipi_basic_config()
103 static int lt8912_write_dds_config(struct lt8912 *lt) in lt8912_write_dds_config() argument
153 return regmap_multi_reg_write(lt->regmap[I2C_CEC_DSI], seq, ARRAY_SIZE(seq)); in lt8912_write_dds_config()
156 static int lt8912_write_rxlogicres_config(struct lt8912 *lt) in lt8912_write_rxlogicres_config() argument
[all …]
Dlontium-lt9611.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2019-2020. Linaro Limited.
8 #include <linux/i2c.h>
10 #include <linux/media-bus-format.h>
17 #include <sound/hdmi-codec.h>
97 { 0x810b, 0xbf }, /* enable port A lprx */ in lt9611_mipi_input_analog()
100 { 0x8116, 0xbf }, /* enable port B lprx */ in lt9611_mipi_input_analog()
102 { 0x811c, 0x03 }, /* PortA clk lane no-LP mode */ in lt9611_mipi_input_analog()
103 { 0x8120, 0x03 }, /* PortB clk lane with-LP mode */ in lt9611_mipi_input_analog()
106 return regmap_multi_reg_write(lt9611->regmap, reg_cfg, ARRAY_SIZE(reg_cfg)); in lt9611_mipi_input_analog()
[all …]
/kernel/linux/linux-6.6/drivers/media/tuners/
Dr820t.c1 // SPDX-License-Identifier: GPL-2.0
7 // that it is part of rtl-sdr git tree, released under GPLv2:
8 // https://groups.google.com/forum/#!topic/ultra-cheap-sdr/Y3rBEOFtHug
9 // https://github.com/n1gp/gr-baz
30 #include "tuner-i2c.h"
46 MODULE_PARM_DESC(debug, "enable verbose debug messages");
350 * I2C read/write code and shadow registers logic
355 int r = reg - REG_SHADOW_START; in shadow_store()
363 if (len > NUM_REGS - r) in shadow_store()
364 len = NUM_REGS - r; in shadow_store()
[all …]
/kernel/linux/linux-5.10/drivers/media/tuners/
Dr820t.c1 // SPDX-License-Identifier: GPL-2.0
7 // that it is part of rtl-sdr git tree, released under GPLv2:
8 // https://groups.google.com/forum/#!topic/ultra-cheap-sdr/Y3rBEOFtHug
9 // https://github.com/n1gp/gr-baz
30 #include "tuner-i2c.h"
46 MODULE_PARM_DESC(debug, "enable verbose debug messages");
330 * I2C read/write code and shadow registers logic
335 int r = reg - REG_SHADOW_START; in shadow_store()
343 if (len > NUM_REGS - r) in shadow_store()
344 len = NUM_REGS - r; in shadow_store()
[all …]
/kernel/linux/linux-6.6/drivers/rapidio/switches/
Didt_gen2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
219 * This routine performs device-specific initialization only. in idtg2_em_init()
223 pr_debug("RIO: %s [%d:%d]\n", __func__, rdev->destid, rdev->hopcount); in idtg2_em_init()
225 /* Set Port-Write info CSR: PRIO=3 and CRF=1 */ in idtg2_em_init()
229 * Configure LT LAYER error reporting. in idtg2_em_init()
232 /* Enable standard (RIO.p8) error reporting */ in idtg2_em_init()
237 /* Use Port-Writes for LT layer error reporting. in idtg2_em_init()
238 * Enable per-port reset in idtg2_em_init()
255 /* Use Port-Writes for port error reporting and enable error logging */ in idtg2_em_init()
256 tmp = RIO_GET_TOTAL_PORTS(rdev->swpinfo); in idtg2_em_init()
[all …]
/kernel/linux/linux-5.10/drivers/rapidio/switches/
Didt_gen2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
219 * This routine performs device-specific initialization only. in idtg2_em_init()
223 pr_debug("RIO: %s [%d:%d]\n", __func__, rdev->destid, rdev->hopcount); in idtg2_em_init()
225 /* Set Port-Write info CSR: PRIO=3 and CRF=1 */ in idtg2_em_init()
229 * Configure LT LAYER error reporting. in idtg2_em_init()
232 /* Enable standard (RIO.p8) error reporting */ in idtg2_em_init()
237 /* Use Port-Writes for LT layer error reporting. in idtg2_em_init()
238 * Enable per-port reset in idtg2_em_init()
255 /* Use Port-Writes for port error reporting and enable error logging */ in idtg2_em_init()
256 tmp = RIO_GET_TOTAL_PORTS(rdev->swpinfo); in idtg2_em_init()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/
Dnxp,pca9450-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/regulator/nxp,pca9450-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Robin Gong <yibin.gong@nxp.com>
18 https://www.nxp.com/docs/en/data-sheet/PCA9450DS.pdf
28 - nxp,pca9450a
29 - nxp,pca9450b
30 - nxp,pca9450c
44 "^LDO[1-5]$":
[all …]
/kernel/linux/linux-6.6/drivers/video/fbdev/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
14 a well-defined interface, so the software doesn't need to know
15 anything about the low-level (hardware register) stuff.
21 On several non-X86 architectures, the frame buffer device is the
29 and the Framebuffer-HOWTO at
30 <http://www.munted.org.uk/programming/Framebuffer-HOWTO-1.3.html> for more
40 are compiling a kernel for a non-x86 architecture.
46 device-aware may cause unexpected results. If unsure, say N.
57 Common utility functions useful to fbdev drivers of VGA-based
82 If you have a PCI-based system, this enables support for these
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
Dbq25890_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include <linux/i2c.h>
84 u8 ilim_en; /* enable ILIM pin */
251 * Most of the val -> idx conversions can be computed, given the minimum,
296 struct bq25890_lookup lt; member
310 [TBL_TREG] = { .lt = {bq25890_treg_tbl, BQ25890_TREG_TBL_SIZE} },
311 [TBL_BOOSTI] = { .lt = {bq25890_boosti_tbl, BQ25890_BOOSTI_TBL_SIZE} }
320 ret = regmap_field_read(bq->rmap_fields[field_id], &val); in bq25890_field_read()
330 return regmap_field_write(bq->rmap_fields[field_id], val); in bq25890_field_write()
338 const u32 *tbl = bq25890_tables[id].lt.tbl; in bq25890_find_idx()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/
Dmediatek,mt8188-pinctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8188-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Hui Liu <hui.liu@mediatek.com>
17 const: mediatek,mt8188-pinctrl
19 gpio-controller: true
21 '#gpio-cells':
25 are defined in <dt-bindings/gpio/gpio.h>.
28 gpio-ranges:
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
20 a well-defined interface, so the software doesn't need to know
21 anything about the low-level (hardware register) stuff.
27 On several non-X86 architectures, the frame buffer device is the
35 and the Framebuffer-HOWTO at
36 <http://www.munted.org.uk/programming/Framebuffer-HOWTO-1.3.html> for more
40 are compiling a kernel for a non-x86 architecture.
46 device-aware may cause unexpected results. If unsure, say N.
49 bool "Enable firmware EDID"
53 On the i386, this is from the Video BIOS. Enable this if DDC/I2C
[all …]
/kernel/linux/linux-6.6/drivers/power/supply/
Dbq25890_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include <linux/i2c.h>
90 u8 ilim_en; /* enable ILIM pin */
113 char name[28]; /* "bq25890-charger-%d" */
272 * Most of the val -> idx conversions can be computed, given the minimum,
322 0, -10, -20, -30, -40, -60, -70, -80,
323 -90, -10, -120, -140, -150, -170, -190, -210,
341 struct bq25890_lookup lt; member
356 [TBL_TREG] = { .lt = {bq25890_treg_tbl, BQ25890_TREG_TBL_SIZE} },
357 [TBL_BOOSTI] = { .lt = {bq25890_boosti_tbl, BQ25890_BOOSTI_TBL_SIZE} },
[all …]
/kernel/linux/linux-6.6/drivers/regulator/
Dpca9450-regulator.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/i2c.h>
55 .max_register = PCA9450_MAX_REGISTER - 1,
72 .enable = regulator_enable_regmap,
83 .enable = regulator_enable_regmap,
93 .enable = regulator_enable_regmap,
160 if (ret == -EINVAL) in buck_set_dvs()
165 for (i = 0; i < desc->n_voltages; i++) { in buck_set_dvs()
170 i <<= ffs(desc->vsel_mask) - 1; in buck_set_dvs()
180 /* Enable DVS control through PMIC_STBY_REQ for this BUCK */ in buck_set_dvs()
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-npcm7xx.c1 // SPDX-License-Identifier: GPL-2.0
3 * Nuvoton NPCM7xx I2C Controller driver
11 #include <linux/i2c.h>
29 * External I2C Interface driver xfer indication values, which indicate status
58 /* I2C Bank (module had 2 banks of registers) */
64 /* Internal I2C states values (for the I2C module state machine). */
92 /* init register and default value required to enable module */
142 #define NPCM_I2CTXF_CTL 0x12 /* Tx-FIFO Control */
145 #define NPCM_I2CTXF_STS 0x1A /* Tx-FIFO Status */
146 #define NPCM_I2CRXF_STS 0x1C /* Rx-FIFO Status */
[all …]
Di2c-imx.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2002 Motorola GSG-China
9 * Implementation of I2C Adapter/Algorithm Driver
10 * for I2C Bus integrated in Freescale i.MX/MXC processors
12 * Derived from Motorola GSG China I2C example driver
17 * Copyright (C) 2008 Darius Augulis <darius.augulis at teltonika.lt>
27 #include <linux/dma-mapping.h>
33 #include <linux/i2c.h>
44 #include <linux/platform_data/i2c-imx.h>
51 #define DRIVER_NAME "imx-i2c"
[all …]
/kernel/linux/linux-6.6/drivers/i2c/busses/
Di2c-npcm7xx.c1 // SPDX-License-Identifier: GPL-2.0
3 * Nuvoton NPCM7xx I2C Controller driver
11 #include <linux/i2c.h>
29 * External I2C Interface driver xfer indication values, which indicate status
58 /* I2C Bank (module had 2 banks of registers) */
64 /* Internal I2C states values (for the I2C module state machine). */
92 /* init register and default value required to enable module */
125 #define NPCM_I2CTXF_CTL 0x12 /* Tx-FIFO Control */
128 #define NPCM_I2CTXF_STS 0x1A /* Tx-FIFO Status */
129 #define NPCM_I2CRXF_STS 0x1C /* Rx-FIFO Status */
[all …]
Di2c-imx.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2002 Motorola GSG-China
9 * Implementation of I2C Adapter/Algorithm Driver
10 * for I2C Bus integrated in Freescale i.MX/MXC processors
12 * Derived from Motorola GSG China I2C example driver
17 * Copyright (C) 2008 Darius Augulis <darius.augulis at teltonika.lt>
28 #include <linux/dma-mapping.h>
34 #include <linux/i2c.h>
46 #include <linux/platform_data/i2c-imx.h>
53 #define DRIVER_NAME "imx-i2c"
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0024_linux_drivers_input.patch7 Change-Id: I804389511bc5a7d94161622090953a178eab74d9
9 diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
11 --- a/drivers/input/keyboard/Kconfig
13 @@ -452,6 +452,13 @@ config KEYBOARD_SNVS_PWRKEY
27 diff --git a/drivers/input/keyboard/Makefile b/drivers/input/keyboard/Makefile
29 --- a/drivers/input/keyboard/Makefile
31 @@ -59,6 +59,7 @@ obj-$(CONFIG_KEYBOARD_QT2160) += qt2160.o
32 obj-$(CONFIG_KEYBOARD_SAMSUNG) += samsung-keypad.o
33 obj-$(CONFIG_KEYBOARD_SH_KEYSC) += sh_keysc.o
34 obj-$(CONFIG_KEYBOARD_SNVS_PWRKEY) += snvs_pwrkey.o
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
Dlontium-lt9611.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2019-2020. Linaro Limited.
15 #include <sound/hdmi-codec.h>
118 { 0x810b, 0xbf }, /* enable port A lprx */ in lt9611_mipi_input_analog()
121 { 0x8116, 0xbf }, /* enable port B lprx */ in lt9611_mipi_input_analog()
123 { 0x811c, 0x03 }, /* PortA clk lane no-LP mode */ in lt9611_mipi_input_analog()
124 { 0x8120, 0x03 }, /* PortB clk lane with-LP mode */ in lt9611_mipi_input_analog()
127 return regmap_multi_reg_write(lt9611->regmap, reg_cfg, ARRAY_SIZE(reg_cfg)); in lt9611_mipi_input_analog()
142 if (mode->hdisplay == 3840) in lt9611_mipi_input_digital()
145 return regmap_multi_reg_write(lt9611->regmap, reg_cfg, ARRAY_SIZE(reg_cfg)); in lt9611_mipi_input_digital()
[all …]
/kernel/linux/linux-6.6/Documentation/sound/
Dalsa-configuration.rst2 Advanced Linux Sound Architecture - Driver Configuration guide
9 To enable ALSA support you need at least to build the kernel with
13 Enable "OSS API emulation" (``CONFIG_SND_OSSEMUL``) and both OSS mixer
17 SB Live! then you need to enable "Sequencer support"
20 To make ALSA debug messages more verbose, enable the "Verbose printk"
38 ----------
47 limiting card index for auto-loading (1-8);
49 For auto-loading more than one card, specify this option
50 together with snd-card-X aliases.
63 Module snd-pcm-oss
[all …]
/kernel/linux/linux-5.10/Documentation/sound/
Dalsa-configuration.rst2 Advanced Linux Sound Architecture - Driver Configuration guide
9 To enable ALSA support you need at least to build the kernel with
13 Enable "OSS API emulation" (``CONFIG_SND_OSSEMUL``) and both OSS mixer
17 SB Live! then you need to enable "Sequencer support"
20 To make ALSA debug messages more verbose, enable the "Verbose printk"
38 ----------
47 limiting card index for auto-loading (1-8);
49 For auto-loading more than one card, specify this option
50 together with snd-card-X aliases.
63 Module snd-pcm-oss
[all …]
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
Ddib0090.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Linux-DVB Driver for DiBcom's DiB0090 base-band RF Tuner.
5 * Copyright (C) 2005-9 DiBcom (http://www.dibcom.fr/)
15 #include <linux/i2c.h>
90 #define MP008 0x6 /* Dual diversity VHF-UHF-LBAND */
91 #define MP009 0x7 /* Dual diversity 29098 CBAND-UHF-LBAND-SBAND */
124 struct i2c_adapter *i2c; member
135 s16 rf_gain_limit; /* take-over-point: where to split between bb and rf gain */
149 /* for the captrim/dc-offset search */
180 /* for the I2C transfer */
[all …]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Ddib0090.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Linux-DVB Driver for DiBcom's DiB0090 base-band RF Tuner.
5 * Copyright (C) 2005-9 DiBcom (http://www.dibcom.fr/)
15 #include <linux/i2c.h>
90 #define MP008 0x6 /* Dual diversity VHF-UHF-LBAND */
91 #define MP009 0x7 /* Dual diversity 29098 CBAND-UHF-LBAND-SBAND */
124 struct i2c_adapter *i2c; member
135 s16 rf_gain_limit; /* take-over-point: where to split between bb and rf gain */
149 /* for the captrim/dc-offset search */
180 /* for the I2C transfer */
[all …]
/kernel/linux/linux-6.6/drivers/media/pci/bt8xx/
Dbttv-cards.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 bttv-cards.c
6 this file has configuration information - card-specific stuff
9 Copyright (C) 1996,97,98 Ralph Metzler (rjkm@thp.uni-koeln.de)
10 & Marcus Metzler (mocm@thp.uni-koeln.de)
11 (c) 1999-2001 Gerd Knorr <kraxel@goldbach.in-berlin.de>
31 #include <media/v4l2-common.h>
32 #include <media/i2c/tvaudio.h>
33 #include "bttv-audio-hook.h"
85 static unsigned int card[BTTV_MAX] = { [ 0 ... (BTTV_MAX-1) ] = UNSET };
[all …]

12