Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/bridge/
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/media/tuners/
H A 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 …]
/openbmc/linux/drivers/rapidio/switches/
H A 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 …]
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/
H A Dcheck-i3c-hub6 # shellcheck source=meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/powe…
7 source /usr/libexec/phosphor-state-manager/power-cmd
8 # shellcheck source=meta-facebook/meta-yosemite4/recipes-yosemite4/plat-tool/files/yosemite4-common
9 source /usr/libexec/yosemite4-common-functions
12 IO_EXP_SLOT_PWR_STATUS=$((CHASSIS_ID - 1))
13 GPIOCHIP_IO_EXP_SLOT_PWR_CTRL=$(basename "/sys/bus/i2c/devices/$SPIDER_BOARD_IO_EXP_BUS_NUM-00$IO_E…
26 if [ "$target_slot" -lt 5 ]; then
27 hub_path="/sys/kernel/debug/i3c-hub-0-*/reg"
28 i3c_hub_lock="/tmp/i3c-hub0.lock"
31 hub_path="/sys/kernel/debug/i3c-hub-1-*/reg"
[all …]
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A 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 …]
/openbmc/u-boot/drivers/video/exynos/
H A Dexynos_dp.c1 // SPDX-License-Identifier: GPL-2.0+
31 disp_info->h_total = disp_info->h_res + disp_info->h_sync_width + in exynos_dp_disp_info()
32 disp_info->h_back_porch + disp_info->h_front_porch; in exynos_dp_disp_info()
33 disp_info->v_total = disp_info->v_res + disp_info->v_sync_width + in exynos_dp_disp_info()
34 disp_info->v_back_porch + disp_info->v_front_porch; in exynos_dp_disp_info()
79 * into E-EDID in I2C device, 0x30. in exynos_dp_read_edid()
82 /* Read Extension Flag, Number of 128-byte EDID extension blocks */ in exynos_dp_read_edid()
97 return -1; in exynos_dp_read_edid()
102 return -1; in exynos_dp_read_edid()
113 return -1; in exynos_dp_read_edid()
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dexynos5250-snow.dts12 /dts-v1/;
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/input/input.h>
23 i2c0 = "/i2c@12C60000";
24 i2c1 = "/i2c@12C70000";
25 i2c2 = "/i2c@12C80000";
26 i2c3 = "/i2c@12C90000";
27 i2c4 = "/i2c@12CA0000";
29 i2c5 = "/i2c@12CB0000";
[all …]
H A Dexynos5250-spring.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/input/input.h>
20 i2c0 = "/i2c@12C60000";
21 i2c1 = "/i2c@12C70000";
22 i2c2 = "/i2c@12C80000";
23 i2c3 = "/i2c@12C90000";
24 i2c4 = "/i2c@12CA0000";
[all …]
/openbmc/linux/drivers/video/fbdev/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A 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 …]
/openbmc/linux/drivers/regulator/
H A 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 …]
/openbmc/linux/drivers/power/supply/
H A 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 …]
/openbmc/u-boot/drivers/i2c/
H A Dmxc_i2c.c1 // SPDX-License-Identifier: GPL-2.0+
3 * i2c driver for Freescale i.MX series
8 * Based on i2c-imx.c from linux kernel:
12 * Copyright (C) 2008 Darius Augulis <darius.augulis at teltonika.lt>
18 #include <asm/arch/imx-regs.h>
20 #include <asm/mach-imx/mxc_i2c.h>
22 #include <i2c.h>
146 /* start the required I2C clock */ in i2c_imx_get_clk()
147 writel(readl(&sc_regs->cgr0) | (3 << CONFIG_SYS_I2C_CLK_OFFSET), in i2c_imx_get_clk()
148 &sc_regs->cgr0); in i2c_imx_get_clk()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A 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 …]
H A 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 …]
/openbmc/u-boot/drivers/video/rockchip/
H A Drk_edp.c1 // SPDX-License-Identifier: GPL-2.0+
20 #include <dt-bindings/clock/rk3288-cru.h>
46 writel(SEL_24M, &regs->analog_ctl_2); in rk_edp_init_refclk()
47 writel(REF_CLK_24M, &regs->pll_reg_1); in rk_edp_init_refclk()
50 V2L_CUR_SEL_1MA, &regs->pll_reg_2); in rk_edp_init_refclk()
54 &regs->pll_reg_3); in rk_edp_init_refclk()
58 &regs->pll_reg_5); in rk_edp_init_refclk()
60 writel(SSC_OFFSET | SSC_MODE | SSC_DEPTH, &regs->ssc_reg); in rk_edp_init_refclk()
64 &regs->tx_common); in rk_edp_init_refclk()
67 &regs->dp_aux); in rk_edp_init_refclk()
[all …]
/openbmc/qemu/pc-bios/
HDu-boot.e500 ... --------------------- ...
/openbmc/linux/Documentation/sound/
H A 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 …]
/openbmc/linux/drivers/media/dvb-frontends/
H A 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 …]
/openbmc/linux/drivers/media/pci/bt8xx/
H A 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 …]
/openbmc/linux/sound/pci/ice1712/
H A Daureon.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 * - we reuse the struct snd_akm4xxx record for storing the wm8770 codec data.
16 * - DAC digital volumes are not implemented in the mixer.
58 #define WM_DAC_ATTEN 0x00 /* DAC1-8 analog attenuation */
60 #define WM_DAC_DIG_ATTEN 0x09 /* DAC1-8 digital attenuation */
65 #define WM_DAC_CTRL2 0x15 /* de-emphasis and zefo-flag */
68 #define WM_POWERDOWN 0x18 /* power-down controls */
84 #define PCA9554_DEV 0x40 /* I2C device address */
119 * send i2c stop condition and start condition in aureon_pca9554_write()
150 for (i = 7; i >= 0; i--) { in aureon_pca9554_write()
[all …]
/openbmc/qemu/
H A Dqemu-options.hx14 "-h or -help display this help and exit\n", QEMU_ARCH_ALL)
16 ``-h``
21 "-version display version information and exit\n", QEMU_ARCH_ALL)
23 ``-version``
28 "-machine [type=]name[,prop[=value][,...]]\n"
29 " selects emulated machine ('-machine help' for list)\n"
33 " dump-guest-core=on|off include guest memory in a core dump (default=on)\n"
34 " mem-merge=on|off controls memory merge support (default: on)\n"
35 " aes-key-wrap=on|off controls support for AES key wrapping (default=on)\n"
36 " dea-key-wrap=on|off controls support for DEA key wrapping (default=on)\n"
[all …]
/openbmc/linux/
H A Dopengrok0.0.log1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz'
2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz'
3 2024-12-2
[all...]