From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: Stanley Chu <stanley.chu@mediatek.com>,
Matthias Brugger <matthias.bgg@gmail.com>,
Thomas Gleixner <tglx@linutronix.de>,
Rob Herring <robh+dt@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org,
devicetree@vger.kernel.org, wsd_upstream@mediatek.com
Subject: Re: [PATCH v9 1/5] clocksource/drivers/timer-mediatek: Add system timer bindings
Date: Tue, 10 Jul 2018 17:02:23 +0200 [thread overview]
Message-ID: <a4c1a9cf-4d48-a9a7-e7ac-d94685c30619@linaro.org> (raw)
In-Reply-To: <1530832288-8156-2-git-send-email-stanley.chu@mediatek.com>
Rob ? Are you fine with this change ?
On 06/07/2018 01:11, Stanley Chu wrote:
> This patch adds bindings of new "System Timer" on Mediatek SoCs.
>
> Remove RTC clock in the same time because it is not used by
> both "General Purpose Timer" and "System Timer" now.
>
> Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
> ---
> .../bindings/timer/mediatek,mtk-timer.txt | 34 ++++++++++++--------
> 1 file changed, 20 insertions(+), 14 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
> index b1fe7e9..18d4d01 100644
> --- a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
> +++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
> @@ -1,19 +1,25 @@
> -Mediatek MT6577, MT6572 and MT6589 Timers
> ----------------------------------------
> +Mediatek Timers
> +---------------
> +
> +Mediatek SoCs have two different timers on different platforms,
> +- GPT (General Purpose Timer)
> +- SYST (System Timer)
> +
> +The proper timer will be selected automatically by driver.
>
> Required properties:
> - compatible should contain:
> - * "mediatek,mt2701-timer" for MT2701 compatible timers
> - * "mediatek,mt6580-timer" for MT6580 compatible timers
> - * "mediatek,mt6589-timer" for MT6589 compatible timers
> - * "mediatek,mt7623-timer" for MT7623 compatible timers
> - * "mediatek,mt8127-timer" for MT8127 compatible timers
> - * "mediatek,mt8135-timer" for MT8135 compatible timers
> - * "mediatek,mt8173-timer" for MT8173 compatible timers
> - * "mediatek,mt6577-timer" for MT6577 and all above compatible timers
> -- reg: Should contain location and length for timers register.
> -- clocks: Clocks driving the timer hardware. This list should include two
> - clocks. The order is system clock and as second clock the RTC clock.
> + * "mediatek,mt2701-timer" for MT2701 compatible timers (GPT)
> + * "mediatek,mt6580-timer" for MT6580 compatible timers (GPT)
> + * "mediatek,mt6589-timer" for MT6589 compatible timers (GPT)
> + * "mediatek,mt7623-timer" for MT7623 compatible timers (GPT)
> + * "mediatek,mt8127-timer" for MT8127 compatible timers (GPT)
> + * "mediatek,mt8135-timer" for MT8135 compatible timers (GPT)
> + * "mediatek,mt8173-timer" for MT8173 compatible timers (GPT)
> + * "mediatek,mt6577-timer" for MT6577 and all above compatible timers (GPT)
> + * "mediatek,mt6765-timer" for MT6765 compatible timers (SYST)
> +- reg: Should contain location and length for timer register.
> +- clocks: Should contain system clock.
>
> Examples:
>
> @@ -21,5 +27,5 @@ Examples:
> compatible = "mediatek,mt6577-timer";
> reg = <0x10008000 0x80>;
> interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_LOW>;
> - clocks = <&system_clk>, <&rtc_clk>;
> + clocks = <&system_clk>;
> };
>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
next prev parent reply other threads:[~2018-07-10 15:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-05 23:11 [PATCH v9 0/5] Add system timer driver for Mediatek SoCs Stanley Chu
[not found] ` <1530832288-8156-1-git-send-email-stanley.chu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2018-07-05 23:11 ` [PATCH v9 1/5] clocksource/drivers/timer-mediatek: Add system timer bindings Stanley Chu
2018-07-06 20:51 ` Rob Herring
2018-07-10 15:02 ` Daniel Lezcano [this message]
2018-07-12 19:16 ` Rob Herring
2018-07-12 19:49 ` Daniel Lezcano
2018-07-14 22:28 ` Daniel Lezcano
2018-07-05 23:11 ` [PATCH v9 2/5] clocksource/drivers/timer-mediatek: Rename mtk_timer to timer-mediatek Stanley Chu
2018-07-05 23:11 ` [PATCH v9 4/5] clocksource/drivers/timer-mediatek: Convert the driver to timer-of Stanley Chu
2018-07-05 23:11 ` [PATCH v9 5/5] clocksource/drivers/timer-mediatek: Add support for system timer Stanley Chu
2018-07-05 23:11 ` [PATCH v9 3/5] clocksource/drivers/timer-mediatek: Use specific prefix for GPT Stanley Chu
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=a4c1a9cf-4d48-a9a7-e7ac-d94685c30619@linaro.org \
--to=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@kernel.org \
--cc=stanley.chu@mediatek.com \
--cc=tglx@linutronix.de \
--cc=wsd_upstream@mediatek.com \
/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).