/Linux-v6.1/Documentation/devicetree/bindings/power/supply/ |
D | richtek,rt9455.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 25 richtek,output-charge-current: 27 description: output current from the charger to the battery, in uA. 29 richtek,end-of-charge-percentage: 32 percent of the output charge current. When the current in constant-voltage phase drops 33 below output_charge_current x end-of-charge-percentage, charge is terminated. [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 …]
|
D | bq2515x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: TI bq2515x 500-mA Linear charger family 11 - Andrew Davis <afd@ti.com> 14 The BQ2515x family is a highly integrated battery charge management IC that 16 an output voltage rail, ADC for battery and system monitoring, and 17 push-button controller. 26 - ti,bq25150 27 - ti,bq25155 [all …]
|
D | maxim,max8903.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 19 dok-gpios: 23 uok-gpios: 27 cen-gpios: 29 description: Charge enable pin (active low, output) 31 chg-gpios: [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/iio/frequency/ |
D | adi,adf4350.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 15 - adi,adf4350 16 - adi,adf4351 21 spi-max-frequency: 28 clock-names: 35 adi,channel-spacing: 40 adi,power-up-frequency: [all …]
|
/Linux-v6.1/include/linux/mfd/ |
D | rt5033-private.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 109 /* RT5033 charger property - model, manufacturer */ 115 * RT5033 charger fast-charge current lmits (as in CHGCTRL1 register), 116 * AICR mode limits the input current for example, 117 * the AIRC 100 mode limits the input current to 100 mA. 155 /* RT5033 charger constant charge voltage (as in CHGCTRL2 register), uV */ 160 /* RT5033 charger pre-charge current limits (as in CHGCTRL4 register), uA */ 165 /* RT5033 charger fast-charge current (as in CHGCTRL5 register), uA */ 171 * RT5033 charger const-charge end of charger current ( 181 * RT5033 charger pre-charge threshold volt limits [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
D | rockchip,rk817.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 21 - rockchip,rk817 29 '#clock-cells': 31 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 35 clock-output-names: 37 From common clock binding to override the default output clock name. [all …]
|
/Linux-v6.1/include/linux/iio/frequency/ |
D | ad9523.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 38 * struct ad9523_channel_spec - Output channel configuration 40 * @channel_num: Output channel number. 41 * @divider_output_invert_en: Invert the polarity of the output clock. 42 * @sync_ignore_en: Ignore chip-level SYNC signal. 43 * @low_power_mode_en: Reduce power used in the differential output modes. 46 * @driver_mode: Output driver mode (logic level family). 49 * @channel_divider: 10-bit channel divider. 106 * struct ad9523_platform_data - platform specific information 109 * @refa_diff_rcv_en: REFA differential/single-ended input selection. [all …]
|
/Linux-v6.1/include/linux/mfd/wm831x/ |
D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x 18 int max_uA; /** Maximum current to allow */ 25 int ilim; /** Current limit in microamps */ 32 int trickle_ilim; /** Trickle charge current limit, in mA */ 34 int eoc_iterm; /** End of trickle charge current, in mA */ 35 int fast_ilim; /** Fast charge current limit, in mA */ 36 int timeout; /** Charge cycle timeout, in minutes */ 40 * Configuration for the WM831x DC-DC BuckWise convertors. This 45 * configured as an input to switch between two output voltages, [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/hwmon/ |
D | adi,ltc2947.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nuno Sá <nuno.sa@analog.com> 15 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2947.pdf 20 - adi,ltc2947 29 charge and energy. When an external clock is used, this property must be 33 adi,accumulator-ctl-pol: 35 This property controls the polarity of current that is accumulated to 36 calculate charge and energy so that, they can be only accumulated for [all …]
|
/Linux-v6.1/drivers/power/supply/ |
D | ab8500_chargalg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 34 #include "ab8500-bm.h" 35 #include "ab8500-chargalg.h" 40 /* End-of-charge criteria counter */ 169 * struct ab8500_charge_curr_maximization - Charger maximization parameters 170 * @original_iset_ua: the non optimized/maximised charger current 171 * @current_iset_ua: the charging current used at this moment 172 * @condition_cnt: number of iterations needed before a new charger current 174 * @max_current_ua: maximum charger current [all …]
|
D | rt9455_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 22 #define RT9455_DRIVER_NAME "rt9455-charger" 166 #define GET_MASK(fid) (BIT(rt9455_reg_fields[fid].msb + 1) - \ 170 * Each array initialised below shows the possible real-world values for a 172 * ascending order. The index of each real-world value represents the value 181 * When the charger is in charge mode, REG02[7:2] represent battery regulation 197 * When the charger is in boost mode, REG02[7:2] represent boost output 200 /* REG02[7:2] (Boost output voltage) in uV */ 264 for (i = 0; i < tbl_size - 1; i++) in rt9455_find_idx() 268 return (tbl_size - 1); in rt9455_find_idx() [all …]
|
D | smb347-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 #include <dt-bindings/power/summit,smb347-charger.h> 26 #define SMB3XX_SOFT_TEMP_COMPENSATE_DEFAULT -1 29 #define SMB3XX_TEMP_USE_DEFAULT -273 34 * reloaded from non-volatile registers after POR. 136 * struct smb347_charger - smb347 charger instance 147 * @max_charge_current: maximum current (in uA) the battery can be charged 149 * @pre_charge_current: current (in uA) to use in pre-charging phase 150 * @termination_current: current (in uA) used to determine when the 153 * pre-charge to fast charge mode [all …]
|
D | rk817_charger.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/devm-helpers.h> 33 * Max charging current read to/written from hardware register. 35 * current, this is per the datasheet. 68 * soc - state of charge - like the BSP this is stored as a percentage, 69 * to the thousandth. BSP has a display state of charge (dsoc) and a 70 * remaining state of charge (rsoc). This value will be used for both 72 * charge and just report it as it is. Note for example an soc of 100 115 #define CURRENT_TO_ADC(current, samp_res) \ argument 116 (current * samp_res / 172) [all …]
|
D | ucs1002_power.c | 1 // SPDX-License-Identifier: GPL-2.0+ 27 * The Total Accumulated Charge registers store the total accumulated 28 * charge delivered from the VS source to a portable device. The total 88 /* Current Limit Register */ 129 ret = regmap_read(info->regmap, UCS1002_REG_OTHER_STATUS, ®); in ucs1002_get_online() 133 val->intval = !!(reg & F_CHG_ACT); in ucs1002_get_online() 144 * For Total Accumulated Charge Middle Low Byte register, addr in ucs1002_get_charge() 153 * For Total Accumulated Charge Low Byte register, addr 04h, in ucs1002_get_charge() 186 ret = regmap_bulk_read(info->regmap, UCS1002_REG_TOTAL_ACC_CHARGE, in ucs1002_get_charge() 192 val->intval = 0; in ucs1002_get_charge() [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | qcom-msm8974pro-sony-xperia-shinano-castor.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 3 #include "qcom-pm8841.dtsi" 4 #include "qcom-pm8941.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 compatible = "sony,xperia-castor", "qcom,msm8974"; 19 stdout-path = "serial0:115200n8"; 22 gpio-keys { [all …]
|
D | qcom-apq8026-lg-lenok.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include "qcom-msm8226.dtsi" 9 #include "qcom-pm8226.dtsi" 11 /delete-node/ &adsp_region; 16 qcom,board-id = <132 0x0a>; 17 qcom,msm-id = <199 0x20000>; 25 stdout-path = "serial0:115200n8"; 28 reserved-memory { 31 no-map; [all …]
|
/Linux-v6.1/Documentation/admin-guide/cgroup-v1/ |
D | rdma.rst | 8 1-1. What is RDMA controller? 9 1-2. Why RDMA controller needed? 10 1-3. How is RDMA controller implemented? 16 1-1. What is RDMA controller? 17 ----------------------------- 25 1-2. Why RDMA controller needed? 26 -------------------------------- 37 1-3. How is RDMA controller implemented? 38 ---------------------------------------- 62 This also allows process migrated with active RDMA resource to charge [all …]
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-class-power | 5 Contact: linux-pm@vger.kernel.org 14 Contact: linux-pm@vger.kernel.org 23 Contact: linux-pm@vger.kernel.org 32 Contact: linux-pm@vger.kernel.org 43 Contact: linux-pm@vger.kernel.org 47 Reports an average IBAT current reading for the battery, over 54 Reports an average IBUS current reading over a fixed period. 62 batteries and for USB IBUS current. 66 Contact: linux-pm@vger.kernel.org 70 Reports the maximum IBAT current allowed into the battery. [all …]
|
D | sysfs-class-thermal | 14 Current temperature as reported by thermal zone (sensor). 32 charge of the thermal management. 61 E.g. it can be one of critical, hot, passive, `active[0-*]` 84 The trip point in this thermal zone which `cdev[0-*]` is 85 associated with; -1 means the cooling device is not 92 The influence of `cdev[0-*]` in this thermal zone. This value 124 Documentation/driver-api/thermal/power_allocator.rst 133 Documentation/driver-api/thermal/power_allocator.rst 141 is when the current temperature is above the "desired 143 Documentation/driver-api/thermal/power_allocator.rst [all …]
|
/Linux-v6.1/Documentation/hwmon/ |
D | ltc2947.rst | 1 Kernel drivers ltc2947-i2c and ltc2947-spi 10 Addresses scanned: - 14 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2947.pdf 21 The LTC2947 is a high precision power and energy monitor that measures current, 22 voltage, power, temperature, charge and energy. The device supports both SPI 27 accumulates if current is positive (to check battery charging efficiency for 28 example). The device also supports a GPIO pin that can be configured as output 37 The following attributes are supported. Limits are read-write, reset_history 38 is write-only and all the other attributes are read-only. 41 in0_input VP-VM voltage (mV). [all …]
|
/Linux-v6.1/drivers/regulator/ |
D | max77693-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max77693.c - Regulator driver for the Maxim 77693 and 77843 5 // Copyright (C) 2013-2015 Samsung Electronics 19 #include <linux/mfd/max77693-common.h> 20 #include <linux/mfd/max77693-private.h> 21 #include <linux/mfd/max77843-private.h> 46 * MAX77693 CHARGER regulator - Min : 20mA, Max : 2580mA, step : 20mA 48 * 0x04 ~ 0x7E = (60 + (X - 3) * 20) mA 49 * Actually for MAX77693 the driver manipulates the maximum input current, 50 * not the fast charge current (output). This should be fixed. [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | ppatomctrl.h | 4 * Permission is hereby granted, free of charge, to any person obtaining a 78 pp_atomctrl_tcipll_fb_divider ul_fb_div; /* Output Parameter: PLL FB divider */ 79 uint8_t uc_pll_ref_div; /* Output Parameter: PLL ref divider */ 80 uint8_t uc_pll_post_div; /* Output Parameter: PLL post divider */ 81 uint8_t uc_pll_cntl_flag; /*Output Flags: control flag */ 88 pp_atomctrl_tcipll_fb_divider ul_fb_div; /*Output Parameter: PLL FB divider */ 89 uint8_t uc_pll_ref_div; /*Output Parameter: PLL ref divider */ 90 uint8_t uc_pll_post_div; /*Output Parameter: PLL post divider */ 91 uint8_t uc_pll_cntl_flag; /*Output Flags: control flag */ 165 …uint16_t us_max_nb_voltage; /* high NB voltage, calculated using current VDDNB (D24F2… [all …]
|
/Linux-v6.1/drivers/gpu/drm/tiny/ |
D | repaper.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * DRM driver for Pervasive Displays RePaper branded e-ink panels 5 * Copyright 2013-2017 Pervasive Displays, Inc. 51 enum repaper_stage { /* Image pixel -> Display pixel */ 52 REPAPER_COMPENSATE, /* B -> W, W -> B (Current Image) */ 53 REPAPER_WHITE, /* B -> N, W -> W (Current Image) */ 54 REPAPER_INVERSE, /* B -> N, W -> B (New Image) */ 55 REPAPER_NORMAL /* B -> B, W -> W (New Image) */ 111 return -ENOMEM; in repaper_spi_transfer() 121 ret = -ENOMEM; in repaper_spi_transfer() [all …]
|
/Linux-v6.1/sound/soc/codecs/ |
D | es8316.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * es8316.c -- es8316 ALSA SoC audio driver 6 * Authors: David Yang <yangxiaohua@everest-semi.com>, 21 #include <sound/soc-dapm.h> 51 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(dac_vol_tlv, -9600, 50, 1); 52 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(adc_vol_tlv, -9600, 50, 1); 53 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_max_gain_tlv, -650, 150, 0); 54 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_min_gain_tlv, -1200, 150, 0); 55 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_target_tlv, -1650, 150, 0); 57 0, 4, TLV_DB_SCALE_ITEM(-1200, 150, 0), [all …]
|