/linux/drivers/gpu/drm/bridge/ |
H A D | lontium-lt8912b.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/i2c.h> 10 #include <linux/media-bus-format.h> 52 static int lt8912_write_init_config(struct lt8912 *lt) in lt8912_write_init_config() argument 89 return regmap_multi_reg_write(lt->regmap[I2C_MAIN], seq, ARRAY_SIZE(seq)); in lt8912_write_init_config() 92 static int lt8912_write_mipi_basic_config(struct lt8912 *lt) in lt8912_write_mipi_basic_config() argument 102 return regmap_multi_reg_write(lt->regmap[I2C_CEC_DSI], seq, ARRAY_SIZE(seq)); in lt8912_write_mipi_basic_config() 105 static int lt8912_write_dds_config(struct lt8912 *lt) in lt8912_write_dds_config() argument 155 return regmap_multi_reg_write(lt->regmap[I2C_CEC_DSI], seq, ARRAY_SIZE(seq)); in lt8912_write_dds_config() 158 static int lt8912_write_rxlogicres_config(struct lt8912 *lt) in lt8912_write_rxlogicres_config() argument [all …]
|
H A D | lontium-lt9611.c | 1 // 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> 98 { 0x810b, 0xbf }, /* enable port A lprx */ in lt9611_mipi_input_analog() 101 { 0x8116, 0xbf }, /* enable port B lprx */ in lt9611_mipi_input_analog() 103 { 0x811c, 0x03 }, /* PortA clk lane no-LP mode */ in lt9611_mipi_input_analog() 104 { 0x8120, 0x03 }, /* PortB clk lane with-LP mode */ in lt9611_mipi_input_analog() 107 return regmap_multi_reg_write(lt9611->regmap, reg_cfg, ARRAY_SIZE(reg_cfg)); in lt9611_mipi_input_analog() [all …]
|
/linux/drivers/media/tuners/ |
H A D | r820t.c | 1 // 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 …]
|
/linux/drivers/rapidio/switches/ |
H A D | idt_gen2.c | 1 // 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 …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | nxp,pca9450-regulator.yaml | 1 # 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 31 - nxp,pca9451a [all …]
|
/linux/drivers/video/fbdev/ |
H A D | Kconfig | 1 # 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 …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | mediatek,mt8188-pinctrl.yaml | 1 # 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 …]
|
/linux/drivers/power/supply/ |
H A D | bq25890_charger.c | 1 // 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 …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | uoutp.c | 28 #include <subdev/i2c.h> 35 struct nvkm_ior *ior = outp->ior; in nvkm_uoutp_mthd_dp_mst_vcpi() 38 if (argc != sizeof(args->v0) || args->v0.version != 0) in nvkm_uoutp_mthd_dp_mst_vcpi() 39 return -ENOSYS; in nvkm_uoutp_mthd_dp_mst_vcpi() 40 if (!ior->func->dp || !ior->func->dp->vcpi || !nvkm_head_find(outp->disp, args->v0.head)) in nvkm_uoutp_mthd_dp_mst_vcpi() 41 return -EINVAL; in nvkm_uoutp_mthd_dp_mst_vcpi() 43 ior->func->dp->vcpi(ior, args->v0.head, args->v0.start_slot, args->v0.num_slots, in nvkm_uoutp_mthd_dp_mst_vcpi() 44 args->v0.pbn, args->v0.aligned_pbn); in nvkm_uoutp_mthd_dp_mst_vcpi() 53 if (argc != sizeof(args->v0) || args->v0.version != 0) in nvkm_uoutp_mthd_dp_mst_id_put() 54 return -ENOSYS; in nvkm_uoutp_mthd_dp_mst_id_put() [all …]
|
/linux/drivers/regulator/ |
H A D | pca9450-regulator.c | 1 // 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, 168 if (ret == -EINVAL) in buck_set_dvs() 173 for (i = 0; i < desc->n_voltages; i++) { in buck_set_dvs() 178 i <<= ffs(desc->vsel_mask) - 1; in buck_set_dvs() 188 /* Enable DVS control through PMIC_STBY_REQ for this BUCK */ in buck_set_dvs() [all …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-npcm7xx.c | 1 // 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 D | i2c-imx.c | 1 // 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 …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx93-kontron-osm-s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 #include <dt-bindings/interrupt-controller/irq.h> 10 model = "Kontron OSM-S i.MX93"; 11 compatible = "kontron,imx93-osm-s", "fsl,imx93"; 24 stdout-path = &lpuart1; 27 reg_usdhc2_vcc: regulator-usdhc2-vcc { 28 compatible = "regulator-fixed"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&pinctrl_reg_usdhc2_vcc>; 32 enable-active-high; [all …]
|
/linux/Documentation/sound/ |
H A D | alsa-configuration.rst | 2 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 …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_display_types.h | 3 * Copyright (c) 2007-2008 Intel Corporation 29 #include <linux/i2c.h> 48 #include <media/cec-notifier.h> 71 /* these are outputs from the chip - integrated only 89 HDMI_AUDIO_OFF_DVI = -2, /* no aux data for HDMI-DVI converter */ 105 * create the DMA scatter-gather list for each FB color plane. This sg 117 * in the rotated and remapped GTT view all no-CCS formats (up to 2 190 void (*enable)(struct intel_atomic_state *, member 221 * state. This must be called _after_ display->get_pipe_config has 222 * pre-filled the pipe config. Note that intel_encoder->base.crtc must [all …]
|
/linux/drivers/gpu/drm/amd/display/dmub/inc/ |
H A D | dmub_cmd.h | 143 * Physical framebuffer address location, 64-bit. 213 * @vb_scaling_enabled: Indicates variBright Scaling Enable 250 * @knee_threshold: Current x-position of ACE knee (u0.16). 270 * union dmub_addr - DMUB physical/virtual 64-bit address. 315 * Enable visual confirm in FW. 340 * Enable visual confirm for IPS 358 * Enable visual confirm in FW. 418 * @enable_ips_visual_confirm: Enable IPS visual confirm when entering IPS 425 * @enable_ips_residency_profiling: Enable IPS residency profiling 444 * @dsc_enable_status: DSC enable status in driver [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | dib0090.c | 1 // 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 …]
|
/linux/drivers/media/pci/bt8xx/ |
H A D | bttv-cards.c | 1 // 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 …]
|
/linux/sound/pci/ice1712/ |
H A D | aureon.c | 1 // 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 …]
|