Re: [PATCH 1/4] arm64: dts: qcom: pm8550: add PWM controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 25.05.2023 17:47, Neil Armstrong wrote:
> Add the PWM function to the pm8550 dtsi, this is usually used
> to drive RGB leds on platforms using this PMIC.
> 
> Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad
>  arch/arm64/boot/dts/qcom/pm8550.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/pm8550.dtsi b/arch/arm64/boot/dts/qcom/pm8550.dtsi
> index 33f357a80636..db3d5c17a77d 100644
> --- a/arch/arm64/boot/dts/qcom/pm8550.dtsi
> +++ b/arch/arm64/boot/dts/qcom/pm8550.dtsi
> @@ -61,5 +61,15 @@ pm8550_flash: led-controller@ee00 {
>  			reg = <0xee00>;
>  			status = "disabled";
>  		};
> +
> +		pm8550_pwm: pwm {
> +			compatible = "qcom,pm8550-pwm", "qcom,pm8350c-pwm";
> +
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			#pwm-cells = <2>;
> +
> +			status = "disabled";
> +		};
>  	};
>  };
> 



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux