Qualcomm Technologies, Inc. WCN3990 PMU Regulators

Schema identifier ($id): "http://devicetree.org/schemas/regulator/qcom,wcn3990-pmu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>"

The WCN3990 package contains discrete modules for WLAN and Bluetooth. They are powered by the Power Management Unit (PMU) that takes inputs from the host and provides LDO outputs. This document describes this module.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qcom,wcn3950-pmu", "qcom,wcn3988-pmu", "qcom,wcn3990-pmu", "qcom,wcn3991-pmu", "qcom,wcn3998-pmu"

vddio-supply — required here #

VDD_IO supply regulator handle

vddxo-supply — required here #

VDD_XTAL supply regulator handle

vddrf-supply — required here #

VDD_RF supply regulator handle

vddch0-supply — required here #

chain 0 supply regulator handle

vddch1-supply — not listed as required here #

chain 1 supply regulator handle

swctrl-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO line indicating the state of the clock supply to the BT module

clocks — not listed as required here #

Maximum number of items (maxItems): 1

Reference clock handle

regulators — required here #

Value type (type): "object"

LDO outputs of the PMU

Properties matching a name pattern (patternProperties) #

^ldo[0-9]$ — name matches this regular expression

Shared schema rule ($ref): regulator.yaml#

Value type (type): "object"

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "regulators", "vddio-supply", "vddxo-supply", "vddrf-supply", "vddch0-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
pmu {
    compatible = "qcom,wcn3990-pmu";

    vddio-supply = <&vreg_io>;
    vddxo-supply = <&vreg_xo>;
    vddrf-supply = <&vreg_rf>;
    vddch0-supply = <&vreg_ch0>;

    regulators {
        vreg_pmu_io: ldo0 {
            regulator-name = "vreg_pmu_io";
        };

        vreg_pmu_xo: ldo1 {
            regulator-name = "vreg_pmu_xo";
        };

        vreg_pmu_rf: ldo2 {
            regulator-name = "vreg_pmu_rf";
        };

        vreg_pmu_ch0: ldo3 {
            regulator-name = "vreg_pmu_ch0";
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page