Hi Andrew,

On Tue, 12 Mar 2013 00:48:15 +0100
Andrew Chew <[email protected]> wrote:

> This patch adds device tree nodes for the four PWM controllers present
> on Tegra114.
> 
> Signed-off-by: Andrew Chew <[email protected]>
> ---
> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to