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.

dt-bindings: mfd: qcom,spmi-pmic: Add pm8916 vm-bms and lbc

PM8916 (and probably some other similar pmics) have hardware blocks for
battery monitoring and charging. Add patterns for respecive nodes so the
devicetree for those blocks can be validated properly.

Signed-off-by: Nikita Travkin <nikita@trvn.ru>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231120-pm8916-dtsi-bms-lbc-v4-1-4f91056c8252@trvn.ru
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Nikita Travkin and committed by
Lee Jones
7ac5241e 2f7cae55

+6
+6
Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
··· 135 135 type: object 136 136 $ref: /schemas/sound/qcom,pm8916-wcd-analog-codec.yaml# 137 137 138 + "^battery@[0-9a-f]+$": 139 + type: object 140 + oneOf: 141 + - $ref: /schemas/power/supply/qcom,pm8916-bms-vm.yaml# 142 + 138 143 "^charger@[0-9a-f]+$": 139 144 type: object 140 145 oneOf: 146 + - $ref: /schemas/power/supply/qcom,pm8916-lbc.yaml# 141 147 - $ref: /schemas/power/supply/qcom,pm8941-charger.yaml# 142 148 - $ref: /schemas/power/supply/qcom,pm8941-coincell.yaml# 143 149 - $ref: /schemas/power/supply/qcom,pmi8998-charger.yaml#