/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> 99 { 0x810b, 0xbf }, /* enable port A lprx */ in lt9611_mipi_input_analog() 102 { 0x8116, 0xbf }, /* enable port B lprx */ in lt9611_mipi_input_analog() 104 { 0x811c, 0x03 }, /* PortA clk lane no-LP mode */ in lt9611_mipi_input_analog() 105 { 0x8120, 0x03 }, /* PortB clk lane with-LP mode */ in lt9611_mipi_input_analog() 108 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/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/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 21 https://www.nxp.com/docs/en/data-sheet/PF9453_SDS.pdf 31 - nxp,pca9450a 32 - nxp,pca9450b 33 - nxp,pca9450c [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/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> 20 #include <dt-bindings/regulator/nxp,pca9450-regulator.h> 63 .max_register = PCA9450_MAX_REGISTER - 1, 80 .enable = regulator_enable_regmap, 93 .enable = regulator_enable_regmap, 105 .enable = regulator_enable_regmap, 117 if (pca9450->sd_vsel_fixed_low) in pca9450_ldo5_get_reg_voltage_sel() 120 if (pca9450->sd_vsel_gpio && !gpiod_get_value(pca9450->sd_vsel_gpio)) in pca9450_ldo5_get_reg_voltage_sel() 123 return rdev->desc->vsel_reg; in pca9450_ldo5_get_reg_voltage_sel() [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 …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mp-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.MX8MP"; 11 compatible = "kontron,imx8mp-osm-s", "fsl,imx8mp"; 29 stdout-path = &uart3; 32 reg_usb1_vbus: regulator-usb1-vbus { 33 compatible = "regulator-fixed"; 34 pinctrl-names = "default"; 35 pinctrl-0 = <&pinctrl_reg_usb1_vbus>; 37 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/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-emphasi 1274 aureon_set_headphone_amp(struct snd_ice1712 * ice,int enable) aureon_set_headphone_amp() argument [all...] |