Home
last modified time | relevance | path

Searched +full:sc2731 +full:- +full:adc (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/arch/arm64/boot/dts/sprd/
Dsc2731.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Spreadtrum SC2731 PMIC dts file
10 compatible = "sprd,sc2731";
12 spi-max-frequency = <26000000>;
14 interrupt-controller;
15 #interrupt-cells = <1>;
16 #address-cells = <1>;
17 #size-cells = <0>;
20 compatible = "sprd,sc2731-charger";
22 monitored-battery = <&bat>;
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Dsprd,sc2720-adc.yaml1 # 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 …]
/linux-6.12.1/Documentation/devicetree/bindings/power/supply/
Dsc27xx-fg.yaml1 # 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 …]
/linux-6.12.1/drivers/iio/adc/
Dsc27xx_adc.c1 // 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 …]
/linux-6.12.1/drivers/power/supply/
DKconfig1 # 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.
208 tristate "Sharp SL-5500 (collie) battery"
212 SL-5500 (collie) models.
223 called ingenic-battery.
242 Say Y to include support for SBS battery driver for SBS-compliant
[all …]
Dsc27xx_fuel_gauge.c1 // 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 …]
/linux-6.12.1/drivers/regulator/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
38 managed regulators and simple non-configurable regulators.
64 the netlink mechanism. User-space applications can subscribe to these events
65 for real-time updates on various regulator events.
75 They provide two I2C-controlled DC/DC step-down converters with
101 tristate "Active-semi act8865 voltage regulator"
106 This driver controls a active-semi act8865 voltage output
110 tristate "Active-semi ACT8945A voltage regulator"
113 This driver controls a active-semi ACT8945A voltage regulator
114 via I2C bus. The ACT8945A features three step-down DC/DC converters
[all …]
/linux-6.12.1/
DMAINTAINERS5 ---------------------------------------------------
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 …]