/linux/drivers/acpi/ |
H A D | sbs.c | 3 * sbs.c - ACPI Smart Battery System Driver ($Revision: 2.0 $) 28 #define ACPI_SBS_CLASS "sbs" 57 struct acpi_sbs *sbs; member 134 struct acpi_sbs *sbs = to_acpi_sbs(psy); in sbs_get_ac_property() local 137 val->intval = sbs->charger_present; in sbs_get_ac_property() 285 .name = "sbs-charger", 326 static int acpi_manager_get_info(struct acpi_sbs *sbs) in acpi_manager_get_info() argument 331 result = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_MANAGER, in acpi_manager_get_info() 334 sbs->batteries_supported = battery_system_info & 0x000f; in acpi_manager_get_info() 343 result = acpi_smbus_read(battery->sbs->hc, in acpi_battery_get_info() [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | sbs,sbs-battery.yaml | 4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-battery.yaml# 7 title: SBS compliant battery 27 - sbs,sbs-battery 29 - const: sbs,sbs-battery 34 sbs,i2c-retry-count: 40 sbs,poll-retry-count: 47 sbs,battery-detect-gpios: 53 sbs,disable-charger-broadcasts: 55 SBS batteries by default send broadcast messages to SBS compliant chargers to 56 configure max. charge current/voltage. If your hardware does not have an SBS [all …]
|
H A D | sbs,sbs-manager.yaml | 4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-manager.yaml# 7 title: SBS compliant manager 22 - sbs,sbs-manager 24 - const: sbs,sbs-manager 67 compatible = "lltc,ltc1760", "sbs,sbs-manager"; 81 compatible = "ti,bq20z65", "sbs,sbs-battery"; 83 sbs,battery-detect-gpios = <&batman 1 1>; 93 compatible = "ti,bq20z65", "sbs,sbs-battery"; 95 sbs,battery-detect-gpios = <&batman 2 1>; 105 compatible = "ti,bq20z65", "sbs,sbs-battery"; [all …]
|
H A D | sbs,sbs-charger.yaml | 4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-charger.yaml# 7 title: SBS compliant charger 25 - sbs,sbs-charger 27 - const: sbs,sbs-charger 50 compatible = "lltc,ltc4100", "sbs,sbs-charger";
|
/linux/drivers/media/tuners/ |
H A D | tda827x.c | 338 u8 sbs; member 343 { .lomax = 56875000, .svco = 3, .spd = 4, .scr = 0, .sbs = 0, .gc3 = 1}, 344 { .lomax = 67250000, .svco = 0, .spd = 3, .scr = 0, .sbs = 0, .gc3 = 1}, 345 { .lomax = 81250000, .svco = 1, .spd = 3, .scr = 0, .sbs = 0, .gc3 = 1}, 346 { .lomax = 97500000, .svco = 2, .spd = 3, .scr = 0, .sbs = 0, .gc3 = 1}, 347 { .lomax = 113750000, .svco = 3, .spd = 3, .scr = 0, .sbs = 1, .gc3 = 1}, 348 { .lomax = 134500000, .svco = 0, .spd = 2, .scr = 0, .sbs = 1, .gc3 = 1}, 349 { .lomax = 154000000, .svco = 1, .spd = 2, .scr = 0, .sbs = 1, .gc3 = 1}, 350 { .lomax = 162500000, .svco = 1, .spd = 2, .scr = 0, .sbs = 1, .gc3 = 1}, 351 { .lomax = 183000000, .svco = 2, .spd = 2, .scr = 0, .sbs = 1, .gc3 = 1}, [all …]
|
/linux/drivers/power/supply/ |
H A D | sbs-charger.c | 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 158 .name = "sbs-charger", 200 * The sbs-charger spec doesn't impose the use of an interrupt. So in in sbs_probe() 230 { .compatible = "sbs,sbs-charger" }, 237 { "sbs-charger" }, 246 .name = "sbs-charger", 253 MODULE_DESCRIPTION("SBS smart charger driver");
|
H A D | sbs-battery.c | 3 * Gas Gauge driver for SBS Compliant Batteries 20 #include <linux/power/sbs-battery.h> 602 /* SBS spec doesn't have a general health command. */ in sbs_get_battery_presence_and_health() 666 /* sbs spec says that this can be >100 % in sbs_get_battery_property() 729 /* sbs provides energy in units of 10mWh. in sbs_unit_adjustment() 749 /* sbs provides battery temperature in 0.1K in sbs_unit_adjustment() 758 /* sbs provides time to empty and time to full in minutes. in sbs_unit_adjustment() 1129 sbs_desc->name = devm_kasprintf(&client->dev, GFP_KERNEL, "sbs-%s", in sbs_probe() 1149 rc = device_property_read_u32(&client->dev, "sbs,i2c-retry-count", in sbs_probe() 1154 rc = device_property_read_u32(&client->dev, "sbs,poll-retry-count", in sbs_probe() [all …]
|
H A D | sbs-manager.c | 3 * Driver for SBS compliant Smart Battery System Managers 10 * Datasheet SBSM: http://sbs-forum.org/specs/sbsm100b.pdf 392 { "sbs-manager" }, 400 { .compatible = "sbs,sbs-manager" },
|
H A D | Makefile | 44 obj-$(CONFIG_BATTERY_SBS) += sbs-battery.o 45 obj-$(CONFIG_CHARGER_SBS) += sbs-charger.o 46 obj-$(CONFIG_MANAGER_SBS) += sbs-manager.o
|
H A D | Kconfig | 239 tristate "SBS Compliant gas gauge" 242 Say Y to include support for SBS battery driver for SBS-compliant 246 tristate "SBS Compliant charger" 250 Say Y to include support for SBS compliant battery chargers. 264 called sbs-manager.
|
/linux/arch/arm/boot/dts/ |
H A D | cros-ec-sbs.dtsi | 2 * Smart battery dts fragment for devices that use cros-ec-sbs 46 battery: sbs-battery@b { 47 compatible = "sbs,sbs-battery"; 49 sbs,i2c-retry-count = <2>; 50 sbs,poll-retry-count = <1>;
|
/linux/Documentation/devicetree/bindings/i2c/ |
H A D | i2c-arb-gpio-challenge.yaml | 119 sbs-battery@b { 120 compatible = "sbs,sbs-battery"; 122 sbs,poll-retry-count = <1>;
|
/linux/Documentation/admin-guide/media/ |
H A D | dvb_intro.rst | 108 SBS 184.500 Mhz 528 [SBS HD] 543 [SBS DIGITAL 1] 558 [SBS DIGITAL 2] 573 [SBS EPG] 588 [SBS RADIO 1] 603 [SBS RADIO 2]
|
/linux/include/linux/power/ |
H A D | sbs-battery.h | 3 * Gas Gauge driver for SBS Compliant Gas Gauges 15 * struct sbs_platform_data - platform data for sbs devices
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6q-evi.dts | 178 battery: sbs-battery@b { 179 compatible = "sbs,sbs-battery"; 181 sbs,poll-retry-count = <100>; 182 sbs,i2c-retry-count = <100>;
|
H A D | imx6dl-b1x5pv2.dtsi | 292 compatible = "ti,bq20z65", "sbs,sbs-battery"; 294 sbs,battery-detect-gpios = <&tca6424a 5 GPIO_ACTIVE_LOW>; 295 sbs,i2c-retry-count = <5>;
|
/linux/Documentation/hwmon/ |
H A D | lm83.rst | 46 SBS P014 47 SBS PSL09 78 On the SBS P014, this is different, since the LM83 is the only hardware
|
/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra124-nyan.dtsi | 364 battery: sbs-battery@b { 365 compatible = "sbs,sbs-battery"; 367 sbs,i2c-retry-count = <2>; 368 sbs,poll-retry-count = <10>;
|
/linux/arch/powerpc/boot/dts/fsl/ |
H A D | gef_sbc610.dts | 7 * Based on: SBS CM6 Device Tree Source 8 * Copyright 2007 SBS Technologies GmbH & Co. KG
|
H A D | gef_ppc9a.dts | 7 * Based on: SBS CM6 Device Tree Source 8 * Copyright 2007 SBS Technologies GmbH & Co. KG
|
H A D | gef_sbc310.dts | 7 * Based on: SBS CM6 Device Tree Source 8 * Copyright 2007 SBS Technologies GmbH & Co. KG
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5250-snow-common.dtsi | 79 battery: sbs-battery@b { 80 compatible = "sbs,sbs-battery"; 82 sbs,poll-retry-count = <1>;
|
H A D | exynos5420-peach-pit.dts | 982 battery: sbs-battery@b { 983 compatible = "sbs,sbs-battery"; 985 sbs,poll-retry-count = <1>; 986 sbs,i2c-retry-count = <2>;
|
H A D | exynos5800-peach-pi.dts | 964 battery: sbs-battery@b { 965 compatible = "sbs,sbs-battery"; 967 sbs,poll-retry-count = <1>; 968 sbs,i2c-retry-count = <2>;
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8173-elm.dtsi | 1160 battery: sbs-battery@b { 1161 compatible = "sbs,sbs-battery"; 1163 sbs,i2c-retry-count = <2>; 1164 sbs,poll-retry-count = <1>;
|