Re: [PATCH 1/1 v2] ARM: dt: tegra114: add PWM nodes

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

 



Hi Andrew,

On Tue, 12 Mar 2013 00:48:15 +0100
Andrew Chew <achew@xxxxxxxxxx> wrote:

> This patch adds device tree nodes for the four PWM controllers present
> on Tegra114.
> 
> Signed-off-by: Andrew Chew <achew@xxxxxxxxxx>
> ---
> Fixed commit message.
> Corrected the compatible property.
> Placed PWM nodes in the right place such that nodes are sorted by register
> address.
> 
>  arch/arm/boot/dts/tegra114.dtsi |   32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi
> index 1dfaf28..5741ae4 100644
> --- a/arch/arm/boot/dts/tegra114.dtsi
> +++ b/arch/arm/boot/dts/tegra114.dtsi
> @@ -92,6 +92,38 @@
>  		status = "disabled";
>  	};
>  
> +	pwm0: pwm@7000a000 {
> +		compatible = "nvidia,tegra114-pwm", "nvidia,tegra20-pwm";
> +		reg = <0x7000a000 0x4>;
> +		#pwm-cells = <2>;
> +		clocks = <&tegra_car 17>;

FYI:
I'm sending out the patch(v4) to replace car magic # with macro[1].
Then you could replace the above magic #s with macro names.

[1] http://patchwork.ozlabs.org/patch/220680/
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux