From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423025AbcKAJc3 (ORCPT ); Tue, 1 Nov 2016 05:32:29 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:53965 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422780AbcKAJcZ (ORCPT ); Tue, 1 Nov 2016 05:32:25 -0400 Subject: Re: [PATCH v2] ARM: davinci: da850: Fix pwm name matching To: David Lechner , Kevin Hilman References: <1477944264-18637-1-git-send-email-david@lechnology.com> CC: , From: Sekhar Nori Message-ID: <7379b08c-acab-51a6-b5b8-eca789d10fc0@ti.com> Date: Tue, 1 Nov 2016 15:01:08 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1477944264-18637-1-git-send-email-david@lechnology.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 01 November 2016 01:34 AM, David Lechner wrote: > 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 This looks good to me. Thanks! I have added it to my fixes branch for further testing before sending upstream. Thanks, Sekhar