/linux/Documentation/devicetree/bindings/thermal/ |
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# 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 26 "#thermal-sensor-cells": [all …]
|
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# 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": 29 "#size-cells": [all …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | qcom,spmi-vadc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 15 voltage. The VADC is a 15-bit sigma-delta ADC. 17 voltage. The VADC is a 16-bit sigma-delta ADC. 22 - items: 23 - const: qcom,pms405-adc [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm6125-sony-xperia-seine-pdx201.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/gpio-keys.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 16 qcom,msm-id = <394 0x10000>; /* sm6125 v1 */ 17 qcom,board-id = <34 0>; 21 chassis-type = "handset"; 29 #address-cells = <2>; 30 #size-cells = <2>; [all …]
|
H A D | pm660.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 pm660-thermal { 15 polling-delay-passive = <250>; 17 thermal-sensors = <&pm660_temp>; [all …]
|
H A D | pm8950.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/iio/qcom,spmi-vadc.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 12 #include <dt-bindings/spmi/spmi.h> 16 compatible = "qcom,pm8950", "qcom,spmi-pmic"; 18 #address-cells = <1>; 19 #size-cells = <0>; 22 compatible = "qcom,pm8916-pon"; [all …]
|
H A D | pmp8074.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause 3 #include <dt-bindings/spmi/spmi.h> 4 #include <dt-bindings/iio/qcom,spmi-vadc.h> 8 compatible = "qcom,pmp8074", "qcom,spmi-pmic"; 10 #address-cells = <1>; 11 #size-cells = <0>; 14 compatible = "qcom,spmi-adc-rev2"; 17 #address-cells = <1>; 18 #size-cells = <0>; 19 #io-channel-cells = <1>; [all …]
|
H A D | sm6125-xiaomi-laurel-sprout.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/input/gpio-keys.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 17 compatible = "xiaomi,laurel-sprout", "qcom,sm6125"; 18 chassis-type = "handset"; 21 qcom,msm-id = <394 0>; /* sm6125 v1 */ 22 qcom,board-id = <11 0>; [all …]
|
H A D | sdm845-mtp.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 17 compatible = "qcom,sdm845-mtp", "qcom,sdm845"; 18 chassis-type = "handset"; 25 stdout-path = "serial0:115200n8"; 28 vph_pwr: vph-pwr-regulator { 29 compatible = "regulator-fixed"; 30 regulator-name = "vph_pwr"; 31 regulator-min-microvolt = <3700000>; [all …]
|
H A D | sc8280xp-lenovo-thinkpad-x13s.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/gpio-keys.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 17 #include "sc8280xp-pmics.dtsi" 21 compatible = "lenovo,thinkpad-x13s", "qcom,sc8280xp"; [all …]
|
H A D | pms405.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/spmi/spmi.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/iio/qcom,spmi-vadc.h> 9 #include <dt-bindings/thermal/thermal.h> 12 thermal-zones { 13 pms405-thermal { 14 polling-delay-passive = <250>; 16 thermal-sensors = <&pms405_temp>; 19 pms405_alert0: pms405-alert0 { [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 | sc7180-acer-aspire1.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/sound/qcom,q6asm.h> 7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 14 /delete-node/ &tz_mem; 15 /delete-node/ &ipa_fw_mem; 20 chassis-type = "laptop"; 30 stdout-path = "serial0:115200n8"; 33 reserved-memory { [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 | 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 | 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/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/drivers/misc/mei/ |
H A D | hw-txe.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2013-2022, Intel Corporation. All rights reserved. 18 #include "hw-txe.h" 22 #include "mei-trace.h" 27 * mei_txe_reg_read - Reads 32bit data from the txe device 41 * mei_txe_reg_write - Writes 32bit data to the txe device 54 * mei_txe_sec_reg_read_silent - Reads 32bit data from the SeC BAR 56 * @hw: the txe hardware structure 63 static inline u32 mei_txe_sec_reg_read_silent(struct mei_txe_hw *hw, in mei_txe_sec_reg_read_silent() argument 66 return mei_txe_reg_read(hw->mem_addr[SEC_BAR], offset); in mei_txe_sec_reg_read_silent() [all …]
|
/linux/drivers/gpu/drm/i915/ |
H A D | intel_pcode.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2013-2021 Intel Corporation 16 return -ENODEV; in gen6_check_mailbox_status() 18 return -ENXIO; in gen6_check_mailbox_status() 21 return -EOVERFLOW; in gen6_check_mailbox_status() 23 return -ETIMEDOUT; in gen6_check_mailbox_status() 36 return -ENXIO; in gen7_check_mailbox_status() 38 return -ETIMEDOUT; in gen7_check_mailbox_status() 40 return -EINVAL; in gen7_check_mailbox_status() 42 return -ENXIO; in gen7_check_mailbox_status() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_lspcon.c | 63 return &dig_port->dp; in lspcon_to_intel_dp() 88 if (drm_dp_read_desc(&intel_dp->aux, &intel_dp->desc, drm_dp_is_branch(intel_dp->dpcd))) { in lspcon_detect_vendor() 89 drm_err(display->drm, "Can't read description\n"); in lspcon_detect_vendor() 93 ident = &intel_dp->desc.ident; in lspcon_detect_vendor() 94 vendor_oui = (ident->oui[0] << 16) | (ident->oui[1] << 8) | in lspcon_detect_vendor() 95 ident->oui[2]; in lspcon_detect_vendor() 99 lspcon->vendor = LSPCON_VENDOR_MCA; in lspcon_detect_vendor() 100 drm_dbg_kms(display->drm, "Vendor: Mega Chips\n"); in lspcon_detect_vendor() 104 lspcon->vendor = LSPCON_VENDOR_PARADE; in lspcon_detect_vendor() 105 drm_dbg_kms(display->drm, "Vendor: Parade Tech\n"); in lspcon_detect_vendor() [all …]
|
H A D | intel_vblank.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2022-2023 Intel Corporation 34 * | may be shifted forward 1-3 extra lines via TRANSCONF 41 * ----va---> <-----------------vb--------------------> <--------va------------- 42 * | | <----vs-----> | 43 …* -vbs-----> <---vbs+1---> <---vbs+2---> <-----0-----> <-----1-----> <-----2--- (scanline counter … 44 …* -vbs-2---> <---vbs-1---> <---vbs-----> <---vbs+1---> <---vbs+2---> <-----0--- (scanline counter … 45 …* -vbs-2---> <---vbs-2---> <---vbs-1---> <---vbs-----> <---vbs+1---> <---vbs+2- (scanline counter … 60 * - most events happen at the start of horizontal sync 61 * - frame start happens at the start of horizontal blank, 1-4 lines [all …]
|
/linux/drivers/macintosh/ |
H A D | adb.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * - /sys/bus/adb to list the devices and infos 15 * - more /dev/adb to allow userland to receive the 16 * flow of auto-polling datas from a given device. 17 * - move bus probe to a kernel thread 108 * time adb_unregister returns, we know that the old handler isn't being 119 printk("adb reply (%d)", req->reply_len); 120 for(i = 0; i < req->reply_len; i++) 121 printk(" %x", req->reply[i]); 145 /* Note we reset noMovement to 0 each time we move a device */ in adb_scan_bus() [all …]
|
/linux/sound/drivers/ |
H A D | portman2x4.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) by Levent Guendogdu <levon@feature-it.com> 9 * - cleanup and rewrite 11 * - source code cleanup 13 * - fixed compilation problem with alsa 1.0.6a (removed MODULE_CLASSES, 17 * - added 2.6 kernel support 19 …* - added parport_unregister_driver to the startup routine if the driver fails to detect a po… 20 * - added support for all 4 output ports in portman_putmidi 22 * - added checks for opened input device in interrupt handler 24 * - ported from alsa 0.5 to 1.0 [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | hw.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2014-2017 Qualcomm Atheros, Inc. 11 #include "hw.h" 13 #include "wmi-ops.h" 557 survey->filled |= SURVEY_INFO_TIME | in ath10k_hw_fill_survey_time() 560 wraparound_type = ar->hw_params.cc_wraparound_type; in ath10k_hw_fill_survey_time() 567 survey->filled &= ~SURVEY_INFO_TIME_BUSY; in ath10k_hw_fill_survey_time() 582 cc -= cc_prev - cc_fix; in ath10k_hw_fill_survey_time() 583 rcc -= rcc_prev - rcc_fix; in ath10k_hw_fill_survey_time() 585 survey->time = CCNT_TO_MSEC(ar, cc); in ath10k_hw_fill_survey_time() [all …]
|
/linux/drivers/iio/adc/ |
H A D | qcom-spmi-iadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. 94 * struct iadc_chip - IADC Current ADC device structure. 122 ret = regmap_read(iadc->regmap, iadc->base + offset, &val); in iadc_read() 132 return regmap_write(iadc->regmap, iadc->base + offset, data); in iadc_write() 191 dev_err(iadc->dev, in iadc_status_show() 218 /* HW settle time delay */ in iadc_configure() 235 if (!iadc->poll_eoc) in iadc_configure() 236 reinit_completion(&iadc->complete); in iadc_configure() 268 return -ETIMEDOUT; in iadc_poll_wait_eoc() [all …]
|