Home
last modified time | relevance | path

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

/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
18 #include <linux/device.h>
25 #include <linux/fixp-arith.h>
27 #include "samsung-sdi-battery.h"
48 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by()
52 if (supply->supplied_from) { in __power_supply_is_supplied_by()
53 if (!supplier->desc->name) in __power_supply_is_supplied_by()
55 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by()
56 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by()
59 if (!supply->desc->name) in __power_supply_is_supplied_by()
[all …]
/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 …]
/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,
/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 …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-gplus-fl8005a.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
15 chassis-type = "tablet";
24 stdout-path = "serial0";
28 compatible = "simple-battery";
[all …]
/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;
354 * struct power_supply_maintenance_charge_table - setting for maintenace charging
374 * below charge_term_current_ua, and then restart it (if the device is still
387 * +-------------------------------------------------------------------> t
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-uti260b.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 // Copyright (C) 2022-2024 Sebastian Reichel <sre@kernel.org>
4 /dts-v1/;
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/clock/imx6ul-clock.h>
9 #include <dt-bindings/leds/common.h>
12 model = "UNI-T UTi260B Thermal Camera";
13 compatible = "uni-t,uti260b", "fsl,imx6ull";
16 stdout-path = "serial0:115200n8";
[all …]
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra30-lg-p880.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra30-lg-x3.dtsi"
16 pinctrl-names = "default";
17 pinctrl-0 = <&state_default>;
21 host-wlan-wake {
26 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
29 /* GNSS UART-B pinmux */
30 uartb-rxd {
35 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
[all …]
H A Dtegra30-lg-p895.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra30-lg-x3.dtsi"
11 pinctrl-names = "default";
12 pinctrl-0 = <&state_default>;
15 /* GNSS UART-B pinmux */
16 uartb-cts-rxd {
22 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
24 uartb-rts-txd {
30 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
[all …]
/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 …]