Searched +full:rt5033 +full:- +full:battery (Results 1 – 14 of 14) sorted by relevance
/linux-6.12.1/drivers/power/supply/ |
D | rt5033_battery.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Fuel gauge driver for Richtek RT5033 14 #include <linux/mfd/rt5033-private.h> 24 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_get_status() local 28 ret = power_supply_get_property_from_supplier(battery->psy, in rt5033_battery_get_status() 39 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_get_capacity() local 42 regmap_read(battery->regmap, RT5033_FUEL_REG_SOC_H, &msb); in rt5033_battery_get_capacity() 49 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_get_present() local 52 regmap_read(battery->regmap, RT5033_FUEL_REG_CONFIG_L, &val); in rt5033_battery_get_present() 60 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_get_watt_prop() local [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 36 battery class devices. 39 tristate "Generic battery support using IIO" 42 Say Y here to enable support for the generic battery driver 51 which include a battery charger and a boost converter. 54 tristate "MAX8925 battery charger support" 57 Say Y here to enable support for the battery charger in the Maxim 61 tristate "WM831X backup battery charger support" 64 Say Y here to enable support for the backup battery charger 87 tristate "Marvell 88PM860x battery driver" [all …]
|
D | rt5033_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Battery charger driver for RT5033 9 #include <linux/devm-helpers.h> 18 #include <linux/mfd/rt5033-private.h> 45 struct regmap *regmap = charger->regmap; in rt5033_get_charger_state() 71 /* For OTG mode, RT5033 would still report "charging" */ in rt5033_get_charger_state() 72 if (charger->otg) in rt5033_get_charger_state() 80 struct regmap *regmap = charger->regmap; in rt5033_get_charger_type() 102 struct regmap *regmap = charger->regmap; in rt5033_get_charger_current_limit() 118 struct regmap *regmap = charger->regmap; in rt5033_get_charger_const_voltage() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | richtek,rt5033.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/richtek,rt5033.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Richtek RT5033 Power Management Integrated Circuit 10 - Jakob Hauser <jahau@rocketmail.com> 13 RT5033 is a multifunction device which includes battery charger, fuel gauge, 16 battery fuel gauge uses a separate I2C bus. 20 const: richtek,rt5033 30 The regulators of RT5033 have to be instantiated under a sub-node named [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/power/supply/ |
D | richtek,rt5033-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Richtek RT5033 PMIC Battery Charger 10 - Jakob Hauser <jahau@rocketmail.com> 13 The battery charger of the multifunction device RT5033 has to be instantiated 14 under sub-node named "charger" using the following format. 18 const: richtek,rt5033-charger 20 monitored-battery: [all …]
|
D | richtek,rt5033-battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-battery.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Richtek RT5033 PMIC Fuel Gauge 10 - Stephan Gerhold <stephan@gerhold.net> 13 - $ref: power-supply.yaml# 17 const: richtek,rt5033-battery 26 - compatible 27 - reg [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | msm8916-samsung-gprimeltecan.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-fortuna-common.dtsi" 8 model = "Samsung Galaxy Grand Prime (SM-G530W)"; 10 chassis-type = "handset"; 12 reserved-memory { 14 /delete-node/ tz-apps@85a00000; 17 tz-apps@85500000 { 19 no-map; 24 &battery { [all …]
|
D | msm8916-samsung-fortuna-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-pm8916.dtsi" 4 #include "msm8916-modem-qdsp6.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 19 stdout-path = "serial0"; 22 reserved-memory { 24 tz-apps@85a00000 { [all …]
|
D | msm8916-samsung-serranove.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include "msm8916-pm8916.dtsi" 9 #include "msm8916-modem-qdsp6.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 24 * arch/arm/boot/dts/qcom-msm8916-samsung-serranove.dts 30 chassis-type = "handset"; 39 stdout-path = "serial0"; [all …]
|
D | msm8916-samsung-a2015-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-pm8916.dtsi" 4 #include "msm8916-modem-qdsp6.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 10 #include <dt-bindings/sound/apq8016-lpass.h> 20 stdout-path = "serial0"; 23 reserved-memory { [all …]
|
D | msm8939-samsung-a7.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8939-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/sound/apq8016-lpass.h> 16 chassis-type = "handset"; 25 stdout-path = "serial0"; [all …]
|
/linux-6.12.1/include/linux/mfd/ |
D | rt5033-private.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * MFD core driver for Richtek RT5033 57 /* RT5033 Charger state register */ 67 /* RT5033 CHGCTRL1 register */ 73 /* RT5033 CHGCTRL2 register */ 77 /* RT5033 DEVICE_ID register */ 81 /* RT5033 CHGCTRL3 register */ 86 /* RT5033 CHGCTRL4 register */ 92 /* RT5033 CHGCTRL5 register */ 97 /* RT5033 RT CTRL1 register */ [all …]
|
/linux-6.12.1/drivers/mfd/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 57 tristate "Active-semi ACT8945A" 62 Support for the ACT8945A PMIC from Active-semi. This device 63 features three step-down DC/DC converters and four low-dropout 64 linear regulators, along with a complete ActivePath battery 79 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 82 called sun4i-gpadc. 113 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 114 controllers, 11 LDOs, RTC, automatic battery, temperature and 144 over at91-usart-serial driver and usart-spi-driver. Only one function [all …]
|
/linux-6.12.1/drivers/regulator/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 output in order to save power and prolong battery life. This applies 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 [all …]
|