Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

regulator: dt-bindings: qcom,wcn3990-pmu: describe PMUs on WCN39xx

WCN3990 and other similar WiFi/BT chips incorporate a simple on-chip PMU
(clearly described as such in the documentation). Provide DT schema
covering other Qualcomm WiFi/BT chips to cover these devices too.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Acked-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260106-wcn3990-pwrctl-v2-1-0386204328be@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>

authored by

Dmitry Baryshkov and committed by
Bartosz Golaszewski
a5fae429 b1857911

+100
+100
Documentation/devicetree/bindings/regulator/qcom,wcn3990-pmu.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/regulator/qcom,wcn3990-pmu.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm Technologies, Inc. WCN3990 PMU Regulators 8 + 9 + maintainers: 10 + - Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> 11 + 12 + description: 13 + The WCN3990 package contains discrete modules for WLAN and Bluetooth. They 14 + are powered by the Power Management Unit (PMU) that takes inputs from the 15 + host and provides LDO outputs. This document describes this module. 16 + 17 + properties: 18 + compatible: 19 + enum: 20 + - qcom,wcn3950-pmu 21 + - qcom,wcn3988-pmu 22 + - qcom,wcn3990-pmu 23 + - qcom,wcn3991-pmu 24 + - qcom,wcn3998-pmu 25 + 26 + vddio-supply: 27 + description: VDD_IO supply regulator handle 28 + 29 + vddxo-supply: 30 + description: VDD_XTAL supply regulator handle 31 + 32 + vddrf-supply: 33 + description: VDD_RF supply regulator handle 34 + 35 + vddch0-supply: 36 + description: chain 0 supply regulator handle 37 + 38 + vddch1-supply: 39 + description: chain 1 supply regulator handle 40 + 41 + swctrl-gpios: 42 + maxItems: 1 43 + description: GPIO line indicating the state of the clock supply to the BT module 44 + 45 + clocks: 46 + maxItems: 1 47 + description: Reference clock handle 48 + 49 + regulators: 50 + type: object 51 + description: 52 + LDO outputs of the PMU 53 + 54 + patternProperties: 55 + "^ldo[0-9]$": 56 + $ref: regulator.yaml# 57 + type: object 58 + unevaluatedProperties: false 59 + 60 + additionalProperties: false 61 + 62 + required: 63 + - compatible 64 + - regulators 65 + - vddio-supply 66 + - vddxo-supply 67 + - vddrf-supply 68 + - vddch0-supply 69 + 70 + additionalProperties: false 71 + 72 + examples: 73 + - | 74 + #include <dt-bindings/gpio/gpio.h> 75 + pmu { 76 + compatible = "qcom,wcn3990-pmu"; 77 + 78 + vddio-supply = <&vreg_io>; 79 + vddxo-supply = <&vreg_xo>; 80 + vddrf-supply = <&vreg_rf>; 81 + vddch0-supply = <&vreg_ch0>; 82 + 83 + regulators { 84 + vreg_pmu_io: ldo0 { 85 + regulator-name = "vreg_pmu_io"; 86 + }; 87 + 88 + vreg_pmu_xo: ldo1 { 89 + regulator-name = "vreg_pmu_xo"; 90 + }; 91 + 92 + vreg_pmu_rf: ldo2 { 93 + regulator-name = "vreg_pmu_rf"; 94 + }; 95 + 96 + vreg_pmu_ch0: ldo3 { 97 + regulator-name = "vreg_pmu_ch0"; 98 + }; 99 + }; 100 + };