/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | cirrus,lochnagar.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 15 Logic devices on mini-cards, as well as allowing connection of various 26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt 29 [3] include/dt-bindings/pinctrl/lochnagar.h 37 - cirrus,lochnagar-pinctrl 39 gpio-controller: true 41 '#gpio-cells': [all …]
|
/linux/drivers/mfd/ |
H A D | cs40l50-core.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * integrated DSP, and closed-loop algorithms 19 { .name = "cs40l50-codec", }, 20 { .name = "cs40l50-vibra", }, 33 "vdd-io", 82 dev_err(dev, "Timed out writing %#X to DSP: %d\n", val, ret); in cs40l50_dsp_write() 90 dev_err(dev, "DSP failed to ACK %#X: %d\n", val, ret); in cs40l50_dsp_write() 116 struct cs_dsp *dsp = &cs40l50->dsp; in cs40l50_wseq_init() local 118 cs40l50->wseqs[CS40L50_STANDBY].ctl = cs_dsp_get_ctl(dsp, "STANDBY_SEQUENCE", in cs40l50_wseq_init() 121 if (!cs40l50->wseqs[CS40L50_STANDBY].ctl) { in cs40l50_wseq_init() [all …]
|
/linux/include/sound/ |
H A D | soc-dapm.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * linux/sound/soc-dapm.h -- ALSA SoC Dynamic Audio Power Management 15 #include <sound/soc-topology.h> 24 #define SND_SOC_NOPM -1 30 * 1. Codec domain - VREF, VMID 33 * 2. Platform/Machine domain - physically connected inputs and outputs 36 * 3. Path domain - Internal codec path mixers 39 * 4. Stream domain - DAC's and ADC's. 158 /* path domain with event - event handler must return 0 for success */ 430 * @STANDBY: Low power standby state when no playback/capture operations are [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | cm2xxx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2008-2010, 2012 Texas Instruments, Inc. 21 #include "cm-regbits-24xx.h" 99 * omap2xxx_cm_split_idlest_reg - split CM_IDLEST reg addr into its components 115 idlest_offs = idlest_reg->offset & 0xff; in omap2xxx_cm_split_idlest_reg() 124 return -EINVAL; in omap2xxx_cm_split_idlest_reg() 126 offs = idlest_reg->offset; in omap2xxx_cm_split_idlest_reg() 138 * omap2xxx_cm_wait_module_ready - wait for a module to leave idle or standby 146 * success or -EBUSY if the module doesn't enable in time. 156 return -EINVAL; in omap2xxx_cm_wait_module_ready() [all …]
|
H A D | omap_hwmod.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2011 Nokia Corporation 6 * Copyright (C) 2011-2012 Texas Instruments, Inc. 15 * ------------ 19 * etc. Some of these devices, like the DSP, are created by TI; 21 * TI's documentation, on-chip devices are referred to as "OMAP 26 * Most of the address and data flow between modules is via OCP-based 32 * OMAP hwmod provides a consistent way to describe the on-chip 42 * ----------- 54 * +-------------------------------+ [all …]
|
/linux/drivers/remoteproc/ |
H A D | omap_remoteproc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2020 Texas Instruments Incorporated - http://www.ti.com/ 8 * Ohad Ben-Cohen <ohad@wizery.com> 12 * Suman Anna <s-anna@ti.com> 13 * Hari Kanigeri <h-kanigeri2@ti.com> 27 #include <linux/dma-mapping.h> 31 #include <linux/omap-iommu.h> 32 #include <linux/omap-mailbox.h> 36 #include <clocksource/timer-ti-dm.h> 38 #include <linux/platform_data/dmtimer-omap.h> [all …]
|
/linux/sound/soc/codecs/ |
H A D | pcm512x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <sound/soc-dapm.h> 66 regcache_mark_dirty(pcm512x->regmap); \ 67 regcache_cache_only(pcm512x->regmap, true); \ 230 ucontrol->value.integer.value[0] = pcm512x->overclock_pll; in pcm512x_overclock_pll_get() 245 return -EBUSY; in pcm512x_overclock_pll_put() 248 pcm512x->overclock_pll = ucontrol->value.integer.value[0]; in pcm512x_overclock_pll_put() 258 ucontrol->value.integer.value[0] = pcm512x->overclock_dsp; in pcm512x_overclock_dsp_get() 273 return -EBUSY; in pcm512x_overclock_dsp_put() 276 pcm512x->overclock_dsp = ucontrol->value.integer.value[0]; in pcm512x_overclock_dsp_put() [all …]
|
H A D | adau1761.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2011-2013 Analog Devices Inc. 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 125 static const DECLARE_TLV_DB_SCALE(adau1761_sing_in_tlv, -1500, 300, 1); 126 static const DECLARE_TLV_DB_SCALE(adau1761_diff_in_tlv, -1200, 75, 0); 127 static const DECLARE_TLV_DB_SCALE(adau1761_out_tlv, -5700, 100, 0); 128 static const DECLARE_TLV_DB_SCALE(adau1761_sidetone_tlv, -1800, 300, 1); 129 static const DECLARE_TLV_DB_SCALE(adau1761_boost_tlv, -600, 600, 1); 130 static const DECLARE_TLV_DB_SCALE(adau1761_pga_boost_tlv, -2000, 2000, 1); 132 static const DECLARE_TLV_DB_SCALE(adau1761_alc_max_gain_tlv, -1200, 600, 0); [all …]
|
H A D | wm9081.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm9081.c -- WM9081 ALSA SoC Audio driver 7 * Copyright 2009-12 Wolfson Microelectronics plc 30 { 2, 0x00B9 }, /* R2 - Analogue Lineout */ 31 { 3, 0x00B9 }, /* R3 - Analogue Speaker PGA */ 32 { 4, 0x0001 }, /* R4 - VMID Control */ 33 { 5, 0x0068 }, /* R5 - Bias Control 1 */ 34 { 7, 0x0000 }, /* R7 - Analogue Mixer */ 35 { 8, 0x0000 }, /* R8 - Anti Pop Control */ 36 { 9, 0x01DB }, /* R9 - Analogue Speaker 1 */ [all …]
|
/linux/drivers/pinctrl/cirrus/ |
H A D | pinctrl-lochnagar.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2017-2018 Cirrus Logic, Inc. and 20 #include <linux/pinctrl/pinconf-generic.h> 29 #include <dt-bindings/pinctrl/lochnagar.h> 31 #include "../pinctrl-utils.h" 35 #define LN_CDC_AIF1_STR "codec-aif1" 36 #define LN_CDC_AIF2_STR "codec-aif2" 37 #define LN_CDC_AIF3_STR "codec-aif3" 38 #define LN_DSP_AIF1_STR "dsp-aif1" 39 #define LN_DSP_AIF2_STR "dsp-aif2" [all …]
|
/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author:Mark Yao <mark.yao@rock-chips.com> 45 vop_reg_set(vop, &win->phy->name, win->base, ~0, v, #name) 47 vop_reg_set(vop, &win->phy->scl->name, win->base, ~0, v, #name) 49 vop_reg_set(vop, &win->phy->scl->ext->name, \ 50 win->base, ~0, v, #name) 54 if (win_yuv2yuv && win_yuv2yuv->name.mask) \ 55 vop_reg_set(vop, &win_yuv2yuv->name, 0, ~0, v, #name); \ 60 if (win_yuv2yuv && win_yuv2yuv->phy->name.mask) \ 61 vop_reg_set(vop, &win_yuv2yuv->phy->name, win_yuv2yuv->base, ~0, v, #name); \ [all …]
|
H A D | rockchip_drm_vop2.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Author: Andy Yan <andy.yan@rock-chips.com> 12 #include <linux/media-bus-format.h> 34 #include <dt-bindings/soc/rockchip,vop2.h> 44 +----------+ +-------------+ +-----------+ 47 +----------+ +-------------+ +---------------+ +-------------+ +-----------+ 48 +----------+ +-------------+ |N from 6 layers| | | 49 | Cluster | | Sel 1 from 6| | Overlay0 +--->| Video Port0 | +-----------+ 51 +----------+ +-------------+ +---------------+ +-------------+ | LVDS | 52 +----------+ +-------------+ +-----------+ [all …]
|
/linux/drivers/iio/pressure/ |
H A D | bmp280-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * https://cdn-shop.adafruit.com/datasheets/BST-BMP180-DS000-09.pdf 13 * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmp280-ds001.pdf 14 * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme280-ds002.pdf 15 * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmp388-ds001.pdf 16 * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmp390-ds002.pdf 17 * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmp581-ds004.pdf 26 * - Changed document referral from ANP015 to BST-MPS-AN004-00 on page 26 27 * - Updated equation for B3 param on section 3.5 to ((((long)AC1 * 4 + X3) << oss) + 2) / 4 28 * - Updated RoHS directive to 2011/65/EU effective 8 June 2011 on page 26 [all …]
|
/linux/Documentation/driver-api/pm/ |
H A D | devices.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 :Copyright: |copy| 2010-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 18 management (PM) code is also driver-specific. Most drivers will do very 22 This writeup gives an overview of how drivers interact with system-wide 25 background for the domain-specific work you'd do with any specific driver. 31 Drivers will use one or both of these models to put devices into low-power 36 Drivers can enter low-power states as part of entering system-wide 37 low-power states like "suspend" (also known as "suspend-to-RAM"), or 39 "suspend-to-disk"). 42 by implementing various role-specific suspend and resume methods to [all …]
|
/linux/drivers/media/i2c/ |
H A D | ov8865.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #include <media/v4l2-ctrls.h> 19 #include <media/v4l2-device.h> 20 #include <media/v4l2-fwnode.h> 21 #include <media/v4l2-image-sizes.h> 22 #include <media/v4l2-mediabus.h> 41 #define OV8865_PLL_CTRL3_M_DIV(v) (((v) - 1) & GENMASK(3, 0)) 47 #define OV8865_PLL_CTRL6_SYS_DIV(v) (((v) - 1) & BIT(0)) 52 #define OV8865_PLL_CTRLA_PRE_DIV_HALF(v) (((v) - 1) & BIT(0)) 62 #define OV8865_PLL_CTRLF_SYS_PRE_DIV(v) (((v) - 1) & GENMASK(3, 0)) [all …]
|
/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_hw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 89 * e1000_set_phy_type - Set the phy type member in the hw struct. 94 if (hw->mac_type == e1000_undefined) in e1000_set_phy_type() 95 return -E1000_ERR_PHY_TYPE; in e1000_set_phy_type() 97 switch (hw->phy_id) { in e1000_set_phy_type() 103 hw->phy_type = e1000_phy_m88; in e1000_set_phy_type() 106 if (hw->mac_type == e1000_82541 || in e1000_set_phy_type() 107 hw->mac_type == e1000_82541_rev_2 || in e1000_set_phy_type() 108 hw->mac_type == e1000_82547 || in e1000_set_phy_type() [all …]
|
/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nospcr -- disable console in ACPI SPCR table as 41 If set to vendor, prefer vendor-specific driver 73 Documentation/firmware-guide/acpi/debug.rst for more information about [all …]
|