From: hechtb@gmail.com (Bastian Hecht)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] Add OF support to CMT driver - bindings discussion
Date: Fri, 1 Mar 2013 11:45:29 -0600 [thread overview]
Message-ID: <1362159932-18533-1-git-send-email-hechtb+renesas@gmail.com> (raw)
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
next reply other threads:[~2013-03-01 17:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-01 17:45 Bastian Hecht [this message]
2013-03-01 17:45 ` [PATCH 1/3] clocksource: sh_cmt: Add Device Tree probing Bastian Hecht
2013-03-04 4:09 ` Paul Mundt
2013-03-04 15:51 ` Bastian Hecht
2013-03-04 10:03 ` Mark Rutland
2013-03-04 16:29 ` Bastian Hecht
2013-03-05 9:43 ` Mark Rutland
2013-03-06 1:06 ` Paul Mundt
2013-03-06 13:44 ` Bastian Hecht
2013-03-01 17:45 ` [PATCH 2/3] ARM: mach-shmobile: sh73a0: Add CMT DT name to clock list Bastian Hecht
2013-03-01 17:45 ` [PATCH 3/3] ARM: mach-shmobile: sh73a0: Setup the timer device CMT10 using DT Bastian Hecht
2013-03-01 19:17 ` Sergei Shtylyov
2013-03-04 15:46 ` Bastian Hecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1362159932-18533-1-git-send-email-hechtb+renesas@gmail.com \
--to=hechtb@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).