Re: [PATCH v5 3/6] ARM: AM335x/AM437x: hwmod: Remove eQEP, ePWM and eCAP hwmod entries
From: Rob Herring
Date: Thu Mar 17 2016 - 15:04:35 EST
On Thu, Mar 17, 2016 at 10:45 AM, Franklin S Cooper Jr. <fcooper@xxxxxx> wrote:
> On 03/17/2016 10:06 AM, Rob Herring wrote:
>> On Mon, Mar 07, 2016 at 07:23:41PM -0600, Franklin S Cooper Jr wrote:
>>> Devices that utilize the OCP registers and/or PRCM registers and
>>> register bit fields should be modelled using hwmod. Since eQEP, ePWM and
> Will fix.
>>> eCAP don't fall under this category, remove their hwmod entries.
>>> Instead these clocks simply use the clock that is pass through by its
>>> parent PWMSS. Therefore, PWMSS handles the clock for itself and its
>> Are you breaking compatibility with old DTs here?
> No. The first patch makes sure that the ecap and ehrpwm get
> their clocks from their parent which is all they care about.
> Old dtbs will have hwmod entries for ecap and ehrpwm which
> will end up not doing anything.
Acked-by: Rob Herring <robh@xxxxxxxxxx>