]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: davinci: da850: Fix pwm name matching
authorDavid Lechner <david@lechnology.com>
Mon, 31 Oct 2016 20:04:24 +0000 (15:04 -0500)
committerSekhar Nori <nsekhar@ti.com>
Tue, 1 Nov 2016 10:00:03 +0000 (15:30 +0530)
commit5ebab30fc085e553e7f524ddce6d824a91a7dc0e
tree5b0d4e49de58920774fc55cae5d869d66d46d997
parent1851cb92ff712dd97c8e90966589011220b5eb53
ARM: davinci: da850: Fix pwm name matching

This fixes pwm name matching for DA850 familiy devices. When using device
tree, the da850_auxdata_lookup[] table caused pwm devices to have the exact
same name, which caused errors when trying to register the devices.

We cannot have multiple entries for the same clock in in da850_clks[], so
we have added child clocks to the EHRPWM and ECAP LPSC clocks so that each
PWM device will have its own clock for proper name matching.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/da850.c
arch/arm/mach-davinci/da8xx-dt.c