[v2,3/3] arm64: dts: qcom: pm8998: Add a specific compatible for coincell chg

Message ID 20230214090849.2186370-3-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 PM8998-specific compatibel to the coincell charger and keep the
PM8941 one as fallback.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
v1 -> v2:

No changes

 arch/arm64/boot/dts/qcom/pm8998.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Marijn Suijten Feb. 14, 2023, 11:40 a.m. UTC | #1
On 2023-02-14 10:08:49, Konrad Dybcio wrote:
> Add a PM8998-specific compatibel to the coincell charger and keep the

I know you've been taking Dutch lessons, compatibel is a Dutch word :)

> PM8941 one as fallback.
> 
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>

> ---
> v1 -> v2:
> 
> No changes
> 
>  arch/arm64/boot/dts/qcom/pm8998.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi b/arch/arm64/boot/dts/qcom/pm8998.dtsi
> index adbba9f4089a..340033ac3186 100644
> --- a/arch/arm64/boot/dts/qcom/pm8998.dtsi
> +++ b/arch/arm64/boot/dts/qcom/pm8998.dtsi
> @@ -72,7 +72,7 @@ pm8998_temp: temp-alarm@2400 {
>  		};
>  
>  		pm8998_coincell: charger@2800 {
> -			compatible = "qcom,pm8941-coincell";
> +			compatible = "qcom,pm8998-coincell", "qcom,pm8941-coincell";
>  			reg = <0x2800>;
>  
>  			status = "disabled";
> -- 
> 2.39.1
>
  

Patch

diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi b/arch/arm64/boot/dts/qcom/pm8998.dtsi
index adbba9f4089a..340033ac3186 100644
--- a/arch/arm64/boot/dts/qcom/pm8998.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8998.dtsi
@@ -72,7 +72,7 @@  pm8998_temp: temp-alarm@2400 {
 		};
 
 		pm8998_coincell: charger@2800 {
-			compatible = "qcom,pm8941-coincell";
+			compatible = "qcom,pm8998-coincell", "qcom,pm8941-coincell";
 			reg = <0x2800>;
 
 			status = "disabled";