Home
last modified time | relevance | path

Searched +full:pm8150b +full:- +full:vbus +full:- +full:reg (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/Documentation/devicetree/bindings/regulator/
Dqcom,usb-vbus-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/qcom,usb-vbus-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: The Qualcomm PMIC VBUS output regulator driver
10 - Wesley Cheng <wcheng@codeaurora.org>
13 This regulator driver controls the VBUS output by the Qualcomm PMIC. This
20 - qcom,pm8150b-vbus-reg
22 reg:
24 description: VBUS output base address
[all …]
/Linux-v5.15/arch/arm64/boot/dts/qcom/
Dpm8150b.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
7 #include <dt-bindings/iio/qcom,spmi-vadc.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
12 thermal-zones {
13 pm8150b-thermal {
14 polling-delay-passive = <100>;
15 polling-delay = <0>;
17 thermal-sensors = <&pm8150b_temp>;
[all …]
/Linux-v5.15/drivers/regulator/
Dqcom_usb_vbus-regulator.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Qualcomm PMIC VBUS output regulator driver
47 struct device *dev = &pdev->dev; in qcom_usb_vbus_regulator_probe()
55 ret = of_property_read_u32(dev->of_node, "reg", &base); in qcom_usb_vbus_regulator_probe()
61 regmap = dev_get_regmap(dev->parent, NULL); in qcom_usb_vbus_regulator_probe()
64 return -ENOENT; in qcom_usb_vbus_regulator_probe()
67 init_data = of_get_regulator_init_data(dev, dev->of_node, in qcom_usb_vbus_regulator_probe()
70 return -ENOMEM; in qcom_usb_vbus_regulator_probe()
78 config.of_node = dev->of_node; in qcom_usb_vbus_regulator_probe()
84 dev_err(dev, "not able to register vbus reg %d\n", ret); in qcom_usb_vbus_regulator_probe()
[all …]