All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add OF support to CMT driver - bindings discussion
@ 2013-03-01 17:45 ` Bastian Hecht
  0 siblings, 0 replies; 26+ messages in thread
From: Bastian Hecht @ 2013-03-01 16:53 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

here in the CMT driver we currently can derive all neccessary hardware info from the device ID and channel ID (there are multiple CMT instances built into one SoC with multiple channels each). This seems like a very intuituve description to me.

If multiple register layouts appear we can add an (optional) regtype property and some parts of the driver need to be rewritten anyway. But the descriptiveness of device ID and channel ID should stay I think.

Will this work?

In the patchset I have added the dts specification to sh73a0-kzm9g-reference.dts to test it. Does this belong to sh73a0.dtsi instead? I wonder because the clock is in the setup code, not board code.

Thanks,

 Bastian


Bastian Hecht (3):
  clocksource: sh_cmt: Add Device Tree probing
  ARM: mach-shmobile: sh73a0: Add CMT DT name to clock list
  ARM: mach-shmobile: sh73a0: Setup the timer device CMT10 using DT

 arch/arm/boot/dts/sh73a0-kzm9g-reference.dts |   11 ++++
 arch/arm/mach-shmobile/clock-sh73a0.c        |    1 +
 arch/arm/mach-shmobile/setup-sh73a0.c        |    1 -
 drivers/clocksource/sh_cmt.c                 |   87 ++++++++++++++++++++++----
 4 files changed, 86 insertions(+), 14 deletions(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2013-03-06 13:44 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-01 16:53 [PATCH 0/3] Add OF support to CMT driver - bindings discussion Bastian Hecht
2013-03-01 17:45 ` Bastian Hecht
2013-03-01 16:45 ` [PATCH 1/3] clocksource: sh_cmt: Add Device Tree probing Bastian Hecht
2013-03-01 17:45   ` Bastian Hecht
2013-03-04  4:09   ` Paul Mundt
2013-03-04  4:09     ` Paul Mundt
2013-03-04 15:51     ` Bastian Hecht
2013-03-04 15:51       ` Bastian Hecht
2013-03-04 10:03   ` Mark Rutland
2013-03-04 10:03     ` Mark Rutland
2013-03-04 16:29     ` Bastian Hecht
2013-03-04 16:29       ` Bastian Hecht
2013-03-05  9:43       ` Mark Rutland
2013-03-05  9:43         ` Mark Rutland
2013-03-06  1:06         ` Paul Mundt
2013-03-06  1:06           ` Paul Mundt
2013-03-06 13:44           ` Bastian Hecht
2013-03-06 13:44             ` Bastian Hecht
2013-03-01 16:45 ` [PATCH 3/3] ARM: mach-shmobile: sh73a0: Setup the timer device CMT10 using DT Bastian Hecht
2013-03-01 17:45   ` Bastian Hecht
2013-03-01 18:16   ` Sergei Shtylyov
2013-03-01 19:17     ` Sergei Shtylyov
2013-03-04 15:46     ` Bastian Hecht
2013-03-04 15:46       ` Bastian Hecht
2013-03-01 16:52 ` [PATCH 2/3] ARM: mach-shmobile: sh73a0: Add CMT DT name to clock list Bastian Hecht
2013-03-01 17:45   ` Bastian Hecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.