| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/dac/ |
| D | adi,ad5770r.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Mircea Caprioru <mircea.caprioru@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD5770R.pdf 21 - adi,ad5770r 26 avdd-supply: 31 iovdd-supply: 35 vref-supply: 41 adi,external-resistor: [all …]
|
| D | ad5758.txt | 4 - compatible: Must be "adi,ad5758" 5 - reg: SPI chip select number for the device 6 - spi-max-frequency: Max SPI frequency to use (< 50000000) 7 - spi-cpha: is the only mode that is supported 11 - adi,dc-dc-mode: Mode of operation of the dc-to-dc converter 19 In this mode, the VDPC+ voltage is user-programmable to 36 - adi,range-microvolt: Voltage output range 38 * <0 5000000>: 0 V to 5 V voltage range 39 * <0 10000000>: 0 V to 10 V voltage range 40 * <(-5000000) 5000000>: ±5 V voltage range [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/ |
| D | ams,as3645a.txt | 8 and b are included in the range. 18 #address-cells : 1 19 #size-cells : 0 26 flash-timeout-us: Flash timeout in microseconds. The value must be in 27 the range [100000, 850000] and divisible by 50000. 28 flash-max-microamp: Maximum flash current in microamperes. Has to be 29 in the range between [200000, 500000] and 31 led-max-microamp: Maximum torch (assist) current in microamperes. The 32 value must be in the range between [20000, 160000] and 34 ams,input-max-microamp: Maximum flash controller input current. The [all …]
|
| D | leds-lm3601x.txt | 1 * Texas Instruments - lm3601x Single-LED Flash Driver 3 The LM3601X are ultra-small LED flash drivers that 7 - compatible : Can be one of the following 10 - reg : I2C slave address 11 - #address-cells : 1 12 - #size-cells : 0 15 - reg : 0 - Indicates a IR mode 16 1 - Indicates a Torch (white LED) mode 20 - flash-max-microamp : Range from 11mA - 1.5A 21 - flash-max-timeout-us : Range from 40ms - 1600ms [all …]
|
| D | leds-lm3532.txt | 1 * Texas Instruments - lm3532 White LED driver with ambient light sensing 4 The LM3532 provides the 3 high-voltage, low-side current sinks. The device is 5 programmable over an I2C-compatible interface and has independent 11 each with 32 internal voltage setting resistors, 8-bit logarithmic and linear 16 - compatible : "ti,lm3532" 17 - reg : I2C slave address 18 - #address-cells : 1 19 - #size-cells : 0 22 - enable-gpios : gpio pin to enable (active high)/disable the device. 23 - ramp-up-us - The Run time ramp rates/step are from one current [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 In smart batteries, these are typically stored in non-volatile memory 16 no appropriate non-volatile memory, or it is unprogrammed/incorrect. 27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle. 28 The phandle's property should be named "monitored-battery". 32 const: simple-battery 34 over-voltage-threshold-microvolt: [all …]
|
| D | summit,smb347-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 - David Heidelberg <david@ixit.cz> 11 - Dmitry Osipenko <digetx@gmail.com> 16 - summit,smb345 17 - summit,smb347 18 - summit,smb358 26 monitored-battery: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/ufs/ |
| D | ufshcd-pltfrm.txt | 3 UFSHC nodes are defined to describe on-chip UFS host controllers. 7 - compatible : must contain "jedec,ufs-1.1" or "jedec,ufs-2.0" 10 SoC-specific compatible along with "qcom,ufshc" and 12 "qcom,msm8994-ufshc", "qcom,ufshc", "jedec,ufs-2.0" 13 "qcom,msm8996-ufshc", "qcom,ufshc", "jedec,ufs-2.0" 14 "qcom,msm8998-ufshc", "qcom,ufshc", "jedec,ufs-2.0" 15 "qcom,sdm845-ufshc", "qcom,ufshc", "jedec,ufs-2.0" 16 "qcom,sm8150-ufshc", "qcom,ufshc", "jedec,ufs-2.0" 17 - interrupts : <interrupt mapping for UFS host controller IRQ> 18 - reg : <registers mapping> [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/ |
| D | usb251xb.txt | 1 Microchip USB 2.0 Hi-Speed Hub Controller 4 Hi-Speed Controller. 7 - compatible : Should be "microchip,usb251xb" or one of the specific types: 11 - reg : I2C address on the selected bus (default is <0x2C>) 14 - reset-gpios : Should specify the gpio for hub reset 15 - vdd-supply : Should specify the phandle to the regulator supplying vdd 16 - skip-config : Skip Hub configuration, but only send the USB-Attach command 17 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424) 18 - product-id : Set USB Product ID of the hub (16 bit, default depends on type) 19 - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3) [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/opp/ |
| D | opp.txt | 2 ---------------------------------------------------- 4 Devices work at voltage-current-frequency combinations and some implementations 7 applicable across wide range of devices. For illustration purpose, this document 13 Binding 1: operating-points 16 This binding only supports voltage-frequency pairs. 19 - operating-points: An array of 2-tuples items, and each item consists 20 of frequency and voltage like <freq-kHz vol-uV>. 27 compatible = "arm,cortex-a9"; 29 next-level-cache = <&L2>; 30 operating-points = < [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/ |
| D | adi,adm1177.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 11 - Beniamin Bia <beniamin.bia@analog.com> 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf 20 - adi,adm1177 25 avcc-supply: 29 shunt-resistor-micro-ohms: 34 adi,shutdown-threshold-microamp: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | max8998.txt | 1 * Maxim MAX8998, National/TI LP3974 multi-function device 3 The Maxim MAX8998 is a multi-function device which includes voltage/current 5 other sub-blocks. It is interfaced using an I2C interface. Each sub-block 8 PMIC sub-block 9 -------------- 11 The PMIC sub-block contains a number of voltage and current regulators, 17 - compatible: Should be one of the following: 18 - "maxim,max8998" for Maxim MAX8998 19 - "national,lp3974" or "ti,lp3974" for National/TI LP3974. 20 - reg: Specifies the i2c slave address of the pmic block. It should be 0x66. [all …]
|
| D | ti-lmu.txt | 6 ------ --------------------------------- 14 - compatible: Should be one of: 20 - reg: I2C slave address. 28 - enable-gpios: A GPIO specifier for hardware enable pin. 29 - ramp-up-us: Current ramping from one brightness level to 31 Range from 2048 us - 117.44 s 32 - ramp-down-us: Current ramping from one brightness level to 34 Range from 2048 us - 117.44 s 35 - ti,brightness-resolution - This determines whether to use 8 bit brightness 47 - backlight: All LMU devices have backlight child nodes. [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/dac/ |
| D | ad5758.c | 1 // SPDX-License-Identifier: GPL-2.0 102 * struct ad5758_state - driver instance specific data 106 * @out_range: struct which stores the output range 108 * @dc_dc_ilim: variable which stores the dc-to-dc converter current limit 127 * 0000: 0 V to 5 V voltage range 128 * 0001: 0 V to 10 V voltage range 129 * 0010: ±5 V voltage range 130 * 0011: ±10 V voltage range 131 * 1000: 0 mA to 20 mA current range 132 * 1001: 0 mA to 24 mA current range [all …]
|
| D | ad5770r.c | 1 // SPDX-License-Identifier: GPL-2.0+ 121 * struct ad5770R_state - driver instance specific data 161 { 0, AD5770R_CH0_NEG_60_0, -60, 0 }, 162 { 0, AD5770R_CH0_NEG_60_300, -60, 300 }, 195 regval = AD5770R_RANGE_OUTPUT_SCALING(out_mode->out_scale) | in ad5770r_set_output_mode() 196 AD5770R_RANGE_MODE(out_mode->out_range_mode); in ad5770r_set_output_mode() 198 return regmap_write(st->regmap, in ad5770r_set_output_mode() 206 regval = AD5770R_REF_RESISTOR_SEL(st->external_res); in ad5770r_set_reference() 208 if (st->internal_ref) { in ad5770r_set_reference() 211 switch (st->vref) { in ad5770r_set_reference() [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/ |
| D | meson-g12-common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/phy/phy.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/clock/g12a-clkc.h> 9 #include <dt-bindings/clock/g12a-aoclkc.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/reset/amlogic,meson-g12a-reset.h> 13 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; [all …]
|
| /kernel/linux/linux-5.10/drivers/leds/ |
| D | leds-is31fl319x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2015-16 Golden Delicious Computers 105 { .compatible = "si-en,sn3199", .data = &is31fl3199_cdef, }, 115 struct is31fl319x_chip *is31 = led->chip; in is31fl319x_brightness_set() 116 int chan = led - is31->leds; in is31fl319x_brightness_set() 121 dev_dbg(&is31->client->dev, "%s %d: %d\n", __func__, chan, brightness); in is31fl319x_brightness_set() 123 mutex_lock(&is31->lock); in is31fl319x_brightness_set() 126 ret = regmap_write(is31->regmap, IS31FL319X_PWM(chan), brightness); in is31fl319x_brightness_set() 131 for (i = 0; i < is31->cdef->num_leds; i++) { in is31fl319x_brightness_set() 140 ret = regmap_read(is31->regmap, IS31FL319X_PWM(i), &pwm_value); in is31fl319x_brightness_set() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/temperature/ |
| D | adi,ltc2983.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices LTC2983 Multi-sensor Temperature system 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System 14 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf 19 - adi,ltc2983 27 adi,mux-delay-config-us: 38 adi,filter-notch-freq: [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | of_regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 [PM_SUSPEND_STANDBY] = "regulator-state-standby", 20 [PM_SUSPEND_MEM] = "regulator-state-mem", 21 [PM_SUSPEND_MAX] = "regulator-state-disk", 29 struct regulation_constraints *constraints = &(*init_data)->constraints; in of_get_regulation_constraints() 37 n_phandles = of_count_phandle_with_args(np, "regulator-coupled-with", in of_get_regulation_constraints() 41 constraints->name = of_get_property(np, "regulator-name", NULL); in of_get_regulation_constraints() 43 if (!of_property_read_u32(np, "regulator-min-microvolt", &pval)) in of_get_regulation_constraints() 44 constraints->min_uV = pval; in of_get_regulation_constraints() 46 if (!of_property_read_u32(np, "regulator-max-microvolt", &pval)) in of_get_regulation_constraints() [all …]
|
| D | rtmv20-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 75 gpiod_set_value(priv->enable_gpio, 1); in rtmv20_lsw_enable() 80 /* HW re-enable, disable cache only and sync regcache here */ in rtmv20_lsw_enable() 81 regcache_cache_only(priv->regmap, false); in rtmv20_lsw_enable() 82 ret = regcache_sync(priv->regmap); in rtmv20_lsw_enable() 99 regcache_cache_only(priv->regmap, true); in rtmv20_lsw_disable() 100 regcache_mark_dirty(priv->regmap); in rtmv20_lsw_disable() 102 gpiod_set_value(priv->enable_gpio, 0); in rtmv20_lsw_disable() 113 return -EINVAL; in rtmv20_lsw_set_current_limit() 118 sel = (max_uA - RTMV20_LSW_MINUA) / RTMV20_LSW_STEPUA; in rtmv20_lsw_set_current_limit() [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | bd99954-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 * a) Trickle-charge with constant current (8). 21 * b) pre-charge with constant current (6) 22 * c) fast-charge, first with constant current (5) phase. After 30 *(4)` `.` ` ` ` ` ` ` ` ` ` ` ` ` ` ----------------------------. 32 * . o----+/:/ ` ` ` ` ` ` ` ` ` ` ` ` `.` ` (5) 34 * . + /- -- . 35 * . +`/- + . 36 * . o/- -: . 38 * . .--+ `/ . [all …]
|
| D | power_supply_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 42 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by() 46 if (supply->supplied_from) { in __power_supply_is_supplied_by() 47 if (!supplier->desc->name) in __power_supply_is_supplied_by() 49 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by() 50 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by() 53 if (!supply->desc->name) in __power_supply_is_supplied_by() 55 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by() 56 if (!strcmp(supplier->supplied_to[i], supply->desc->name)) in __power_supply_is_supplied_by() 69 if (pst->desc->external_power_changed) in __power_supply_changed_work() [all …]
|
| D | bq25980_charger.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 280 ret = regmap_read(bq->regmap, BQ25980_BUSOCP, &busocp_reg_code); in bq25980_get_input_curr_lim() 289 return regmap_update_bits(bq->regmap, BQ25980_CHRGR_CTRL_2, in bq25980_set_hiz() 306 if (bq->state.bypass) in bq25980_set_input_curr_lim() 307 busocp = min(busocp, bq->chip_info->busocp_sc_max); in bq25980_set_input_curr_lim() 309 busocp = min(busocp, bq->chip_info->busocp_byp_max); in bq25980_set_input_curr_lim() 311 busocp_reg_code = (busocp - BQ25980_BUSOCP_OFFSET_uA) in bq25980_set_input_curr_lim() 314 ret = regmap_write(bq->regmap, BQ25980_BUSOCP, busocp_reg_code); in bq25980_set_input_curr_lim() 318 return regmap_write(bq->regmap, BQ25980_BUSOCP_ALM, busocp_reg_code); in bq25980_set_input_curr_lim() [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/temperature/ |
| D | ltc2983.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System 42 (((chan - 1) * 4) + LTC2983_CHAN_ASSIGN_START_REG) 44 (((chan - 1) * 4) + LTC2983_TEMP_RES_START_REG) 274 * instance a resolution of 2^-10 means we have 10 fractional bits. 288 s64 __res = -(s32)val; in __convert_to_raw_sign() 292 return (u32)-__res; in __convert_to_raw_sign() 299 const struct device *dev = &st->spi->dev; in __ltc2983_fault_handler() 303 return -EIO; in __ltc2983_fault_handler() 316 u32 reg = LTC2983_CHAN_START_ADDR(sensor->chan); in __ltc2983_chan_assign_common() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | omap5-board-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 stdout-path = &uart3; 18 vmain: fixedregulator-vmain { 19 compatible = "regulator-fixed"; 20 regulator-name = "vmain"; 21 regulator-min-microvolt = <5000000>; 22 regulator-max-microvolt = <5000000>; [all …]
|