Home
last modified time | relevance | path

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

123

/Linux-v5.10/drivers/acpi/
Dsbs.c3 * sbs.c - ACPI Smart Battery System Driver ($Revision: 2.0 $)
28 #define ACPI_SBS_CLASS "sbs"
57 struct acpi_sbs *sbs; member
135 struct acpi_sbs *sbs = to_acpi_sbs(psy); in sbs_get_ac_property() local
138 val->intval = sbs->charger_present; in sbs_get_ac_property()
286 .name = "sbs-charger",
327 static int acpi_manager_get_info(struct acpi_sbs *sbs) in acpi_manager_get_info() argument
332 result = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_MANAGER, in acpi_manager_get_info()
335 sbs->batteries_supported = battery_system_info & 0x000f; in acpi_manager_get_info()
344 result = acpi_smbus_read(battery->sbs->hc, in acpi_battery_get_info()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/power/supply/
Dsbs,sbs-battery.yaml4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-battery.yaml#
7 title: SBS compliant battery
24 - sbs,sbs-battery
26 - const: sbs,sbs-battery
31 sbs,i2c-retry-count:
37 sbs,poll-retry-count:
44 sbs,battery-detect-gpios:
50 sbs,disable-charger-broadcasts:
52 SBS batteries by default send broadcast messages to SBS compliant chargers to
53 configure max. charge current/voltage. If your hardware does not have an SBS
[all …]
Dsbs,sbs-manager.txt1 Binding for sbs-manager
4 - compatible: "<vendor>,<part-number>", "sbs,sbs-charger" as fallback. The part
23 compatible = "lltc,ltc1760", "sbs,sbs-manager";
37 compatible = "ti,bq2060", "sbs,sbs-battery";
39 sbs,battery-detect-gpios = <&batman 1 1>;
49 compatible = "ti,bq2060", "sbs,sbs-battery";
51 sbs,battery-detect-gpios = <&batman 2 1>;
61 compatible = "ti,bq2060", "sbs,sbs-battery";
63 sbs,battery-detect-gpios = <&batman 3 1>;
Dsbs_sbs-charger.txt1 SBS sbs-charger
5 - compatible: "<vendor>,<part-number>", "sbs,sbs-charger" as fallback. The part
17 compatible = "lltc,ltc4100", "sbs,sbs-charger";
/Linux-v5.10/drivers/media/tuners/
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-v5.10/drivers/power/supply/
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
159 .name = "sbs-charger",
206 * The sbs-charger spec doesn't impose the use of an interrupt. So in in sbs_probe()
242 { .compatible = "sbs,sbs-charger" },
249 { "sbs-charger", 0 },
259 .name = "sbs-charger",
266 MODULE_DESCRIPTION("SBS smart charger driver");
Dsbs-battery.c3 * Gas Gauge driver for SBS Compliant Batteries
19 #include <linux/power/sbs-battery.h>
567 /* SBS spec doesn't have a general health command. */ in sbs_get_battery_presence_and_health()
631 /* sbs spec says that this can be >100 % in sbs_get_battery_property()
666 /* sbs provides energy in units of 10mWh. in sbs_unit_adjustment()
686 /* sbs provides battery temperature in 0.1K in sbs_unit_adjustment()
694 /* sbs provides time to empty and time to full in minutes. in sbs_unit_adjustment()
1086 sbs_desc->name = devm_kasprintf(&client->dev, GFP_KERNEL, "sbs-%s", in sbs_probe()
1105 rc = device_property_read_u32(&client->dev, "sbs,i2c-retry-count", in sbs_probe()
1110 rc = device_property_read_u32(&client->dev, "sbs,poll-retry-count", in sbs_probe()
[all …]
Dsbs-manager.c3 * Driver for SBS compliant Smart Battery System Managers
10 * Datasheet SBSM: http://sbs-forum.org/specs/sbsm100b.pdf
413 { "sbs-manager", 0 },
421 { .compatible = "sbs,sbs-manager" },
DMakefile42 obj-$(CONFIG_BATTERY_SBS) += sbs-battery.o
43 obj-$(CONFIG_CHARGER_SBS) += sbs-charger.o
44 obj-$(CONFIG_MANAGER_SBS) += sbs-manager.o
DKconfig223 tristate "SBS Compliant gas gauge"
226 Say Y to include support for SBS battery driver for SBS-compliant
230 tristate "SBS Compliant charger"
233 Say Y to include support for SBS compliant battery chargers.
247 called sbs-manager.
/Linux-v5.10/arch/arm/boot/dts/
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>;
Dimx6q-evi.dts177 battery: sbs-battery@b {
178 compatible = "sbs,sbs-battery";
180 sbs,poll-retry-count = <100>;
181 sbs,i2c-retry-count = <100>;
Dtegra124-nyan.dtsi360 battery: sbs-battery@b {
361 compatible = "sbs,sbs-battery";
363 sbs,i2c-retry-count = <2>;
364 sbs,poll-retry-count = <10>;
Dexynos5250-snow-common.dtsi80 battery: sbs-battery@b {
81 compatible = "sbs,sbs-battery";
83 sbs,poll-retry-count = <1>;
Dexynos5420-peach-pit.dts983 battery: sbs-battery@b {
984 compatible = "sbs,sbs-battery";
986 sbs,poll-retry-count = <1>;
987 sbs,i2c-retry-count = <2>;
Dexynos5800-peach-pi.dts965 battery: sbs-battery@b {
966 compatible = "sbs,sbs-battery";
968 sbs,poll-retry-count = <1>;
969 sbs,i2c-retry-count = <2>;
Drk3288-veyron-pinky.dts10 #include "cros-ec-sbs.dtsi"
/Linux-v5.10/Documentation/devicetree/bindings/i2c/
Dgoogle,cros-ec-i2c-tunnel.yaml59 battery: sbs-battery@b {
60 compatible = "sbs,sbs-battery";
62 sbs,poll-retry-count = <1>;
/Linux-v5.10/include/linux/power/
Dsbs-battery.h3 * Gas Gauge driver for SBS Compliant Gas Gauges
15 * struct sbs_platform_data - platform data for sbs devices
/Linux-v5.10/Documentation/admin-guide/media/
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-v5.10/Documentation/hwmon/
Dlm83.rst46 SBS P014
47 SBS PSL09
78 On the SBS P014, this is different, since the LM83 is the only hardware
/Linux-v5.10/arch/powerpc/boot/dts/fsl/
Dgef_ppc9a.dts7 * Based on: SBS CM6 Device Tree Source
8 * Copyright 2007 SBS Technologies GmbH & Co. KG
Dgef_sbc610.dts7 * Based on: SBS CM6 Device Tree Source
8 * Copyright 2007 SBS Technologies GmbH & Co. KG
Dgef_sbc310.dts7 * Based on: SBS CM6 Device Tree Source
8 * Copyright 2007 SBS Technologies GmbH & Co. KG
/Linux-v5.10/arch/arm64/boot/dts/mediatek/
Dmt8173-elm.dtsi1141 battery: sbs-battery@b {
1142 compatible = "sbs,sbs-battery";
1144 sbs,i2c-retry-count = <2>;
1145 sbs,poll-retry-count = <1>;

123