Re: [Patch v4 6/6] ARM: dts: DRA7: Add dt nodes for PWMSS
From: Paul Walmsley
Date: Wed Mar 09 2016 - 13:14:15 EST
On Mon, 7 Mar 2016, Franklin S Cooper Jr. wrote:
> On 03/07/2016 05:53 PM, Paul Walmsley wrote:
> > Hmm, what about moving the eqep, ecap DT nodes under the epwmss nodes?
> We don't have a driver for eQEP which is why there is no DT
> entry for it.
I've already queued the patch for merging. But just for your background
knowledge, and the various lists: the basic device integration data,
whether in DT or in hwmod, should be decoupled from the existence of
drivers. It should be possible to have a complete set of SoC integration
data ready to integrate at the moment that a device is approved for
upstreaming. That way, driver writers can simply write and merge their
driver, with the minimum of patches to the integration data.
Generally the people who work on device drivers aren't too familiar with
SoC integration - they are focused on their specific IP blocks - so it makes
sense to decouple these components.
So: in the context of the present epwmss discussion, in an ideal world,
we'd have DT entries for eQEP, even though there's no driver available