Home
last modified time | relevance | path

Searched full:sbs (Results 1 – 25 of 74) sorted by relevance

123

/linux/drivers/acpi/
H A Dsbs.c3 * 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 Dsbs,sbs-battery.yaml4 $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 Dsbs,sbs-manager.yaml4 $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 Dsbs,sbs-charger.yaml4 $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 Dtda827x.c338 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 Dsbs-charger.c5 * 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 Dsbs-battery.c3 * 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 Dsbs-manager.c3 * 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 DMakefile44 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 DKconfig239 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 Dcros-ec-sbs.dtsi2 * 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 Di2c-arb-gpio-challenge.yaml119 sbs-battery@b {
120 compatible = "sbs,sbs-battery";
122 sbs,poll-retry-count = <1>;
/linux/Documentation/admin-guide/media/
H A Ddvb_intro.rst108 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 Dsbs-battery.h3 * 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 Dimx6q-evi.dts178 battery: sbs-battery@b {
179 compatible = "sbs,sbs-battery";
181 sbs,poll-retry-count = <100>;
182 sbs,i2c-retry-count = <100>;
H A Dimx6dl-b1x5pv2.dtsi292 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 Dlm83.rst46 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 Dtegra124-nyan.dtsi364 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 Dgef_sbc610.dts7 * Based on: SBS CM6 Device Tree Source
8 * Copyright 2007 SBS Technologies GmbH & Co. KG
H A Dgef_ppc9a.dts7 * Based on: SBS CM6 Device Tree Source
8 * Copyright 2007 SBS Technologies GmbH & Co. KG
H A Dgef_sbc310.dts7 * Based on: SBS CM6 Device Tree Source
8 * Copyright 2007 SBS Technologies GmbH & Co. KG
/linux/arch/arm/boot/dts/samsung/
H A Dexynos5250-snow-common.dtsi79 battery: sbs-battery@b {
80 compatible = "sbs,sbs-battery";
82 sbs,poll-retry-count = <1>;
H A Dexynos5420-peach-pit.dts982 battery: sbs-battery@b {
983 compatible = "sbs,sbs-battery";
985 sbs,poll-retry-count = <1>;
986 sbs,i2c-retry-count = <2>;
H A Dexynos5800-peach-pi.dts964 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 Dmt8173-elm.dtsi1160 battery: sbs-battery@b {
1161 compatible = "sbs,sbs-battery";
1163 sbs,i2c-retry-count = <2>;
1164 sbs,poll-retry-count = <1>;

123