Thread (1 message) 1 message, 1 author, 2012-02-08

[PATCH v2 02/10] pwm: Allow chips to support multiple PWMs.

From: Russell King - ARM Linux <hidden>
Date: 2012-02-08 09:13:27
Also in: linux-devicetree, linux-tegra

On Tue, Feb 07, 2012 at 08:04:00AM +0100, Thierry Reding wrote:
One of the major problems when converting to a non-global namespace is how to
represent the relationship in code. For device tree this should be easy to do
because it has all the infrastructure in place. For non-device-tree devices I
have no idea yet how this could be done. Perhaps by using something like the
clock API and using names for lookup?
Well, the first step is to make sure that the pwm 'chip' drivers don't
know anything about the global numberspace.

That limits the extent of the global numberspace to the pwm core and
pwm users.  You then don't have to worry about the pwm chip drivers
while you work out how to solve the other half of the problem.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help