| /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/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 | 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 | sc7180-trogdor-pompom.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "sc7180-trogdor.dtsi" 9 #include "sc7180-trogdor-clamshell.dtsi" 10 #include "sc7180-trogdor-rt5682i-sku.dtsi" 11 #include "sc7180-trogdor-ti-sn65dsi86.dtsi" 14 thermal-zones { 15 choke-5v-thermal { 16 thermal-sensors = <&pm6150_adc_tm 1>; 19 choke-5v-crit { 30 realtek,dmic-clk-driving-high; [all …]
|
| H A D | sc7180-trogdor-homestar.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "sc7180-trogdor-rt5682i-sku.dtsi" 9 #include "sc7180-trogdor-detachable.dtsi" 12 /* BOARD-SPECIFIC TOP LEVEL NODES */ 14 max98360a_1: amplifier-1 { 16 #sound-dai-cells = <0>; 19 max98360a_2: amplifier-2 { 21 #sound-dai-cells = <0>; 24 max98360a_3: amplifier-3 { 26 #sound-dai-cells = <0>; [all …]
|
| H A D | sc7180-trogdor.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include <dt-bindings/sound/sc7180-lpass.h> 16 #include "sc7180-firmware-tfa.dtsi" 22 thermal-zones { 23 charger_thermal: charger-thermal { [all …]
|
| /linux/Documentation/devicetree/bindings/iio/multiplexer/ |
| H A D | io-channel-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/iio/multiplexer/io-channel-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Rosin <peda@axentia.se> 16 For each non-empty string in the channels property, an io-channel will be 17 created. The number of this io-channel is the same as the index into the list 20 Documentation/devicetree/bindings/mux/mux-controller.yaml 25 const: io-channel-mux 27 io-channels: [all …]
|
| /linux/arch/arm64/boot/dts/ti/ |
| H A D | k3-am62p-verdin-ivy.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62p 8 * https://www.toradex.com/products/carrier-board/ivy-carrier-board 11 #include <dt-bindings/mux/mux.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/net/ti-dp83867.h> 21 ain1_voltage_unmanaged: voltage-divider-ain1 { 22 compatible = "voltage-divider"; 23 #io-channel-cells = <1>; 24 io-channels = <&ivy_adc1 0>; [all …]
|
| /linux/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | brcm,iproc-touchscreen.txt | 4 - compatible: must be "brcm,iproc-touchscreen" 5 - ts_syscon: handler of syscon node defining physical base 9 - clocks: The clock provided by the SOC to driver the tsc 10 - clock-names: name for the clock 11 - interrupts: The touchscreen controller's interrupt 12 - address-cells: Specify the number of u32 entries needed in child nodes. 14 - size-cells: Specify number of u32 entries needed to specify child nodes size 18 - scanning_period: Time between scans. Each step is 1024 us. Valid 1-256. 19 - debounce_timeout: Each step is 512 us. Valid 0-255 20 - settling_timeout: The settling duration (in ms) is the amount of time [all …]
|
| /linux/arch/arm64/boot/dts/allwinner/ |
| H A D | sun50i-h700-anbernic-rg35xx-h.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 7 #include "sun50i-h700-anbernic-rg35xx-plus.dts" 11 compatible = "anbernic,rg35xx-h", "allwinner,sun50i-h700"; 13 adc-joystick { 14 compatible = "adc-joystick"; 15 io-channels = <&adc_mux 0>, 19 pinctrl-0 = <&joy_mux_pin>; 20 pinctrl-names = "default"; 21 poll-interval = <60>; 22 #address-cells = <1>; [all …]
|
| /linux/Documentation/devicetree/bindings/i2c/ |
| H A D | i2c-mux-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-mux-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO-based I2C Bus Mux 10 - Wolfram Sang <wsa@kernel.org> 15 +-----+ +-----+ 17 +------------+ +-----+ +-----+ 19 | | /--------+--------+ 20 | +------+ | +------+ child bus A, on GPIO value set to 0 [all …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3566-anbernic-rg353x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include "rk3566-anbernic-rgxx3.dtsi" 11 adc-joystick { 12 compatible = "adc-joystick"; 13 io-channels = <&adc_mux 0>, 17 pinctrl-0 = <&joy_mux_en>; [all …]
|
| H A D | rk3566-powkiddy-rk2023.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/soc/rockchip,vop2.h> 13 chassis-type = "handset"; 21 adc-joystick { 22 compatible = "adc-joystick"; [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/input/joystick/ |
| H A D | gf2k.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 1998-2001 Vojtech Pavlik 24 #define GF2K_START 400 /* The time we wait for the first bit [400 us] */ 25 #define GF2K_STROBE 40 /* The time we wait for the first bit [40 us] */ 26 #define GF2K_TIMEOUT 4 /* Wait for everything to settle [4 ms] */ 43 … char gf2k_hat_to_axis[][2] = {{ 0, 0}, { 0,-1}, { 1,-1}, { 1, 0}, { 1, 1}, { 0, 1}, {-1, 1}, {-1,… 45 static char *gf2k_names[] = {"", "Genius G-09D", "Genius F-30D", "Genius F-30", "Genius MaxFighter … 46 "Genius F-30-5", "Genius Flight2000 F-23", "Genius F-31"}; 93 t--; u = v; in gf2k_read_packet() 123 while ((gameport_read(gameport) & 1) && t) t--; in gf2k_trigger_seq() [all …]
|
| /linux/drivers/mfd/ |
| H A D | wcd934x.c | 1 // SPDX-License-Identifier: GPL-2.0 36 .name = "wcd934x-codec", 38 .name = "wcd934x-gpio", 39 .of_compatible = "qcom,wcd9340-gpio", 41 .name = "wcd934x-soundwire", 42 .of_compatible = "qcom,soundwire-v1.3.0", 125 struct regmap *regmap = ddata->regmap; in wcd934x_bring_up() 139 dev_info(ddata->dev, "WCD934x chip id major 0x%x, minor 0x%x\n", in wcd934x_bring_up() 145 /* Add 1msec delay for VOUT to settle */ in wcd934x_bring_up() 158 struct device *dev = &sdev->dev; in wcd934x_slim_status_up() [all …]
|
| /linux/drivers/iio/multiplexer/ |
| H A D | iio-mux.c | 1 // SPDX-License-Identifier: GPL-2.0 42 struct mux_child *child = &mux->child[idx]; in iio_mux_select() 43 struct iio_chan_spec const *chan = &mux->chan[idx]; in iio_mux_select() 47 ret = mux_control_select_delay(mux->control, chan->channel, in iio_mux_select() 48 mux->delay_us); in iio_mux_select() 50 mux->cached_state = -1; in iio_mux_select() 54 if (mux->cached_state == chan->channel) in iio_mux_select() 57 if (chan->ext_info) { in iio_mux_select() 58 for (i = 0; chan->ext_info[i].name; ++i) { in iio_mux_select() 59 const char *attr = chan->ext_info[i].name; in iio_mux_select() [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | bcm_iproc_tsc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #define IPROC_TS_NAME "iproc-ts" 88 regmap_read(priv->regmap, reg, &val); \ 93 /* Each step is 1024 us. Valid 1-256 */ 96 /* Each step is 512 us. Valid 0-255 */ 100 * The settling duration (in ms) is the amount of time the tsc 101 * waits to allow the voltage to settle after turning on the 102 * drivers in detection mode. Valid values: 0-11 167 struct device *dev = &priv->pdev->dev; in ts_reg_dump() 198 regmap_read(priv->regmap, INTERRUPT_STATUS, &intr_status); in iproc_touchscreen_interrupt() [all …]
|
| /linux/drivers/scsi/aic7xxx/ |
| H A D | aic79xx.h | 4 * Copyright (c) 1994-2002 Justin T. Gibbs. 5 * Copyright (c) 2000-2002 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 78 SCSIID_OUR_ID((scb)->hscb->scsiid) 80 SCSIID_TARGET((ahd), (scb)->hscb->scsiid) 82 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid) 84 ((scb)->hscb->lun) 92 && (((scb)->flags & SCB_SILENT) != 0)) 95 (((scb)->flags & SCB_SILENT) != 0) 103 (tcl & (AHD_NUM_LUNS - 1)) [all …]
|
| H A D | aic7xxx.seq | 4 * Copyright (c) 1994-2001 Justin T. Gibbs. 5 * Copyright (c) 2000-2001 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 57 * a later time. This problem cannot be resolved by holding a single entry 60 * use byte 27 of the SCB as a pseudo-next pointer and to thread a list 61 * of SCBs that are awaiting selection. Since 0-0xfe are valid SCB indexes, 63 * this list every time a request sense occurs or after completing a non-tagged 78 if ((ahc->features & AHC_ULTRA2) != 0) { 82 if ((ahc->features & AHC_TWIN) != 0) { 88 if ((ahc->features & AHC_TWIN) != 0) { [all …]
|
| H A D | aic79xx.seq | 4 * Copyright (c) 1994-2001, 2004 Justin T. Gibbs. 5 * Copyright (c) 2000-2002 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 51 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { 58 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { 73 * If the kernel has caught up with us, thaw the queue. 100 cmp SCB_NEXT_COMPLETE[1], SCB_LIST_NULL jne . - 1; 110 * one last time. 124 if ((ahd->bugs & AHD_FAINT_LED_BUG) != 0) { 128 * and re-selections. Make the LED status [all …]
|
| /linux/drivers/ata/ |
| H A D | pata_hpt37x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Copyright (C) 1999-2003 Andre Hedrick <andre@linux-ide.org> 12 * Portions Copyright (C) 2005-2010 MontaVista Software, Inc. 41 * 0:3 data_high_time. Inactive time of DIOW_/DIOR_ for PIO and MW DMA. 43 * 4:8 data_low_time. Active time of DIOW_/DIOR_ for PIO and MW DMA. 45 * 9:12 cmd_high_time. Inactive time of DIOW_/DIOR_ during task file 47 * 13:17 cmd_low_time. Active time of DIOW_/DIOR_ during task file 51 * 22:24 pre_high_time. Time to initialize 1st cycle for PIO and MW DMA xfer. 52 * 25:27 cmd_pre_high_time. Time to initialize 1st PIO cycle for task file 200 * hpt37x_find_mode - reset the hpt37x bus [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. 83 #define IADC_DEF_HW_SETTLE_TIME 0 /* 0 us */ 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() [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. 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() 586 survey->time_busy = CCNT_TO_MSEC(ar, rcc); in ath10k_hw_fill_survey_time() [all …]
|