Re: [PATCH 1/2] arm64: dts: qcom: pm8937: Add LPG PWM driver
From: Konrad Dybcio
Date: Wed Feb 12 2025 - 17:27:52 EST
On 12.02.2025 11:21 PM, Barnabás Czémán wrote:
> From: Daniil Titov <daniilt971@xxxxxxxxx>
>
> Add PWM/LPG node to the PM8937 dtsi so devices
> which use this block can enable them.
>
> Signed-off-by: Daniil Titov <daniilt971@xxxxxxxxx>
> Signed-off-by: Barnabás Czémán <barnabas.czeman@xxxxxxxxxxxxxx>
> ---
> arch/arm64/boot/dts/qcom/pm8937.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/pm8937.dtsi b/arch/arm64/boot/dts/qcom/pm8937.dtsi
> index 42b3575b36ff4d37df11ccb5ed68e965e3716300..d13f39d81386b9493e33411e7fa0fb69e94644f4 100644
> --- a/arch/arm64/boot/dts/qcom/pm8937.dtsi
> +++ b/arch/arm64/boot/dts/qcom/pm8937.dtsi
> @@ -143,6 +143,14 @@ pmic@1 {
> #address-cells = <1>;
> #size-cells = <0>;
>
> + pm8937_pwm: pwm {
> + compatible = "qcom,pm8916-pwm";
Please add a new compatible with this one as fallback, i.e.
compatible = "qcom,pm8937-pwm", "qcom,pm8916-pwm";
and add it in dt-bindings
Konrad