Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dlego_ev3_battery.txt1 LEGO MINDSTORMS EV3 Battery
4 LEGO MINDSTORMS EV3 has some built-in capability for monitoring the battery.
5 It uses 6 AA batteries or a special Li-ion rechargeable battery pack that is
6 detected by a key switch in the battery compartment.
9 - compatible: Must be "lego,ev3-battery"
10 - io-channels: phandles to analog inputs for reading voltage and current
11 - io-channel-names: Must be "voltage", "current"
12 - rechargeable-gpios: phandle to the rechargeable battery indication gpio
16 battery {
17 compatible = "lego,ev3-battery";
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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
45 battery class devices.
48 tristate "Generic battery support using IIO"
51 Say Y here to enable support for the generic battery driver
55 tristate "MAX8925 battery charger support"
58 Say Y here to enable support for the battery charger in the Maxim
62 tristate "WM831X backup battery charger support"
65 Say Y here to enable support for the backup battery charger
88 tristate "Marvell 88PM860x battery driver"
91 Say Y here to enable battery monitor for Marvell 88PM860x chip.
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
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 …]
/kernel/linux/linux-6.6/
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 …]
/kernel/linux/linux-5.10/
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]