Commit 7ac5241e authored by Nikita Travkin's avatar Nikita Travkin Committed by Lee Jones

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: default avatarNikita Travkin <nikita@trvn.ru>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231120-pm8916-dtsi-bms-lbc-v4-1-4f91056c8252@trvn.ruSigned-off-by: default avatarLee Jones <lee@kernel.org>
parent 2f7cae55
...@@ -135,9 +135,15 @@ patternProperties: ...@@ -135,9 +135,15 @@ patternProperties:
type: object type: object
$ref: /schemas/sound/qcom,pm8916-wcd-analog-codec.yaml# $ref: /schemas/sound/qcom,pm8916-wcd-analog-codec.yaml#
"^battery@[0-9a-f]+$":
type: object
oneOf:
- $ref: /schemas/power/supply/qcom,pm8916-bms-vm.yaml#
"^charger@[0-9a-f]+$": "^charger@[0-9a-f]+$":
type: object type: object
oneOf: oneOf:
- $ref: /schemas/power/supply/qcom,pm8916-lbc.yaml#
- $ref: /schemas/power/supply/qcom,pm8941-charger.yaml# - $ref: /schemas/power/supply/qcom,pm8941-charger.yaml#
- $ref: /schemas/power/supply/qcom,pm8941-coincell.yaml# - $ref: /schemas/power/supply/qcom,pm8941-coincell.yaml#
- $ref: /schemas/power/supply/qcom,pmi8998-charger.yaml# - $ref: /schemas/power/supply/qcom,pmi8998-charger.yaml#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment