Searched +full:sbs +full:- +full:charger (Results 1 – 18 of 18) sorted by relevance
/linux-6.12.1/Documentation/devicetree/bindings/power/supply/ |
D | sbs,sbs-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SBS compliant charger 10 - Sebastian Reichel <sre@kernel.org> 13 Charger compatible with the smart battery system specifications 16 - $ref: power-supply.yaml# 21 - items: 22 - enum: [all …]
|
D | sbs,sbs-battery.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-battery.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SBS compliant battery 10 - Sebastian Reichel <sre@kernel.org> 16 - $ref: power-supply.yaml# 21 - items: 22 - enum: 23 - ti,bq20z45 [all …]
|
/linux-6.12.1/drivers/acpi/ |
D | sbs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sbs.c - ACPI Smart Battery System Driver ($Revision: 2.0 $) 6 * Copyright (c) 2005-2007 Vladimir Lebedev <vladimir.p.lebedev@intel.com> 28 #define ACPI_SBS_CLASS "sbs" 57 struct acpi_sbs *sbs; member 85 struct power_supply *charger; member 104 while (log--) in battery_scale() 111 return battery_scale((battery->spec & 0x0f00) >> 8); in acpi_battery_vscale() 116 return battery_scale((battery->spec & 0xf000) >> 12); in acpi_battery_ipscale() 121 return (battery->mode & 0x8000); in acpi_battery_mode() [all …]
|
/linux-6.12.1/drivers/power/supply/ |
D | sbs-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * This adds support for sbs-charger compilant chips as defined here: 6 * http://sbs-forum.org/specs/sbc110.pdf 8 * Implemetation based on sbs-battery.c 21 #include <linux/devm-helpers.h> 50 reg = chip->last_state; in sbs_get_property() 54 val->intval = !!(reg & SBS_CHARGER_STATUS_BATTERY_PRESENT); in sbs_get_property() 58 val->intval = !!(reg & SBS_CHARGER_STATUS_AC_PRESENT); in sbs_get_property() 62 val->intval = POWER_SUPPLY_STATUS_UNKNOWN; in sbs_get_property() 65 val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING; in sbs_get_property() [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 subdir-ccflags-$(CONFIG_POWER_SUPPLY_DEBUG) := -DDEBUG 4 power_supply-y := power_supply_core.o 5 power_supply-$(CONFIG_SYSFS) += power_supply_sysfs.o 6 power_supply-$(CONFIG_LEDS_TRIGGERS) += power_supply_leds.o 8 obj-$(CONFIG_POWER_SUPPLY) += power_supply.o 9 obj-$(CONFIG_POWER_SUPPLY_HWMON) += power_supply_hwmon.o 10 obj-$(CONFIG_GENERIC_ADC_BATTERY) += generic-adc-battery.o 12 obj-$(CONFIG_APM_POWER) += apm_power.o 13 obj-$(CONFIG_AXP20X_POWER) += axp20x_usb_power.o [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 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 93 tristate "ADP5061 battery charger driver" 98 charger. 104 tristate "Active-semi ACT8945A charger driver" 108 Active-semi ActivePath ACT8945A charger. [all …]
|
D | sbs-battery.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Gas Gauge driver for SBS Compliant Batteries 10 #include <linux/devm-helpers.h> 20 #include <linux/power/sbs-battery.h> 102 SBS_DATA(-1, 0x03, 0, 65535), 108 SBS_DATA(POWER_SUPPLY_PROP_CURRENT_NOW, 0x0A, -32768, 32767), 110 SBS_DATA(POWER_SUPPLY_PROP_CURRENT_AVG, 0x0B, -32768, 32767), 228 return chip->strings[i]; in sbs_get_string_buf() 230 return ERR_PTR(-EINVAL); in sbs_get_string_buf() 237 chip->technology = -1; in sbs_invalidate_cached_props() [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/ |
D | imx6dl-b1x5pv2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 // Copyright 2018-2021 General Electric Company 7 // Copyright 2018-2021 Collabora 9 #include <dt-bindings/input/input.h> 10 #include "imx6dl-qmx6.dtsi" 14 stdout-path = &uart3; 20 operating-points = < 25 fsl,soc-operating-points = < 26 /* ARM kHz SOC-PU uV */ 33 operating-points = < [all …]
|
/linux-6.12.1/arch/arm/boot/dts/samsung/ |
D | exynos5250-snow-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/maxim,max77686.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/samsung-i2s.h> 30 stdout-path = "serial3:115200n8"; 33 gpio-keys { 34 compatible = "gpio-keys"; 35 pinctrl-names = "default"; [all …]
|
D | exynos5420-peach-pit.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/clock/maxim,max77802.h> 13 #include <dt-bindings/regulator/maxim,max77802.h> 14 #include <dt-bindings/sound/samsung-i2s.h> 16 #include "exynos5420-cpus.dtsi" 21 compatible = "google,pit-rev16", [all …]
|
D | exynos5800-peach-pi.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/clock/maxim,max77802.h> 13 #include <dt-bindings/regulator/maxim,max77802.h> 14 #include <dt-bindings/sound/samsung-i2s.h> 16 #include "exynos5420-cpus.dtsi" 21 compatible = "google,pi-rev16", [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nvidia/ |
D | tegra124-nyan.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/thermal/thermal.h> 14 stdout-path = "serial0:115200n8"; 20 * missing a unit-address. However, the bootloader on these Chromebook 22 * Adding the unit-address causes the bootloader to create a /memory 34 /delete-node/ memory@80000000; 40 vdd-supply = <&vdd_3v3_hdmi>; 41 pll-supply = <&vdd_hdmi_pll>; 42 hdmi-supply = <&vdd_5v0_hdmi>; [all …]
|
D | tegra114-dalmore.dts | 1 // SPDX-License-Identifier: GPL-2.0 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 23 stdout-path = "serial0:115200n8"; 34 hdmi-supply = <&vdd_5v0_hdmi>; 35 vdd-supply = <&vdd_hdmi_reg>; 36 pll-supply = <&palmas_smps3_reg>; 38 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 39 nvidia,hpd-gpio = 46 avdd-dsi-csi-supply = <&avdd_1v2_reg>; [all …]
|
D | tegra20-asus-tf101.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/atmel-maxtouch.h> 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra20-cpu-opp.dtsi" 11 #include "tegra20-cpu-opp-microvolt.dtsi" 16 chassis-type = "convertible"; 33 * pre-existing /chosen node to be available to insert the [all …]
|
D | tegra124-venice2.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 18 stdout-path = "serial0:115200n8"; 29 vdd-supply = <&vdd_3v3_hdmi>; 30 pll-supply = <&vdd_hdmi_pll>; 31 hdmi-supply = <&vdd_5v0_hdmi>; 33 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 34 nvidia,hpd-gpio = 41 avdd-io-hdmi-dp-supply = <&vdd_1v05_run>; [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/nvidia/ |
D | tegra132-norrin.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 18 stdout-path = "serial0:115200n8"; 30 vdd-supply = <&vdd_3v3_hdmi>; 31 pll-supply = <&vdd_hdmi_pll>; 32 hdmi-supply = <&vdd_5v0_hdmi>; 34 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 35 nvidia,hpd-gpio = 42 avdd-io-hdmi-dp-supply = <&vdd_3v3_hdmi>; [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | sc7180-trogdor.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include <dt-bindings/sound/sc7180-lpass.h> 16 #include "sc7180-firmware-tfa.dtsi" 22 thermal-zones { 23 charger_thermal: charger-thermal { [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/mediatek/ |
D | mt8183-kukui.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 21 stdout-path = "serial0:115200n8"; 25 compatible = "pwm-backlight"; 27 power-supply = <®_vsys>; 28 enable-gpios = <&pio 176 0>; 29 brightness-levels = <0 1023>; 30 num-interpolated-steps = <1023>; 31 default-brightness-level = <576>; [all …]
|