Home
last modified time | relevance | path

Searched +full:device +full:- +full:chemistry (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dipaq_micro_battery.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/mfd/ipaq-micro.h>
43 u8 chemistry; member
61 ipaq_micro_tx_msg_sync(mb->micro, &msg_battery); in micro_battery_work()
69 * byte 1: chemistry in micro_battery_work()
73 * byte 5-9: same for battery 2 in micro_battery_work()
75 mb->ac = msg_battery.rx_data[0]; in micro_battery_work()
76 mb->chemistry = msg_battery.rx_data[1]; in micro_battery_work()
77 mb->voltage = ((((unsigned short)msg_battery.rx_data[3] << 8) + in micro_battery_work()
79 mb->flag = msg_battery.rx_data[4]; in micro_battery_work()
[all …]
H A Dsbs-battery.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 #include <linux/devm-helpers.h>
20 #include <linux/power/sbs-battery.h>
102 SBS_DATA(-1, 0x03, 0, 65535),
108 SBS_DATA(POWER_SUPPLY_PROP_CURRENT_NOW, 0x0A, -32768, 32767),
110 SBS_DATA(POWER_SUPPLY_PROP_CURRENT_AVG, 0x0B, -32768, 32767),
228 return chip->strings[i]; in sbs_get_string_buf()
230 return ERR_PTR(-EINVAL); in sbs_get_string_buf()
237 chip->technology = -1; in sbs_invalidate_cached_props()
240 chip->strings[i][0] = 0; in sbs_invalidate_cached_props()
[all …]
H A Dqcom_battmgr.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
190 /* mWh or mAh, based on info->power_unit */
284 struct device *dev;
321 reinit_completion(&battmgr->ack); in qcom_battmgr_request()
323 battmgr->error = 0; in qcom_battmgr_request()
325 ret = pmic_glink_send(battmgr->client, data, len); in qcom_battmgr_request()
329 left = wait_for_completion_timeout(&battmgr->ack, HZ); in qcom_battmgr_request()
331 return -ETIMEDOUT; in qcom_battmgr_request()
333 return battmgr->error; in qcom_battmgr_request()
[all …]
H A Dpower_supply_core.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include <linux/device.h>
24 #include <linux/fixp-arith.h>
26 #include "samsung-sdi-battery.h"
44 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by()
48 if (supply->supplied_from) { in __power_supply_is_supplied_by()
49 if (!supplier->desc->name) in __power_supply_is_supplied_by()
51 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by()
52 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by()
55 if (!supply->desc->name) in __power_supply_is_supplied_by()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Dsamsung,battery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
14 of lithium ion chemistry devices used for mobile phones, laptops and other
17 product, so product device trees can specify these batteries. Operating
24 - const: samsung,eb-l1m7flu
25 description: 3.8V 1500 mAh battery used in Samsung GT-I8190
26 - const: samsung,eb425161la
27 description: 3.8V 1500 mAh battery used in Samsung SGH-T599 and SGH-I407
[all …]
H A Dbattery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
14 In smart batteries, these are typically stored in non-volatile memory
16 no appropriate non-volatile memory, or it is unprogrammed/incorrect.
27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle.
28 The phandle's property should be named "monitored-battery".
32 const: simple-battery
34 device-chemistry:
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dcolorspaces.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
9 'Color' is a very complex concept and depends on physics, chemistry and
97 the non-linear component value, which is a closer match to the
98 non-linear performance of both the eye and displays. Linear component
99 values are denoted RGB, non-linear are denoted as R'G'B'. In general
102 provide linear RGB colors or to use the built-in openGL support to apply
106 non-linear R'G'B' to non-linear Y'CbCr. This function is determined by
107 the so-called luma coefficients. There may be multiple possible Y'CbCr
142 your display device uses.
157 describes many more aspects of color (physics, chemistry, biology,
/openbmc/linux/drivers/platform/x86/x86-android-tablets/
H A Dshared-psy-info.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com>
17 #include "shared-psy-info.h"
20 const char * const tusb1211_chg_det_psy[] = { "tusb1211-charger-detect" };
21 const char * const bq24190_psy[] = { "bq24190-charger" };
22 const char * const bq25890_psy[] = { "bq25890-charger-0" };
25 PROPERTY_ENTRY_STRING_ARRAY("supplied-from", bq24190_psy),
34 PROPERTY_ENTRY_STRING_ARRAY("supplied-from", bq25890_psy),
44 PROPERTY_ENTRY_STRING("compatible", "simple-battery"),
45 PROPERTY_ENTRY_STRING("device-chemistry", "lithium-ion"),
[all …]
H A Dasus.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com>
15 #include "shared-psy-info.h"
16 #include "x86-android-tablets.h"
20 .dev_id = "intel-int3496",
42 "-1", "0", "0",
48 PROPERTY_ENTRY_STRING_ARRAY("mount-matrix", asus_me176c_accel_mount_matrix),
57 PROPERTY_ENTRY_STRING_ARRAY_LEN("supplied-from", tusb1211_chg_det_psy, 1),
58 PROPERTY_ENTRY_REF("monitored-battery", &generic_lipo_hv_4v35_battery_node),
59 PROPERTY_ENTRY_U32("ti,system-minimum-microvolt", 3600000),
[all …]
/openbmc/linux/Documentation/wmi/devices/
H A Ddell-wmi-ddv.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
4 Dell DDV WMI interface driver (dell-wmi-ddv)
10 Many Dell notebooks made after ~2020 support a WMI-based interface for
15 so it was called `DDV`. Currently the ``dell-wmi-ddv`` driver supports
21 trial-and-error, please keep that in mind.
27 including batteries. It has a form similar to `CC-PPPPPP-MMMMM-YMD-SSSS-FFF`
52 …), Locale("MS\\0x409"), Description("WMI Function"), guid("{8A42EA14-4F2A-FD45-6422-0087F7A7E608}"…
62 …[WmiMethodId(6), Implemented, read, write, Description("Return Battery Chemistry Value.")] void Ba…
67 …[WmiMethodId(11), Implemented, read, write, Description("Return Battery Relative State-Of-Charge."…
79 Each WMI method takes an ACPI buffer containing a 32-bit index as input argument,
[all …]
/openbmc/linux/include/linux/
H A Dpower_supply.h1 /* SPDX-License-Identifier: GPL-2.0-only */
15 #include <linux/device.h>
226 /* Run-time specific power supply configuration */
234 /* Device specific sysfs attributes */
264 * of power supply. If this happens during device probe then it must
265 * not access internal data of device (because probe did not end).
296 struct device dev;
359 * struct power_supply_maintenance_charge_table - setting for maintenace charging
379 * below charge_term_current_ua, and then restart it (if the device is still
392 * +-------------------------------------------------------------------> t
[all …]
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Dexynos4412-p4note.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos4412 based p4note device family base DT.
4 * Based on exynos4412-midas.dtsi.
10 /dts-v1/;
12 #include "exynos4412-ppmu-common.dtsi"
14 #include <dt-bindings/clock/maxim,max77686.h>
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/linux-event-codes.h>
17 #include <dt-bindings/interrupt-controller/irq.h>
18 #include <dt-bindings/power/summit,smb347-charger.h>
[all …]