Home
last modified time | relevance | path

Searched refs:sbs (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.6.21/drivers/acpi/
Dsbs.c57 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()
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()
365 result = acpi_smbus_read(battery->sbs->hc, in acpi_battery_get_state()
381 return acpi_smbus_read(battery->sbs->hc, SMBUS_READ_WORD, in acpi_battery_get_alarm()
388 struct acpi_sbs *sbs = battery->sbs; in acpi_battery_set_alarm() local
[all …]
DMakefile100 obj-$(CONFIG_ACPI_SBS) += sbs.o
/linux-6.6.21/Documentation/devicetree/bindings/power/supply/
Dsbs,sbs-manager.yaml4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-manager.yaml#
22 - sbs,sbs-manager
24 - const: sbs,sbs-manager
61 compatible = "lltc,ltc1760", "sbs,sbs-manager";
75 compatible = "ti,bq20z65", "sbs,sbs-battery";
77 sbs,battery-detect-gpios = <&batman 1 1>;
87 compatible = "ti,bq20z65", "sbs,sbs-battery";
89 sbs,battery-detect-gpios = <&batman 2 1>;
99 compatible = "ti,bq20z65", "sbs,sbs-battery";
101 sbs,battery-detect-gpios = <&batman 3 1>;
Dsbs,sbs-battery.yaml4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-battery.yaml#
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:
77 compatible = "ti,bq20z75", "sbs,sbs-battery";
79 sbs,i2c-retry-count = <2>;
80 sbs,poll-retry-count = <10>;
[all …]
Dsbs,sbs-charger.yaml4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-charger.yaml#
25 - sbs,sbs-charger
27 - const: sbs,sbs-charger
50 compatible = "lltc,ltc4100", "sbs,sbs-charger";
/linux-6.6.21/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-6.6.21/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>;
/linux-6.6.21/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>;
Di2c-arb-gpio-challenge.yaml119 sbs-battery@b {
120 compatible = "sbs,sbs-battery";
122 sbs,poll-retry-count = <1>;
/linux-6.6.21/drivers/power/supply/
DMakefile43 obj-$(CONFIG_BATTERY_SBS) += sbs-battery.o
44 obj-$(CONFIG_CHARGER_SBS) += sbs-charger.o
45 obj-$(CONFIG_MANAGER_SBS) += sbs-manager.o
/linux-6.6.21/arch/arm/boot/dts/nxp/imx/
Dimx6q-evi.dts178 battery: sbs-battery@b {
179 compatible = "sbs,sbs-battery";
181 sbs,poll-retry-count = <100>;
182 sbs,i2c-retry-count = <100>;
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>;
Dimx6q-novena.dts274 compatible = "sbs,sbs-battery";
276 sbs,i2c-retry-count = <50>;
/linux-6.6.21/arch/arm/boot/dts/nvidia/
Dtegra124-nyan.dtsi363 battery: sbs-battery@b {
364 compatible = "sbs,sbs-battery";
366 sbs,i2c-retry-count = <2>;
367 sbs,poll-retry-count = <10>;
Dtegra124-venice2.dts881 battery: sbs-battery@b {
882 compatible = "sbs,sbs-battery";
884 sbs,i2c-retry-count = <2>;
885 sbs,poll-retry-count = <1>;
Dtegra20-seaboard.dts814 compatible = "ti,bq20z75", "sbs,sbs-battery";
816 sbs,i2c-retry-count = <2>;
817 sbs,poll-retry-count = <10>;
Dtegra114-dalmore.dts772 compatible = "ti,bq20z45", "sbs,sbs-battery";
774 sbs,i2c-retry-count = <2>;
775 sbs,poll-retry-count = <100>;
/linux-6.6.21/arch/arm/boot/dts/samsung/
Dexynos5250-snow-common.dtsi79 battery: sbs-battery@b {
80 compatible = "sbs,sbs-battery";
82 sbs,poll-retry-count = <1>;
Dexynos5420-peach-pit.dts981 battery: sbs-battery@b {
982 compatible = "sbs,sbs-battery";
984 sbs,poll-retry-count = <1>;
985 sbs,i2c-retry-count = <2>;
Dexynos5800-peach-pi.dts963 battery: sbs-battery@b {
964 compatible = "sbs,sbs-battery";
966 sbs,poll-retry-count = <1>;
967 sbs,i2c-retry-count = <2>;
/linux-6.6.21/arch/arm64/boot/dts/mediatek/
Dmt8173-elm.dtsi1173 battery: sbs-battery@b {
1174 compatible = "sbs,sbs-battery";
1176 sbs,i2c-retry-count = <2>;
1177 sbs,poll-retry-count = <1>;
/linux-6.6.21/arch/arm64/boot/dts/qcom/
Dsc7280-idp-ec-h1.dtsi62 #include <arm/cros-ec-sbs.dtsi>
/linux-6.6.21/arch/arm/boot/dts/rockchip/
Drk3288-veyron-pinky.dts10 #include "../cros-ec-sbs.dtsi"
Drk3288-veyron-speedy.dts11 #include "../cros-ec-sbs.dtsi"
Drk3288-veyron-jaq.dts11 #include "../cros-ec-sbs.dtsi"

12