dt-bindings: power: supply: pm8941-coincell: Add PM8998 compatible
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Tue, 14 Feb 2023 09:08:47 +0000 (10:08 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 15 Feb 2023 21:46:55 +0000 (22:46 +0100)
Add a specific compatible for the coincell charger present on PM8998.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml

index 0450f4d..b7b58ae 100644 (file)
@@ -16,7 +16,13 @@ maintainers:
 
 properties:
   compatible:
-    const: qcom,pm8941-coincell
+    oneOf:
+      - items:
+          - enum:
+              - qcom,pm8998-coincell
+          - const: qcom,pm8941-coincell
+
+      - const: qcom,pm8941-coincell
 
   reg:
     maxItems: 1