On 03/12/2013 03:23 AM, Hiroshi Doyu wrote: > 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. >> diff --git a/arch/arm/boot/dts/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi >> + 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/ Since the ground-work for dtc+cpp usage isn't complete yet, and it's progress has been a little slow, I'm going to have all new DT nodes use the existing numeric scheme, and put them into Tegra's for-3.10/dt branch. Then, if we actually end up being able to convert to using dtc+cpp in 3.10, I'll create a new branch based on that for the conversion itself. Both you and I will need to rebase our conversion patches on top of all the other DT additions at that time. -- 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