| /linux/Documentation/devicetree/bindings/thermal/ |
| H A D | qcom-spmi-adc-tm-hc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm-hc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm's SPMI PMIC ADC HC Thermal Monitoring 9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 11 $ref: thermal-sensor.yaml# 15 const: qcom,spmi-adc-tm-hc 23 "#thermal-sensor-cells": 26 "#address-cells": [all …]
|
| H A D | qcom-spmi-adc-tm5.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm5.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm's SPMI PMIC ADC Thermal Monitoring 9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 11 $ref: thermal-sensor.yaml# 16 - qcom,spmi-adc-tm5 17 - qcom,spmi-adc-tm5-gen2 18 - qcom,adc-tm7 # Incomplete / subject to change [all …]
|
| H A D | thermal-sensor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-sensor.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Amit Kucheria <amitk@kernel.org> 20 - thermal-sensor: device that measures temperature, has SoC-specific bindings 21 - cooling-device: device used to dissipate heat either passively or actively 22 - thermal-zones: a container of the following node types used to describe all 25 This binding describes the thermal-sensor. 28 zones. Typical devices are I2C ADC converters and bandgaps. Thermal sensor [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | qcom,spmi-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm SPMI PMICs multi-function device 13 16-bit SPMI peripheral address space into 256 smaller fixed-size regions, 256 bytes 14 each. A function can consume one or more of these fixed-size register regions. 24 - Stephen Boyd <sboyd@kernel.org> 29 - pattern: '^pmic@.*$' 30 - pattern: '^pm(a|s)?[0-9]*@.*$' [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | pm8998.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 #include <dt-bindings/iio/qcom,spmi-vadc.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/spmi/spmi.h> 8 #include <dt-bindings/thermal/thermal.h> 11 thermal-zones { 12 pm8998-thermal { 13 polling-delay-passive = <250>; 15 thermal-sensors = <&pm8998_temp>; [all …]
|
| H A D | sc8180x-pmics.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2023, Linaro Limited 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 10 #include <dt-bindings/iio/qcom,spmi-vadc.h> 13 thermal-zones { 14 pmc8180-thermal { 15 polling-delay-passive = <100>; [all …]
|
| H A D | pmm8155au_1.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 9 #include <dt-bindings/iio/qcom,spmi-vadc.h> 12 thermal-zones { 13 pmm8155au-1-thermal { 14 polling-delay-passive = <100>; 16 thermal-sensors = <&pmm8155au_1_temp>; 43 compatible = "qcom,pmm8155au", "qcom,spmi-pmic"; [all …]
|
| H A D | pm6150l.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 11 thermal-zones { 12 pm6150l-thermal { 13 thermal-sensors = <&pm6150l_temp>; 40 compatible = "qcom,pm6150l", "qcom,spmi-pmic"; 42 #address-cells = <1>; 43 #size-cells = <0>; [all …]
|
| H A D | pm8150l.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/iio/qcom,spmi-vadc.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 12 thermal-zones { 13 pm8150l-thermal { 14 polling-delay-passive = <100>; 16 thermal-sensors = <&pm8150l_temp>; 43 compatible = "qcom,pm8150l", "qcom,spmi-pmic"; [all …]
|
| H A D | pm6125.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 #include <dt-bindings/iio/qcom,spmi-vadc.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/spmi/spmi.h> 10 thermal-zones { 11 pm6125-thermal { 12 polling-delay-passive = <100>; 14 thermal-sensors = <&pm6125_temp>; [all …]
|
| H A D | pm6150.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 10 #include <dt-bindings/thermal/thermal.h> 13 thermal-zones { 14 pm6150_thermal: pm6150-thermal { 15 polling-delay-passive = <100>; 17 thermal-sensors = <&pm6150_temp>; [all …]
|
| H A D | pm8150b.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/iio/qcom,spmi-vadc.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 12 thermal-zones { 13 pm8150b-thermal { 14 polling-delay-passive = <100>; 16 thermal-sensors = <&pm8150b_temp>; 43 compatible = "qcom,pm8150b", "qcom,spmi-pmic"; [all …]
|
| H A D | pmi632.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 11 thermal-zones { 12 pmi632-thermal { 13 polling-delay-passive = <100>; 15 thermal-sensors = <&pmi632_temp>; 42 compatible = "qcom,pmi632", "qcom,spmi-pmic"; 44 #address-cells = <1>; [all …]
|
| H A D | pm7250b.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/spmi/spmi.h> 11 thermal-zones { 12 pm7250b-thermal { 13 polling-delay-passive = <100>; 15 thermal-sensors = <&pm7250b_temp>; 42 compatible = "qcom,pm7250b", "qcom,spmi-pmic"; 44 #address-cells = <1>; [all …]
|
| H A D | sc8280xp-pmics.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h> 7 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 8 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/spmi/spmi.h> 14 thermal-zones { 15 pm8280_1_thermal: pm8280-1-thermal { 16 polling-delay-passive = <100>; [all …]
|
| /linux/drivers/thermal/qcom/ |
| H A D | tsens.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 49 * struct tsens_sensor - data for each sensor connected to the tsens device 53 * @hw_id: HW ID can be used in case of platform-specific IDs 55 * @status: 8960-specific variable to track 8960 and 8660 status register offset 69 * struct tsens_ops - operations as supported by the tsens device 163 /* ----- SROT ------ */ 175 /* ----- TM ------ */ 503 * struct tsens_features - Features supported by the IP 507 * @adc: do the sensors only output adc code (instead of temperature)? 508 * @srot_split: does the IP neatly splits the register space into SROT and TM, [all …]
|
| H A D | tsens-v1.c | 1 // SPDX-License-Identifier: GPL-2.0 12 /* ----- SROT ------ */ 16 /* ----- TM ------ */ 55 qfprom_cdata = (u32 *)qfprom_read(priv->dev, "calib"); in calibrate_v1() 75 .adc = 1, 78 .trip_min_temp = -40000, 86 .adc = 1, 89 .trip_min_temp = -40000, 94 /* ----- SROT ------ */ 104 /* ----- TM ------ */ [all …]
|
| H A D | tsens.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/nvmem-consumer.h> 26 * struct tsens_irq_data - IRQ status and temperature violations 81 if (priv->num_sensors > MAX_SENSORS) in tsens_read_calibration() 82 return -EINVAL; in tsens_read_calibration() 88 ret = nvmem_cell_read_variable_le_u32(priv->dev, name, &mode); in tsens_read_calibration() 89 if (ret == -ENOENT) in tsens_read_calibration() 90 dev_warn(priv->dev, "Please migrate to separate nvmem cells for calibration data\n"); in tsens_read_calibration() 94 dev_dbg(priv->dev, "calibration mode is %d\n", mode); in tsens_read_calibration() 100 ret = nvmem_cell_read_variable_le_u32(priv->dev, name, &base1); in tsens_read_calibration() [all …]
|
| H A D | tsens-v0_1.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/nvmem-consumer.h> 11 /* ----- SROT ------ */ 14 /* ----- TM ------ */ 96 qfprom_cdata = (u32 *)qfprom_read(priv->dev, "calib"); in calibrate_8916() 100 qfprom_csel = (u32 *)qfprom_read(priv->dev, "calib_sel"); in calibrate_8916() 152 ret = nvmem_cell_read_variable_le_u32(priv->dev, "use_backup", &backup); in calibrate_8974_nvmem() 153 if (ret == -ENOENT) in calibrate_8974_nvmem() 154 dev_warn(priv->dev, "Please migrate to separate nvmem cells for calibration data\n"); in calibrate_8974_nvmem() 180 calib = (u32 *)qfprom_read(priv->dev, "calib"); in calibrate_8974() [all …]
|
| H A D | tsens-8960.c | 1 // SPDX-License-Identifier: GPL-2.0 41 #define S5_STATUS_OFF 0x3664 /* Sensors 5-10 found on apq8064/msm8960 */ 48 /* Original slope - 350 to compensate mC to C inaccuracy */ 59 struct regmap *map = priv->tm_map; in suspend_8960() 61 ret = regmap_read(map, THRESHOLD_ADDR, &priv->ctx.threshold); in suspend_8960() 65 ret = regmap_read(map, CNTL_ADDR, &priv->ctx.control); in suspend_8960() 69 if (priv->num_sensors > 1) in suspend_8960() 84 struct regmap *map = priv->tm_map; in resume_8960() 94 if (priv->num_sensors > 1) { in resume_8960() 100 ret = regmap_write(map, THRESHOLD_ADDR, priv->ctx.threshold); in resume_8960() [all …]
|
| /linux/sound/mips/ |
| H A D | hal2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Based on OSS code from Ladislav Michl <ladis@linux-mips.org>, which 12 #include <linux/dma-mapping.h> 24 #include <sound/pcm-indirect.h> 29 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ 47 unsigned int ctrl; /* Current state of pbus->pbdma_ctrl */ 84 struct hal2_codec adc; member 87 #define H2_INDIRECT_WAIT(regs) while (hal2_read(®s->isr) & H2_ISR_TSTATUS); 106 struct hal2_ctl_regs *regs = hal2->ctl_regs; in hal2_i_read32() 108 hal2_write(H2_READ_ADDR(addr), ®s->iar); in hal2_i_read32() [all …]
|
| /linux/sound/pci/ice1712/ |
| H A D | ice1712.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 - spdif nonaudio consumer mode does not work (at least with my 11 Sony STR-DB830) 18 * split the code to several files. each low-level routine 25 * I also haven't done anything with the internal S/PDIF transmitter or the MPU-401 40 #include <linux/dma-mappin 134 int tm; snd_ice1712_ac97_write() local 158 int tm; snd_ice1712_ac97_read() local 188 int tm; snd_ice1712_pro_ac97_write() local 213 int tm; snd_ice1712_pro_ac97_read() local [all...] |
| H A D | ice1724.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 48 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 86 /* check whether the clock mode is spdif-in */ 97 return (!ice->is_spdif_master(ice)) && PRO_RATE_LOCKED; in is_pro_rate_locked() 107 int tm; in snd_vt1724_ac97_ready() local 108 for (tm in snd_vt1724_ac97_ready() 122 int tm; snd_vt1724_ac97_wait_bit() local [all...] |
| /linux/Documentation/sound/cards/ |
| H A D | audiophile-usb.rst | 2 Guide to using M-Audio Audiophile USB with ALSA and Jack 9 This document is a guide to using the M-Audio Audiophile USB (tm) device with 15 * v1.4 - Thibault Le Meur (2007-07-11) 17 - Added Low Endianness nature of 16bits-modes 19 - Modifying document structure 21 * v1.5 - Thibault Le Meur (2007-07-12) 22 - Added AC3/DTS passthru info 35 - This port supports 2 pairs of line-level audio inputs (1/4" TS and RCA) 36 - When the 1/4" TS (jack) connectors are connected, the RCA connectors 45 The internal DAC/ADC has the following characteristics: [all …]
|
| /linux/ |
| H A D | CREDITS | 1 This is at least a partial credits-file of people that have 4 scripts. The fields are: name (N), email (E), web-address 6 snail-mail address (S). 10 ---------- 51 D: in-kernel DRM Maintainer 76 E: tim_alpaerts@toyota-motor-europe.com 80 S: B-2610 Wilrijk-Antwerpen 85 W: http://www-stu.christs.cam.ac.uk/~aia21/ 106 D: Maintainer of ide-cd and Uniform CD-ROM driver, 107 D: ATAPI CD-Changer support, Major 2.1.x CD-ROM update. [all …]
|