Home
last modified time | relevance | path

Searched +full:usbin +full:- +full:icl +full:- +full:change (Results 1 – 4 of 4) sorted by relevance

/linux/Documentation/devicetree/bindings/power/supply/
H A Dqcom,pmi8998-charger.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/power/supply/qcom,pmi8998-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm PMI8998/PM660 Switch-Mode Battery Charger "2"
10 - Caleb Connolly <caleb.connolly@linaro.org>
15 - qcom,pmi8998-charger
16 - qcom,pm660-charger
24 interrupt-names:
26 - const: usb-plugin
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dpmi8998.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/interrupt-controller/irq.h>
3 #include <dt-bindings/spmi/spmi.h>
7 compatible = "qcom,pmi8998", "qcom,spmi-pmic";
9 #address-cells = <1>;
10 #size-cells = <0>;
13 compatible = "qcom,pmi8998-charger";
20 interrupt-names = "usb-plugin",
21 "bat-ov",
22 "wdog-bark",
[all …]
H A Dpm660.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/iio/qcom,spmi-vadc.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
10 #include <dt-bindings/thermal/thermal.h>
13 thermal-zones {
14 pm660-thermal {
15 polling-delay-passive = <250>;
17 thermal-sensors = <&pm660_temp>;
[all …]
/linux/drivers/power/supply/
H A Dqcom_pmi8998_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2016-2019 The Linux Foundation. All rights reserved.
7 * This driver is for the switch-mode battery charger and boost
12 #include <linux/devm-helpers.h>
26 /* clang-format off */
352 /* clang-format on */
372 * struct smb2_chip - smb2 chip structure
419 rc = regmap_read(chip->regmap, chip->base + POWER_PATH_STATUS, &stat); in smb2_get_prop_usb_online()
421 dev_err(chip->dev, "Couldn't read power path status: %d\n", rc); in smb2_get_prop_usb_online()
446 rc = regmap_read(chip->regmap, chip->base + APSD_STATUS, &apsd_stat); in smb2_apsd_get_charger_type()
[all …]