[v2,1/3] dt-bindings: power: supply: pm8941-coincell: Add PM8998 compatible

Message ID 20230214090849.2186370-1-konrad.dybcio@linaro.org
State New
Headers
Series [v2,1/3] dt-bindings: power: supply: pm8941-coincell: Add PM8998 compatible |

Commit Message

Konrad Dybcio Feb. 14, 2023, 9:08 a.m. UTC
  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>
---
v1 -> v2:

- Pick up ab

 .../bindings/power/supply/qcom,pm8941-coincell.yaml       | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
  

Comments

Sebastian Reichel Feb. 16, 2023, 12:06 a.m. UTC | #1
Hi,

On Tue, Feb 14, 2023 at 10:08:47AM +0100, Konrad Dybcio wrote:
> 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>
> ---

Thanks, queued.

-- Sebastian

> v1 -> v2:
> 
> - Pick up ab
> 
>  .../bindings/power/supply/qcom,pm8941-coincell.yaml       | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml b/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml
> index 0450f4dd4e51..b7b58aed3f3c 100644
> --- a/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml
> @@ -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
> -- 
> 2.39.1
>
  
Bjorn Andersson March 15, 2023, 11:35 p.m. UTC | #2
On Tue, 14 Feb 2023 10:08:47 +0100, Konrad Dybcio wrote:
> Add a specific compatible for the coincell charger present on PM8998.
> 
> 

Applied, thanks!

[3/3] arm64: dts: qcom: pm8998: Add a specific compatible for coincell chg
      commit: 0d589dc92fca4679186a949194fc7c452d37c575

Best regards,
  

Patch

diff --git a/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml b/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml
index 0450f4dd4e51..b7b58aed3f3c 100644
--- a/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml
+++ b/Documentation/devicetree/bindings/power/supply/qcom,pm8941-coincell.yaml
@@ -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