Home
last modified time | relevance | path

Searched +full:ev3 +full:- +full:battery (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/power/supply/
Dlego,ev3-battery.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/lego,ev3-battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LEGO MINDSTORMS EV3 Battery
10 - David Lechner <david@lechnology.com>
11 - Sebastian Reichel <sre@kernel.org>
14 LEGO MINDSTORMS EV3 has some built-in capability for monitoring the battery.
15 It uses 6 AA batteries or a special Li-ion rechargeable battery pack that is
16 detected by a key switch in the battery compartment.
[all …]
/linux-6.12.1/drivers/power/supply/
Dlego_ev3_battery.c2 * Battery driver for LEGO MINDSTORMS EV3
46 val->intval = batt->technology; in lego_ev3_battery_get_property()
49 /* battery voltage is iio channel * 2 + Vce of transistor */ in lego_ev3_battery_get_property()
50 ret = iio_read_channel_processed(batt->iio_v, &val->intval); in lego_ev3_battery_get_property()
54 val->intval *= 2000; in lego_ev3_battery_get_property()
55 val->intval += 50000; in lego_ev3_battery_get_property()
58 ret = iio_read_channel_processed(batt->iio_i, &val2); in lego_ev3_battery_get_property()
64 val->intval += val2; in lego_ev3_battery_get_property()
67 val->intval = batt->v_max; in lego_ev3_battery_get_property()
70 val->intval = batt->v_min; in lego_ev3_battery_get_property()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
36 battery class devices.
39 tristate "Generic battery support using IIO"
42 Say Y here to enable support for the generic battery driver
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
87 tristate "Marvell 88PM860x battery driver"
[all …]
/linux-6.12.1/arch/arm/boot/dts/ti/davinci/
Dda850-lego-ev3.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Device tree for LEGO MINDSTORMS EV3
8 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/linux-event-codes.h>
11 #include <dt-bindings/pwm/pwm.h>
16 compatible = "lego,ev3", "ti,da850";
17 model = "LEGO MINDSTORMS EV3";
29 * The buttons on the EV3 are mapped to keyboard keys.
32 compatible = "gpio-keys";
[all …]
/linux-6.12.1/
DMAINTAINERS5 ---------------------------------------------------
21 W: *Web-page* with status/info
23 B: URI for where to file *bugs*. A web-page with detailed bug
28 patches to the given subsystem. This is either an in-tree file,
29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst
46 N: [^a-z]tegra all files whose path contains tegra
64 ----------------
83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS)
85 L: linux-scsi@vger.kernel.org
88 F: drivers/scsi/3w-*
[all …]