| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | sprd,sc2720-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/sprd,sc2720-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Spreadtrum SC27XX series PMICs ADC binding 10 - Baolin Wang <baolin.wang7@gmail.com> 13 Supports the ADC found on these PMICs. 18 - sprd,sc2720-adc 19 - sprd,sc2721-adc 20 - sprd,sc2723-adc [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/ |
| D | sprd,sc2720-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/sprd,sc2720-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Spreadtrum SC27XX series PMICs ADC 10 - Baolin Wang <baolin.wang7@gmail.com> 13 Supports the ADC found on these PMICs. 18 - sprd,sc2720-adc 19 - sprd,sc2721-adc 20 - sprd,sc2723-adc [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/sprd/ |
| D | sc2731.dtsi | 2 * Spreadtrum SC2731 PMIC dts file 6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 compatible = "sprd,sc2731"; 13 spi-max-frequency = <26000000>; 15 interrupt-controller; 16 #interrupt-cells = <1>; 17 #address-cells = <1>; 18 #size-cells = <0>; 21 compatible = "sprd,sc2731-charger"; 23 monitored-battery = <&bat>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/sprd/ |
| D | sc2731.dtsi | 2 * Spreadtrum SC2731 PMIC dts file 6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 compatible = "sprd,sc2731"; 13 spi-max-frequency = <26000000>; 15 interrupt-controller; 16 #interrupt-cells = <1>; 17 #address-cells = <1>; 18 #size-cells = <0>; 21 compatible = "sprd,sc2731-charger"; 23 monitored-battery = <&bat>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| D | sc27xx-fg.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/sc27xx-fg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 18 - sprd,sc2720-fgu 19 - sprd,sc2721-fgu 20 - sprd,sc2723-fgu 21 - sprd,sc2730-fgu [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | sc27xx-fg.txt | 4 - compatible: Should be one of the following: 5 "sprd,sc2720-fgu", 6 "sprd,sc2721-fgu", 7 "sprd,sc2723-fgu", 8 "sprd,sc2730-fgu", 9 "sprd,sc2731-fgu". 10 - reg: The address offset of fuel gauge unit. 11 - battery-detect-gpios: GPIO for battery detection. 12 - io-channels: Specify the IIO ADC channels to get temperature and charge voltage. 13 - io-channel-names: Should be "bat-temp" or "charge-vol". [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| D | sc27xx_adc.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/nvmem-consumer.h> 25 /* ADC controller registers definition */ 63 /* Timeout (us) for ADC data conversion according to ADC datasheet */ 67 /* Maximum ADC channel number */ 70 /* ADC voltage ratio definition */ 76 /* ADC specific channel reference voltage 3.5V */ 79 /* ADC default channel reference voltage is 2.8V */ 90 * subsystems which will access the unique ADC controller. 124 * According to the datasheet, we can convert one ADC value to one voltage value [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | sc27xx_adc.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/nvmem-consumer.h> 21 /* ADC controller registers definition */ 57 /* Timeout (us) for ADC data conversion according to ADC datasheet */ 61 /* Maximum ADC channel number */ 64 /* ADC voltage ratio definition */ 75 * subsystems which will access the unique ADC controller. 91 * According to the datasheet, we can convert one ADC value to one voltage value 93 * should use the small-scale graph, and if more than 1.2v, we should use the 94 * big-scale graph. [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 52 which uses IIO framework to read adc. 105 tristate "Active-semi ACT8945A charger driver" 109 Active-semi ActivePath ACT8945A charger. 159 tristate "DS2782/DS2786 standalone gas-gauge" 163 gas-gauge. 185 tristate "Sharp SL-6000 (tosa) battery" 189 SL-6000 (tosa) models. 192 tristate "Sharp SL-5500 (collie) battery" 196 SL-5500 (collie) models. [all …]
|
| D | sc27xx_fuel_gauge.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/nvmem-consumer.h> 91 * @cur_1000ma_adc: ADC value corresponding to 1000 mA 92 * @vol_1000mv_adc: ADC value corresponding to 1000 mV 137 static int sc27xx_fgu_adc_to_current(struct sc27xx_fgu_data *data, s64 adc) in sc27xx_fgu_adc_to_current() argument 139 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->cur_1000ma_adc); in sc27xx_fgu_adc_to_current() 142 static int sc27xx_fgu_adc_to_voltage(struct sc27xx_fgu_data *data, s64 adc) in sc27xx_fgu_adc_to_voltage() argument 144 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->vol_1000mv_adc); in sc27xx_fgu_adc_to_voltage() 149 return DIV_ROUND_CLOSEST(vol * data->vol_1000mv_adc, 1000); in sc27xx_fgu_voltage_to_adc() 156 ret = regmap_read(data->regmap, in sc27xx_fgu_is_first_poweron() [all …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 43 which uses IIO framework to read adc. 104 tristate "Active-semi ACT8945A charger driver" 108 Active-semi ActivePath ACT8945A charger. 158 tristate "DS2782/DS2786 standalone gas-gauge" 162 gas-gauge. 199 tristate "Sharp SL-5500 (collie) battery" 203 SL-5500 (collie) models. 214 called ingenic-battery. 233 Say Y to include support for SBS battery driver for SBS-compliant [all …]
|
| D | sc27xx_fuel_gauge.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/nvmem-consumer.h> 91 * @cur_1000ma_adc: ADC value corresponding to 1000 mA 92 * @vol_1000mv_adc: ADC value corresponding to 1000 mV 137 static int sc27xx_fgu_adc_to_current(struct sc27xx_fgu_data *data, s64 adc) in sc27xx_fgu_adc_to_current() argument 139 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->cur_1000ma_adc); in sc27xx_fgu_adc_to_current() 142 static int sc27xx_fgu_adc_to_voltage(struct sc27xx_fgu_data *data, s64 adc) in sc27xx_fgu_adc_to_voltage() argument 144 return DIV_S64_ROUND_CLOSEST(adc * 1000, data->vol_1000mv_adc); in sc27xx_fgu_adc_to_voltage() 149 return DIV_ROUND_CLOSEST(vol * data->vol_1000mv_adc, 1000); in sc27xx_fgu_voltage_to_adc() 156 ret = regmap_read(data->regmap, in sc27xx_fgu_is_first_poweron() [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 65 They provide two I2C-controlled DC/DC step-down converters with 85 tristate "Active-semi act8865 voltage regulator" 90 This driver controls a active-semi act8865 voltage output 94 tristate "Active-semi ACT8945A voltage regulator" 97 This driver controls a active-semi ACT8945A voltage regulator 98 via I2C bus. The ACT8945A features three step-down DC/DC converters 99 and four low-dropout linear regulators, along with a ActivePath 110 tristate "Freescale i.MX on-chip ANATOP LDO regulators" [all …]
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 65 They provide two I2C-controlled DC/DC step-down converters with 85 tristate "Active-semi act8865 voltage regulator" 90 This driver controls a active-semi act8865 voltage output 94 tristate "Active-semi ACT8945A voltage regulator" 97 This driver controls a active-semi ACT8945A voltage regulator 98 via I2C bus. The ACT8945A features three step-down DC/DC converters 99 and four low-dropout linear regulators, along with a ActivePath 110 tristate "Freescale i.MX on-chip ANATOP LDO regulators" [all …]
|
| /kernel/linux/linux-6.6/ |
| D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|
| /kernel/linux/linux-5.10/ |
| D | MAINTAINERS | 9 ------------------------- 30 ``diff -u`` to make the patch easy to merge. Be prepared to get your 40 See Documentation/process/coding-style.rst for guidance here. 46 See Documentation/process/submitting-patches.rst for details. 57 include a Signed-off-by: line. The current version of this 59 Documentation/process/submitting-patches.rst. 70 that the bug would present a short-term risk to other users if it 76 Documentation/admin-guide/security-bugs.rst for details. 81 --------------------------------------------------- 97 W: *Web-page* with status/info [all …]
|